Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6543786
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2010-04-28 19:18:46

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



阅读(4774) | 评论(0) | 转发(17) |
给主人留下些什么吧!~~