linux虚拟机下如何配置Apache服务器
1、Apache服务器的安装、启动与停止rpm –qa | grep httpd(查看是否安装)yum –y install httpd(瀚柏围歪安装)常见操作:systemctl start httpd.service(启动)systemctl status httpd.service(查看状态)service httpd stop(停止)

3、然后在浏览器输入http://+linuxIp,出现页面:

5、systemctl restart httpd.service(重启)建立个人主页的根目录/home/luojie/public_inde旌忭檀挢x和index.html,cd /home/luojiemkdir public_htmlvi /public_html/index.html输入:

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:56
阅读量:74
阅读量:49
阅读量:83
阅读量:75