Table of contents
- Create essential directories and upload installation files
- Extracting the installation files and setting up the installation environment (var.sh)
Create essential directories and upload installation files
- Create the /FBOX directory under the / directory.
[root@filingbox ~]# mkdir /FBOX
[root@filingbox ~]#
- Use an SFTP program to upload and verify the installation files in the /FBOX directory.
[root@filingbox ~]# cd /FBOX
[root@filingbox FBOX]# ls -al
total 735368
drwxr-xr-x. 2 root root 87 Apr 10 19:06 .
dr-xr-xr-x. 18 root root 236 Apr 10 19:00 ..
-rw-r--r--. 1 root root 693274423 Apr 10 19:06 box_enterprise_install_C7.tgz
-rw-r--r--. 1 root root 59740072 Apr 10 19:06 mariadb_local_install_C7.tgz
[root@filingbox FBOX]#
There are two files required for installation, and the mariadb compressed file does not need to be extracted separately.
The uploaded mariadb compressed file name must match the mariadb file name specified in var.sh.
Extracting the installation files and setting up the installation environment (var.sh)
[root@filingbox FBOX]# tar -zxvpf box_enterprise_install_C7.tgz |
The above command will extract the installation files.
[root@filingbox FBOX]# cd box_enterprise_install [root@filingbox box_enterprise_install]# [root@filingbox box_enterprise_install]# vi var.sh |
Navigate to the box_enterprise_install folder and open the var.sh file using the vi editor.
The var.sh file contains the environmental information required for the installation process.
[ What to check in the var.sh file ] # Define the ISO file name for offline installation C7="CentOS-7-x86_64-Everything-2009.iso" C8="CentOS-Stream-8-x86_64-20220816-dvd1.iso" R7="rhel-server-7.9-x86_64-dvd.iso" R8="rhel-8.4-x86_64-dvd.iso" RK8="Rocky-8.6-x86_64-dvd1.iso"
# Define the local MariaDB file name for offline installation (.tgz) CM7="mariadb_local_install_C7" CM8="mariadb_local_install_C8" RM7="mariadb_local_install_R7" RM8="mariadb_local_install_R8" RKM8="mariadb_local_install_RK8"
# Define the folder where MariaDB is extracted DEP_Maria=""
# Define the installation location DIRECTORY=/FBOX
# Define the Tomcat path in advance tomcatPath1="/opt/tomcat" tomcatPath2="/opt/apache-tomcat-7.0.52" |
Verify if the above information is correct.
Since it is predefined and distributed in advance, there is usually no need to modify it during installation.