How to Install 1Panel on a VPS

How to Install 1Panel on a VPS

This guide covers how to install 1Panel on a VPS step by step until you can log in to the dashboard and start using 1Panel as your server control panel.

1Panel is a web-based control panel for VPS that allows users to manage servers without complicated terminal configuration. This panel supports website management, databases, SSL, firewalls, Docker, and other applications through a GUI, making it easier and more efficient.

Preparation Before Installation

Before starting the 1Panel installation on your VPS, ensure that you:

  • Have root access to the server
  • The VPS is connected to the internet
  • The firewall or security group allows the port for panel access

This preparation prevents installation failure or issues accessing the panel once it is finished.

How to Install 1Panel on a VPS

1. Log in to the VPS as root

Access the server via SSH directly using the root user

Make sure to change 192.168.1.1 with your VPS IP address and 22 with the SSH port on your VPS.

2. Update the VPS

If your VPS is new and has not been used yet, you can perform an update first

sudo apt-get update && apt-get upgrade -y

3. Download and run the 1Panel installer

After connecting to SSH, copy and run the command below to download and install 1Panel:

curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

4. Select language and installation directory

Once the installation starts, you will be asked to choose the language. Select 1 to use English, then press Enter for the default directory or specify your own if needed.

5. Wait for the 1Panel installation process to finish

The installation process will run automatically, and you do not need to enter any other commands until the installer finishes

6. Set the port for panel access

At this stage, you are asked to set the panel access port. The default is 27846, but in this tutorial, we are using 2087. Make sure the port is open in your firewall so it can be accessed from your browser

7. Set a secure entrance for panel access

Here you need to set a secure entrance. When accessing the control panel, you must add an additional slug. For example, in this tutorial, we use wpgancom for the secure entrance

8. Create a user for panel access

While control panels usually use root or admin by default, here you can create a user with a custom name, for example wpganadmin

9. Note down your 1Panel login information

The installer will display the panel URL, username, and temporary password. Make sure to save these details so you can log in to the control panel

10. Open your browser and log in to 1Panel

Open your browser, access the panel URL you received, and log in with the username and temporary password.

11. Change the control panel password

Before proceeding with installation, it is recommended to change the control panel password, which you can do from the Settings → Panel password → Edit Config

page. Once you have changed the password, you can then install applications from the App Store menu, such as Node.js, PHP, Go, Python, n8n, WordPress, and others.

By following the steps above, the 1Panel installation process on your VPS can be done quickly and easily. Once installed, all server management tasks can be performed through the web panel, making it more efficient than relying entirely on the terminal.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...