基于lanny一键安装包:(含lnmp所需软件及配置文件) 安装nginx: 安装mysql:(集成) 安装php: nginx支持 php 完整的bbs配置:/application/nginx/conf/extra/bbs.conf server { listen 80; server_name ...
                            
                            
                                分类:
数据库   时间:
2016-07-22 10:09:08   
                                阅读次数:
233
                             
                    
                        
                            
                            
                                #!/bin/bashecho"Itwillinstalllamporlnmp."sleep1##checklastcommandisOKornot.check_ok(){if[$?!=0]thenecho"Error,Checktheerrorlog."exit1fi}##getthearchiveofthesystem,i686orx86_64.ar=`arch`##closeseliuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/‘/etc/selinux/co..
                            
                            
                                分类:
其他好文   时间:
2016-06-23 19:07:08   
                                阅读次数:
193
                             
                    
                        
                            
                            
                                #!/bin/bash
#subject:一键安装lamp(apache+mysql+php)
#Date:2016-06-08
#定义软件下载目录:
SoftDir=‘/usr/local/src‘
#定义编译函数:
functionMAKE(){
if[`echo$?`-eq0];then
make
else
exit
fi
}
#定义安装函数:
functionMAKE_INS(){
if[`echo$?`-eq0];then
makeinstall..
                            
                            
                                分类:
其他好文   时间:
2016-06-15 00:06:30   
                                阅读次数:
259
                             
                    
                        
                            
                            
                                该脚本只在centos上测试过,测试OK,其他发行版自行测试#!/bin/bash#Purpose:一键安装lamp(apache+mysql+php)#Writer:www.linuser.com#Date:2015-10-08#定义软件下载目录:SoftDir=‘/usr/local/src‘#定义编译函数:functionMAKE(){if[`echo$?`-eq0];thenmakeelseexitfi}#定义安..
                            
                            
                                分类:
数据库   时间:
2016-06-05 01:13:12   
                                阅读次数:
334
                             
                    
                        
                            
                            
                                该脚本已经在centos7.1上测试通过,用时27分,硬件环境(1G,1U)。该脚本有安装PHP加速器xcache:#!/bin/bash#该脚本的作用:在线一键部署LNMP#Write:King#Date:2015-03-19#mysql数据存放目录为/data/mysql#php主配置文件在/usr/local/php/etc#nginxweb程序目录/usr/local/nginx..
                            
                            
                                分类:
数据库   时间:
2016-06-03 07:39:28   
                                阅读次数:
375
                             
                    
                        
                            
                            
                                #!/bin/bash
#--变量
err_echo(){
echo-e"\\033[31m[Error]:$1\\033[0m"
exit1
}
info_echo(){
echo-e"\\033[32m[Info]:$1\\033[0m"
}
warn_echo(){
echo-e"\\033[33m[Warning]:$1\\033[0m"
}
check_exit(){
if[$?-ne0];then
err_echo"$1"
exit1
fi
}
#配置yum源
info_ech..
                            
                            
                                分类:
其他好文   时间:
2016-05-23 19:16:12   
                                阅读次数:
294
                             
                    
                        
                            
                            
                                    转自:http://futeng.iteye.com/blog/2064143 需求 一键安装脚本 脚本即安装文件已经备份到云端 installJDK.sh Shell代码 #!/bin/bash # shell script to install jdk (default version jdk- ...
                            
                            
                                分类:
系统相关   时间:
2016-05-12 10:36:37   
                                阅读次数:
277