Metadata-Version: 2.4
Name: netkiller-devops
Version: 0.7.9
Summary: DevOps of useful deployment and automation
Home-page: https://www.netkiller.cn
Author: Neo Chen
Author-email: netkiller@msn.com
License: BSD
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ruamel.yaml
Requires-Dist: requests
Requires-Dist: redis
Requires-Dist: pyttsx3
Requires-Dist: simple_term_menu
Requires-Dist: prompt_toolkit
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

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](https://github.com/netkiller/devops/blob/master/doc/deployment.md).	

### 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](https://github.com/netkiller/devops/blob/master/doc/backup.md).	
[Database backup](https://github.com/netkiller/devops/blob/master/doc/database.md).	

OS Configuration file versioning
-----
[osconf](https://github.com/netkiller/devops/blob/master/doc/osconf.md).	


# Donations

We accept PayPal through:

https://www.paypal.me/netkiller

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

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

