/

/

Ubuntu Blog Series (Part 2): Installing Ubuntu on Your VPS — Step-by-Step Guide

Developers

Welcome to Part 2 of our Ubuntu Blog Series. In Part 1, we introduced Ubuntu and explained why it’s the world’s most popular Linux distribution.

Now, in this guide, we’ll walk through how to install Ubuntu on your VPS step by step. Whether you’re a student experimenting with Linux, a developer spinning up a project, or a startup deploying production workloads, Ubuntu is a rock-solid choice. And with Raff’s pre-built templates, you can skip hours of setup and get straight to building.

1. Choosing Your Ubuntu Version

Ubuntu releases come in two main types:

  • LTS (Long-Term Support) → Supported for 5 years. Best for production and stability (e.g., 20.04 LTS, 22.04 LTS, 24.04 LTS).

  • Interim Releases → Supported for 9 months. Ideal if you want the latest features (e.g., 24.10).

💡 Pro tip: For most Raff users, LTS releases are the safest option.

2. Installing Ubuntu on Your VPS

With Raff Technologies, installing Ubuntu is quick and simple:

  1. Log in to your Raff account

  2. Select Ubuntu as your operating system

  3. Pick a version (we recommend LTS for most users)

  4. Deploy your VPS

Within minutes, you’ll have a clean Ubuntu environment ready to use.

3. Save Time with Pre-Built Templates

Instead of starting from scratch, you can launch Ubuntu with popular stacks pre-installed. Raff offers:

  • WordPress 6.8 on Ubuntu 24.04 → Launch a site in minutes

  • Laravel on Ubuntu 24.04 → PHP framework environment

  • Docker on Ubuntu 24.04 → Ready for containerized apps

  • LAMP Stack on Ubuntu 24.04 → Linux, Apache, MySQL, PHP pre-configured

  • MERN Stack on Ubuntu 24.04 → MongoDB, Express, React, Node.js ready to go

  • Ollama with Open WebUI on Ubuntu 24.04 → For AI and machine learning projects

  • n8n on Ubuntu 24.04 → Automation workflows instantly available

  • Lubuntu 24.04 → Lightweight desktop environment in the cloud

These templates mean less time configuring, more time creating.

4. Connecting to Your VPS

After your server is live, Raff provides:

  • IP address

  • Username (root by default)

  • Password or SSH key

Use SSH to connect:

ssh root@your-vps-ip

5. First Steps After Installation

Once connected, make sure to:

  • Update your system

sudo apt update && sudo apt upgrade -y
  • Create a non-root user

adduser yourusername
usermod -aG sudo yourusername
  • Enable a firewall

sudo ufw allow OpenSSH
sudo ufw enable
  • Check Ubuntu version

lsb_release -a

That’s it! You’ve got Ubuntu running on your VPS. Depending on your needs, you can:

  • Start from a fresh install (great for learners), or

  • Use a pre-built template to save time and dive right into your project.

Stay tuned for Part 3 of our Ubuntu Blog Series: 10 Essential Ubuntu Commands Every Beginner Must Know — so you can start navigating your server like a pro.