7℃
2012年06月22日
⁄ IIS
⁄ 被围观 76,688次+
准备篇
一、环境说明:
操作系统:Windows Server 2008 R2
PHP版本:php 5.4.4
MySQL版本:MySQL5.5.25
二、相关软件下载:
1、PHP下载地址:
http://windows.php.net/downloads/releases/php-5.4.4-nts-Win32-VC9-x86.zip
2、MySQL下载地址:
http://gd.tuwien.ac.at/db/mysql/Downloads/MySQLInstaller/mysql-installer-5.5.25.0.msi
3、PHP加速软件ZendGuard下载地址:
http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zip
4、Microsoft .NET Framework 4(独立安装程序)下载地址:
...
FastCGI, IIS7.5, mysql, Windows Server 2008 R2阅读全文
6℃
2012年06月20日
⁄ IIS
⁄ 被围观 36,903次+
准备篇
一、环境说明:
操作系统:Windows Server 2003 SP2 32位
PHP版本:php 5.3.14
MySQL版本:MySQL5.5.25
二、相关软件下载:
1、PHP下载地址:
http://windows.php.net/downloads/releases/php-5.3.14-nts-Win32-VC9-x86.zip
2、MySQL下载地址:
http://gd.tuwien.ac.at/db/mysql/Downloads/MySQLInstaller/mysql-installer-5.5.25.0.msi
3、IIS6.0 FastCGI模块下载地址:
http://download.microsoft.com/download/E/0/C/E0C0709A-66E5-4113-9A6C-A5F65BF6717D/fcgisetup_1.5_rtw_x86.msi
4、PHP加速软件Z...
FastCGI, IIS6.0, mysql, Windows Server 2003阅读全文
24℃
2012年06月02日
⁄ LNMP
⁄ 被围观 24,145次+
说明:
操作系统:CentOS 6.2 32位
系统安装教程:CentOS 6.2安装(超级详细图解教程): http://www.osyunwei.com/archives/1537.html
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
CentOS 设置IP地址、网关、DNS教程:http://www.osyunwei.com/archives/423.html
二、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables #编辑防火墙配置文件
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT(允许80端口通过防火墙)
-A INPUT -m...
lnmp, MySQL5.5.25, Nginx1.2.0, WordPress阅读全文
0℃
2012年05月27日
⁄ LAMP
⁄ 被围观 22,351次+
配置之前先把域名解析到服务器IP地址上
服务器系统:CentOS 6.2
站点1:bbs.osyunwei.com 程序所在目录/var/www/html/bbs
站点2:sns.osyunwei.com 程序所在目录/var/www/html/sns
chown apache.apache -R /var/www/html #设置目录所有者
chmod 700 /var/www/html -R #设置目录权限
说明:修改之前先备份原来的配置文件
一、Apache配置
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.confbak #修改...
Apache, 虚拟主机阅读全文
1℃
2012年05月12日
⁄ LNMP
⁄ 被围观 27,105次+
引言:Nginx服务器通过设置alias别名可以使特定的目录(phpmyadmin目录)不出现在网站根目录下面, 即使网站根目录被攻破,也不会影响到phpmyadmin目录里面的文件。
说明:
站点:http://192.168.21.160/,如下图
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
站点根目录:/usr/local/nginx/html/
Nginx运行账户:www
Nginx运行账户组:www
phpmyadmin目录:/home/phpmyadmin
MySQL用户名:root
密码:123456
实现目的:通过http://192.168.21.160/phpmyadmin访问...
Alias, phpmyadmin, 别名目录阅读全文
9℃
2012年05月09日
⁄ LNMP
⁄ 被围观 32,709次+
说明:
Nginx负载均衡服务器:
系统:CentOS 5.5
IP:192.168.21.164
Web服务器列表:
Web1:192.168.21.160
Web2:192.168.21.169
实现目的:
用户访问192.168.21.164服务器时,通过Nginx负载均衡到Web1和Web2服务器
下面配置Nginx负载均衡服务器
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
二、配置防火墙,开启80端口
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
vi /etc/sysconfig/iptables #编辑防火墙配置文件,添加以下内容
-A...
负载均衡阅读全文
5℃
2012年05月01日
⁄ LNMP
⁄ 被围观 25,587次+
说明:
站点1:bbs.osyunwei.com 程序所在目录/data/osyunwei/bbs
站点2:sns.osyunwei.com 程序所在目录/data/osyunwei/sns
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
相关配置文件目录:
nginx主配置文件:/usr/local/nginx/conf/nginx.conf
php安装目录:/usr/local/php5/
站点1虚拟主机配置配置文件:/usr/local/nginx/conf/vhost/bbs.conf
站点2虚拟主机配置配置文件:/usr/local/nginx/conf/vhost/sns.conf
实现目的:
1、可以对站点1和站点2单独启动、...
Nginx权限设置, nginx虚拟主机阅读全文
0℃
2012年05月01日
⁄ LNMP
⁄ 被围观 31,019次+
说明:配置之前先把域名解析到服务器IP地址上
站点1:bbs.osyunwei.com 程序所在目录/data/osyunwei/bbs
站点2:sns.osyunwei.com 程序所在目录/data/osyunwei/sns
chown www.www /data/osyunwei/ -R #设置目录所有者,www为nginx运行账户
chmod 700 /data/osyunwei/ -R #设置目录权限
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
nginx配置文件路径:/usr/local/nginx/conf/nginx.conf
修改之前先备份原来的配置文件cp /usr/local/nginx/conf/nginx.conf /usr...
nginx虚拟主机, nginx配置阅读全文
4℃
2012年04月26日
⁄ LNMP
⁄ 被围观 16,725次+
Web服务器架构:Linux+Nginx+MySQL+PHP
具体版本:CentOS 5.5+Nginx1.0.15+MySQL5.5.23+PHP5.3.10
系统安装教程:CentOS 5.5安装图解教程
http://www.osyunwei.com/archives/3625.html
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
CentOS 设置IP地址、网关、DNS教程:
http://www.osyunwei.com/archives/423.html
二、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables #编辑防火墙配置文件
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j...
CentOS 5.5, CentOS 编译安装lnmp, lnmp阅读全文
4℃
2012年03月27日
⁄ LNMP
⁄ 被围观 18,811次+
说明:
操作系统:CentOS 6.2 32位
系统安装教程:CentOS 6.2安装(超级详细图解教程)
http://www.osyunwei.com/archives/1537.html
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
CentOS 设置IP地址、网关、DNS教程:http://www.osyunwei.com/archives/423.html
二、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT(允许80端口通过防火墙)
-A INPUT -m state --state NEW -m tcp -p tcp --dport 33...
CentOS, lnmp, lnmp编译安装阅读全文
34℃
2012年02月25日
⁄ LNMP
⁄ 被围观 24,655次+
说明:
操作系统:CentOS 6.2 32位
系统安装教程:CentOS 6.2安装(超级详细图解教程)
http://www.osyunwei.com/archives/1537.html
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
CentOS 设置IP地址、网关、DNS教程:http://www.osyunwei.com/archives/423.html
二、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT(允许80端口通过防火墙)
-A INPUT -m state --state NEW...
CentOS, CentOS编译安装lnmp, lnmp, Zend阅读全文
31℃
2012年02月25日
⁄ LAMP
⁄ 被围观 35,100次+
说明:
操作系统:CentOS 6.2 32位
系统安装教程:CentOS 6.2安装(超级详细图解教程)
http://www.osyunwei.com/archives/1537.html
准备篇:
一、配置好IP、DNS 、网关,确保使用远程连接工具能够连接服务器
CentOS 设置IP地址、网关、DNS教程:http://www.osyunwei.com/archives/423.html
二、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT(允许80端口通过防火墙)
-A INPUT -m state --state NEW -m tcp -...
Apache2.4.1+MySQL5.5.21+PHP5.3.10, CentOS, CentOS编译安装lamp, LAMP阅读全文
0℃
2012年02月20日
⁄ LNMP
⁄ 被围观 14,019次+
准备篇:
1、配置防火墙,开启80端口、3306端口
说明:Ubuntu默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙。
whereis iptables #查看系统是否安装防火墙
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables
apt-get install iptables #如果默认没有安装,请运行此命令安装防火墙
iptables -L #查看防火墙配置信息,显示如下:
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容版权所...
lnmp, Nginx+MySQL+PHP, Ubuntu, Ubuntu Server, Ubuntu安装配置lnmp阅读全文
2℃
2012年02月20日
⁄ LNMP
⁄ 被围观 14,720次+
准备篇:
1、配置防火墙,开启80端口、3306端口
说明:Ubuntu默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙。
whereis iptables #查看系统是否安装防火墙
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables
apt-get install iptables #如果默认没有安装,请运行此命令安装防火墙
iptables -L #查看防火墙配置信息,显示如下:
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容版权所...
lnmp, Nginx+MySQL+PHP, Ubuntu, Ubuntu Server 11.10, Ubuntu安装配置lnmp阅读全文
6℃
2012年02月18日
⁄ LAMP
⁄ 被围观 19,881次+
准备篇:
1、配置防火墙,开启80端口、3306端口
说明:Ubuntu默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙。
whereis iptables #查看系统是否安装防火墙
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables
apt-get install iptables #如果默认没有安装,请运行此命令安装防火墙
iptables -L #查看防火墙配置信息,显示如下:
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所...
Apache+MySQL+PHP, LAMP, Ubuntu, Ubuntu lamp, Ubuntu Server, Ubuntu安装配置lamp阅读全文
3℃
2012年02月16日
⁄ LNMP
⁄ 被围观 18,905次+
准备篇:
1、配置防火墙,开启80端口、3306端口
说明:debian默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙。
whereis iptables #查看系统是否安装防火墙
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables
apt-get install iptables #如果默认没有安装,请运行此命令安装防火墙
iptables -L #查看防火墙配置信息,显示如下:
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容...
Debian, debian 6.0.4, Debian安装配置lnmp, lnmp, Nginx+MySQL+PHP阅读全文
1℃
2012年02月16日
⁄ LNMP
⁄ 被围观 12,862次+
准备篇:
1、配置防火墙,开启80端口、3306端口
说明:debian默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙。
whereis iptables #查看系统是否安装防火墙
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables
apt-get install iptables #如果默认没有安装,请运行此命令安装防火墙
iptables -L #查看防火墙配置信息,显示如下:
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容...
Debian, debian 6.0.4, Debian 安装配置lnmp, lnmp, Nginx+MySQL+PHP阅读全文