From 9bc70973e1624399cfdd2380313aee0b563910a8 Mon Sep 17 00:00:00 2001 From: Cl0udG0d <2585614464@qq.com> Date: Fri, 1 Apr 2022 17:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.md | 8 +++++++- docs/other/docker-compose_install.md | 22 ++++++++++++++++++++++ requirements.txt | 14 +++++++++----- 3 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 docs/other/docker-compose_install.md diff --git a/docs/index.md b/docs/index.md index ceba154c..4272934a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -30,7 +30,7 @@ docker安装 ```bash -git clone git@github.com:Cl0udG0d/SZhe_Scan.git +git clone https://github.com/Cl0udG0d/SZhe_Scan cd SZhe_Scan docker-compose up -d ``` @@ -61,6 +61,12 @@ docker-compose up -d ## 常见问题 ++ docker和docker-compose安装 + + Ubuntu系统 + + [Docker安装](https://www.runoob.com/docker/ubuntu-docker-install.html) + + [docker-compose安装](./other/docker-compose_install.md) + + Windows系统 + + [Docker安装](https://www.runoob.com/docker/windows-docker-install.html) ## 联系我们 - 提交一个[issue](https://github.com/Cl0udG0d/SZhe_Scan/issues/new) diff --git a/docs/other/docker-compose_install.md b/docs/other/docker-compose_install.md new file mode 100644 index 00000000..b0c8260a --- /dev/null +++ b/docs/other/docker-compose_install.md @@ -0,0 +1,22 @@ +# Ubuntu系统 docker-compose安装 + +## 下载docker-compose +```bash +sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose +``` + +## 设置可执行权限 +```bash +sudo chmod +x /usr/local/bin/docker-compose +``` + +## 检查是否安装成功 +```bash +docker-compose --version +``` + +这将打印出我们安装的版本: +```bash +root@VM-4-5-ubuntu:/home/ubuntu# docker-compose --version +docker-compose version 1.21.2, build a133471 +``` \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 070b4516..49490c93 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,8 +9,9 @@ BeautifulReport==0.1.3 beautifulsoup4==4.9.3 billiard==3.3.0.23 cached-property==1.5.2 -celery==5.2.2 +celery==3.1.18 certifi==2021.10.8 +cffi==1.15.0 changanya==0.5.0 chardet==4.0.0 charset-normalizer==2.0.9 @@ -45,15 +46,16 @@ importlib-resources==5.4.0 itsdangerous==2.0.1 Jinja2==3.0.3 kombu==3.0.37 -lxml==4.6.5 +lxml==4.6.1 Mako==1.1.6 MarkupSafe==2.0.1 mmh3==3.0.0 -pipenv==2022.1.8 +pipenv==2021.11.23 platformdirs==2.4.0 pocsuite3==1.8.11 prettytable==2.5.0 prompt-toolkit==3.0.28 +pycparser==2.21 pycryptodomex==3.14.1 PyMySQL==0.10.1 PySocks==1.7.1 @@ -62,7 +64,7 @@ python-dotenv==0.19.2 pytz==2021.3 pytz-deprecation-shim==0.1.0.post0 redis==2.10.6 -requests==2.26.0 +requests==2.27.1 requests-toolbelt==0.9.1 rfc3986==1.5.0 scapy==2.4.5 @@ -71,6 +73,7 @@ sniffio==1.2.0 soupsieve==2.3.1 SQLAlchemy==1.4.29 termcolor==1.1.0 +tornado==6.1 typing_extensions==4.0.1 tzdata==2021.5 tzlocal==4.1 @@ -83,4 +86,5 @@ wcwidth==0.2.5 Werkzeug==2.0.2 WTForms==3.0.0 zipp==3.6.0 -tornado +zope.event==4.5.0 +zope.interface==5.4.0