linux 环境下安装AMH面板,增加PHP7.1版本

linux 环境在FTP模式调成SFTP over SSH 用户名:root 密码:XXX 即linux远程 用户名和密码
linux默认用户名是root 进入密码即环境初始化的时候 设置的
amh.v43.tar.gz 上传到root目录中

在linux中命令

yum install -y wget
yum install -y screen
yum install -y vim
screen -S amh

tar -zxf amh.v43.tar.gz -C /home; 将压缩包 解压到home目录中

cd ../进入系统主目录中

cd /home 进入home目录

cd ../home/amh_install
cd amh_install

chmod +x amh.sh 执行并安装

./amh.sh 执行并安装

到这里就安装执行完毕。本人亲测安装并使用

amh

tar -zxf mysql-5.7.17.tar.gz -C /usr/local;
tar -zxf php-7.1.3.tar.gz -C /home;
tar -zxf php-7.0.17.tar.gz -C /home;
tar -zxf amh.php56.tar.gz -C /home;
tar -zxf amh.php55.tar.gz -C /home;
cd ../home/amh_install
cd amh_install
chmod +x *.sh
./*.sh

----------------------------------------最新总结安装amh面板全过程--------------------------

阿里云服务器购买完毕 默认用户名:root 密码无,需要在系统中重置密码, 此用户名与密码为SSh用户名密码。用Xshell登录上后 更目录为root文件夹

配置amh后台并集成 PHP 7.1

用FTP 将amh4.5.tar.gz上传到root文件夹中

tar -zxf amh4.5.tar.gz -C/home 执行命令将amh压缩包解压到home文件夹中为 amh_install
将amh.sh 上传到amh_install文件夹中

执行命令

chmod +x *.sh
./*.sh

会出现提示,并按照服务器配置要求来选择安装成脚本,因为服务器配置决定了能安装哪些程序的版本

[root@izm5e4u1jmuzijy7bp2ct1z amh_install]# chmod +x *.sh
[root@izm5e4u1jmuzijy7bp2ct1z amh_install]# ./*.sh

================================================================

 [LNMP/Nginx] Amysql Host - AMH 4.2 (Sxsay.Com mod v45)
 http://Amysql.com
 https://www.sxsay.com
Memory less than 1GB, cant install MySQL 5.7 or MairaDB 10!

================================================================

Server
64Bit, 1*CPU, 1839MB*RAM, 0MB*Swap
x86_64, Instruction

================================================================

[Notice] Confirm Install/Uninstall AMH? please select: (1~3)
1) Install AMH 4.2
2) Uninstall AMH 4.2
3) Exit
#? 1
[Notice] Confirm Install Nginx(nginx-1.10.3)/Tengine(tengine-2.2.0)? please select: (1~3)
1) Nginx
2) Tengine
3) Exit
#? 1
[OK] nginx-1.10.3 installed
[Notice] Select Server Area : (1~2)
1) localhost
2) Sxsay.com
3) Exit
#? 1
[OK] localhost installed
[OK] You Selected: localhost
[Notice] Confirm Install Mysql / Mariadb? please select: (1~6)
1) Mysql-5.5.54     3) Mysql-5.7.17     5) Mariadb-10.1.21
2) Mysql-5.6.35     4) Mariadb-5.5.54   6) Exit
#? 1
[OK] Mysql-5.5.54 installed
[OK] You Selected: Mysql-5.5.54
[Notice] Do you want PHP5.3? : (y/n)n
[Notice] Do you want PHP5.4? : (y/n)n
[Notice] Do you want PHP5.5? : (y/n)y
[OK] php5.5 will be installed
[Notice] Do you want PHP7.0? : (y/n)y
[OK] php7.0 will be installed
[Notice] Do you want PHP7.1? : (y/n)y
[OK] php7.1 will be installed
[Error] empty server ip.
[Notice] Please input server ip:服务器IP
 [OK] Your server ip is:

***.***.***.***

[Notice] Please input MySQL password:***********

amh password:******

这样就开始安装了

阅读 124

Comments