https://github.com/midoks/mw-gerapy
集成gerapy,管理爬虫
https://github.com/midoks/mw-gerapy
Last synced: 12 months ago
JSON representation
集成gerapy,管理爬虫
- Host: GitHub
- URL: https://github.com/midoks/mw-gerapy
- Owner: midoks
- License: mit
- Created: 2021-11-23T14:27:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-04T11:45:42.000Z (almost 4 years ago)
- Last Synced: 2025-05-15T16:13:47.260Z (about 1 year ago)
- Language: Shell
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mw-gerapy
集成gerapy,管理爬虫
# 安装
```
curl https://raw.githubusercontent.com/midoks/mw-gerapy/main/scripts/install.sh | sh
```
# Debug
```
cd /www/server/mdserver-web/ && python3 /www/server/mdserver-web/plugins/gerapy/index.py start
```
```
ps -ef|grep gerapy | grep -v grep|awk '{print $2}'|xargs kill
```
# 降级django
```
pip install django==2.1.8
```
# linux升级sqlite3
```
wget http://www.sqlite.org/2019/sqlite-autoconf-3280000.tar.gz
tar zxvf sqlite-autoconf-3280000.tar.gz -C /usr/src/
cd /usr/src/sqlite-autoconf-3280000/ && ./configure --prefix=/usr/local/sqlite && make && make install
mv /usr/bin/sqlite3 /usr/bin/sqlite3_old && cd /usr/local/sqlite/bin/ && ln -s sqlite3 /bin/sqlite3
sqlite3 -version
/usr/bin/sqlite3 -version
/usr/local/sqlite/bin/sqlite3 -version
vim /etc/profile
export LD_LIBRARY_PATH="/usr/local/sqlite/lib"
source /etc/profile
```