This repository contains a collection of scripts designed to assist with system administration tasks for both Linux and Windows environments. These scripts automate various administrative operations, making it easier for system administrators to manage, audit, and optimize systems efficiently.
During my experience working as a system administrator, both in general IT operations and DevOps, I often encountered repetitive tasks that consumed a significant amount of time. Whether managing Linux servers or Windows systems, the need for automation became clear. Additionally, my work in cybersecurity requires continuous monitoring, auditing, and enhancing the security posture of systems, which further motivated me to build efficient tools to simplify these tasks.
-
Automation of Repetitive Tasks
Many administrative tasks, such as cleaning up old kernels, monitoring logins, installing essential security tools, and optimizing system performance, are frequently needed across different environments. These scripts help automate such tasks, reducing manual effort and errors. -
Cross-Platform Administration
Since I work on both Linux and Windows systems, I wanted a unified repository where I can store and manage scripts for both platforms. This allows me to quickly deploy necessary tools regardless of the operating system in use. -
DevOps and Infrastructure Management
In DevOps, tasks like system auditing, performance tuning, and ensuring system availability are critical. These scripts simplify such tasks, enabling better CI/CD pipelines and system maintenance with minimal manual intervention. -
Cybersecurity Enhancements
Security is a primary concern in any administrative task. Scripts likeinstall_failtoban.sh
andreport_login.sh
help improve the security posture by proactively mitigating threats and tracking potential intrusions. I plan to add more security-related scripts in the future to handle log analysis, vulnerability scanning, and automated threat responses. -
Continuous Improvement
I believe in continuous learning and improvement. As I encounter new challenges in system administration, DevOps, or cybersecurity, I will create new scripts and update existing ones. This repository will serve as a constantly evolving toolkit for administrative tasks.
- Regular Updates: I'll keep adding new scripts as I encounter new administrative tasks or discover better ways to automate existing ones.
- Windows Support: While the current focus is primarily on Linux, I plan to add more Windows scripts to ensure this repository caters equally to both platforms.
- Security-Focused Tools: Expect more scripts designed to improve system security, such as automated vulnerability scanners, log analyzers, and compliance checkers.
- Performance Enhancements: More scripts will be added to fine-tune systems, optimize databases, and ensure systems are running at peak performance.
-
Audit.sh
Performs a detailed audit of Linux systems, gathering information about system configuration, installed packages, security settings, and more. -
clean_kernels.sh
Removes old and unused kernels from the system to free up disk space and keep only the necessary versions. -
install_failtoban.sh
Automates the installation and configuration offail2ban
, a popular intrusion prevention software that helps secure Linux systems from brute-force attacks. -
and much more!
- Windows administrative scripts for tasks like auditing, optimization, cleanup, and security enhancements.
- More Linux scripts for advanced system monitoring, maintenance, and troubleshooting.
-
Clone the repository:
git clone https://github.com/divineDev-dotcom/administration-scripts.git cd administration-scripts
-
Run a script:
For Linux:chmod +x script_name.sh ./script_name.sh
For Windows (once available):
./script_name.ps1
Contributions are welcome! If you have useful scripts for system administration or improvements to existing ones, feel free to fork the repo and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any feedback, suggestions, or issues, feel free to open an issue in the GitHub repository or contact me directly.