2019-02-13 13:09:55 481浏览
今天扣丁学堂Linux培训老师给大家分享一篇关于Linux常见问题解决方案汇总,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧1)、首先右击虚拟镜像名,点击“设置”
2)、打开终端,查看网络
3)、使用root用户编辑此文件
4)、重启网卡,查看网络
[root@nginx ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
#IPADDRO和PREFIXO如上图,GATWAYO和DNS1只需要把IPADDRO最后改为1 IPADDRO=192.168.126.136 PREFIXO=24 GATWAYO=192.168.126.1 DNS1=192.168.126.1
[root@nginx ~]# systemctl restart network
[root@nginx ~]# yum -y install wget
[root@nginx ~]# yum install tree -y
[root@nginx conf]# yum -y install vim*
[root@Nginx images]# yum install zip
[root@Nginx sbin]# yum install net-tools
[root@Nginx sbin]# netstat -anp|grep 8080 tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 1245/nginx: master
[root@localhost ~]# yum install bc
【关注微信公众号获取更多学习资料】