Skip to main content

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

Software deployment tools.

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 twine
$ python setup.py sdist bdist_wheel
$ twine upload dist/netkiller-devops-x.x.x.tar.gz 

指定镜像

$ pip3 install netkiller-devops --upgrade -i https://pypi.org/project

Backup

Data backup tools. Database backup.

OS Configuration file versioning

osconf.

Donations

We accept PayPal through:

https://www.paypal.me/netkiller

Wechat (微信) / Alipay (支付宝) 打赏:

https://www.netkiller.cn/home/donations.html

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.13.tar.gz (59.3 kB view details)

Uploaded Source

File details

Details for the file netkiller_devops-0.7.13.tar.gz.

File metadata

  • Download URL: netkiller_devops-0.7.13.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for netkiller_devops-0.7.13.tar.gz
Algorithm Hash digest
SHA256 76692a07c427488e0ea5d2fb2b94c2126c13c9e7000a72ae63ef7e59e0b057e4
MD5 2995464492550308c9daf2c4cf02abeb
BLAKE2b-256 3726f379b5987a8f4bfe918b16662600752c0eb900bb8d884a9abac600c6fe84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page