...径,这样很像在电脑上安装软件。我安装的路径是 " /usr/local/xunsearch",同时我把文件夹里面的data软连接在"/mnt/xunsearch/x/data",这样便于管理,打开"/usr/local/xunsearch/data"其实就是打开"/mnt/xunsearch/x/data",文件会存放在"/mnt/xunsearch/x/data"...
...径,这样很像在电脑上安装软件。我安装的路径是 " /usr/local/xunsearch",同时我把文件夹里面的data软连接在"/mnt/xunsearch/x/data",这样便于管理,打开"/usr/local/xunsearch/data"其实就是打开"/mnt/xunsearch/x/data",文件会存放在"/mnt/xunsearch/x/data"...
...加载不成功。 只要重新编译一下php,用 --with-apxs2=/usr/local/apache2/bin/apxs 指定一下apache,就可以加载手动安装的这个php了,这样就可以正常加载scws了。 如果遇到跟我一样的问题:Unable to load dynamic library,最好用安装的php下的...
... arg1 must include arg2) " echo "arg3 path of xs_ctl.sh example: /usr/local/services/xunsearch/bin/xs-ctl.sh " echo "arg4 restart log exaple: /usr/local/services/xunsearch/bigxu_check/restart.log " exit fi try_url=$1 inc_str=$2 ctl_path=$3 res_log=$4 echo $res_log get_che...
...以换个简单的命令来论坛里问下。 [code][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_...
...不成功 root@ubuntu:/home/mrfer/scws-1.2.0# ./configure --prefix=/usr/local/scws ; make ; make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE...
...post_date_sec字段则用于结果显示了 现在来创建索引 /usr/local/xunsearch/sdk/php/util/Indexer.php --source=mysql://xxx --sql="SELECT p.ID,UNIX_TIMESTAMP(p.post_date) AS post_date_sec,DATE_FORMAT(post_date,'%Y%m%d') AS post_time,p.post_title,p.post_content,p.post_content AS post_con...
...的bin/目录下) [color=#FF0000]3) 执行 ./configure --with-scws=/usr/local/scws [/color] 执行第3步时出现 checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for scws support... yes, shared checking for scws_new in -lscws... no [color=#FF...
...d from... autoconf/general.m4:2026: AC_CACHE_CHECK is expanded from... aclocal.m4:3585: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5597: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:3109: AC_LIBTOOL_SETUP is expan...
[root@web www]# /usr/local/php/bin/php /home/www/www.it486586.com/crontab/index.php hour xs_clear PHP Fatal error: Uncaught [XSException] www.it486586.com/data/api/xs/lib/XS.php(2443): Connection refused(C#111, 127.0.0.1:8383) thrown in /home/www/www.it486586.com/data/api/xs/lib/XS.php on line ...