Hostomy Blog

How to Install TinyCP on Ubuntu

Feb 23, 2025

By Rahul Mukati

Rahul Mukati
How to Install TinyCP on Ubuntu

Introduction

TinyCP is a lightweight control panel for Linux servers, offering an intuitive web interface to manage web hosting, databases, email, and other server functionalities. It's an excellent choice for small to medium-scale web hosting needs due to its minimal resource consumption.

Prerequisites

Before installing TinyCP, ensure you have:

  • A server running Ubuntu 18.04, 20.04, or 22.04
  • Root or sudo privileges
  • A stable internet connection

Step 1: Update Your System

Begin by updating your system packages to prevent potential compatibility issues:

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

TinyCP requires certain dependencies. Install them using:

sudo apt install wget gnupg2 -y

Step 3: Add TinyCP Repository and Install

  1. Import the GPG key:
wget -qO - http://repos.tinycp.com/ubuntu/conf/tinycp.gpg.key | sudo apt-key add -
  1. Add the TinyCP repository:
echo "deb http://repos.tinycp.com/ubuntu/ all main" | sudo tee /etc/apt/sources.list.d/tinycp.list
  1. Update package lists and install TinyCP:
sudo apt update
sudo apt install tinycp -y

Step 4: Access the TinyCP Web Interface

After installation, TinyCP's web interface is accessible on port 8080 by default.

  1. Open a web browser and navigate to:
http://your-server-ip:8080
  1. Replace your-server-ip with your server's actual IP address.
  2. Log in using the default credentials:
  • Username: admin
  • Password: admin
  1. Upon first login, it's crucial to change the default password for security purposes.

Step 5: Configure TinyCP

With access to the dashboard, you can configure various services:

  • Manage domains and websites
  • Set up MySQL or PostgreSQL databases
  • Configure email services
  • Monitor server resources

Step 6: Adjust Firewall Settings (If Applicable)

If your server uses UFW (Uncomplicated Firewall), allow traffic on port 8080:

sudo ufw allow 8080/tcp
sudo ufw reload

This ensures that TinyCP's web interface is accessible.

Conclusion

By following these steps, you can successfully install and configure TinyCP on your Ubuntu server. For more detailed information and troubleshooting, refer to the official TinyCP documentation.