代码拉取完成,页面将自动刷新
同步操作将从 技安/ltnmp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
## ltnmp一键安装包
## 组件安装脚本
## php C扩展/框架(Yaf,phalcon,swoole......)
## by 技安(Andy) (http://www.moqifei.com)
## 检测是否是root账户权限
if [ $(id -u) != "0" ]; then
echo "Error: You must be root to run this script, please use root to install ltnmp"
exit 1
fi
## 当前路径
current_dir=$(pwd)
## 加载初始化脚本
. scripts/bootstrap.sh
. scripts/version.sh
## 检测系统参数
run
if [ "${DISTRO}" = "unknow" ]; then
echo "Unable to get the release version of the operating system, or the system release version is not supported"
exit 1
fi
. scripts/redis.sh
. scripts/phalcon.sh
. scripts/yaf.sh
. scripts/swoole.sh
. scripts/composer.sh
. scripts/zendloader.sh
. scripts/ionCube.sh
clear
echo "-------------------------------------------------------------------------"
echo ""
echo " ltnmp v${ltnmp_version} for ${DISTRO} Linux Server"
echo ""
echo " Automatic compilation(Tengine/nginx)+php+(Mariadb/Mysql)"
echo ""
echo " Extend Module Install Panle"
echo ""
echo " By:Andy http://www.moqifei.com"
echo ""
echo "-------------------------------------------------------------------------"
echo ""
echo ""
echo " 1 : Install ${ltnmp_redis}"
echo " 2 : Install ${ltnmp_phalcon}"
echo " 3 : Install ${ltnmp_yaf}"
echo " 4 : Install ${ltnmp_swoole}"
echo " 5 : Install composer"
echo " 6 : Install zend-loader"
echo " 7 : Install ionCube"
echo ""
read -p ">>Enter your choose number (or exit): " action
case ${action} in
1 )
install_redis
;;
2 )
install_phalcon
;;
3 )
install_yaf
;;
4 )
install_swoole
;;
5 )
install_composer
;;
6 )
install_zend_loader
;;
7 )
install_ioncube
;;
* )
exit 1
;;
esac
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。