2024-10-10

This commit is contained in:
2024-10-10 12:56:56 +08:00
commit 7b347c848a
2648 changed files with 643965 additions and 0 deletions

18
install/uninstall.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
USER=`cat /etc/mysql/debian.cnf |grep user|head -1|awk '{print $3}'`
PASSWORD=`cat /etc/mysql/debian.cnf |grep password|head -1|awk '{print $3}'`
CPU=`grep "cpu cores" /proc/cpuinfo |head -1|awk '{print $4}'`
pkill -9 judged
service php7.2-fpm stop
service mysql stop
service nginx stop
service memcache stop
echo "drop database jol;"|mysql -h localhost -u$USER -p$PASSWORD
docker rmi hustoj
for PKG in docker.io make flex g++ clang libmysqlclient-dev libmysql++-dev php-fpm nginx mysql-server php-mysql php-common php-gd php-zip fp-compiler openjdk-11-jdk mono-devel php-mbstring php-xml
do
apt-get purge -y $PKG
done
userdel -r judge