https://github.com/wise2c-devops/apt-source
Ubuntu apt source component of Wise2C Breeze project
https://github.com/wise2c-devops/apt-source
Last synced: 7 months ago
JSON representation
Ubuntu apt source component of Wise2C Breeze project
- Host: GitHub
- URL: https://github.com/wise2c-devops/apt-source
- Owner: wise2c-devops
- License: apache-2.0
- Created: 2019-07-15T15:47:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T18:10:44.000Z (over 1 year ago)
- Last Synced: 2025-01-30T18:32:50.677Z (over 1 year ago)
- Language: HTML
- Size: 286 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wise2C Apt Source for Docker/K8S/Ceph/NFS installation
Wise2C Apt Source for Docker/K8S/Ceph/NFS installation
使用方法
Apt Source服务器安装好docker,直接运行命令:
docker run -d -p 2008:2008 --name=apt-source wise2c/apt-source:v1.32.1
在需要安装docker/k8s/ceph/nfs的其它主机上:
创建一个文件 wise2c.list 并将其拷贝至 /etc/apt/sources.list.d/
Ubuntu22系统用户:
######################################################
deb http://apt-source-server-ip:2008/debs/ubuntu22 ./
######################################################
Ubuntu20系统用户:
######################################################
deb http://apt-source-server-ip:2008/debs/ubuntu20 ./
######################################################
上面的 apt-source-server-ip 请写为上述服务器的真实IP地址
然后下载Apt源的签名文件做导入:
Ubuntu22系统用户:
```
curl -o breeze.pub http://apt-source-server-ip:2008/debs/ubuntu22/breeze.pub
apt-key add breeze.pub
```
Ubuntu20系统用户:
```
curl -o breeze.pub http://apt-source-server-ip:2008/debs/ubuntu20/breeze.pub
apt-key add breeze.pub
```
上面的 apt-source-server-ip 请写为上述服务器的真实IP地址
接着执行一次apt-get update命令后即可直接用 apt-get install命令命令安装相关软件了。例如:
apt-get install docker-ce python-docker docker-compose
apt-get install rsync python-chardet jq nfs-utils
apt-get install kubectl kubelet kubeadm
apt-get install ceph-deploy ceph ceph-radosgw rbd-nbd rbd-mirror
apt-get install cri-o cri-o-runc podman