发布时间:2013-04-18 16:41:45
首先下载svn 软件#wget http://subversion.tigris.org/downloads/subversion-1.4.0.tar.gz#wget http://subversion.tigris.org/downloads/subversion-deps-1.4.0.tar.gz#tar -zxf subversion-deps-1.4.0.tar.gz#tar -zxf subversion-1.4.0.tar.gz#./configure --prefix=/opt/svn#make clean#make #make install.........【阅读全文】
发布时间:2013-04-18 14:17:26
在安装nginx + mysql + php 的时候出现这样的错误:/usr/local/src/php-5.2.15/ext/mysqli/mysqli.c:644: error: (Each undeclared identifier is reported only once/usr/local/src/php-5.2.15/ext/mysqli/mysqli.c:644: error: for each function it appears in.)/usr/local/src/php-5.2.15/ext/mysqli/mysqli.c:645: .........【阅读全文】
发布时间:2013-02-02 10:51:58
#!/bin/sh#backup files by dateDATE=`/bin/date +%Y%m%d`/bin/tar -cfz /backup/$1.$DATE.tar.gz $1 > /dev/null 2>> /backup/$1.bak.log/bin/gzip /backup/$1.$DATE.tarif [ $? -eq 0 ]then echo "$1 $DATE backup successfuly" >> /backup/$1.bak.logelse echo "ERROR:failure $1 $DATE .........【阅读全文】
发布时间:2013-02-02 10:21:02
#!/bin/sh#auto mail for system info/bin/date +%F >> /tmp/sysinfoecho "disk info:" >> /tmp/sysinfo/bin/df -h >> /tmp/sysinfoecho "online users:" >> /tmp/sysinfo/usr/bin/who | /bin/grep -v root >> /tmp/sysinfoecho "memory info:" >> /tmp/sysinfo/usr/free -m >> /tmp/sysinfoecho >> /tmp/sysinf.........【阅读全文】