https://tools.publicis.sapient.com/confluence/display/DOJOS/KnowHOW+|+How+to+Setup
...
Supported Environment Platforms: -
Any VM or system with Docker support should be able to host knowHOW, 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: | Minimum Hardware Requirements: |
---|---|
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 :
git
wget
curl
Docker
docker compose
Python3
pip
J2
Alternatively , you can run below script to setup the prerequisites , so to do this download the file execute following commands.
chmod +x Setup-Prerequisites-V3.0.sh
Execute Setup-Prerequisites-V3.0.sh
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.
VM Space Tips (Optional)
Docker by default uses the space from /root dir to store the docker images, in case /root dir is low on space the default docker dir can be changed to any other dir having enough space by following the below steps:
Initial Setup:
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"> |
Save the file and run below commands:
Code Block |
---|
sudo systemctl stop docker
sudo systemctl daemon-reload
sudo systemctl start docker |
If Docker is already setup :
Move content of folder /var/lib/docker to new dir to copy the old images: 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"> |
Save the file and run below commands:
Code Block |
---|
sudo systemctl stop docker
sudo systemctl daemon-reload
sudo systemctl start docker |
Verify using below command result should contain the provided dir :
docker info |grep "Docker Root Dir:"