摘要: nginx(){cd $pathtar zxvf pcre-8.20.tar.gz cd pcre-8.20./configure --prefix=/usr/local/pcremakemake installcd $pathtar zxvf openssl-1.0.0a.tar.gzcd ope... 阅读全文
posted @ 2015-11-04 18:41 zclzhao 阅读(168) 评论(0) 推荐(0) 编辑
摘要: all(){path=`pwd`cd $pathechoecho "exclude=*.i386 *.i686" >> /etc/yum.confrpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noa... 阅读全文
posted @ 2015-11-04 18:40 zclzhao 阅读(150) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#author:zhaocl#Software directory:$pathpath=`pwd`cd $path. $path/cacti.sh. $path/nginx.sh. $path/php.sh. $path/mysql.sh. $path/all.shcd $pa... 阅读全文
posted @ 2015-11-04 18:39 zclzhao 阅读(194) 评论(0) 推荐(0) 编辑
摘要: dns安装配置yum -y install dnsmasqdns配置文件vi /etc/dnsmasq.confresolv-file=/etc/resolv.dnsmasq.confaddn-hosts=/etc/dnsmasq.hosts指定向上一级访问的dnsvi /etc/resolv.dn... 阅读全文
posted @ 2015-10-30 12:31 zclzhao 阅读(302) 评论(0) 推荐(0) 编辑
摘要: mysql-5.5.18.tar.gzcd mysql-5.5.18yum install -y autoconf automake imake libxml2-devel expat-devel gcc gcc-c++ libaio libaio-devel bzr bison libtool n... 阅读全文
posted @ 2015-10-28 15:19 zclzhao 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 在mysql主库、从库执行:grant all on mxyc.* to 'mxycuser'@'192.168.12.71' identified by '123456' with grant option;Amoeba安装1、安装jdk环境./jdk-6u29-linux-x64-rpm.bin 阅读全文
posted @ 2015-10-28 15:16 zclzhao 阅读(224) 评论(0) 推荐(0) 编辑
摘要: MySQL主从配置192.168.12.24操作:create database mxyc;创建数据库insert into mysql.user(Host,User,Password) values('localhost','mxyc',password('123qwe'));建立账号密码gran... 阅读全文
posted @ 2015-10-28 14:50 zclzhao 阅读(185) 评论(0) 推荐(0) 编辑