Sunday, November 1, 2020

Linux setup on VMware

Setup Bridged Network adapter Select both boot and dvd iso files. rhel-server-7.7-x86_64-boot.iso rhel-server-7.7-x86_64-dvd.iso Select "Software Selection" select "Server with GUI" and other options
Select "Network & Hostname" Apply the changes
Stop firewall rules systemctl disable firewalld 

If not selected during installation then follow below

Type the following command 
to edit /etc/hostname using vi text 
editor: sudo vi /etc/hostname Delete the old name and setup new name. 

Example: cat /etc/hostname statebank 
Next Edit the /etc/hosts file: sudo nano /etc/hosts 
Replace any occurrence of the existing computer name with your new one 

 Example: cat /etc/hosts 127.0.0.1 statebank localhost.localdomain localhost4 localhost4.localdomain4 ::1 statebank localhost.localdomain localhost6 localhost6.localdomain6 

 Reboot the system to changes take effect: sudo 
reboot Good file looking like this 
/etc/sysconfig/network-scripts/ifcfg-eth0 TYPE="Ethernet" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="dhcp" DEFROUTE="yes" IPV4_FAILURE_FATAL="no" IPV6INIT="yes" IPV6_AUTOCONF="yes" IPV6_DEFROUTE="yes" IPV6_FAILURE_FATAL="no" IPV6_ADDR_GEN_MODE="stable-privacy" NAME="enp0s3" UUID="43558b3d-8a5d-4555-b105-c61eb883b0b1" DEVICE="enp0s3" ONBOOT="yes"

No comments:

Post a Comment