The FineOps installation directory is essential to associate the FineOps file on the host machine with files in the container. It is used to realize data persistence and quick document viewing.
This article briefly describes how to prepare the installation directory.
Checking the Server Disk Space
Use the df-h command to find a mounting point with large free space. In this example, the most appropriate mounting directory for the server is the/home directory.
Creating a Folder
Select an appropriate position in this directory and create a folder to form the FineOps installation directory.
Use the mkdir command to create a folder. (E.g., create a folder named fanruan in the /home directory.)
mkdir/home/fanruan
Use the chmod command to set the permissions on the folder. (E.g., assign 777 permissions.)
chmod 777/home/fanruan
The /home/fanruan directory is the value of dataRootPath in the finekey.yaml file when you deploy FineOps.