DevOps, AWS and server guides
Most websites end up on a Linux server. Setting one up, opening the right ports, adding SSL and keeping it patched is the day-to-day work of DevOps, and it is where a lot of developers lose time.
These guides are short, command-first walkthroughs: connect to a server, install a web server, lock it down, fix a security scan finding, and clean up when you are done. Use the tools below for the small jobs, such as a chmod value, a cron schedule or a DNS lookup.
A suggested path
- 1
Get on the server
Connect to a Linux server over SSH and learn the commands you will use daily.
Related guide: How to Install and Set Up Java 17 on Ubuntu → - 2
Serve a site
Install Nginx or Apache and open only the ports you need.
Related guide: How to Install Nginx on Ubuntu: A Step-by-Step Guide → - 3
Secure it
Fix weak TLS settings, keep cookies safe and keep packages updated.
Related guide: How to prevent BEAST Vulnerability → - 4
Automate and maintain
Use Git and Jenkins for repeatable deploys, and remove what you no longer need.
Related guide: How to Uninstall MongoDB on Ubuntu: Remove the Packages, Data and Repository →
All DevOps and servers guides (17)
Security and TLS
Fixing scan findings and weak settings.
AWS and cloud
Access, permissions and billing.
Docker, Git, CI and databases
Containers, version control, automation and data stores.
- How to Uninstall MongoDB on Ubuntu: Remove the Packages, Data and Repository18 Apr 2024
- How to Start, Stop, Restart and Check the Status of Jenkins on Linux12 Apr 2024
- How to Completely Uninstall Docker from Ubuntu (Engine, Images, Volumes and Repo)2 Apr 2024
- Git: A Powerful Version Control System for Efficient Collaboration31 May 2023
Web servers and firewall
Serving a site and opening ports.
Linux and server basics
Commands, connecting and installing software.
Free tools for DevOps and servers
They run in your browser, so what you paste is not uploaded.
- Chmod Calculator (Unix File Permissions)Convert Unix file permissions between a checkbox grid, octal (755) and symbolic (rwxr-xr-x), and get the chmod command.
- Cron Expression GeneratorBuild and understand cron schedules: plain-English meaning, the next run times and a ready crontab line.
- DNS Checker (DNS Records & Propagation)Look up a domain's DNS records and check how a DNS change has spread across more than 20 public resolvers worldwide.
- .env File Validator & CleanerCheck a .env file for mistakes such as duplicates, unclosed quotes and exposed secrets, and compare it with .env.example.
- Hash Generator (MD5, SHA-256, SHA-512)Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 hashes of text or files, with HMAC and a hash checker.
- YAML Formatter & ValidatorCheck YAML for errors and tidy it up, keeping comments, with the line and column of any problem.
- Base64 Encoder & DecoderEncode text or files to Base64 and decode Base64 back, with URL-safe and UTF-8 support. Runs in your browser.
- Password & Passphrase GeneratorCreate strong random passwords and memorable passphrases using your browser's secure random generator. Nothing is sent or stored.
Common questions
Which ports should a web server open?
Usually only 80 (HTTP) and 443 (HTTPS), plus SSH on 22 for yourself, ideally restricted to your own address. Our ufw guide shows the commands.
How do I fix a BEAST or LUCKY13 finding?
Disable old protocols (SSL 3.0, TLS 1.0 and 1.1) and CBC ciphers in your web server settings, then test again. Both guides show the exact lines for Nginx and Apache.
What does chmod 755 mean?
The owner can read, write and run; everyone else can read and run. The chmod calculator below turns permissions into the number and back.