标签:start phpstudy http mct firewalld amp wget net 查看
cd /
cd etc
cd sysconfig
cd network-scripts
ls
vi ifcfg-enp0s3
BOOTPROTO=static
NM_CONTROLLED=no(加上)
ONBOOT=yes
IPADDR=
GATEWAY=
NETMASK=
DNS1=
DNS2=
:wq
service network restart
ip addr
ping www.baidu.com
symtemctl stop firewalld.service(停止firewall)
systemctl disable firewalld.service(禁止firewall自启动)
firewall-cmd --state(查看防火墙运行状态)
yum -y install wget(安装wget)
wget -c http://lamp.phpstudy.net/phpstudy.bin
chmod +x phpstudy.bin(权限配置)
./phpstudy.bin(运行安装)
标签:start phpstudy http mct firewalld amp wget net 查看
原文地址:http://www.cnblogs.com/ranqingfeng/p/7447247.html