-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 TLS 傻瓜式安装方法 #21
Comments
关于插件的用法在仓库的readme里写的很详细,补充个坑: |
大佬,我运行./tapeworm.phar -d /var/www/html |
插眼,大佬解决了嘛 |
#配依赖项时候踩了几个小坑,以下方案在刚装完系统的Ubuntu 20.04上使用腾讯源和阿里源测试可以完成安装和编译
sudo apt update
sudo apt install -y mongodb-server
sudo apt install -y php-pear #pecl所在包
sudo apt-get install -y php-dev #mongodb的php依赖项
sudo pecl -y install mongodb
sudo find / -name php.ini #找到ini的路径
sudo vi /etc/php/7.4/cli/php.ini #在800行左右的扩展设置里添加 extension=mongodb.so(按照上边安装完成的指示添加即可)
unzip AoiAWD-master.zip #本项目的源码
cd AoiAWD-master/
cd Frontend
sudo apt install npm
npm install
npm run build
cd ../AoiAWD
rm -rf src/public/*
cp -r ../Frontend/dist/* src/public/
#修改phar的 readonly=Off 去掉注释 在1000行左右,默认是被注释掉的
sudo vi /etc/php/7.4/cli/php.ini #注意这里ini的路径
php compile.php
cd ../TapeWorm
php compile.php
#安装 RoundWorm 的依赖项
#wget --no-check-certificate https://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-3.14.tar.gz
#更新:inotify-tools-3.14.tar.gz的链接失效了 可以试试
wget --no-check-certificate https://github.com/inotify-tools/inotify-tools/archive/refs/tags/3.20.2.zip
tar zxvf inotify-tools-3.14.tar.gz
cd inotify-tools-3.14/
./configure
make
sudo make install
cd ..
cd ../RoundWorm
make
cd ../Guardian
php compile.php
#大功告成!开始欢乐的AWD吧! 以下文件是拷贝到用户控制的机器上运行的
cd ..
cp ./Guardian/guardian.phar ./
cp ./TapeWorm/tapeworm.phar ./
cp ./RoundWorm/roundworm ./
#20 注 flag正则请修改AoiAWD-master/AoiAWD/plugins/FlagBuster.php第22行的正则。
The text was updated successfully, but these errors were encountered: