Skip to content

Examples of system administration and automation scripts in Python.

License

Notifications You must be signed in to change notification settings

mrguseinov-python/sysadmin-automation

Repository files navigation

Installation

Update the software.

sudo apt update && sudo apt upgrade -y

Install python and pip (python package manager).

sudo apt install python3.8 python3-pip

Install virtualenv (python environments manager).

pip3 install virtualenv && source ~/.profile

Clone the repository and cd into it.

git clone https://github.com/mrguseinov-python/sysadmin-automation.git && cd sysadmin-automation

Create a new virtual environment and activate it.

virtualenv venv && source venv/bin/activate

Install the required packages.

pip install -r requirements.txt

Usage

Activate the virtual environment if it's not active.

source venv/bin/activate

Run the *.py files. For example:

python example-1.py

About

Examples of system administration and automation scripts in Python.

Topics

Resources

License

Stars

Watchers

Forks

Languages