• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
导航菜单
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx
您的位置:首页 > 服务器 >windows > 运维自动化之基于python语言的文字界面的运维管理软件

运维自动化之基于python语言的文字界面的运维管理软件

作者:网友 字体:[增加 减小] 来源:互联网

本文主要包含python自动化运维,老男孩python运维,python运维,python运维开发,python运维脚本等服务器相关知识,网友希望可以进行参考

 之前开发了php+mysql+shell运维监控系统,监控起来很方便,但在运维管理方便还是不能实现,所以最近打算使用python语言编写一套的运维管理系统,可以使用单台或多台机器同时管理与部署等功能,实现类似func、triaquae等管理软件功能。

本软件是参考了triaquae软件的思路对方软件地址为http://triaquae2.sinaapp.com/),参考对方软件的组方面的部分代码,经过与原作者Alex Li的协商,允许我使用对方部分代码与思路,所以我把此软件进行开源,分享给大家。

 

 下面开始安装与应用测试

一、软件的安装 软件可以到https://github.com/dl528888/auto_op/里面进行下载 1、先解压软件
  1. root@squid:/tmp# tar zxvf auto_op.tar.gz   
  2. auto/  
  3. auto/auto_op.py  
  4. auto/setup.py  
  5. auto/install.txt  
安装前软件的结构
 
  1. root@squid:/tmp# tree auto  
  2. auto  
  3. |-- auto_op-software-install-and-function-document.docx         #中文的安装文档  
  4. |-- auto_op.py                                              #程序包  
  5. |-- install.txt                                             #软件介绍与安装说明  
  6. `-- setup.py                                                #部署环境与安装          
  7.  
  8. 0 directories, 4 files  
2、进入目录查看安装文档install.txt
  1. root@squid:/tmp# cd auto/  
  2. root@squid:/tmp/auto# ll  
  3. total 44  
  4. drwxr-xr-x 2 root root  4096 Mar 20 23:44 ./  
  5. drwxrwxrwt 8 root root  4096 Mar 21 09:56 ../  
  6. -rw-r--r-- 1 root root 24774 Mar 20 23:33 auto_op.py  
  7. -rw-r--r-- 1 root root   494 Mar 20 23:44 install.txt  
  8. -rw-r--r-- 1 root root  3346 Mar 20 22:53 setup.py  
  9. root@squid:/tmp/auto# cat install.txt   
  10. Version 1.0  
  11.  
  12. Introduction  
  13. This software is manage many servers.I refer to TriAquae.TriAquae's author is Alex Li.You can let all your Linux servers(or single server)  doing the same job in the same time,such as send a file,run a script,modify file,excute command and etc.  
  14.  
  15. Install  
  16.  
  17. 1. tar zxvf auto_op.tar.gz  
  18. 2. cd auto  
  19. 3. python setup.py build --prefix=/installdir/  
  20. 4. python setup.py install  
  21. 5. /installdir/auto_op.py  
  22.  
  23. Support  
  24.  
  25. If you have some problem , you can send mailto 244979152@qq.com.  
3、根据安装文档安装,先指定安装目录
  1. root@squid:/tmp/auto# python setup.py build --prefix=/usr/local/auto_op  
  2. Start to check pre-installation environment...................................  
  3.  
  4. direcotry not exsit,creating successful........  
  5. If no error printed out , you can run 'python setup.py install' to install the program  
4、然后再进行安装
  1. root@squid:/tmp/auto# python setup.py install  
  2. Extract files to working directory...  
  3.  
  4.  
  5. Complete ok  
  6. Now you can run /usr/local/auto_op/auto_op.py start manage your network.  
5、进入安装目录运行软件
  1. root@squid:/tmp/auto# cd /usr/local/auto_op/  
  2. root@squid:/usr/local/auto_op# ll  
  3. total 36  
  4. drwxr-xr-x  2 root root  4096 Mar 21 10:02 ./  
  5. drwxr-xr-x 12 root root  4096 Mar 21 10:02 ../  
  6. -rw-r--r--  1 root root 24783 Mar 21 10:02 auto_op.py  
  7. root@squid:/usr/local/auto_op# chmod 755 auto_op.py   
  8. root@squid:/usr/local/auto_op# ll  
  9. total 36  
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 运维自动化之基于python语言的文字界面的运维管理软件

相关文章

  • Raid阵列与lvm逻辑卷组(下)
  • 来到这里的第一天
  • IIS应用程序池自动停止/关闭/假死网提示 Service Unavailable解决办法
  • postfix+mysql+dovecot+extmail/extman+sasl+ssl构架
  • 中小企业开源存储方案演变详解
  • VMware tools下载与VMware tools安装方法
  • Zabbix 之snmp配置
  • Windows 2003与2008远程连接服务器设置图解
  • Exchange Server 2010 邮箱数据库的恢复(移植)
  • liunx服务使用(日志服务管理和使用)

文章分类

  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx

最近更新的内容

    • EPG服务器节目单更新私有描述符
    • 源代码编译安装apache启动报错
    • Zabbix之配置文件详解
    • windows下计划任务自动备份mysql数据库方法
    • Hyper-V Server2008 R2的热插拔技术
    • windows服务器禁止ip访问方法介绍
    • 本地计算机无法启动 Network Connections 服务的解决方法
    • WIN中SharePoint Server 2010 入门安装部署详解
    • 网站出现Bad Request报错问题处理方法
    • 三、安装Nginx 0.8.46【LNMP安装 】

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有