?Linode/Ubuntu???Webmin/Virtualmin

webmin???????????????????? ?ftp?mysql??????????????????????web os???????linode???webmin / Virtualmin?Virtualmin?webmin????????????????
1. ???????????
wget http://software.virtualmin.com/gpl/scripts/install.sh;chmod +x install.sh;./install.sh;apt-get clean;apt-get update;apt-get install php5-curl;

 

2. ??????????????linode?????????????????10~20?????????????
https://your domain or your ip:10000
???????SSL?????????????SSL???“??”????“??”?????????
3. ???????????root??????????????????webmin????????????????????next?????????mysql?root????????)

?Linode VPS Ubuntu???PPTP VPN

??????????VPS????Getting Started With Linode??????????????????VPN?????????????????????/etc/apt/sources.list?????”##universe repositories”??????????????????????????????sudo???root?????????????????

## main & restricted repositories 
deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted 
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted 
deb http://security.ubuntu.com/ubuntu karmic-security main restricted 
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
## universe repositories 
deb http://us.archive.ubuntu.com/ubuntu/ karmic universe 
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic universe 
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe 
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe 
deb http://security.ubuntu.com/ubuntu karmic-security universe 
deb-src http://security.ubuntu.com/ubuntu karmic-security universe

??????????????????

apt-get update

??????????VPN Server????????pptp(VPN ?????),???????????????????????

apt-get install pptpd

pptpd????????/etc/pptpd.conf?????????????????????(??????).??????ip??????

localip 192.168.7.1
remoteip 192.168.0.2-254

???/etc/ppp/chap-secrets?????VPN??????????,???????

username pptpd password *

?????????VPN???????????????????DNS. ??/etc/ppp/options???ms-dns????????DNS.???????Google ?????Public DNS,????????

ms-dns 8.8.8.8
ms-dns 209.244.0.3
ms-dns 208.67.222.222
ms-dns 8.8.4.4

??/etc/sysctl.conf?????”net.ipv4.ip_forward=1″????????????

net.ipv4.ip_forward=1

?????????????

sysctl -p

??pptpd??

/etc/init.d/pptpd restart

????iptables??

/sbin/iptables -t nat -A POSTROUTING -s 192.168.7.0/255.255.255.0 -j SNAT --to-source `ifconfig  | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk 'NR==1 { print $1}'`

OK,?????