Installing Shaark on Fedora CoreOS Latest
In this tutorial, we will guide you through the installation process of Shaark on Fedora CoreOS Latest.
Prerequisites
Before proceeding with the installation, make sure you have the following prerequisites:
- A running instance of Fedora CoreOS Latest
- SSH access to your Fedora CoreOS Latest instance
- Basic knowledge of Linux command-line interface (CLI)
Steps
Connect to your Fedora CoreOS Latest instance via SSH.
ssh fedora@<ip_address>Install Docker on your Fedora CoreOS Latest instance using the following command:
sudo rpm-ostree install dockerStart the Docker service using the following command:
sudo systemctl start dockerClone the latest version of Shaark from its Github repository using the following command:
git clone https://github.com/MarceauKa/shaarkNavigate to the Shaark directory using the following command:
cd shaarkBuild the Shaark Docker image using the following command:
sudo docker build -t shaark .Start the Shaark Docker container using the following command:
sudo docker run -p 3000:3000 -v $(pwd)/config:/usr/src/app/config -d shaarkThe above command will expose Shaark on port 3000 and mount the config folder inside the container from your local file system.
Verify that Shaark is running by accessing it through your web browser. To do so, type in the following URL into your web browser's address bar:
http://<ip_address>:3000/
You have just installed Shaark on Fedora CoreOS Latest. You should now be able to access Shaark through your web browser and start analyzing your network traffic data.