Showing posts with label IP. Show all posts
Showing posts with label IP. Show all posts

Tuesday, June 14, 2022

How to add additional IP address to CentOS 7 using command


Navigate to the network interface configuration folder using the following command:
cd /etc/sysconfig/network-scripts

Create a new virtual interface with:
nano ifcfg-eth0:0

The file will be created and opened with the text-editor “nano”. Now the following paragraphs must be added:

DEVICE=eth0:0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.51.100.42
NETMASK=255.255.255.255


systemctl restart network
or
sudo reboot 

See the video:https://youtu.be/-Y5LXdpnEYY
Followed by: Contabo VPS

Command to install direct admin on ubuntu 22.04

 sudo apt update sudo apt upgrade sudo apt install wget gcc g++ make flex bison openssl libssl-dev cd /usr/local/src wget https://www.direct...