Linux - Download and Installation Guide

This article will introduce how to download and install the Feihan Linux Server.

Download and Installation

  1. Visit the download page on the Feihan official website

  2. In the server download options, select Linux Server

  3. After the download is complete, extract the archive and open the folder

  4. Open the terminal, enter the extracted folder, and run ./feihan run

  5. After the terminal displays Web service is running (as shown below)

Feihan Server Terminal

Enter any one of the links shown in the terminal into the browser to perform the initial server setup

Feihan Server Terminal

Initialize Feihan Server

  1. Enter the Feihan Server initialization page, select the corresponding server version, and click to upload the License (a file with the .fhl suffix)
Tip

License is required to run. To obtain it, please contact us

Server Initialization

  1. Set the enterprise/organization avatar, Super Admin avatar, username, password, and other information, then click Next
Tip

Please remember the Super Admin username and password, which are also the username and password you use to log in to the Feihan client

Set Super Admin Information

  1. Select the configuration information step by step and click Next (there are explanations of related terms in the question mark on the right side of the relevant professional terms)

Set Basic Configuration 1

Set Basic Configuration 2

  1. Wait for the server creation to complete

Waiting for Creation

Initialization Successful

  1. The server is created successfully and redirects to the Feihan Admin Console

Redirect Page

Log In to the Client

systemd Service

Extract the server to /usr/local/feihan, and then save the following content to /etc/systemd/system/feihan.service

[Unit]
Description=Feihan Server
After=network.target

[Service]
Type=simple
WorkingDirectory=/usr/local/feihan
ExecStart=/usr/local/feihan/feihan run
Restart=on-failure
RestartSec=5
LimitNOFILE=1048576
LimitCORE=infinity

[Install]
WantedBy=multi-user.targe

After that, you can use:

  • service feihan start to start the service
  • service feihan stop to stop the service