PeiQi网络安全知识文库PeiQi-WIKI-Book保姆式搭建部署教程
简介
PeiQi文库是一个面对网络安全从业者的知识库,涉及漏洞研究,代码审计,CTF夺旗,红蓝对抗等多个安全方向,用于解决安全信息不聚合,安全资料不易找的难题。帮助网络安全从业者共同构建安全的互联网,快速验证并及时修复相关漏洞,为甲方等提出安全建设意见。
部署
yarn部署
利用yarn部署PeiQi文库
先更新APT软件仓库,否则安装会报错
apt-get update
安装yarn的依赖环境
apt-get install nodejs
apt-get install npm
npm install -g yarn
下载、部署、启动佩奇文库
文件有2G大小,部署启动需要几分钟
Github仓库:
https://github.com/PeiQi0/PeiQi-WiKi-Bookhttps://github.com/PeiQi0/PeiQi-WiKi-BookGitee仓库:
https://gitee.com/peiqi0/PeiQi-WIKI-Book.githttps://gitee.com/peiqi0/PeiQi-WIKI-Book.gitgithub下载需要较长时间,国内建议使用Gitee下载
git clone https://gitee.com/peiqi0/PeiQi-WIKI-Book.git
cd PeiQi-WIKI-Book
yarn add vuepress-theme-antdocs -d
yarn install
注意
如果报错yarn的版本过低,就需要更新一下npm
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo npm install npm@latest -g
查看版本
npm -v
node -v
启动
进入PeiQi-WIKI-Book目录
启动命令:
yarn run docs:dev
记得开放8080端口
成功进入