centos 7 install

1. wget http://mirrors.aliyun.com/repo/Centos-7.repo

mv /etc/yum.repos.d/CentOS-Base.repo CentOS-Base.repo.bak

2  yum update kernel*
3  rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
4   yum install gcc kernel-devel kernel-headers dkms make bzip2 perl

Vagrant.configure("2") do |config|
   config.vbguest.auto_update = false
   ANSIBLE_RAW_SSH_ARGS = []
   VAGRANT_VM_PROVIDER = "virtualbox"
   machine_box = "c7"

config.vm.define "c1" do |machine|
     machine.vm.box = machine_box
     machine.vm.hostname = "c1"
     machine.vm.network "private_network", ip: "192.168.11.11"
     # machine.vm.synced_folder ".", "/vagrant", disabled: true
     machine.vm.synced_folder ".", "/vagrant",type: "nfs"
     machine.vm.network "public_network",
     use_dhcp_assigned_default_route: true
     machine.vm.provider "virtualbox" do |node|
         node.name = "c1"
         node.memory = 2048
         node.cpus = 4
     end
    end

end

https://www.vagrantup.com/docs/synced-folders/nfs.html

centos7 nat and only private not aceess internet to resolve:

vi /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4
时间: 2024-10-07 21:47:27

centos 7 install的相关文章

CentOS After Install

1. Input Method: 1.1.用root登录 ,或su root 1.2.yum install "@Chinese Support" 1.3.exit 1.4.回到桌面,system->preferences->input method 1.5.如果没有,先注销一下. 1.6.到里面add输入法到列表里. 1.7.最后再注销.登录. CentOS After Install,布布扣,bubuko.com

centos source install

CentOS Kernel Source Install Mar 12th, 2012 | Comments CentOS kernel source install, first off if you are just trying to build something or compile a tool on CentOS then you probably only need to install the kernel-devel package if you are running a

CentOS Linux Install Core Development

How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development tools:Open termianl or login over ssh session and ty

centos yum install redis

centos yum install redis linux下yum安装redis以及使用 1.yum install redis      --查看是否有redis   yum 源 [[email protected] ~]# yum install redis 已加载插件:fastestmirror base | 3.6 kB 00:00 docker-ce-edge | 2.9 kB 00:00 docker-ce-stable | 2.9 kB 00:00 extras | 3.4 kB

aliyun CentOS 7 install software jdk mysql tomcat zentao and so on

1. install jdk #查看CentOS自带JDK是否已安装  yum list installed |grep java    #若有自带安装的JDK,如何卸载CentOS系统自带Java环境?  ##卸载JDK相关文件输入:  yum -y remove java-1.8.0-openjdk*.  ## 卸载tzdata-java输入:  yum -y remove tzdata-java.noarch.  #当结果显示为Complete!即卸载完毕.      #查看yum库中的J

CentOS 7 Install Gitlab CE

https://hostpresto.com/community/tutorials/how-to-install-and-setup-gitlab-on-centos-7/ http://linux.it.net.cn/CentOS/course/2016/0813/24330.html http://linux.it.net.cn/CentOS/course/2015/0321/14033.html https://www.nichijou.com/p/6sh26/ https://segm

CentOS 7 install alfrasco ECM

Alfrasco is a java based Electronic Content Management tool that is available with an Open Source license. This open platform helps you regain control of critical business content, strengthen compliance, optimize processes and make collaboration easy

CentOS 7: Install vsftpd

Install vsftpd All commands should be run with ‘root’ user. Run the following command in terminal to install vsftpd package: yum install vsftpd ftp -y Configure vsftpd Edit vsftpd configuration file /etc/vsftpd/vsftpd.conf, vi /etc/vsftpd/vsftpd.conf

CentOS 7 install Nginx

1. rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2. yum install -y nginx 3. systemctl start nginx.service

centos 7 install virtualbox

from:https://wiki.centos.org/HowTos/Virtualization/VirtualBox Installing VirtualBox cd /etc/yum.repos.d wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo yum --enablerepo=epel install dkms yum install VirtualBox-5.1 Making USB W