Supported Environment Platforms: -
Any VM or system with Docker support should be able to host PSknowHOW, it can be deployed in SapeCloud, Azure, AWS, Google Cloud, SapeCloud of client infrastructure etc,
Supported Operating Systems:
PSknowHOW can be installed on any version of Linux and Windows 10 and above with Docker and Python support .
PSknowHOW has been tested on RHEL 7.* , Ubuntu, Centos and Windows.
...
Recommended Hardware Requirements:
(5-20 projects)
...
Minimum Hardware Requirements:
(1-5 project)
...
CPU 2 cores
...
CPU 2 cores
...
RAM 32 GB
...
RAM 16 GB
...
Hard Disk 70 - 100 GB
...
Hard Disk 50 - 70 GB
...
Root 50 GB
...
Root 50 GB
Required Softwares :
...
Linux
...
Windows/Mac
...
Docker
...
Docker for Desktop
...
docker compose
...
Python3
...
pip
...
wget
...
curl
...
zip
Alternatively , you can run below script to setup the prerequisites (Linux only) , so to do this download the file execute following commands.
Download the attached Setup-Prerequisites-V3.0.zip file to your linux machine and execute the bellow commands.
View file | ||
---|---|---|
|
Code Block |
---|
unzip Setup-Prerequisites-V4.0.zip
cd Setup-Prerequisites-V4.0
chmod +x Setup-Prerequisites-V4.0.sh
./Setup-Prerequisites-V4.0.sh |
Ports Required
The Following ports need to open to accept inbound traffic
...
External Traffic
...
Internal
...
22
...
8080
...
80
...
27017
...
443
Note:
RAM consumption can vary depending on the cron frequency and response payload
Currently CRON is set to every 2 hours to pull the data from connected tools.
FAQ
VM Space Tips (Optional)
Docker by default uses the space from /root directory to store the docker related date, in case /root directory is low on space the default docker directory can be changed to other directory having enough space by following the below steps:
Initial Setup:
Code Block |
---|
mkdir -p /etc/systemd/system/docker.service.d
vi /etc/systemd/system/docker.service.d/docker.conf |
Add following into above file, but prior to that please check the storage driver used by your server by running :docker info |grep "Storage Driver" and put the output i.e.. "overlay or devicemapper" in below content
Code Block |
---|
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --graph=<dir_having_enough_space> --storage-driver=<output of docker info |grep "Storage Driver"> |
...
Code Block |
---|
sudo systemctl stop docker
sudo systemctl daemon-reload
sudo systemctl start docker |
...
Move contents of folder /var/lib/docker to preferred directory to copy the old images:
Code Block |
---|
mv /var/lib/docker <new app dir>
vi /etc/systemd/system/docker.service.d/docker.conf |
Add following into above file, but prior to that please check the storage driver used by your server by running :docker info |grep "Storage Driver" and put the output i.e.. "overlay or devicemapper" in below content
Code Block |
---|
[Service]
ExecStart= ExecStart=/usr/bin/dockerd --graph=<new_dir_having_enough_space> --storage-driver=<output of docker info |grep "Storage Driver"> |
...
Code Block |
---|
sudo systemctl stop docker
sudo systemctl daemon-reload
sudo systemctl start docker |
Verify using below command result should contain the provided dir :
...
Installing Via Compose file -
Env Variable Update
IP Address Update
Installing in Serverless Cloud