经过上一篇博文mysql系列之多实例1----介绍对mysql多实例进行了简单的介绍,本片博文将开始针对mysql多实例的第一种实现方案,基于多配置文件的mysql多实例进行部署实现。环境:
CentOS6.5x86_64位采用最小化安装,系统经过了基本优化
selinux为关闭状态,iptables为无限制模式..
分类:
数据库 时间:
2014-07-23 00:23:38
阅读次数:
469
CentOS ships with basic sound support for audio content encoded with codecs for a variety of sound formats, including .wav and .ogg files. The alsa-ut...
分类:
其他好文 时间:
2014-07-22 22:47:33
阅读次数:
301
1.首先打开终端,cd到cocos2d-x-3.2目录下,运行命令./setup.py ,根据提示设置相应的ndk路径NDK_ROOT,sdk路径ANDROID_SDK_ROOT,ant路径ANT_ROOT,cocos2d路径COCOS_CONSOLE_ROOT
= “cocos2d-x-3.2/tools/cocos2d-console/bin”,也可以用open -t ~/.bash_pr...
分类:
其他好文 时间:
2014-07-22 22:33:54
阅读次数:
185
import osimport sysROOT = 'settings.py所在目录'sys.path.append(ROOT)from django.core.management import setup_environimport settingssetup_environ(settings)...
分类:
编程语言 时间:
2014-07-22 00:31:38
阅读次数:
207
一、通过pip工具安装
https://pypi.python.org/pypi/pip#downloads
cd /opt/
tar xzvf pip-1.5.6.tar.gz
cd /opt/pip-1.5.6
python setup.py install
pip install ngxtop
ngxtop -c /usr/local/nginx/conf/nginx.co...
分类:
其他好文 时间:
2014-07-21 23:28:11
阅读次数:
258
安装ez_setup.py时出现了这个问题:UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal not in range(128)Something went wrong during the...
分类:
编程语言 时间:
2014-07-21 23:27:53
阅读次数:
236
iptables配置实例 iptables 基本命令使用举例一、链的基本操作 ?1、清除所有的规则。 ?1)清除预设表filter中所有规则链中的规则。 ?# iptables -F ?2)清除预设表filter中使用者自定链中的规则。 ?#iptabl...
分类:
其他好文 时间:
2014-07-21 13:22:43
阅读次数:
231
LinuxcomeswithahostbasedfirewallcalledNetfilter.Accordingtotheofficialprojectsite:netfilter
isasetofhooksinsidetheLinuxkernelthatallowskernelmodulesto
registercallbackfunctionswiththenetworkstack.Aregistered
callbackfunctionisthencalledbackforeverypackettha..
分类:
系统相关 时间:
2014-07-21 12:34:43
阅读次数:
400
上周花了几天研究了一下Openstack的SecurityGroup防火墙规则,总结下上周的成果。一、介绍下我的环境。操作系统:RHEL6.4+Openstack官方内核Openstack版本:Havana网络模式:ML2+Linuxbridge租户网络:VLAN二、Iptables流向INPUTneutron-linuxbri-INPUTneutron-linuxbri-o45d1d..
分类:
其他好文 时间:
2014-07-21 12:25:13
阅读次数:
248
Iptables+layer7+squid的应用一、iptables+layer7+squid简介(1)Iptables是网络层防火墙,主要用于网络层、传输层的过滤,对应用层的过滤较少,但是支持的应用比较多,如NAT转换(2)Layer7能使iptables基于应用层过滤(3)Squid是一个应用层代理服务器,不仅可以过滤网络层、..
分类:
其他好文 时间:
2014-07-20 15:34:31
阅读次数:
424