Skip to content

netkiller/devops

This branch is 435 commits ahead of sunbenxin/oscm:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0d4727 · Apr 4, 2025
Jan 25, 2022
Apr 29, 2023
Feb 20, 2023
Apr 27, 2023
Jul 29, 2023
Jun 27, 2023
Mar 31, 2023
Nov 10, 2022
Jan 11, 2023
Apr 29, 2023
Apr 1, 2025
Feb 24, 2023
Mar 29, 2023
Apr 8, 2023
Apr 4, 2025
Feb 21, 2023
Nov 17, 2021
Apr 12, 2021
Jun 14, 2024
Oct 9, 2021
Apr 12, 2021
Apr 4, 2025

Repository files navigation

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

Packages

No packages published

Languages

  • Python 85.6%
  • Shell 7.8%
  • PHP 2.6%
  • Java 1.8%
  • SaltStack 1.1%
  • JavaScript 0.5%
  • Other 0.6%