How To Setup Local CVE API Server

Tamir Suliman
3 min read6 days ago

Guided Steps for Setting Up a Local CVE API Server on Rocky Linux 8, Redhat 8, and CentOS 8

Photo by imgix on Unsplash

I have came across an article on “how to setup local cve API server on Ubuntu” and I thought that it would be beneficial to enhance it for every one and attempt to adapt the instructions , focusing on the unique aspects of CentOS or Rocky Linux 8, and Red Hat 8.

Install Python3 and Python3 pip :

sudo dnf install python3 python3-pip git vim -y 

Set Up MongoDB:

sudo tee /etc/yum.repos.d/mongodb-org-4.4.repo <<EOL
[mongodb-org-4.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/4.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc
EOL

Start and Enable MongoDB Service:

sudo dnf install mongodb-org -y
sudo systemctl enable mongod
sudo systemctl start mongod
sudo systemctl status mongod

Set Up Redis:

sudo dnf install redis -y 

sudo systemctl enable redis
sudo systemctl start redis
sudo systemctl status redis

Set Up CVE-Search:

Clone the CVE-Search repository and install its requirements:


git clone https://github.com/cve-search/cve-search.git…

--

--

Tamir Suliman
Tamir Suliman

Written by Tamir Suliman

Writer, Engineer, Cyber security enthusiast ,PhD. Candidate & 4 Open Source write about my day to day experience in Software Data, and Engineering.

Responses (1)