docker安装bt面板
docker run -d -p 8886:8888 -p 22:21 -p 443:443 -p 80:80 -p 889:888 -v ~/website_data:/www/wwwroot -v ~/mysql_data:/www/server/data -v ~/vhost:/www/server/panel/vhost aapanel/aapanel:lib
docker run -d -p 8886:8888 -p 22:21 -p 443:443 -p 80:80 -p 889:888 -v ~/website_data:/www/wwwroot -v ~/mysql_data:/www/server/data -v ~/vhost:/www/server/panel/vhost aapanel/aapanel:lib
安装
curl https://rclone.org/install.sh | sudo bash
常规启动
rclone serve webdav --addr :8889 /simonpool --cache-dir /cache --user simon --pass simon --no-checksum --no-modtime --no-seek
pm2启动webdav
pm2 start --name webdav rclone -- serve webdav --addr :8889 /simonpool --cache-dir /cache --user simon --pass simon --no-checksum --no-modtime
pm2启动http服务
pm2 start --name http rclone -- serve http --addr :8888 /simonpool
find ./ -name "*.tmp" -type f -print -exec rm -i {} \;
#解压
7zr x manager.7z -r -o /home/xx
#压缩
7zr a -t7z -r ../test.7z ./*
压缩直传远程
tar cjvf - /etc | ssh user@remoteip "cat > /home/user/etc.tar.bz"
压缩直传并远程解压
tar cjvf - /etc | ssh user@hostname "tar xvjf - --keep-newer-files"
wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
卸载原内核
wget -N --no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh