How To Setup Local CVE API Server
3 min read 6 days ago
Guided Steps for Setting Up a Local CVE API Server on Rocky Linux 8, Redhat 8, and CentOS 8
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…