2 Star 2 Fork 0

hellotest/Json_lamp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
start.sh 986 Bytes
一键复制 编辑 原始数据 按行查看 历史
hellotest 提交于 2016-07-08 22:21 +08:00 . init project
#!/bin/bash
# Version: 2.0.0
# Author: Json
# Date: 2016/7/5
# Description: LampDevelopEnvironment Install Script
# Linux-CentOS 6.0
# Apache-2.2.19
# MySQL-5.5.17
# PHP-5.3.6
dir=$(cd `dirname $0`; pwd)
if [ "$UID" -ne 0 ]
then
printf "Error: You must be root to run this script!\n"
exit 1
fi
clear
echo "
Please Select Install
+-----------------------------------+
| Linux + Apache + MySql + PHP5.3 |
| |
| Sure? |
| |
| YES:1 NO:0 |
| |
| don't install is now |
| |
+-----------------------------------+
"
sleep 0.1
read -p "Please Input 1 or 0: " Select_Id
if [ $Select_Id == 1 ]; then
bash $dir/tools/lamp_install.sh
elif [ $Select_Id == 0 ]; then
echo "Exit Now..."
exit 1
else
echo "Select Error! exit..."
exit 1
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/jdtest/Json_lamp.git
git@gitee.com:jdtest/Json_lamp.git
jdtest
Json_lamp
Json_lamp
master

搜索帮助