把网站文件复制到
/var/www/html/ 中
[root@localhost ~]# nautilus /var/www/html/
[root@localhost ~ ]# chown -R apache.apache /var/www/html/ *
[root@localhost ~ ]# chmod -R 700 /var/www/html/ *
[root@localhost ~ ]# restorecon -R /var/www/html/ *
[root@localhost ~ ]# gedit /etc/httpd/conf/httpd.conf &
[root@localhost ~ ]# service httpd start 或者 service httpd restart
[root@localhost ~ ]# iptables -F //清空防火墙规则,让其他机器可以访问WWW服务器
[root@localhost ~ ]# ifconfig //查看自己的IP地址
[root@bogon html]# netstat -nautp|grep 443
[root@bogon html]# kill -9 xxxx
阅读(116) | 评论(0) | 转发(0) |
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
[root@localhost ~]# nautilus /var/www/html/
[root@localhost ~ ]# chown -R apache.apache /var/www/html/ *
[root@localhost ~ ]# chmod -R 700 /var/www/html/ *
[root@localhost ~ ]# restorecon -R /var/www/html/ *
[root@localhost ~ ]# gedit /etc/httpd/conf/httpd.conf &
[root@localhost ~ ]# service httpd start 或者 service httpd restart
[root@localhost ~ ]# iptables -F //清空防火墙规则,让其他机器可以访问WWW服务器
[root@localhost ~ ]# ifconfig //查看自己的IP地址
[root@bogon html]# netstat -nautp|grep 443
[root@bogon html]# kill -9 xxxx
相关热门文章
给主人留下些什么吧!~~
评论热议