Rates TodayNIFTY25,819.3+2.34%SENSEX83,938.3+2.32%Gold 24K ₹11,235.62/g down271.8Silver ₹128.69/g down5.77
InsightforGeeks

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. 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. 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. 3

    Secure it

    Fix weak TLS settings, keep cookies safe and keep packages updated.

    Related guide: How to prevent BEAST Vulnerability →
  4. 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)

Free tools for DevOps and servers

They run in your browser, so what you paste is not uploaded.

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.

Other learning hubs