▪Front Server has dependencies on several third-party packages. Before you install the Front Server, run the rpm -qa|grep -E "glibc|libstdc++|libuuid|pam" command to check whether these dependencies have been installed. If they have not been installed yet, you can choose either option below to install the dependencies:
oOnline Install: run the yum install -y glibc.x86_64 glibc.i686 libstdc++.x86_64 libstdc++.i686 libuuid.x86_64 libuuid.i686 pam.x86_64 pam.i686 command to install these third-party packages online.
oOffline Install: refer to Offline Installing Third-party Dependencies for more details.
1.Log in to the Linux server as the root user.
2.Run the mkdir command to create a directory under the /opt directory to place the Front Server installation package. For example, netbraintemp8.0.3.
3.Run the cd /opt/netbraintemp8.0.3 command to navigate to the /opt/netbraintemp8.0.3 directory.
4.Download the installation package.
▪Option 1: If the Linux server has no access to the Internet, obtain the netbrain-frontserver-linux-x86_64-rhel7-8.0.3.tar.gz file from NetBrain and then upload it to the /opt/netbraintemp8.0.3 directory by using a file transfer tool.
▪Option 2: If the Linux server has access to the Internet, run the wget <download link> command under the /opt/netbraintemp8.0.3 directory to directly download the netbrain-frontserver-linux-x86_64-rhel7-8.0.3.tar.gz file from NetBrain official download site.
Note: Contact NetBrain Support Team to get the download link. The download link is case-sensitive.
Tip: Run the yum -y install wget command to install the wget command if it has not been installed on the server.
5.Run the tar -zxvf netbrain-frontserver-linux-x86_64-rhel7-8.0.3.tar.gz command under the /opt/netbraintemp8.0.3 directory to extract installation files.
[root@localhost netbraintemp8.0.3]# tar -zxvf netbrain-frontserver-linux-x86_64-rhel7-8.0.3.tar.gz
FrontServer/
FrontServer/config/
FrontServer/install.sh
...
6.Run the cd FrontServer/config command to navigate to the config directory.
7.Modify the data path in the setup.conf file located under the config directory according to your environment and save the changes. For how to modify the configuration file, refer to Editing a File with VI Editor.
[root@localhost config]# vi setup.conf
#DataPath is used to store data and log files for Front server. This directory must be at least a second
level directory and used exclusively for this purpose.
DataPath=/usr/lib/netbrain/frontserver
8.Run the cd .. command to navigate to the FrontServer directory and run the ./install.sh script under the FrontServer directory to install the Front Server.
1)Read the License Agreement, and type YES.
2)Type I ACCEPT to accept the License Agreement. The script starts to install the Front Server.
[root@localhost FrontServer]# ./install.sh
Please read the End User License Agreement (“EULA”) for the license type (perpetual or subscription)
purchased in the order form at https://www.netbraintech.com/legal-tc/ carefully. I have read the
subscription EULA, if I have purchased a subscription license, or the perpetual EULA, if I have purchased
a perpetual license, at
the link provided above. Please type “YES” if you have read the applicable EULA and understand its
contents, or “NO” if you have not read the applicable EULA. [YES/NO]: YES
Do you accept the terms in the subscription EULA, if you have purchased a subscription license, or the
perpetual EULA, if you have purchased a perpetual license? If you accept, and to continue with the
installation, please type "I Accept" to continue. If you do not accept, and to quit the installation
script, please type "CANCEL" to stop. [I ACCEPT/CANCEL]: I ACCEPT
INFO: Creating installation log file SUCCEEDED
INFO: Preprocessing SUCCEEDED
INFO: Starting to check system info...
...
INFO: 2020-08-09 22-12-04.730: Collecting system information SUCCEEDED.
INFO: Starting to check date...
INFO: Starting to check Linux OS info...
INFO: Starting to check systemd service...
INFO: Starting to check required CPU...
INFO: Starting to check minimum memory...
INFO: System checking SUCCEEDED.
INFO: Dependent packages checking SUCCEEDED.
INFO: Configuration parameters checking SUCCEEDED.
INFO: Current working directory:
/opt/netbraintemp/FrontServer
INFO: Extracting files of Front Server SUCCEEDED.
usermod: no changes
INFO: Configuration parameters updating SUCCEEDED.
Created symlink from /etc/systemd/system/multi-user.target.wants/netbrainfrontserver.service to /usr/lib/systemd/system/netbrainfrontserver.service.
INFO: Backing up uninstall.sh SUCCEEDED
INFO: Successfully installed Front Server.
Note: The Front Server service will not be automatically started until the Front Server is added to a tenant and successfully registered. You cannot register a Front Server immediately until adding the Front Server to a Tenant.
9.To install more Front Servers for load balancing, repeat the above installation steps on separate machines.
See also:
▪Adding a Front Server Group for Load Balancing
▪Registering NetBrain Front Server on Linux