DEV Community

Cover image for How To Install Easypanel on Ubuntu
Stephen Michael
Stephen Michael

Posted on • Originally published at axxellanceblog.com

How To Install Easypanel on Ubuntu

Introduction

If you're an Ubuntu user looking to manage your server easily, you might want to consider installing Easypanel. Easypanel is a web-based control panel that allows you to manage your server and websites through a user-friendly interface.

Original source of this article can be found in Axxellanceblog

It's a great tool for those who are not familiar with the command line or prefer a GUI-based approach to server management. In this tutorial, we'll walk you through the steps to install Easypanel on Ubuntu, a popular Linux distribution. By the end of this guide, you'll be able to use Easypanel to manage your server and websites with ease.

What is Easypanel

Easypanel is a user-friendly web hosting control panel that simplifies the management of web servers. It offers a range of features, including website management, domain management, email management, and more, making it a comprehensive solution for managing web hosting tasks. Easypanel's intuitive interface is ideal for beginners, but it also has advanced features that are useful for experienced users.

The control panel is compatible with various operating systems, including Ubuntu, CentOS, Debian, and others. This means that users can choose the operating system that best suits their needs and still use Easypanel to manage their web hosting tasks. Overall, Easypanel is a powerful and comprehensive solution for web hosting management, suitable for users of all levels of experience.

Minimum Requirement

Before installing Easypanel, it is essential to ensure that your server meets the minimum requirements. The minimum requirements for Easypanel are as follows:

  1. Operating System: Easypanel is compatible with Ubuntu 16.04 and above, CentOS 7 and above, and Debian 9 and above.
  2. CPU: A processor with at least 1 GHz clock speed is required.
  3. RAM: A minimum of 1 GB of RAM is recommended. However, the more RAM your server has, the better it will perform.
  4. Disk Space: A minimum of 20 GB of free disk space is required. However, the more disk space you have, the better it will be for storing backups and other files.
  5. Network: Your server should have a stable and reliable internet connection.

Ensuring that your server meets these minimum requirements is crucial to the proper functioning of Easypanel. By meeting these requirements, you can ensure that your server runs smoothly and efficiently, allowing you to manage your web hosting tasks with ease.

Installing Easypanel

In this section, we will install the open-source server control panel known asEasypanel, so simple follow this step-by-step process.

step 1: Installing docker

Docker is an open-source platform that allows developers to build, package, and deploy applications in containers. It simplifies the process of deploying and managing applications, making it easier for developers to focus on coding instead of infrastructure

Update Your Server :

Before you install Docker, it is essential to ensure that your Ubuntu server is up-to-date. Run the following command in the terminal to update your system:

sudo apt-get update
sudo apt-get upgrade

Enter fullscreen mode Exit fullscreen mode

Install Docker :

To install Docker, you need to add the Docker repository to your system. Run the following commands to add the Docker GPG key and the Docker repository to your Ubuntu server:

sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL [<https://download.docker.com/linux/ubuntu/gpg>](<https://download.docker.com/linux/ubuntu/gpg>) | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] [<https://download.docker.com/linux/ubuntu>](<https://download.docker.com/linux/ubuntu>) $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Enter fullscreen mode Exit fullscreen mode

After adding the Docker repository, update your system again to ensure that the latest Docker packages are available:

sudo apt-get update

Enter fullscreen mode Exit fullscreen mode

Now, you can install Docker by running the following command:

sudo apt-get install docker-ce docker-ce-cli containerd.io

Enter fullscreen mode Exit fullscreen mode

Verify Docker Installation :

Once the installation is complete, you can verify that Docker is running by running the following command:

sudo docker run hello-world

Enter fullscreen mode Exit fullscreen mode

This command will download a test image and run it in a container. If Docker is installed correctly, you should see the following output:

Hello from Docker!
This message shows that your installation appears to be working correctly.

Enter fullscreen mode Exit fullscreen mode

Manage Docker as a Non-root User :

By default, Docker requires root privileges to run. To avoid running Docker as root, you can add your user to the docker group, which will allow you to run Docker commands without sudo. To add your user to the docker group, run the following command:

sudo usermod -aG docker ${USER}

Enter fullscreen mode Exit fullscreen mode

Log out and log back in to apply the changes.

Step 2: Installing Easypanel

Next, you need to install Easypanel by executing the following command. Make sure you have root (sudo) privileges before running the command.

docker run --rm -it \\
-v /etc/easypanel:/etc/easypanel \\
-v /var/run/docker.sock:/var/run/docker.sock:ro \\
easypanel/easypanel setup

Enter fullscreen mode Exit fullscreen mode

Easypanel will install Docker Swarm and several other tools on your server. You should install it on a fresh server; otherwise, you risk facing unexpected errors.

Port 80 and 443 must be available and not blocked by your firewall.

Step 3: Accessing Easypanel

Once you have successfully installed EasyPanel on your Ubuntu server, accessing it is a simple process.

Open a Web Browser :

The first step to accessing EasyPanel is to open a web browser on your local computer. Any modern web browser such as Google Chrome, Firefox, or Safari should work.

Enter the Server IP Address :

Once your web browser is open, enter the IP address of your Ubuntu server in the address bar. If you're unsure of your server's IP address, you can find it by running the following command in your terminal:

ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\\/.*$//'

Enter fullscreen mode Exit fullscreen mode

Enter the EasyPanel URL :

Next, append the EasyPanel URL to the end of the IP address in the address bar. The URL should look something like this:

<http://your-server-ip-address:8888>

Enter fullscreen mode Exit fullscreen mode

Make sure to replace your-server-IP-address with the actual IP address of your Ubuntu server. The port number (8888) is the default port number used by EasyPanel. If you changed the port number during installation, make sure to use the correct port number.

Log in to EasyPanel :

Once you have entered the EasyPanel URL in the address bar, press Enter. You should be presented with the EasyPanel login screen. Enter the username and password you created during the installation process and click the "Log In" button.

easypanel-login-screen.png

If you entered the correct username and password, you should now be logged in to EasyPanel and ready to start managing your server.

Tips for Easypanel

Now I do believe that you must have successfully installed Easypanel on your ubuntu panel, but just in case you encounter some errors, these tips might help you in overcoming them.

1: Updating Easypanel

Note that the panel will try to update automatically when there is a new release available. you will see a button in the navigation bar, clicking that button will update your panel to the latest version, but just in case it didn’t display or you want to update manually, then you can run the following command below:

Stable Version:

docker image pull easypanel/easypanel && docker service update easypanel --force

Enter fullscreen mode Exit fullscreen mode

Canary version:

docker image pull easypanel/easypanel:canary && docker service update easypanel --force

Enter fullscreen mode Exit fullscreen mode

2: Resetting Password

You are human, and that means you are not immune to mistake or memory loss, but if you have forgotten your login password or you want to change it without using the panel itself then do run the following command below:

docker run --rm -it \\
-v /etc/easypanel:/etc/easypanel \\
-v /var/run/docker.sock:/var/run/docker.sock:ro \\
easypanel/easypanel reset-password

Enter fullscreen mode Exit fullscreen mode

Conclusion

In conclusion, Easypanel is a user-friendly web hosting control panel that simplifies the management of web servers. If you are using Ubuntu as your operating system, installing Easypanel is a straightforward process that can be done in a few simple steps. By following the steps outlined in this guide, you can install Easypanel on your Ubuntu server and start managing your websites with ease.

To install Easypanel on Ubuntu, you will need to have some technical knowledge and be comfortable using the command line. However, with the right instructions, anyone can install Easypanel and get started with web hosting management.

If you are looking for an easy way to manage your web server, Easypanel is definitely worth considering. It offers a range of features, including website management, domain management, email management, and more. With Easypanel, you can streamline your web hosting management tasks and save time and effort.

In summary, if you are an Ubuntu user looking for a simple and effective way to manage your web server, Easypanel is an excellent choice. Follow the steps outlined in this guide to install Easypanel on your Ubuntu server and start managing your websites with ease.

Follow ME

Hey there! If you're interested in tech or programming articles, you should definitely give me a follow on any of the social media platforms below. I regularly post articles related to tech and programming, and I share valuable resources and insights. Plus, by following me, you'll be able to stay up to date on all the latest and greatest in the world of tech and programming. So, what do you say? Will you give me a follow?

Follow me on Dev.to, Twitter, LinkedIn, GitHub, Medium, Facebook, and my blog's Facebook page.

Top comments (0)