
学习构建一个类似于 Ansible 的命令行实用程序,称为 Commander
Commander 是我在 PayPal、eBay 和 Symantec 等公司工作时构建的脚本的副本,用于帮助管理和修补数千个 Linux 系统和网络设备。
在本课程中,您将学习如何
– 在 Python 中构建命令行实用程序
– 使用 Python SSH 到 Linux 机器并运行命令。
– 设置 sudo 以以 root 身份运行命令
– 使用线程通过减少网络 i/o 的等待时间来提高速度
– 通过 Python 中的 SCP 将文件上传和下载到服务器
– 和更多…
先决条件
访问运行 SSH 的机器或注册 Digital Ocean 或其他云提供商(AWS、GCP 等)以创建机器进行测试的能力。
Python 安装在您的机器上。
这门课程适合谁
本课程非常适合希望使用 Python 和 SSH 将日常生活中无聊的东西自动化的 DevOps/SRE/Cloud 工程师。
如果您现在使用 Ansible 或 Rundeck,您可以使用 Commander 作为基础来扩展和构建您的用例所需的内容。
此外,对于想要从事一个有用的项目的 Python 初学者来说,本课程将会很有趣,该项目教您如何构建命令行实用程序并在 Python 中实现线程。
本课程旨在简短、甜美和直截了当。
我期待听到您的反馈并看到您使用这些知识构建的内容。
Published 06/2022
Genre: eLearning | MP4 | Video: h264, 1280×720 | Audio: AAC, 48.0 KHz
Language: English | Size: 1.05 GB | Duration: 31 lectures • 1h 32m
Commander the parallel SSH utility
What you’ll learn
How to build a command line utility in Python
How to manage machines using Paramiko to SSH in Python
How to use Python threading to improve Network I/O Performance
How to upload & download files from hosts using Python SCP
Requirements
You should have Python installed on your machine, but no other experience is required.
Description
Learn to build an Ansible like command line utility called Commander
Commander is a replica of scripts I built while working at companies like PayPal, eBay, and Symantec to help manage & patch thousands of Linux systems and network devices.
In this course you’ll learn how to
– Build a command line utility in Python
– Use Python to SSH to Linux machines and run commands.
– Setup sudo for running commands as root
– Use Threading to increase speed by reducing wait time on network i/o
– Upload & Download files to servers via SCP in Python
– And more…
Pre-requisites
Access to machines running SSH OR the ability to sign up for Digital Ocean or another cloud provider (AWS,GCP, etc) to create machines to test with.
Python installed on your machine.
Who is this course for
This course is perfect for DevOps/SRE/Cloud engineers who are looking to automate the boring stuff in their day to day lives using Python & SSH.
If you’re using Ansible or Rundeck today, you can use Commander as a foundation to extend and build exactly what you need for your use-cases.
Additionally, this course will be fun for Python beginners who want to work on a useful project that teaches you how to build a command line utility and implement Threading in Python.
This course is intended to be short, sweet and straight to the point.
I look forward to hearing your feedback & seeing what you build with this knowledge.
Who this course is for
Systems Administrators & Network Engineers who want to manage their devices using Python.
Beginner Python developers who want to build a fun command line utility
Python developers who want to learn how to use Threading to make Python programs faster.
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/34815.html