开心园地

导航

随笔分类 -  Linux

rsync 的安装
摘要:Server setup 0)yum -y install xinetd vi /etc/xinetd.d/rsync and ensure following: disable = no 1)vi /etc/rsyncd.conf -------------- uid = nobody ... 阅读全文

posted @ 2014-02-27 13:52 开心园地 阅读(200) 评论(0) 推荐(0)

编译安装mysql5.x
摘要:下载文件解压缩./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-extr... 阅读全文

posted @ 2012-12-23 19:19 开心园地 阅读(234) 评论(0) 推荐(0)

vsftp 设置
摘要:Vsftpd是一个unix系统上的FTP服务软件,其特点是小巧轻快、安全易用。采用一般身份启动服务,对linux的使用权限较低,降低了系统的安全风险。下面介绍一下VSFTPD在centos系统上的安装以及一些配置方法。安装vsftpd并设置为开机启动:123yum install vsftpd -y... 阅读全文

posted @ 2012-12-22 00:02 开心园地 阅读(366) 评论(0) 推荐(0)

Subversion 1.6 & 1.8 installation under LINUX
摘要: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.... 阅读全文

posted @ 2012-12-12 18:38 开心园地 阅读(451) 评论(0) 推荐(0)

LINUX server common setup for ChinaCache ...
摘要:vi /etc/sysconfig/hostnamerebootcp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate time.nist.gov rpm -ivh http://dl.fedoraproject.org/pub/epel... 阅读全文

posted @ 2012-12-07 15:31 开心园地 阅读(238) 评论(0) 推荐(0)

wordpress在IIS7.5+ Apache 下的配置方法
摘要:<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect To WWW" patternSyntax="Wildcard" stopProcessing="true"> <match url="*"/> <condition 阅读全文

posted @ 2012-11-28 15:08 开心园地 阅读(351) 评论(0) 推荐(0)

apache2.4 compiled&installaton on LINUX
摘要:yum -y install gcc+ gcc-c++./config shared zlibmake&&make installmv /usr/bin/openssl /usr/bin/openssl.OFFmv /usr/include/openssl /usr/include/openssl.... 阅读全文

posted @ 2012-11-08 14:27 开心园地 阅读(256) 评论(0) 推荐(0)

YII 在 nginx1.3.x版本下的安装配置
摘要: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"... 阅读全文

posted @ 2012-11-07 16:57 开心园地 阅读(488) 评论(0) 推荐(0)

linux下编译安装nginx 1.x,php5.x,phpmyadmin 以及多版本php共存
摘要:可以执行 yum命令来安装先决软件:yum install libxml2 libxml2-devel curl-devel free-type-devel1)安装pcrewget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-... 阅读全文

posted @ 2012-11-07 12:02 开心园地 阅读(497) 评论(0) 推荐(0)

CentOS 防火墙设置
摘要:比如添加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端口 阅读全文

posted @ 2012-10-31 15:51 开心园地 阅读(164) 评论(0) 推荐(0)

linux下用源代码编译安装apache2.x + php5.x
摘要:下载Apache文件:wget http://archive.apache.org/dist/httpd/httpd-2.2.20.tar.gz解压缩,然后:./configure --prefix=/data/system/apache --enable-so --enable-modules=a... 阅读全文

posted @ 2012-10-26 18:57 开心园地 阅读(649) 评论(0) 推荐(1)