Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1395111
  • 博文数量: 188
  • 博客积分: 1784
  • 博客等级: 上尉
  • 技术积分: 2772
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-05 22:20
个人简介

发上等愿,结中等缘,享下等福;择高处立,就平处坐,向宽处行。

文章分类

全部博文(188)

文章存档

2020年(12)

2019年(11)

2018年(4)

2017年(3)

2016年(11)

2015年(22)

2014年(19)

2013年(25)

2012年(32)

2011年(49)

分类:

2011-11-09 18:04:55

原文地址:静态网站 作者:ztguang

把网站文件复制/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



阅读(690) | 评论(0) | 转发(0) |
0

上一篇:Php session

下一篇:动态网站

给主人留下些什么吧!~~