EZHTTP安装前准备工作
来源:centos 网络用户发布,如有版权联系网管删除 2018-08-29
Linux之旅>> 论坛> 开源项目专区> EZHTTP专区> EZHTTP安装前准备工作
EZHTTP安装前准备工作
发表时间:2014-03-27 23:44
作者:jason
本帖最后由 jason 于 2015-11-19 21:54 编辑 一、使用screen(可选)
由于编译安装Nginx Apache PHP MySQL等软件会花费比较长的时间,难免会出现由于网络意外中断而导致安装也中断了,所以为了避免此问题,可以用screen来安装。
screen的使用方法如下:
1、安装screen
ubuntu/debian系统:
apt-get install -y screen
复制代码 Centos/redhat系统:
yum install -y screen
复制代码 2、创建screen会话
命令为:
screen -S ezhttp
复制代码 执行这条命令后,会类似新建一个新窗口,接着可以在此窗口继续第二步安装。
3、ssh断开恢复
如果你已经执行第2步,接着运行了ezhttp安装程序,在安装过程中,突然由于网络原因或者其它原因中断了ssh,你可以重新连接ssh,通过以下命令来恢复之前的窗口:
screen -r ezhttp
复制代码 二、安装所需工具
执行ezhttp安装程序,至少需要unzip及wget工具。
ubuntu/debian系统:
apt-get install wget unzip
复制代码
Centos/redhat系统:
yum install -y wget unzip
复制代码 三、下载执行EZHTTP 方法1(推荐,需要安装git):
git clone https://github.com/centos-bz/ezhttp.git
cd ezhttp
chmod +x start.sh
./start.sh
复制代码 以后可以执行git pull同步更新。
方法2(直接wget下载):
wget --no-check-certificate https://github.com/centos-bz/ezhttp/archive/master.zip?time=$(date +%s) -O ezhttp.zip
unzip ezhttp.zip
cd ezhttp-master
chmod +x start.sh
./start.sh
复制代码
如果下载不了,可以把第一行替换为:
wget --no-check-certificate http://www.centos.bz/ezhttp.zip?time=$(date +%s) -O ezhttp.zip
复制代码
-----
发表时间:2014-04-25 20:14
作者:user_lee
谢谢你 我刚接触 LINUX 还不是很懂 这么详细 呵呵
-----
发表时间:2014-10-13 03:43
作者:polalis
3G内存VPS安装到mysql卡死啦 楼主指点一下
-----
发表时间:2014-10-13 09:28
作者:jason
polalis 发表于 2014-10-13 03:43
3G内存VPS安装到mysql卡死啦 楼主指点一下
负载有多高,iowait多少
-----
发表时间:2014-10-14 16:27
作者:polalis
jason 发表于 2014-10-13 09:28
负载有多高,iowait多少
应该是IDC虚拟空间问题
-----
EZHTTP安装前准备工作
发表时间:2014-03-27 23:44
作者:jason
本帖最后由 jason 于 2015-11-19 21:54 编辑 一、使用screen(可选)
由于编译安装Nginx Apache PHP MySQL等软件会花费比较长的时间,难免会出现由于网络意外中断而导致安装也中断了,所以为了避免此问题,可以用screen来安装。
screen的使用方法如下:
1、安装screen
ubuntu/debian系统:
apt-get install -y screen
复制代码 Centos/redhat系统:
yum install -y screen
复制代码 2、创建screen会话
命令为:
screen -S ezhttp
复制代码 执行这条命令后,会类似新建一个新窗口,接着可以在此窗口继续第二步安装。
3、ssh断开恢复
如果你已经执行第2步,接着运行了ezhttp安装程序,在安装过程中,突然由于网络原因或者其它原因中断了ssh,你可以重新连接ssh,通过以下命令来恢复之前的窗口:
screen -r ezhttp
复制代码 二、安装所需工具
执行ezhttp安装程序,至少需要unzip及wget工具。
ubuntu/debian系统:
apt-get install wget unzip
复制代码
Centos/redhat系统:
yum install -y wget unzip
复制代码 三、下载执行EZHTTP 方法1(推荐,需要安装git):
git clone https://github.com/centos-bz/ezhttp.git
cd ezhttp
chmod +x start.sh
./start.sh
复制代码 以后可以执行git pull同步更新。
方法2(直接wget下载):
wget --no-check-certificate https://github.com/centos-bz/ezhttp/archive/master.zip?time=$(date +%s) -O ezhttp.zip
unzip ezhttp.zip
cd ezhttp-master
chmod +x start.sh
./start.sh
复制代码
如果下载不了,可以把第一行替换为:
wget --no-check-certificate http://www.centos.bz/ezhttp.zip?time=$(date +%s) -O ezhttp.zip
复制代码
-----
发表时间:2014-04-25 20:14
作者:user_lee
谢谢你 我刚接触 LINUX 还不是很懂 这么详细 呵呵
-----
发表时间:2014-10-13 03:43
作者:polalis
3G内存VPS安装到mysql卡死啦 楼主指点一下
-----
发表时间:2014-10-13 09:28
作者:jason
polalis 发表于 2014-10-13 03:43
3G内存VPS安装到mysql卡死啦 楼主指点一下
负载有多高,iowait多少
-----
发表时间:2014-10-14 16:27
作者:polalis
jason 发表于 2014-10-13 09:28
负载有多高,iowait多少
应该是IDC虚拟空间问题
-----
查看评论 回复