Installation Guide
Hardware Requirements
A blank full virtual machine or a bare metal server with:
- Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS
- A minimum of 2GB RAM and 20GB storage
- x86_64/amd64 architecture
Interactive Mode Installation
You can install BeAdmin Control Panel from terminal in intercative mode. In this case system will ask you to enter email of your default user, and optionally the domain name of your server (to make it accessible via e.g. https://mysite.com:8080). An SSL certificate will be issued automatically in this case.
- Log in to your server via SSH:
- as root or
- as a user with sudo privileges and type
sudo -i
- Copy and paste the following installation command into the terminal and hit enter:
wget -O /etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg "https://nexus.beadmin.com/repository/public-keys/beadmin-nexus-public.gpg"
chmod 644 /etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg] https://nexus.beadmin.com/repository/beadmin/ stable main" > /etc/apt/sources.list.d/beadmin.list && \
apt update && apt install -y --no-install-recommends beadmin && \
systemctl enable --now beadmin
This will trigger the installation process, which can last about 15-30 secons or less. Your system will install the necessary packages using the apt package manager.
- Follow the installation instructions.
Next you may enter your server domain name if you already have one, e.g. mysite.com
. In this case an SSL certificate will be issued after installation to make your server accessible via HTTPS. Leave blanc if you don have a domain name yet, in this case no certificate is issued.
NOTE
Do not forget to create a DNS record of A type pointing to your server IP address in the dashboard of your web hosting provider. Otherwise the server won't be accessible by your domain name.
Next you will be prompted to enter you main user email as login. Do it or leave default admin@local.host
and hit enter.
ATTENTION
Always enter a valid email address. If you entered a domain name on the previous step, the SSL generation will fail if the email address is invalid, and self-signed SSL certificate will be issued. You server will still be accessible via HTTPS, but most browser will rise a warning.
Hit enter and wait until the installation is finished. After that you can go to BeAdmin by https://your_server_ip:8080
or https://your_domain:8080
. Enjoy!
Non-Interactive Mode Installation
This option is best if you want a one-click installation or you are a web hosting provider and need a fully automated setup.
- Log in to your server:
- as root via SSH or
- as a user with sudo privileges and type "sudo -i"
- Prepare the installation command:
Replace mysite.com
on the first optional line with a valid domain name of your choice. SSL will be issued automatically. Or delete this line if you do not want to add a domain name (you can do it later from the BeAdmin Panel).
Replace admin@local.host
and your_password
on the second optional lines with the email of your main admin user and his/her password. Always use a valid email, especially if you enter domain name on the previous line, otherwise a self-signed SSL certificate will be issued. Remove the line or leave as it is if you are good with admin@local.host
.
wget -O /etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg "https://nexus.beadmin.com/repository/public-keys/beadmin-nexus-public.gpg"
chmod 644 /etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/beadmin-nexus-public.gpg] https://nexus.beadmin.com/repository/beadmin/ stable main" > /etc/apt/sources.list.d/beadmin.list && \
# (optional line)
echo "beadmin beadmin/ssl_acme_domain string mysite.com" | debconf-set-selections && \
# (optional lines)
echo "beadmin beadmin/default_user string admin@local.host" | debconf-set-selections && \
echo "beadmin beadmin/default_password password your_password" | debconf-set-selections && \
apt update && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends beadmin && \
systemctl enable --now beadmin
- Copy-paste the command to the terminal and hit enter.
The installation usually takes about a minute. Once done, you can go to BeAdmin by https://your_server_ip:8080
or https://your_domain:8080
. Enjoy!