分类目录

Howto: 安装使用LNMP – Linux / Nginx / MySQL / Php

1. LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat、Debian/Ubuntu VPS(VDS)或独立主机安装LNMP(Nginx、MySQL、PHP、phpMyAdmin)生产环境的Shell程序。 Homepage: http://lnmp.org/

安装那些软件 # Nginx # MySQL # PHP # PHPMyAdmin # Zend Optimizer # eAccelerator # Nginx-RRD # vsFTPD

2. 由Licess开发维护。 Homepage: http://licess.cn/

3. 安装步骤 系统为Linux Deepin,基于Ubuntu 9.12 $ uname -a Linux xxx 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux $ sudo su # wget http://soft.vpser.net/lnmp/lnmp0.3.tar.gz [...]

pptpd – Ubuntu下安装配置 PPTP

1. 使用 apt 安装 pptpd 非常方便,安装好后自动启动; $ sudo apt-get install pptpd

2. 修改 /etc/pptpd.conf,分配内部IP地址; localip 192.168.0.1 remoteip 192.168.0.234-238,192.168.0.245

3. 修改 /etc/ppp/chap-secrets,创建VPN用户和口令; username pptpd password * 注:如果 * 修改为固定内部IP地址,将会分配该用户到固定地址,从而确保该用户只能创建一个VPN连接。

4. 修改 /etc/ppp/options,支持自动分配DNS,防止DNS劫持; ms-dns 8.8.8.8 ms-dns 8.8.4.4 注:上面用的是 Google Open DNS,可以使用其他的。

5. 修改 /etc/sysctl.conf,支持IP转发; net.ipv4.ip_forward=1 注:使用下面命令生效 $ sudo sysctl -p

6. 修改 iptables,支持转发; $ sudo /sbin/iptables -t [...]

openvpn – Ubuntu下安装配置 OpenVPN

OpenVPN是一个用于创建虚拟专用网络加密通道的软件包,最早由James Yonan编写。

OpenVPN is a free and open source virtual private network (VPN) program for creating point-to-point or server-to-multiclient encrypted tunnels between host computers. It is capable of establishing direct links between computers across network address translators (NATs) and firewalls. It was written by James Yonan and is published under the GNU General Public License [...]