Installation
To install the software, follow these instructions on an Ubuntu 20.04 server, which comes preinstalled with Ubuntu 20.04 or a newer version. The default credentials for accessing the software, which is a Docker Stack being deployed, are as follows: Username: [email protected] and Password: livvck.
Server Resources:
- CPU: 2 cores
- RAM: 4 GB
- Storage: 40 GB SSD
Step 1 - Update & Upgrade
The very first thing we do is update the package lists and packages on the server so that we are up to date.
apt update
apt upgrade
Step 2 - Install Dependencies
Now we install the necessary dependencies for the software, including Docker & Docker-Compose.
apt -y install unzip wget curl
curl https://get.docker.com | sh
apt -y install docker-compose
Step 3 - Download files from LIVCK
You can find your licenses on the LIVCK Dashboard. Select the desired license from the list and copy its license key from the management section.
To access license management, visit https://livck.com/dashboard. Once you have selected a license, copy the license key and replace PLACEHOLDER-LICENSE in the URL.
Before you can start the download, make sure to add the IP of your server to the IP Allowlist of your license. You find it under License ยป Allowlist.
cd /opt && wget -4 https://livck.com/dl/self-hosted/PLACEHOLDER-LICENSE -O livck.zip
Step 3.1 - Unpacking LIVCK files
unzip livck.zip
Step 3.2 - Move LIVCK files to correct folder
mkdir livck && mv LIVCK-self-hosted-*/* /opt/livck
Step 3.3 - Delete useless files
rm LIVCK-self-hosted-* -R && rm livck.zip
Step 4 - Configure Application
Go into the livck folder
cd livck
Step 5 - Run the installation script
Give the script the correct permissions and run it
chmod 700 install.sh
./install.sh
-
If you choose to proceed with the installation, you will be prompted to provide the following information:
- Project name (*)
- License key (*)
- Protocol preference (IPv6 -> 6, IPv4 -> 4, or press Enter)
- Domain (e.g., status.livck.com, without the protocol prefix) (*)
- Notification providers configuration (y/n)? (*)
- If yes, you will be asked to enter the Telegram Bot token and Pushover token.
- Mail server configuration (y/n)? (*)
- If yes, you will be asked to enter the Mail Host, Mail Username, Mail Password, Mail Host Port, and Mail Encryption.
- Using SSL for secure traffic (y/n)? (*)
- If yes, you will be asked to enter the email address for ACME (Let's Encrypt / Certbot) service.
-
The script will generate an environment file named
.env
based on the provided information. -
A sample Nginx site configuration file will be copied as
docker/web/sites/default.conf
. -
The script will start the required Docker containers using
docker-compose up -d
. -
If SSL is enabled, the script will ask for an email address and run Certbot to obtain SSL certificates for your domain.
-
Once the containers are running, the script will execute additional setup commands, such as database migration and caching.
-
The script will set the necessary permissions for the application files.
-
The installation process will be completed, and the script will display the following information:
- Status page URL
- Login credentials (URL, E-Mail, and Password)