All tutorials
Step-by-step guides for cloud, Linux, Windows Server and automation work, with commands and scripts you can copy and run.
33 tutorials
Cloud
How to Install and Configure Nginx on Ubuntu 24.04 with Free SSL (Let's Encrypt)
This guide installs the Nginx web server on Ubuntu 24.04 LTS, opens the firewall, hosts a website with its own server block, and secures it with a…
AWS
How to Install and Configure Pritunl VPN Server on Ubuntu 24.04 (Step-by-Step Guide)
This guide is based on the supplied Pritunl Manual Word document. It retains the screenshots in their original sequence and organizes the…
Linux
PHP 8.3 + SQLSRV + SQL Server Tools Setup on Ubuntu 24.04 LTS
This tutorial shows how to install and configure PHP 8.3 + SQLSRV + PDO_SQLSRV + Microsoft ODBC Driver 18 + SQL Server command-line tools on Ubuntu…
Cloud
AWS S3 Bucket-Wise Size Report Export to Excel Using Python
AWS & Python Automation
Windows
SSL Certificate Installation, Configuration & Troubleshooting Guide – Windows Server IIS 10
SSL Certificate Installation Guide
AWS
Allow Access to All Buckets Without Delete Access
This tutorial shows how to create an AWS IAM policy that allows a user to access objects across S3 buckets without granting S3 delete permissions.…
AWS
Create an Ubuntu SSH User with Public Key Authentication Using PuTTYgen
Sharing the server password among multiple team members is generally not a good practice. It makes access management more difficult and the same…
Linux
Create a 4 GB Swap File
Swap provides disk-based virtual memory that Linux can use when physical RAM becomes heavily utilized. The following commands create a 4 GB swap…
Linux
Improve Bash Command History
You can also configure Bash to keep a much larger command history and synchronize history updates more reliably between terminal sessions.
Linux
Customize Ubuntu SSH Login Screen with Server Information and Custom MOTD
This tutorial shows how to customize the Ubuntu login message (MOTD) so that, after connecting to the server, you can see a custom welcome message…
Linux
MySQL Root Password Recovery in Safe Mode on Ubuntu
This tutorial explains how to recover access to the MySQL root account on Ubuntu when normal password authentication is no longer working. The…
Linux
Best Apache and PHP-FPM Configuration for a PHP Website on Ubuntu
This tutorial provides a practical per-subdomain Apache and PHP-FPM configuration for a PHP website on Ubuntu. A separate PHP-FPM pool and Unix…
Windows
Get a Free SSL Certificate on Windows Using Win-Acme
Get a Free SSL Certificate on Windows Using Win-Acme
AWS
AWS DMS (Data Migration Service) – Configure Replication Instance, Endpoints and Migration Task
AWS DMS (Data Migration Service) - Replication Instance, Endpoints and Migration Task
AWS
Backup and Restore AWS RDS SQL Server Database Using Amazon S3
This tutorial explains how to enable the SQL Server Backup and Restore option on an AWS RDS for SQL Server instance and then use the RDS stored…
Cloud
WordPress .htaccess Security Hardening on Apache
Use Apache .htaccess rules to add basic security hardening to a WordPress website while keeping the normal WordPress rewrite rules.
Cloud
Install Apache with PHP 8.3-FPM on Ubuntu
This tutorial shows how to configure an Apache website with PHP 8.3-FPM using a dedicated PHP-FPM pool and Unix socket. The example uses the domain…
Linux
Apache Security Headers Configuration on Ubuntu
This tutorial covers common HTTP security headers that can be configured in Apache using mod_headers. The examples include HSTS, Content Security…
AWS
Access All Buckets Without Delete Access
This tutorial shows how to give an IAM user access to all S3 buckets in the AWS account for listing, reading and uploading objects, while preventing…
Linux
Install PHP, Apache and MySQL Automatically on Ubuntu (LAMP)
This tutorial shows how to automate a basic Apache + PHP 8.3 + MySQL server setup on Ubuntu using one Bash script.
Windows
Restart IIS Application Pool Using Batch Script and Task Scheduler
This Windows batch script recycles a specific IIS Application Pool and writes the result to a log file. It is useful when an application pool needs…
AWS
MySQL Database and File Backup to AWS S3 with Count Verification
This Bash script creates MySQL database backups, uploads them to Amazon S3, syncs selected file folders to S3, and then compares the local PDF count…
AWS
MySQL Database Backup and Upload to AWS S3
This Bash script creates backups of application MySQL databases, optionally compresses them as .sql.gz files, uploads the backup folder to Amazon S3…
AWS
S3 Bucket-Wise Size Report with Excel Export Using Python
This Python script checks all S3 buckets in an AWS account, calculates the number of files and total storage used in each bucket, and exports the…
Python
Send Bulk Email with a 60-Second Pause Using Python and AWS SES
This Python script sends emails from a recipient list in batches. After each batch, it waits 60 seconds before starting the next batch. The script…
Python
Learn Typing for Kids with Python and Pygamme
This project is a kid-friendly desktop learning app built with Python and Pygame. It provides a simple typing mode for practicing letters and an…
Python
Send Bulk Email with PDF Attachment Using Python and AWS SES
This tutorial shows how to send an email to a list of recipients using Python and AWS SES SMTP, with a PDF file attached to every email.
Python
Send Bulk Email Using Python and AWS SES SMTP
This tutorial shows how to send emails to a list of recipients using Python and the AWS SES SMTP interface. The script sends an HTML email with a…
Linux
Install AnyDesk on Ubuntu 24
This tutorial shows how to install AnyDesk on an Ubuntu 24 system using a Bash script. The script adds the AnyDesk repository, installs the package…
Windows
IIS Server Details Export to CSV Using PowerShell
This PowerShell script collects IIS website information and exports it to a CSV file. It is useful when you need a quick inventory of websites hosted…
AWS
List Files from AWS S3 Bucket and Export to Excel Using Python
This Python script scans an AWS S3 folder, finds all PDF files, and creates an Excel report containing the folder name, PDF filename, and full S3…
AWS
AWS Ubuntu: Add a User with Password Login
Create a new Ubuntu user, enable SSH password login, manage group access, and control sudo and shell permissions.
AWS
Search and Download Files from AWS S3 Using Python
When an Amazon S3 bucket contains a large number of files distributed across multiple folders, manually searching for and downloading specific files…