- Docker安装
1.安装命令:curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun2.启动:systemctl start docker3.停止:systemctl stop docker4.重启:systemctl restart docker5.开机启动:systemctl enable docker6.镜像加速: sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' {"registry-mirrors": ["https://8q5nyauc.mirror.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
- 1Panel安装
#---------------------------------------------------------- curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh #---------------------------------------------------------- # 访问地址:1pctl user-info
- Portainer安装
#---------------------------------------------------------- docker pull portainer/portainer-ce:latest #---------------------------------------------------------- docker run -p 8282:9443 -p 8000:8000 --name portainer \ --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /opt/portainer/data:/data \ -d portainer/portainer-ce:latest #---------------------------------------------------------- firewall-cmd --zone=public --add-port=8282/tcp --permanent && firewall-cmd --reload #---------------------------------------------------------- # 访问地址:http://your-server-ip:8282
- FileBrowser安装
#---------------------------------------------------------- docker pull filebrowser/filebrowser:latest #---------------------------------------------------------- docker run -p 8181:80 --name filebrowser \ --restart=always \ -v /opt/filebrowser/data:/srv \ -d filebrowser/filebrowser:latest #---------------------------------------------------------- firewall-cmd --zone=public --add-port=8181/tcp --permanent && firewall-cmd --reload #---------------------------------------------------------- # 访问地址:http://your-server-ip:8181 用户名:admin 密码:admin
- AList安装
#---------------------------------------------------------- docker pull xhofe/alist:latest #---------------------------------------------------------- docker run -p 8383:5244 --name alist \ --restart=always \ -v /opt/alist/data:/opt/alist/data \ -v /opt/alist/mnt:/mnt/data \ -e PUID=0 -e PGID=0 -e UMASK=022 \ -d xhofe/alist:latest #---------------------------------------------------------- firewall-cmd --zone=public --add-port=8383/tcp --permanent && firewall-cmd --reload #---------------------------------------------------------- # 手动设置一个密码,`123456`是指你需要设置的密码 docker exec -it alist ./alist admin set 123456 #---------------------------------------------------------- # 访问地址:http://your-server-ip:8383 用户名:admin 密码:123456 # 官网:https://alist.nn.ci/zh
- 未完待续