rm –rf /*
docker update --restart=always $(docker ps -aq)
docker ps -aq
docker ps -a
hostnamectl
uname -srm
apt-get clean
df -h
free -m
docker compose restart
systemctl restart docker
docker compose up -d
docker version
docker exec seafile nginx -s reload
docker stop seafile
docker start seafile
docker rmi $(docker images -q)
docker rm $(docker ps -aq)
docker stop $(docker ps -aq)
systemctl start nginx
systemctl restart nginx.service
nginx -s reload
cd /opt/seafile
docker compose down
systemctl enable docker
systemctl start docker
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
systemctl restart sshd
vim /etc/ssh/sshd_config
apt-get update && apt-get upgrade
docker start seafile
systemctl restart mariadb
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
vim /etc/apt/sources.list
cat /proc/sys/vm/swappiness
echo "vm.swappiness=10" >> /etc/sysctl.conf
sysctl -p
who #查看登录用户名
who -u #查看登录信息
kill -HUP 端口 #登出指定 ssh 用户
chmod -R 777 路径
keytool -genkey -keyalg RSA -alias 名称 -keystore 名称.jks -storepass 密码 -keypass 密码 -validity 36500 -keysize 2048


文章评论