摘要: 环境:2台web服务器,1台nginx服务器,1台客户端 1、配置2台web服务器(关闭iptables,关闭selinux) yum -y install httpd service httpd start exho "192.168.1.10" > /var/www/html/index.htm 阅读全文
posted @ 2016-04-02 00:05 Mansoncui 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 环境:一台客户机和一台nginx服务器 vim /usr/local/nginx/conf/nginx.conf server { listen 80; server_name www.tarena.com; location / { root web1; #可以与下方auth_basic_user 阅读全文
posted @ 2016-04-01 21:45 Mansoncui 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 环境:两台虚拟机(一个服务器一个客户端) 1、安装nginx yum -y install gcc gcc-c++ openssl-devel prce-devel useradd nginx -s /sbin/nologin tar -zxvf nginx-0.8.55.tar.gz cd ngi 阅读全文
posted @ 2016-04-01 21:20 Mansoncui 阅读(129) 评论(0) 推荐(0) 编辑
摘要: yum -y install httpd vim /etc/httpd/conf/httpd.conf ServerName www.baidu.com <Directory "/var/www/html">authtype "basic" #开启authname "haha" #定义别名authu 阅读全文
posted @ 2016-04-01 17:46 Mansoncui 阅读(475) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-04-01 17:29 Mansoncui 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-04-01 16:58 Mansoncui 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-31 09:06 Mansoncui 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-30 12:49 Mansoncui 阅读(9) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-30 12:40 Mansoncui 阅读(11) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-30 12:39 Mansoncui 阅读(7) 评论(0) 推荐(0) 编辑