Open In App

How to install TinyCP in Linux

TinyCP is a lightweight control panel that can be accessed using web-UI and it is a nice alternative tool like cPanel for Linux servers to manage various services setting up in Linux is quite easy. You can easily create domains, databases, email, and FTP accounts, among other things, with the help of the lightweight, feature-rich control panel known as TinyCP. The user interface is straightforward and simple to use. This could be the best option for you if you are limited in resources and require a control panel to design and administer your system. Users of Ubuntu and Debian are the only ones who can currently utilize TinyCP. If you use either of these and are curious about how to install and use TinyCP as your main system control panel, you’ve come to the right spot. Here, we’ll go through everything from installing to using some of TinyCP’s most fundamental features. 

Installation of TinyCP in Linux

Follow the instruction to install the TinyCP in a Linux server or on a local Linux machine:



Step 1:  Install the dependencies by executing the below command.

$ sudo apt install apt-transport-https dirmngr gnupg ca-certificates

 

Step 2: Add the repository for further installation

$ sudo apt-key adv –fetch-keys http://repos.tinycp.com/ubuntu/conf/gpg.key



$ echo “deb http://repos.tinycp.com/ubuntu all main” | sudo tee /etc/apt/sources.list.d/tinycp.list

 

Step 3: Update the system and install the TinyCP by executing the below command.

$ sudo apt-get update
$ sudo apt-get install tinycp

 

You can install it with the default password and id using the following command:

$ TINYCP_USER=”admin” TINYCP_PASS=”secretpass” TINYCP_PORT=”55555″ sudo apt-get install tinycp

TinyCP user, password, and port can be replaced as you like.

Step 4: Accessing TinyCP Panel

After installation of TinyCP you can access it using the URL of the installation message, and log in to TinyCp with your credentials 

 

After logging into TinyCP you can access the dashboard and install, and manage various services from your system, you can install various web, database, and email services as per your need which is listed in TinyCP, and you can create your own server.

 

Usage of TinyCP in Linux

Example 1: Install MySQL/MariaDB Using TinyCP

MySql is a great database tool for managing databases, So you can install the Mysql database through the dashboard panel by simply clicking on the install button given at the top of the TinyCP module. You can check various SQL Queries on GFG as well.

 

For the installation to be finished, you will have to wait a moment. You should see the output results similar to the output given below.

 

After installation click on finish and you can install the apache web server as well to use SQL for the applications.

Example 2: Install Apache Web Server in TinyCP

At the bottom of the page is a link to Apache. Once more, just click the install button and wait a short while for the installation to finish. There can be some issues if you install it in a normal user environment so make sure to use this kind of service logged in using the root user or you might face some issues while installing this.

 

After the installation is finished, select “Finished” once more, and then click on “Prepare” to create the necessary configuration files. If you want to make a few more changes to your services, go to the “Configuration section on the left, select the service you want to change, and make your selections. There is several option to modify and manage.

 

Example 3: Create Your First Domain using TinyCP

Utilizing the “WEB” part of the left menu, you may establish your first domain. The domain you want to host should be entered after clicking “New Domain.” The domain’s IP address can be selected from the drop-down menu.

 

You will be taken to the domain’s setup page after it has been created. You will find a few parts here, including Main Section, Subdomains, Aliases, Listen,  Apache error logs, and access logs.

 

Thus you can setup your domain and manage it using an Apache web server and SQL database.

Example 4: Dashboard Review of TinyCP

The TinyCP dashboard gives you some basic information about how your system is being used. This data consists of:-

 

Only information about your system is displayed on the panel. Nothing from here can be done (such as stopping or killing a process ).

Manage the TinyCP services on the System

To check TinyCP service status run the following command

$ sudo systemctl status tinycp.service 

To stop auto start and disable TinyCP service run the following command

$ sudo systemctl stop tinycp.service
$ sudo systemctl disable tinycp.service

To start the TinyCP service again run the following command

$ sudo systemctl enable tinycp.service
$ suod systemctl start tinycp.service 
Article Tags :