TinyCP – A Lightweight Control Panel for Managing Linux Systems

[‘

n

TinyCP is a lightweight control panel, that provides wide range of features on a Linux system, which features includes:

n

    n

  • Domain Management
  • n

  • Mailboxes
  • n

  • Databases
  • n

  • FTP
  • n

  • Samba
  • n

  • Firewall
  • n

  • VPN
  • n

  • GIT
  • n

  • SVN
  • n

n

At this point TinyCP is only available for Debian/Ubuntu based systems, but it is supposed to come for CentOS in the near future.

n

Before you start with the installation, the TinyCP team requires you to register with an email address in order to get the download instructions and account ID.

n

Read Also: 20 Best Control Panels to Manage Linux Servers

n

These details will later be required to activate your license. The download page can be found here. The process is straightforward and completed in less than a minute.

n

Note: In a recent post from TinyCP team, it was made known that TinyCP will remain free until the beginning of 2019. After that, in order to keep the project alive, small fees will be charged on per IP bases. Per the information in that post, the prices will be $1 Montly and $10 Annually.

n

For the purpose of this article, I will be installing TinyCP on a Linode Ubuntu 16.04 VPS with IP address 10.0.2.15.

n

Install TinyCP Control Panel in Debian and Ubuntu

n

To install TinyCP you will need to download their installer. For that purpose, you can navigate to a directory of your choice and run the commands below. For organization purposes, I will download the package in: /usr/local/src/.

n

# cd /usr/local/src/ rn# wget http://tinycp.com/download/tinycp-install.shrn

n

Give executable permissions on the downloaded file and run it.

n

# chmod +x tinycp-install.shrn# ./tinycp-install.shrn

n

The installation process is pretty quick (less than 2 minutes). When the installation is complete, you will receive a URL username and password with which you will be able to access your new control panel:

n

URL: http://10.0.2.15:8080rnLOGIN: adminrnPASSWORD: 20WERZ4Drn

n

Note: Before trying to access the provided URL, you will need to start TinyCP with the following command.

n

# /etc/init.d/tinycp startrn

n

Then you can head to the provided URL and authenticate with the new credentials. The page should look like this:

n

TinyCP Admin Login
TinyCP Admin Login

n

Once logged in your account, fill the email address and account ID so your license key can be updated:

n

Active TinyCP Subscription
Active TinyCP Subscription

n

Then you can proceed to the modules section, where you will be able to install different “modules”, including MySQL, PostgreSQL, Samba, FTP server, Email server, ClamAV, Cron, Apache web server. The modules page is also accessible through the cube in the upper right corner:

n

TinyCP Install Modules
TinyCP Install Modules

n

Install MySQL/MariaDB

n

Let’s start by installing a MySQL service. Simply click the “install” button next to MySQL. A popup will show, asking you to confirm the installation of MySQL. Click install:

n

Install MySQL Module
Install MySQL Module

n

You will need to wait a minute or two for the installation to complete. In the end you should see output similar to this one:

n

MySQL Module Installation
MySQL Module Installation

n

Click the “Finished” button and then click on the “Prepare” button next to MySQL. This will create the required config files for the service. Databases can be managed from the left side menu. The database section allows you to:

n

    n

  • Add/delete databases
  • n

  • Create users
  • n

  • Create backups tasks
  • n

n

Each process is pretty straightforward and does not require any additional explanation.

n

Install Apache Web Server

n

Now lets Install Apache web server as well. Apache can be found at the bottom of the page. Again simply click the install button and wait few minutes for the installation to complete:

n

Install Apache Web Server
Install Apache Web Server

n

When the install is complete, click on “Finished” button again and then “Prepare” to generate the required config files:

n

Prepare Apache Configuration
Prepare Apache Configuration

n

If you wish to tweak your services a little more, you can go in the “Configuration section on the left, choose the service you wish to tweak and make your changes.

n

For example, you can install additional Apache modules using a drop down menu on the right and by clicking the install button:

n

Tweak Apache Settings
Tweak Apache Settings

n

Create Your First Domain

n

Now you can create your first domain, by using the “WEB” section in the left navigation menu. Click on “New Domain” and fill in the domain you wish to host. You can choose the domain’s IP address from the dropdown menu:

n

Create New Domain
Create New Domain

n

Once created, you will be redirected to the domain’s configuration page. Here you will see few sections, including:

n

    n

  • Main section – provides information about domain, document root and allows you to setup www redirect.
  • n

  • Subdomains – Easily create subdomains.
  • n

  • Aliases – create domain aliases.
  • n

  • Listen – list with IP addresses on which IP resolves and allowed ports.
  • n

  • Apache, error logs, access logs – first tab allows you to see the vhost for your domain, next are the error logs and third are the access logs.
  • n

n

Domain Configuration Page
Domain Configuration Page

n

In the upper side of the window, you may notice that there are two more sections:

n

    n

  • PHP – allows you to configure certain PHP settings, disable functions etc.
  • n

  • Applications – helps you install applications on your domain, including RoundCube and WordPress.
  • n

n

Review the Dashboard

n

TinyCP dashboard provides you some basic informatoin about the usage on your system. This information includes:

n

    n

  • Operating system info
  • n

  • Hardware info
  • n

  • IP address
  • n

  • System load
  • n

  • Top processes
  • n

  • DIsk spaces + inodes
  • n

  • Network clients
  • n

n

The panel only shows information about your system. No actions can be taken from here (such as killing a process for example).

n

Review TinyCP Dashboard
Review TinyCP Dashboard

n

Conclusion

n

TinyCP is a lightweight, feature rich control panel, that allows you to easily create domains, databases, email and FTP accounts etc. The interface is simple and easy to navigate through. If you are short on resources and need a control panel to create and manage your system, this might be the right choice for you.

n

‘]