How to install the control panel on Ubuntu
One command downloads the installer and sets up the web server, PHP, databases, DNS, email, firewall and the panel. It asks five questions first and takes about 10–20 minutes.
Before you start
- A fresh Ubuntu 24.04 or 22.04 server with at least 2 GB RAM and 20 GB free disk. See server requirements.
- A hostname such as
server1.example.comwith an A record pointing to the server's IP. - Optional: your license key. Without it, the 15-day trial starts.
Steps
- Log in to the server over SSH as root.
- Run:
curl -fsSL https://get.sahaab.io/install -o install && sudo bash installTo activate a license at the same time, add
--license=YOUR-KEYat the end. The same commandwith your key is shown in your customer area.
- Step 1 of 5 — License agreement. Read the agreement (press
qto close it), then typeyes. - Step 2 of 5 — Your company. Enter the Company / brand name shown in the panel (default
My Hosting) and the Administrator email for alerts and SSL notices. - Step 3 of 5 — Server name and nameservers. Enter the Server hostname. The installer checks that it points to this server and warns you if it does not. Then confirm Nameserver 1 and Nameserver 2 (default
ns1.andns2.plus the hostname's domain). - Step 4 of 5 — Administrator login. Enter the Administrator username (default
root) and a password. Leave the password empty to get a strong generated one. - Step 5 of 5 — Web server. Type
1for OpenLiteSpeed (recommended: reads.htaccess, page cache, HTTP/3) or2for Nginx. - Check the Summary and answer
yto Start the installation?. Answernto change your answers; the previous answers are offered again. - Wait until Installation complete. appears.
When the installer finishes
The screen shows:
- Admin panel:
https://SERVER-IP:2087and the admin username - Customer panel:
https://SERVER-IP:2083 - Admin password: the generated password, or "the password you chose"
- Next steps: the child nameservers (glue records) to create at your registrar, and a reminder to point the hostname to the server and issue the panel's SSL certificate
A generated password is also saved in /root/panel-install-summary.txt (readable by root only). A password you typed yourself is never shown again or written to a file. The full log is in /var/log/sahaab-install.log.
Good to know
- The admin username must be 2–16 lowercase letters and digits, starting with a letter.
- A password you choose needs at least 10 characters with 3 of: lowercase letters, uppercase letters, digits and symbols.
- The hostname must have at least three parts (
server.example.com). - Every answer is checked when you give it; you are asked again if it does not fit.
- Running the installer again on an installed server keeps the configuration and data.
Common questions
Can I install without answering questions?
Yes, with --non-interactive --accept-license and options. See unattended install.
The hostname does not point to the server yet. Can I continue?
Yes. The installer warns you and asks Continue with this hostname?. The panel works on its IP address; its SSL certificate is issued once the A record points to the server.
How do I move accounts from my old server?
After installing, open Transfer Tool (section Move to this server) in the admin panel. To prepare it during an unattended install, use --migrate-from=HOST.
What do I do next?
Log in to the admin panel, then follow the first steps after installing.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Server requirements for installing the control panel
Which Ubuntu version, memory, disk, ports and access the control panel needs, and why it must be installed on a fresh server with nothing else on it.
- Unattended install and all installer options
Install the control panel without questions from cloud-init or a script, with every installer option such as --hostname, --license and --webserver.
- How to log in to the admin panel for the first time
Open the admin panel on port 2087, get past the first certificate warning and sign in with the username and password from the installer.
- How to set up your nameservers (child nameservers and glue)
Make ns1 and ns2 work on the internet so customers can point their domains at your server, with child nameservers (glue records) at your registrar.