Table of Content

download iso

Red Hat Enterprise Linux 7.3 is free download for developers, you can get from here. You need to register for download, this account also needed for subscription after installation later on.
https://developers.redhat.com/downloads/

CentOS 7 is community-driven free, kind of community version of RedHat.
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1611.iso

vmware config

1 CPU
4G memory
100GB harddisk
network: NAT

NAT interface not up

after installtion in vmware, found NAT interface ens33 not up after boot, somehow the ONBOOT is no in /etc/sysconfig/network-scripts/ifcfg-ens33:

ONBOOT=no

change to yes and reboot, issue solved.

subscription for Redhat

first thing needed is to register even it is free, otherwise you cannot update and install any new software.

[root@redhat7 ~]# subscription-manager register --username --password --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: XXXX

no register needed for CentOS.

verify NAT internet access

make sure can access to Internet

# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 192.168.100.2

# ping google.ca
PING google.ca (172.217.9.3) 56(84) bytes of data.
64 bytes from dfw28s02-in-f3.1e100.net (172.217.9.3): icmp_seq=1 ttl=128 time=49.4 ms

ssh server on vm

# systemctl status sshd.service

if it is not running, restart it

# systemctl restart sshd.service

then you can ssh from host to vm server using putty for rest works.

update packages

# yum update -y
# yum install git -y
# yum install python-setuptools -y
# easy_install --upgrade pip

hgfs share folder

vmware tools not working for hgfs, only solution is to use open-vm-tools,

# git clone https://github.com/rasa/vmware-tools-patches.git
# cd vmware-tools-patches
# ./patched-open-vm-tools.sh

reboot the hgfs still not show up, however it works when manually mount it:

# vmhgfs-fuse .host:/ /mnt/hgfs
# ll /mnt/hgfs

If you need to mount it permanently mount after each reboot, can place mount in /etc/fstab:

/etc/fstab
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

make sure it is empty under /mnt/hgfs