#!/bin/bash#author:jorden#date2016-05-03#version:1.0echo#####tengine一键安装#######installdependentpackage#####yum-yinstallopensslopenssl-develzlibgccgcc-c++pcrecmakepcrepcre-develecho""echo"####adduserandgroup######"v_www=`cat/etc/passwd|grepwww|wc-l`if[v_..
                            
                            
                                分类:
其他好文   时间:
2016-05-03 20:40:04   
                                阅读次数:
309
                             
                    
                        
                            
                            
                                #!/bin/bash#Author:laocao#Date:2016/05/03#Revision:1.0if[!-f"/etc/yum.repos.d/mariadb.repo"];thenecho"[mariadb]">>/etc/yum.repos.d/mariadb.repoecho"name=MariaDB">>/etc/yum.repos.d/mariadb.repoecho"baseurl=http://yum.mariadb.org/10.0/centos6-amd6..
                            
                            
                                分类:
数据库   时间:
2016-05-03 12:53:26   
                                阅读次数:
332
                             
                    
                        
                            
                            
                                #!/bin/bash/#AutosetupLAMP,downloadsoftwarebyinternet.#bylrj#2016-3-23#定义各自变量及目录PUBLIC_DIR=/data/software/lamp/#下载的源码包放这里#ApachedefinepathvariableH_FILES=httpd-2.2.31.tar.bz2H_FILES_DIR=httpd-2.2.31H_URL=http://mirrors.cnnic.cn/apache/http..
                            
                            
                                分类:
其他好文   时间:
2016-03-28 10:26:00   
                                阅读次数:
272
                             
                    
                        
                            
                            
                                centos shell编程5LANMP一键安装脚本 第三十九节课 上半节课 下半节课 f
                            
                            
                                分类:
系统相关   时间:
2016-01-28 00:35:30   
                                阅读次数:
210
                             
                    
                        
                            
                            
                                #!/bin/bash
#User:bobo365
#Date:20160127
USER=`whoami`
if["$USER"!=‘root‘];then
echo"Pleaseuserootuser,Thanks"
exit
fi
MYSQL_USER=`egrep-imysql/etc/passwd`
if[-z"$MYSQL_USER"];then
useradd-r-s/sbin/nologinmysql
else
echo"usermysqlwasadded"
fi
yuminstall-..
                            
                            
                                分类:
数据库   时间:
2016-01-27 13:10:53   
                                阅读次数:
224
                             
                    
                        
                            
                            
                                #!/bin/sh
#User:bobo365
#Date:20160127
MAKE(){
if[`echo$?`-eq0];then
make
else
exit
fi
}
MAKE_INS(){
if[`echo$?`-eq0];then
makeinstall
else
exit
fi
}
USER=`whoami`
if["$USER"!=‘root‘];then
echo"Thisisnotrootuser。"
exit
fi
if[-d‘/usr/local/mysql‘];th..
                            
                            
                                分类:
数据库   时间:
2016-01-27 10:58:29   
                                阅读次数:
293
                             
                    
                        
                            
                            
                                --------------------------------------------------------------------author:jiangxinEmail:jiangxinnju@163.comBlog:http://blog.csdn.net/jiangxinnju-----...
                            
                            
                                分类:
系统相关   时间:
2015-12-25 22:19:44   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                安装KVM,Xfce以及virt-manager,桌面方式管理KVM虚拟机:#!/bin/bash#lsmod|grepkvm||exit3&&echo‘KVMmodeisnotloaded!‘pingwww.163.com-c2if[$?-eq0];thenyum-ygroupinstallXfce--skip-broken	yum-ygroupinstall‘VirtualizationHost‘‘Virtualization‘yum-yinstallqem..
                            
                            
                                分类:
其他好文   时间:
2015-12-23 02:21:07   
                                阅读次数:
319