Apache 服务器的安装

来自CloudWiki
Cloud17讨论 | 贡献2017年9月27日 (三) 13:49的版本 远程连接云主机
跳转至: 导航搜索

申请阿里云云主机

远程连接云主机

安装apache

安装软件源

   #yum install httpd

设置开机启动

   #chkconfig --levels 35 httpd on

重启apache服务

   #service httpd restart

暂时关闭防火墙

   #service iptables stop
   #chkconfig iptables off

测试apache是否正常工作

   使用地址 http://[虚拟机IP] 在物理机浏览器上访问应该能看到如下画面:
   1-8.png

返回 网页设计与开发