安装rhel7
镜像地址(需要redhat账号):Red Hat Enterprise Linux Download | Red Hat Developer
一路安装
网络配置
vi /etc/sysconfig/network-scripts/ifcfg-eth0
input i
ONBOOT=yes
# 静态ip
IPADDR=10.0.99.158
NETMASK=255.255.0.0
GATEWAY=10.0.99.1
DNS1=8.8.8.8
DNS2=114.114.114.114
重启网络
/etc/init.d/network restart
yum配置
mount /dev/sr0 /mnt
mount /dev/cdrom /mnt
yum list
安装python
wget .7.6/Python-3.7.6.tar.xztar -xf Python-3.7.6.tar.xzcd Python-3.7.6./configure --prefix=/usr/local/python37make && make installln -s /usr/local/python37/bin/python3.6 /usr/bin/python3ln -s /usr/local/python37/bin/pip3.7 /usr/bin/pip3pip3 install --upgrade pippip3 install --upgrade setuptools# virtual environment
更多推荐
安装rhel7
发布评论