准备环境selinux、iptables关闭
mkdir-p~/.pip#使用豆瓣pip源
vim~/.pip/pip.conf
[global]
index-url=http://pypi.douban.com/simple/
yuminstall-ygit#安装git
cd/home
gitclonehttps://github.com/openstack-dev/devstack.git
cd/home/devstack/tools/#devstack默认不能..
分类:
其他好文 时间:
2015-01-14 18:06:29
阅读次数:
1037
mysql下载:ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/ftp://ftp.pku.edu.cn/open/db/MySQL/说明:MySQL自5.5版本以后开始使用cmake编译。1、安装所需要系统库相关库文件[root@centos64~]#yuminstall-ygccgcc-c++gcc-g77autoconfautomakezlib*fiex*libxml*ncur..
分类:
数据库 时间:
2015-01-13 10:41:59
阅读次数:
258
六.基础配置阶段1.安装haproxy[root@hap~]#yuminstall-yhaproxy
[root@hap~]#cd/etc/haproxy/
[root@haphaproxy]#cphaproxy.cfg{,.bak}
[root@haphaproxy]#ls
haproxy.cfghaproxy.cfg.bak2.开启haproxy的系统日志[root@haphaproxy]#vim/etc/rsyslog.conf
$ModLoadimudp
$UDPSer..
分类:
其他好文 时间:
2015-01-12 06:56:47
阅读次数:
573
操作可参考http://www.linuxyw.com/353.html(nginx+uwsgi+django+python环境部署文档)这里只说明几点我的配置环境:Nginx版本:1.7.9Django版本:1.6.8Python版本:2.7.5Uwsgi版本:2.0.9安装MySQL-python:最好源码安装,yuminstall-yMySQL-python可能因为路径问题importMySQLd..
分类:
其他好文 时间:
2015-01-07 19:08:01
阅读次数:
364
linux下安装安装pcre-8.36configure:error:YouneedaC++compilerforC++support[root@localhostpcre-8.36]#./configure………………………………………………configure:error:YouneedaC++compilerforC++support.[root@localhostpcre-8.36]#yuminstall-ygccgcc-c++[root@localhost..
分类:
其他好文 时间:
2015-01-04 19:45:57
阅读次数:
237
1:安装安装依赖库yuminstall-yzlibzlib-develyuminstall-yopensslopenssl-devel源代码编译安装py #编译安装python2.7mkdir-p/usr/local/src/python_srccd/usr/local/src/python_srcwgethttp://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2tar-xfPython-2.7.5.tar.bz..
分类:
其他好文 时间:
2015-01-04 19:43:08
阅读次数:
257
5.在服务端安装puppet的dashboard安装mysql1/*---示例代码----*/234[root@master~]#yuminstall-ymysqlmysql-develmysql-server56=======================省略线==================================================78Installed:910mysql.x86_640:5.1.73-3.el6_5mysql-devel.x86..
分类:
其他好文 时间:
2015-01-01 06:46:40
阅读次数:
692
安装lemp:#!/bin/bash
root=/opt/app
if[$(id-u)!="0"];then
echo"Error:Youmustberoottorunthisscript,pleaseuseroottoinstalllnmp"
exit1
fi
rpm-ephpphp-commanmysqlmysql-server
yuminstall-ygccgcc-c++openssl-develzlib-devellibXpm-devellibxml2libxml2-develcurl-de..
分类:
其他好文 时间:
2014-12-31 11:32:05
阅读次数:
198
安装NGINX:yuminstall-ygccgcc-c++openssl-develzlib-devel
tarxfpcre-8.34.tar.gz
cdpcre-8.34
./configure&&make&&makeinstall
cd..
cdnginx-1.4.7
tarxfnginx-1.4.7.tar.gz
cdnginx-1.4.7
./configure--prefix=/usr/local/nginx--with-http_stub_status_mo..
分类:
其他好文 时间:
2014-12-31 11:30:22
阅读次数:
270
编译安装缓存nginx:yuminstall-ygccgcc-c++openssl-develzlib-devel
tarxfpcre-8.34.tar.gz
cdpcre-8.34
./configure&&make&&makeinstall
cd..
wgethttp://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz
tarxfngx_cache_purge-2.3.tar.gz-C/opt/app
tar..
分类:
其他好文 时间:
2014-12-31 11:29:29
阅读次数:
145