admin 管理员组文章数量: 1184232
配置三种不同风格的虚拟主机
[root@133 ~]# cd /var/www/html/
[root@133 html]# ls
[root@133 html]# echo "nihao" > index.html
[root@133 html]# ls
index.html
[root@133 html]# mkdir youxi
[root@133 html]# ll
total 4
-rw-r--r--. 1 root root 6 Jul 21 21:49 index.html
drwxr-xr-x. 2 root root 6 Jul 21 21:49 youxi
[root@133 html]# cd youxi/
[root@133 youxi]# ls
[root@133 youxi]# ls
tanke.zip
[root@133 youxi]# yum install -y zip*
[root@133 youxi]# ls
tanke.zip
[root@133 youxi]# unzip tanke.zip
[root@133 youxi]# rm -rf tanke.zip
[root@133 youxi]# ls
Battle_City
[root@133 youxi]# mv Battle_City tanke
[root@133 youxi]# ls
tanke
[root@133 ~]# cd /var/www/html/
[root@133 html]# ls
index.html tanke youxi
[root@133 html]# rm -rf youxi
[root@133 html]# ls
index.html tanke
[root@133 html]# cd tanke/
[root@133 tanke]# ls
audio css images index.html js在网页输入192.168.92.133/tanke/
[root@133 tanke]# cd ..
[root@133 html]# ls
index.html tanke
[root@133 html]# cd
[root@133 ~]# cd /etc/httpd/
[root@133 httpd]# ls
conf conf.d conf.modules.d logs modules run state
[root@133 httpd]# cd conf
[root@133 conf]# ls
httpd.conf magic
[root@133 conf]# pwd
/etc/httpd/conf
[root@133 conf]# vim httpd.conf
[root@133 conf]# cd
[root@133 ~]# vim /etc/httpd/conf/httpd.conf
[root@133 ~]# cd /etc/httpd/
[root@133 httpd]# ls
conf conf.d conf.modules.d logs modules run state
[root@133 httpd]# cd conf.d/
[root@133 conf.d]# ls
autoindex.conf README userdir.conf welcome.conf
[root@133 conf.d]# pwd
/etc/http版权声明:本文标题:从入门到精通:Apache服务器上添加Flash支持的全攻略 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1771976125a3550714.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论