环境:RHEL6.6-x86_64iptables-1.4.21.tar.bz2l7-protocols-2009-05-28.tar.gznetfilter-layer7-v2.23.tar.gzkernel-2.6.35.8-l7想禁止员工上班期间玩扣扣,下载电影浪费宝贵的带宽吗?l7-filter是个不错的选择。。1、给内核打补丁#tarxflinux-2.6.35.8.tar.gz-C/usr/src#tarxf..
分类:
系统相关 时间:
2015-04-13 21:05:21
阅读次数:
222
1,安装ftp
从redhat官网www.redhat.com下载RHEL6.4 64bit试用版(必须用企业邮箱注册为合作者而不是个人用户才能下载),安装后发现系统没有ftp
命令。由于RHEL6.4是试用版没有注册,所以yum无法使用。于是尝试用rpm从光盘安装相应的ftp安装包。
1.首先挂载上系统安装盘,mount ...
分类:
系统相关 时间:
2015-04-11 18:04:14
阅读次数:
224
RHEL6安装python包tornadotornado是使用Python开发的全栈式(full-stack)Web框架和异步网络库,最早由Friendfeed开发。通过使用非阻塞IO,Tornado可以处理数以万计的开放连接,是long polling、WebSockets和其他需要为用户维护长连接应用的理想选择。tornado 跟其他主流的Web服务器框架(主要是Python框架)不同是采用e...
分类:
编程语言 时间:
2015-04-08 16:30:21
阅读次数:
237
实验前提:1、本次实验是在RHEL6.4(64bit)系统上完成的。2、实验前确保每台服务器同步3、本次实验有3台主机,其中haproxy作为反向代理地址为192.168.108.232,后面2台的httpd服务器为192.168.108.230和192.168.108.231.(我这里在虚拟机上使用的是桥接的方式,也可以使用仅主机..
分类:
Web程序 时间:
2015-04-07 19:57:04
阅读次数:
362
实验前提:1、本次实验实验的是RHEL6.4(64bit)的系统2、确保每台服务器时间同步3、本次实验共有4台服务器,其相关的地址为:haproxy1:192.168.108.230haproxy2:192.168.108.231web1:192.168.108.199web2:192.168.108.201VIP:192.168.108.111实验拓扑结构为:一、编译安装keep..
分类:
Web程序 时间:
2015-04-07 19:55:54
阅读次数:
392
1》以下皆使用root用户执行/usr/sbin/groupadd-g501oinstall
/usr/sbin/groupadd-g502dba
/usr/sbin/groupadd-g503oper
/usr/sbin/groupadd-g504asmadmin
/usr/sbin/groupadd-g505asmoper
/usr/sbin/groupadd-g506asmdba
/usr/sbin/useradd-goinstall-Gdba,asmdba,operoracle
/..
分类:
数据库 时间:
2015-04-06 06:31:53
阅读次数:
171
实验环境:rhel6.5seliunxandiptablesdisablednginx1.6.2mysql5.5.12php5.4.36memcached1.4.4server1172.25.12.1tomcatnginxmysqlphpmemcachedserver2172.25.12.2tomcatmemcachedserver3172.25.12.3tomcatserver4172.25.12.4tomcat一.nginx:1.1安装安装依赖性:yuminstallgcc..
分类:
数据库 时间:
2015-04-05 19:05:45
阅读次数:
2723
实验环境:rhel6.5seliunxandiptablesdisablednginx1.6.2mysql5.5.12php5.4.36memcached1.4.4server1172.25.12.1tomcatnginxmysqlphpmemcachedserver2172.25.12.2tomcatmemcachedserver3172.25.12.3tomcatserver4172.25.12.4tomcat一.nginx:1.1安装安装依赖性:yuminstallgcc..
分类:
数据库 时间:
2015-04-05 19:04:49
阅读次数:
546
检查内核配置
(RHEL6默认已经配置好内核)
系统内核和捕捉内核都需要的内核选项:
在"Processortypeandfeatures."选项中启用"kexecsystemcall"。CONFIG_KEXEC=y
在"Filesystem"->"Pseudofilesystems."中启用"sysfsfilesystemsupport"。CONFIG_SYSFS=y
在"Kernelhacking..
分类:
其他好文 时间:
2015-04-03 15:40:14
阅读次数:
189