在线安装
安装前最好自己安装docker
具体参考官网
https://1panel.cn/docs/installation/online_installation/
RedHat / CentOS
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh
Ubuntu
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
Debian
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh
离线安装
安装前最好自己安装好docker
通过上面命令进行下载安装,然后服务器上回存在一个1panel的压缩包和/usr/local/bin/路径下有个docker-compose拷贝出来
把压缩包进行解压 具体看自己传的压缩包
tar zxvf 1panel-v1.8.5-linux-amd64.tar.gz
然后执行下面命令安装dicker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose version >/dev/null 2>&1
然后执行
install.sh
翻译
搜索
复制
标签:compose,部署,start,sh,可视化,quick,docker,1panel From: https://www.cnblogs.com/xiaobaishiyi/p/17956741