lowendscript:适用于64MB、128MB小内存的LNMP一键安装包

         

lowendscript,最省资源的lnmp一键包,适用于Debian 6/7系统。

安装如下组件
dropbear (SSH)
iptables (firewall)
dash (replaces bash)
syslogd
MySQL (v5.5+ without Innodb, configured for lowend VPS)
PHP-FPM (v5.3+ with APC installed and configured)
exim4 (light mail server)
nginx (v1.2+ from dotdeb, configured for lowend VPS. Change worker_processes in nginx.conf according to number of CPUs)
vim, nano, mc, htop, iftop & iotop

安装:(SSH下,建议安装mysql、nginx、php就可以了)

wget wget --no-check-certificate https://zhujiwiki.com/wp-content/uploads/2016/12/setup-debian.sh
chmod +x setup-debian.sh
./setup-debian.sh dotdeb # not required if using Ubuntu
./setup-debian.sh system
./setup-debian.sh mysql
./setup-debian.sh nginx
./setup-debian.sh php

以下3个可选择安装

./setup-debian.sh dropbear [port]
./setup-debian.sh iptables [port]
./setup-debian.sh exim4

首先,创建网站:(example.com改为自己的域名)

./setup-debian.sh site example.com

其次,创建Mysql数据库用户:

./setup-debian.sh mysqluser example.com

MySQL的root密码被随机存在了:/root/.my.cnf 文件中。
其实也会显示出来。
安装WordPress

./setup-debian.sh wordpress example.com

安装3proxy

./setup-debian.sh 3proxy 3128
./setup-debian.sh 3proxyauth username password

安装webmin

./setup-debian.sh webmin

测试硬盘I/O和网络

./setup-debian.sh test

查看系统信息

./setup-debian.sh info

创建SSH-Keys

./setup-debian.sh sshkey [optional argument_1]

出现的问题
如果出现 in the drive ‘/media/cdrom/’ and press enter ,编辑

vi /etc/apt/sources.list

删除

deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release amd64 (20121017.5)]/ quantal main restricted

然后

apt-get update

via:https://github.com/Xeoncross/lowendscript

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址