Install the lnmp one key pocket!(安装lnmp一键包)

(这是我发在do的一篇文章。。。坑爹啊!)

Install the lnmp one key pocket!(安装lnmp一键包)
(PS: You meybe need the chinese support)
如果你能看懂中文,直接翻到下面,翻译会坑爹的。。。。。

–English
First
you need to download the LNMP one key pocket!
from this link http://soft.vpser.net/lnmp/lnmp1.0-full.tar.gz
(use it !)wget http://soft.vpser.net/lnmp/lnmp1.0-full.tar.gz
(It will be use about 1G to unzip ,please cheak if you use all you had)

–Chinese中文
首先你需要下载LNMP一键安装包!
先登录ssh然后不要转动目录!在默认的文件夹就行!
输入下面的命令(复制就好了,别告诉我你不会。。。。先网页复制,然后直接在ssh里面点右键就好了。。。。)
wget http://soft.vpser.net/lnmp/lnmp1.0-full.tar.gz
————————————————————————————————

–English
Second
you need unzip it,(you can use this )
tar -zxvf lnmp1.0-full.tar.gz
(wait about 1 min)

–Chinese中文
解压文件(不是unzip命令,这里是tar文件包!)
tar -zxvf lnmp1.0-full.tar.gz
————————————————————————————————
–English
Third
chown -R 777 ./
(change all the user )

–Chinese中文
更换权限(防止意外问题)
chown -R 777 ./
————————————————————————————————

–English
Fourth
cd lnmp1.0-full
(enter the file)

–Chinese中文
进入目录
cd lnmp1.0-full
————————————————————————————————

–English
Fifth
You need to know what you system use!
and input the system name!
like centos you need to input this
./centos.sh
(debian need input ./debian.sh)
(ubuntu need input ./ubuntu.sh)

–Chinese中文
根据您的vps的系统,选择你需要的安装脚本!
有centos,ubuntu和debian可以安装(redhat红帽系统就直接选centos的也可以)
例如:centos就输入 ./centos.sh
ubuntu就输入 ./ubuntu.sh
debian就输入./debian.sh
————————————————————————————————

–English
Sixth
you will get this
=========================================================================
LNMP V1.0 for CentOS/RadHat Linux VPS Written by Licess
=========================================================================
A tool to auto-compile & install Nginx+MySQL+PHP on Linux

For more information please visit http://www.lnmp.org/
=========================================================================
===========================
Please input the root password of mysql:
(Default password: root):
(enter the root password for mysql!)

–Chinese中文
你看到了很多英语的东西,不管他,跟着我走就对了!
首先需要输入你的SQL的密码!一定要记住!!!

————————————————————————————————

–English
Seventh
MySQL root password:
===========================
===========================
Do you want to install the InnoDB Storage Engine?
(Default no,if you want please input: y ,if not please press the enter button):

(you need to choose what you need install) I don’t want to install the lnnoDB,so i just press enter!
–Chinese中文
你需要安装lnnoDB这个软件不?
要的话输入y,若不要就直接按回车

————————————————————————————————

–English
Eighth
INPUT error,The InnoDB Storage Engine will NOT install!
===========================
Install PHP 5.3.17,Please input y
Install PHP 5.2.17,Please input n or press Enter
(Please input y or n):
(I need the php 5.3 so press the y)
–Chinese中文
PHP版本
按y就是5.3.17 ,按下n就是5.2.17

————————————————————————————————

–English
Ninth
(Please input y or n):y
You will install PHP 5.3.17
===========================
Install MySQL 5.5.27,Please input y
Install MySQL 5.1.60,Please input n or press Enter
(Please input y or n):
(I press the y ,you can choose what you need)

–Chinese中文
SQL版本
按y就是5.5.27 ,按下n就是5.1.60

————————————————————————————————

–English
Tenth
You will install MySQL 5.5.27

Press any key to start…or Press Ctrl+c to cancel

(you will get this ,you just press enter ,than you can install LNMP,just wait is ok! it will install by himself! it’s very cuzy ,isn’t it ?)

–Chinese中文
确认安装LNMP(就是给你一个后悔的机会。。。如果有填错的可以马上改)ctrl+c(就是平时复制的时候用的那个快捷键)
按下回车确认!

————————————————————————————————

–English
Eleventh
=========================================================================
Manager for LNMP V1.0 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
php-fpm is runing!
SUCCESS! MySQL running (10871)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
[root@v5 lnmp1.0-full]#

you had install the LNMP successfully!
you can test the website with you IP
like 1.1.1.1
if it works!(you may got a website not in english)
you need upload the web file into /home/wwwroot/default/
and rember to change the own for you !
–Chinese中文
得到上面的信息你就安装完了,这个时候你需要登陆您的ip(在浏览器输入您的ip就够了,这个时候你看到恭喜您就正确了!)
这时你需要上传你的网站到
/home/wwwroot/default
————————————————————————————————
for many information you can visit my site http://www.ddddl.com/ which running in digitalocean !
I like digitalocean do you like it ?install all software is very easy!

 

copyright zhangbin (youjingsenlin)

tb

最后修改日期:2014年4月26日

作者

留言

撰写回覆或留言

发布留言必须填写的电子邮件地址不会公开。