Deploy after both docker and docker-compose are installed.
Just create a directory
mkdir docker_arl
switch to this directory
cd docker_arl
The following steps are to install pip. If it is already installed, you can jump directly to the wget command to download the lighthouse system file.
(But I'm not sure whether the pip version has an impact. You can also execute all the commands)
Request get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Execute using Python3
python3 get-pip.py
If there is a problem with the environment, you may encounter the following error:
Just append the parameter --break-system-packages to the end of the command.
python3 get-pip.py --break-system-packages
(Actually, I have installed this pip before, so this is equivalent to updating it)
Next, we first download the file of the lighthouse system ARL
wget -O docker2.3.1.zip https://github.com/TophantTechnology/ARL/releases/download/v2.3.1/docker.zip
Because it is downloaded from github, you may encounter a situation where you cannot connect. This can be solved by hanging up a ladder.
Unzip the compressed package
unzip docker2.3.1.zip
and create arl_db
docker volume create --name=arl_db
Next, you can pull the image and use the following command
docker-compose up -d
After the pull is completed, as shown below
Use the command docker ps to view the opened containers, and then use ifconfig to view your own intranet IP
You can find the address of the asset lighthouse system
Here is: 192.168.60.128:5003
visit this address
The default login account and password are: admin and arlpass
So far we have completed the simple deployment of the asset lighthouse system