安装vmware10
安装CentOS7_64_master
配置网络
#改名
mv /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-eth0
#修改内容
vi /etc/sysconfig/network-scripts/ifcfg-eth0
#NAME项和DEVICE项修改为eth0之后保存
:wq!
#重启
reboot
设置时区
tzselect
安装ifconfig
yum search ifconfig 找到包
yum install -y net-tools.x86_64
安装vim
yum install -y vim*
安装jdk8
路径:/usr/java
tar -zxvf jdk-8u201-linux-x64.tar.gz
vim /etc/profile
JAVA_HOME=/usr/java/jdk1.8.0_201
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar
export PATH JAVA_HOME CLASSPATH
source /etc/profile
java -version
安装wget
yum install wget.x86_64
换阿里yum源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
网友评论