1.如果ifconfig命令不存在,即which ifconfig找不到时。
yum install net-tools
2.apache问题
yum install httpd #安装apache
systemctl start httpd.service #启动apache
systemctl stop httpd.service #停止apache
systemctl restart httpd.service #重启apache
systemctl enable httpd.service #设置apache开机启动
防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
在客户端浏览器中打开服务器IP地址,出现apache测试界面。
博客介绍了信息技术相关操作,当ifconfig命令不存在时,可通过yum install net-tools安装。还讲述了Apache的安装、启动、停止、重启及设置开机启动等操作,同时提到停止并禁止防火墙开机启动,最后可在客户端浏览器打开服务器IP查看Apache测试界面。

被折叠的 条评论
为什么被折叠?



