This commit is contained in:
陆柯 2021-06-27 21:57:13 +08:00
parent 8a8cdbe76f
commit cf2402cc07
2 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,8 @@ git clone https://github.com/teddysun/lamp.git
cd lamp cd lamp
chmod 755 *.sh chmod 755 *.sh
echo "LAMP https://lamp.sh"
echo "Don't select php 7.2 or above, it fails due to lacking of freetype-config. Please use php 7.1" echo "Don't select php 7.2 or above, it fails due to lacking of freetype-config. Please use php 7.1"
read -p "Enter root password of MySQL Server >> " DBPWD read -p "Enter root password of MySQL Server >> " DBPWD
screen ./lamp.sh --apache_option 1 --db_option 3 --php_option 3 --db_root_pwd $DBPWD --db_manage_modules phpmyadmin --kodexplorer_option 1 screen ./lamp.sh --apache_option 1 --db_option 3 --php_option 7 --db_root_pwd $DBPWD --db_manage_modules phpmyadmin --kodexplorer_option 1

6
install-lnmp.sh Normal file
View File

@ -0,0 +1,6 @@
echo "LNMP https://www.lnmp.org"
wget http://soft.vpser.net/lnmp/lnmp1.8.tar.gz -cO lnmp1.8.tar.gz
tar zxf lnmp1.8.tar.gz
cd lnmp1.8
./install.sh lnmp