摘要:Server setup 0)yum -y install xinetd vi /etc/xinetd.d/rsync and ensure following: disable = no 1)vi /etc/rsyncd.conf -------------- uid = nobody ...
阅读全文
摘要:下载文件解压缩./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-extr...
阅读全文
摘要:Vsftpd是一个unix系统上的FTP服务软件,其特点是小巧轻快、安全易用。采用一般身份启动服务,对linux的使用权限较低,降低了系统的安全风险。下面介绍一下VSFTPD在centos系统上的安装以及一些配置方法。安装vsftpd并设置为开机启动:123yum install vsftpd -y...
阅读全文
摘要:yum -y remove subversionRPM 安装: http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.16/rhel5/i386/wget http://the.earth....
阅读全文
摘要:vi /etc/sysconfig/hostnamerebootcp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate time.nist.gov rpm -ivh http://dl.fedoraproject.org/pub/epel...
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect To WWW" patternSyntax="Wildcard" stopProcessing="true"> <match url="*"/> <condition
阅读全文
摘要:yum -y install gcc+ gcc-c++./config shared zlibmake&&make installmv /usr/bin/openssl /usr/bin/openssl.OFFmv /usr/include/openssl /usr/include/openssl....
阅读全文
摘要:1)主文件 location / { root /opt/webroot; index index.html index.htm index.php if (!-e $request_filename){ rewrite^/(.*)/yiiGuestBook/index.phplast; }} location ~ \.php$ { root /opt/webroot/; fastcgi_pass 127.0.0.1:9001; fastcgi_index index.php; fastcgi_param YII_ENVIRONMENT "STAGING"...
阅读全文
摘要:可以执行 yum命令来安装先决软件:yum install libxml2 libxml2-devel curl-devel free-type-devel1)安装pcrewget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-...
阅读全文
摘要:比如添加www和ssh端口/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT 然后/etc/rc.d/init.d/iptables saveservice iptables restart----------查看内容/etc/init.d/iptables statuscat /etc/sysconfig/iptables 可以查看 防火墙 iptables 配置文件内容 ------------iptables -F# 允许包从22端口
阅读全文
摘要:下载Apache文件:wget http://archive.apache.org/dist/httpd/httpd-2.2.20.tar.gz解压缩,然后:./configure --prefix=/data/system/apache --enable-so --enable-modules=a...
阅读全文