diff --git a/plugins/qbittorrent/install.sh b/plugins/qbittorrent/install.sh index 6a73f1a2e..008590c4d 100755 --- a/plugins/qbittorrent/install.sh +++ b/plugins/qbittorrent/install.sh @@ -30,27 +30,28 @@ Install_qbittorrent() if [ ! -f ${QB_DIR}/libtorrent-rasterbar-1.1.9.tar.gz ];then wget -O ${QB_DIR}/libtorrent-rasterbar-1.1.9.tar.gz https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_9/libtorrent-rasterbar-1.1.9.tar.gz fi - cd ${QB_DIR} tar -zxf libtorrent-rasterbar-1.1.9.tar.gz + cd ${QB_DIR} && tar -zxf libtorrent-rasterbar-1.1.9.tar.gz cd ${QB_DIR} && cd libtorrent-rasterbar-1.1.9 #修改为固定端口号 #sed -i "s/i2p ? 1 : tracker_req().listen_port/8999/" src/http_tracker_connection.cpp ./configure --prefix=$serverPath/lib/libtorrent CXXFLAGS=-std=c++11 make && make install - #echo "$serverPath/lib/libtorrent/lib" > /etc/ld.so.conf.d/libtorrent-x86_64.conf - #ldconfig - #export LD_LIBRARY_PATH=/usr/local/libtorrent/lib/ - #export CPLUS_INCLUDE_PATH=/usr/local/libtorrent/include/ - #export PKG_CONFIG_PATH=/usr/local/libtorrent/lib/pkgconfig/ + #echo "/www/server/lib/libtorrent/lib" > /etc/ld.so.conf.d/libtorrent-x86_64.conf + echo "$serverPath/lib/libtorrent/lib" > /etc/ld.so.conf.d/libtorrent-x86_64.conf + ldconfig + #export LD_LIBRARY_PATH=/www/server/lib/libtorrent/lib + #export CPLUS_INCLUDE_PATH=/www/server/lib/libtorrent/include/ + export CPLUS_INCLUDE_PATH=$serverPath/lib/libtorrent/include/ + export PKG_CONFIG_PATH=$serverPath/lib/libtorrent/lib/pkgconfig/ if [ ! -f ${QB_DIR}/qbittorrent-4.1.5.tar.gz ];then wget -O ${QB_DIR}/qbittorrent-4.1.5.tar.gz https://github.com/qbittorrent/qBittorrent/archive/release-4.1.5.tar.gz fi - cd ${QB_DIR} && tar -zxvf qbittorrent-4.1.5.tar.gz - - #cp -rf ${SPHINX_DIR}/sphinx-3.1.1/ $serverPath/sphinx/bin + cd ${QB_DIR} && tar -zxvf qbittorrent-4.1.5.tar.gz && \ + ./configure --prefix=$serverPath/qbittorrent --disable-gui && make && make install echo '4.1.5' > $serverPath/qbittorrent/version.pl echo '安装完成' > $install_tmp diff --git a/plugins/sphinx/index.html b/plugins/sphinx/index.html index 5842b327b..806be0ced 100755 --- a/plugins/sphinx/index.html +++ b/plugins/sphinx/index.html @@ -8,6 +8,7 @@
查询日志
运行状态
重建索引
+说明