Getting started
Install freePanel
What this does: one command downloads freePanel, checks it is genuine, and installs the panel with websites, databases, DNS, mail, webmail and FTP.
When you need it: once, on a new server, after you have done the steps in Before you install. It takes a few minutes.
The one-line install
Run the installer
- Connect to your server over SSH, as Before you install shows.
- Type the command below exactly as it is shown (or copy and paste it), and press Enter. If you are signed in as root (your prompt ends in
#), type this:curl -fsSL https://repo.atlantishosting.net/install | bashIf you are signed in as another user (your prompt ends in
$), type this instead, then type that user's password when asked:curl -fsSL https://repo.atlantishosting.net/install | sudo bash - The installer prints what it is about to install, then downloads freePanel and checks its signature. You see lines like these:
freePanel installer Server: server.example.com Installing: the panel with websites, databases and their admin tool (port 7445), DNS, mail, webmail with calendars and contacts, and FTP, and login protection Log: /var/log/freepanel-install.log - Downloading freePanel 1.2.3 - The signature is good - Installing. This takes a few minutes; the details go to the log > Installing the web stack (Apache, mod_ssl, PHP 8.3 from Remi)The line that starts with
>changes as each step runs. Leave the window open and wait. - When it is done, you see freePanel is installed. and the addresses you need:
freePanel is installed. Create your admin login here (the link works once, for 24 hours): https://server.example.com:7443/setup#... Then enter your licence key on the Licence page. Admin panel: https://server.example.com:7443 Customer panel: https://server.example.com:7444 Install log: /var/log/freepanel-install.log Good to know: Mail: every local user may send as LOGIN@server.example.com. Keep this hostname under a domain that sends no other mail, or publish aspf=s in that domain's DMARC record. Login protection is on (SSH, the panels, and mail and FTP where installed). Never blocked: 203.0.113.9. - Copy the whole link after Create your admin login here, from
httpsto the end, including everything after the#. To copy from the terminal, select the link with your mouse, then:- on Windows (PowerShell), right-click: that copies the selected text;
- on a Mac (Terminal), press Cmd+C.
Don't press Ctrl+C in the terminal: there it stops a running program instead of copying. Keep the link private: whoever opens it first becomes the admin.
- Paste the link into your browser's address bar and press Enter, then create your admin login. If the page doesn't open because the server's name doesn't work in DNS yet, put the server's IP address in place of the name, such as
https://203.0.113.10:7443/setup#.... Your browser will warn that the connection is not private: step 3 of Create your admin login shows how to go on.
What the addresses are
- Admin panel (port 7443): where you, the host, run the server. Resellers sign in here too.
- Customer panel (port 7444): where your customers manage their own websites and email.
- Install log: a file on the server with every line the installer printed. Only root can read it, because it holds the setup link.
A port is a numbered door on the server. :7443 at the end of an address tells your browser which door to knock on.
What "Good to know" means
The installer ends with notes about your server. The ones you may see:
- Warning: This server has ... MB of memory (shown just above Good to know): the options you chose need more memory than the server has, so some services may be stopped by the system when memory runs out. Give the server more memory, or on a new server choose fewer options, leaving out the ones the line names.
- Disk quotas turn on for / when the server next restarts (or for /home, when it is a disk of its own): the server's disk is XFS (usual on AlmaLinux, Rocky Linux and RHEL), whose disk limits start only at a restart. Restart the server when it suits you. Until then, accounts work but aren't stopped at their disk limit.
- Disk quotas are off: ...: freePanel can't stop an account from using more disk space than its package allows, for the reason given, such as a server that is a container. Your accounts still work, and the panel still shows how much each one uses. See Disk quotas.
- Mail: every local user may send as LOGIN@server.example.com: you can ignore this if the server's name is under a domain that sends no other email, as Before you install suggests. If that domain does send email and already has a DMARC record (a DNS record named
_dmarcthat tells other mail servers how to check its mail), addaspf=sto that record, separated from the rest by a semicolon. - Login protection is on: addresses that keep failing to sign in are blocked for a while. The address after Never blocked, such as
203.0.113.9, is the address of your own internet connection, the one you installed from. It is never blocked, so you don't lock yourself out. A home connection's address can change; if it does, the new one is not on the list. Add it, or more, in Security > Login protection in the admin panel. - No "Login protection is on" line: login protection was left out. On AlmaLinux, Rocky, RHEL and CloudLinux this happens when the firewalld firewall wasn't running; the Installing: line then ends with
login protection needs the firewall (firewalld) running. Your server works without it. To add it later, see --protect. - Ports ... were not opened in the firewall: the installer left your firewall alone, because you chose your own options. Open the ports yourself, as below.
Open the ports yourself
On AlmaLinux, Rocky, RHEL or CloudLinux (firewalld), as root:
firewall-cmd --permanent --add-port=7443/tcp --add-port=7444/tcp
firewall-cmd --reload
On Ubuntu or Debian, if ufw is on (ufw status says Status: active), as root:
ufw allow 7443/tcp
ufw allow 7444/tcp
Add the other ports the installer's line names the same way, such as --add-port=7445/tcp or ufw allow 7445/tcp. If neither firewall is running, there is nothing to open on the server. Your hosting company's own firewall, if it has one, is separate: see Open ports.
If the install stops
If a step fails, the installer stops and says which step, shows the last lines it printed, and where the whole log is:
freePanel installer: the install stopped (exit 1) at: Installing PowerDNS
The last lines it printed:
...
Nothing is deleted. Fix what it says and run the same command again: the installer carries on from where it is.
Everything it printed is in /var/log/freepanel-install.log
If something goes wrong
- If you see "this server's name is ... which is not a full name", give the server a full name, as Before you install shows, and run the install command again.
- If you see "run this as root", use the command with
sudo bashfrom step 2, or sign in as root. - If you see "freePanel installs on AlmaLinux, Rocky Linux, RHEL or CloudLinux 9, ...", the server runs a system freePanel does not install on. Reinstall the server with a supported system.
- If you see "freePanel is built for x86_64 only", the server has another kind of processor. Order an x86_64 (amd64) server.
- If you see "the signature of ... is not a good signature of the pinned key", the download was damaged or changed on the way. Nothing was installed. Wait a few minutes and run the command again. If it keeps happening, write to support at support@atlantishosting.net, with your server's name and the message.
- If you see "firewalld did not start" or "firewalld runs without SSH's port", see --protect.
- If you see any other message, read the last lines it printed: they say what is wrong. For example, a line such as
could not find this server's IPv4 address; give it with --ipmeans you add--ipand your server's address to the command, as Installer options shows. Fix it and run the same command again. Nothing you already have is deleted. - To read more of the log, type
sudo tail -n 50 /var/log/freepanel-install.logand press Enter (as root, you can leave outsudo). It shows the last 50 lines the installer wrote; the reason is usually near the end. - Still stuck? Write to support@atlantishosting.net. Include your server's name, the system it runs (such as AlmaLinux 9), and the last lines of the log. Never send your licence key or the setup link.
Running it again
The installer is safe to run again. It updates freePanel's programs and restarts its services, and keeps your settings, your database and your certificate. It never deletes anything, and never removes a service it installed before. Run the same command, with the same options, again to update, or to carry on after a failed run. If you chose your own services the first time, read Running it again with options first.
From freePanel 1.0.7 you can also update from the admin panel: open Server updates and use the freePanel version card. It checks the new release's signature, runs its installer with the options your server was installed with, and puts the old version back if the update fails. A server installed before 1.0.7 needs this command run once first.
Choosing what to install
With no options, the installer installs everything listed on its Installing: line. You can choose otherwise by adding options after bash -s -- (that part tells bash that what follows is for the installer; copy it exactly):
curl -fsSL https://repo.atlantishosting.net/install | sudo bash -s -- --hostname panel.example.com --php 8.4
As root, leave out sudo:
curl -fsSL https://repo.atlantishosting.net/install | bash -s -- --hostname panel.example.com --php 8.4
Installer options lists every option and what it does.