UBUNTU
After the SECHARD server is Deployed, it is enough to change only the IP address so that its access can be performeddeployed, only the IP address needs to be changed in order to access it. The IP address can be changed by manually editing the installer-config.yaml file.
vi /etc/netplan/00-installer-config.yaml
...
Switch to insert mode and save the file by entering IP address, gateway, DNS and domain information respectively. (press ESC key and type :wq to save)
...
Run the netplan apply command to save the settings made.
...
to prevent Cors attacks we need to go to this file cd /opt/sechard
...
replace IP address with Sechard's IP address
...
CENTOS
After the SECHARD server is deployed, only the IP address needs to be changed in order to access it. The IP address can be changed modified by manually editing the ifcfg-ens160 file or using the NetworkManager Text User Interface nmtui tool.
...
/etc/sysconfig/network-scripts/ifcfg-ens160
...
# sudo systemctl restart network