You are on page 1of 2

ifconfig enp0s3 192.168.178.32 netmask 255.255.255.

route add default gw (ipaddress)

sudo -i

# route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.10.1 dev eth0

sudo a2ensite your_site_name //to enable site

sudo a2enmod ssl //to enable ssl

-----------------------------------------------------------------------------------
--------------

hostname -I | awk '{print $1}' ip in centos

You might also like