- Supports Debian 6 and 7, Ubuntu 12.04, 12.10 and 13.04.
apt-get update&&apt-get install nano &&mkdir tuxlite&&cd tuxlite
wget http://tuxlite.com/scripts/tuxlite.tar.gz&&tar xzf tuxlite.tar.gz&&nano options.conf
配置三个东西:hostname,FQDN(yourdomain.tld),mysql root 密码
191.101.1.19
chmod 700 *.sh&&chmod 700 options.conf&&apt-get update && apt-get -y install aptitude
./install.sh
./setup.sh dbgui
安装webmin:
apt-get update &&apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl&&wget http://prdownloads.sourceforge.net/webadmin/webmin_1.680_all.deb&&dpkg –install webmin_1.680_all.deb
安装virtualmin
wget http://software.virtualmin.com/gpl/scripts/install.sh&&sh ./install.sh
adduser ryan
./domain.sh add ryan yourdomain.com
./wordpress.sh
nano /etc/sudoers 给ryan加root权限
nano/etc/ssh/sshd_config
找到如下字样,
#PermitRootLogin yes
修改为:
PermitRootLogin no
/etc/init.d/sshd restart
找到如下字样,
#PermitRootLogin yes
修改为:
PermitRootLogin no
$ su – root
Password:
su: Authentication failure
Sorry.
这时候输入
$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
这时候就可以进入根目录了。
sudo su