#!/bin/bash
#desc:thisscriptsforbaidunews-spider
#date:2014.02.25
#testdinCentOS5.9x86_64
#savedin/usr/local/bin/baidu-web.sh
#writtenbycoralzd@gmail.comwww.zjyxh.com
dt=`date-d"yesterday"+%m%d`
if[$1x!=x];then
if[-e$1];then
grep-i"Baiduspider/2.0"$1>bai..
分类:
Web程序 时间:
2014-12-17 13:01:18
阅读次数:
185
SQL2008 无法连接到XXX error 40 MS SQL 错误2
尝试使用(local)\SQLEXPRESS 作为服务器名称登陆。
用 计算机名\实例名 作为用户名就能登录。...
分类:
数据库 时间:
2014-12-17 12:46:50
阅读次数:
207
1、安装
# tar xf xcache-3.2.0.tar.bz2
# cd xcache-3.2.0
# /usr/local/php/bin/phpize
# ./configure --enable-xcache --with-php-config=/usr/local/php/bin/php-config
# make && make install...
分类:
Web程序 时间:
2014-12-17 12:46:07
阅读次数:
211
1.先创建一个本地的数据库,右键单击你的项目-->选择【Add】--->New Item--->Local database.创建数据库后,添加一个数据表T_student,添加一些数据。2.右键---->【Add】--->New Item--->Dataset(命名为information.xsd...
分类:
其他好文 时间:
2014-12-17 12:35:56
阅读次数:
195
在Mac上安装cscope1、下载cscope的Zip压缩包2、解压3、打开终端,进入解压目录,运行./configuremakemake install4、在CodeLite中,在Plugins > CScope > CScope Settings下,填入/usr/local/bin/cscope...
分类:
其他好文 时间:
2014-12-16 20:40:46
阅读次数:
213
1.安装vsftpd、ftp(yum安装)2.更改配置文件local_root=/var/www/html(ftp用户登录后进入的将都是这个目录)3.设置目录权限chmod777/var/www/html4.设置为开机自动启动chkconfigvsftpdon5.更改selinuxvim/etc/sysconfig/selinuxselinux=disabled6.启动服务servicevsftpdstart
分类:
其他好文 时间:
2014-12-16 19:32:00
阅读次数:
223
1、准备工作yuminstall-ygccgcc-c++#安装gccyum-yinstallperl#安装perlsetenforce0#关闭selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/g‘/etc/selinux/configserviceiptablesstop#关闭iptableschkconfigiptablesoff2、安装apr./configure--prefix=/usr/local/aprmake&..
分类:
Web程序 时间:
2014-12-16 19:30:42
阅读次数:
206
实验环境:CENTOS6.4,一、MYSQL安装1、下载mysql到/usr/local/src/#cd/usr/local/src/#wgethttp://syslab.comsenz.com、downloads/linux/mysql-5.1.40-linux-i686-icc-glibc23.tar.gz2、解压,并把数据移动到/usr/local/mysql#tarzxvf/usr/local/src/mysql-5.1.40-linux-i686-i..
分类:
其他好文 时间:
2014-12-16 19:30:11
阅读次数:
246
mysql 错误信息:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock
出错原因:
可能是你运行了/etc/init.d/mysql start
解决方法:
sudo service mysql restart...
分类:
数据库 时间:
2014-12-16 19:20:48
阅读次数:
185
工具地址:http://www.percona.com/doc/percona-toolkit/安装依赖工具yum install perl-Time-HiRes编译安装perl Makefile.PL PREFIX=/usr/local/pt-toolsmakemake install
分类:
数据库 时间:
2014-12-16 19:08:14
阅读次数:
264