DevOps of useful deployment and automation
Project description
DevOps Tools
OS Software Configure Managment
Install
pip install netkiller-devops -i https://pypi.tuna.tsinghua.edu.cn/simple
Docker
root@netkiller ~# docker run --rm -it --name=netkiller --entrypoint=sh netkiller-devops:latest
PATH Variable
$ cp share/profile.d/devops.sh /etc/profile.d/
or
$ cat >> /etc/profile.d/devops.sh <<'EOF'
export PATH=/srv/devops/bin:$PATH
EOF
Deployment
Ubuntu 编译安装
$ cd /usr/local/src/
$ git clone https://github.com/netkiller/devops.git
$ cd devops
$ python3 setup.py sdist
$ python3 setup.py install
CentOS 编译安装
$ cd /usr/local/src/
$ git clone https://github.com/netkiller/devops.git
$ cd devops
$ python3 setup.py sdist
$ python3 setup.py install --prefix=/srv/devops
or
python36 setup.py sdist
python36 setup.py install --prefix=/srv/devops
Deploy Pypi
$ pip install setuptools wheel
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/netkiller-devops-x.x.x.tar.gz
Backup
Data backup tools. Database backup.
OS Configuration file versioning
Donations
We accept PayPal through:
https://www.paypal.me/netkiller
Wechat (微信) / Alipay (支付宝) 打赏:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netkiller_devops-0.7.2.tar.gz
(58.3 kB
view details)
File details
Details for the file netkiller_devops-0.7.2.tar.gz
.
File metadata
- Download URL: netkiller_devops-0.7.2.tar.gz
- Upload date:
- Size: 58.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af3daa4d68a18fbb074c1009fb9e17f7d9e1e4d53553455faf3c55d3e9b1714 |
|
MD5 | fad7cf78acdabe4bd98a6da5c63c3e62 |
|
BLAKE2b-256 | c4febb32ecc3bd9116db85bdaf396ca0c64e0d1c9e767e02b15e04a8779f4060 |