RedHat

Red Hat
http://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/
http://developers.redhat.com/products/rhel/get-started/#tab-vmware
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/

show OS version
lsb_release -a

Red Hat setup
https://linuxconfig.org/rhel-7-solution-to-there-are-no-enabled-repos-message
mkdir /media/rhel7-repo-iso
# VMware: make sure Device Status checkbox named Connected is checked!
mount /dev/cdrom /media/rhel7-repo-iso/
# or mount the iso file:
mount -o loop /root/rhel-server-7.1-x86_64-dvd.iso /media/rhel7-repo-iso/
# create the repo file:
touch /etc/yum.repos.d/RHEL_7_Disc.repo
# fill in the following content:
cat /etc/yum.repos.d/RHEL_7_Disc.repo
[RHEL_7_Disc] -> make sure to be unique among /etc/yum.repos.d/*.repo
name=RHEL_7_x86_64_Disc
baseurl="file:///media/rhel7-repo-iso/"
gpgcheck=0
enabled=1
# view the new repository:
yum repolist
# clear the related caches:
yum clean all
subscription-manager clean
#
# see https://adrhc.go.ro/wordpress/redhat-centos/
# do My CentOS setup
# do Nux Dextop
# no desktop will work with VMWare 12.1.0 on ASRock with Intel N3150 (including MATE Desktop) but XFCE with xrdp will work!
#
# Now you will be able to install new software on your unregistered RHEL 7 linux box.
yum group list hidden | grep -iP "GNOME|KDE|MATE|XFCE|Cinnamon"
yum -y groups install "Xfce"

remote desktop
# Install first EPEL and Nux Desktop repositories.
# http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html
yum -y install xrdp tigervnc-server
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman
systemctl start xrdp.service
netstat -antup | grep xrdp
systemctl enable xrdp.service
Replace ". /etc/X11/..." with "startxfce4" in /etc/xrdp/startwm.sh.
sudo sed -i s/"\. \/etc\/X11\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/startwm.sh
sudo sed -i s/"\. \/etc\/X11\/xinit\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/startwm.sh
sudo sed -i s/"\. \/etc\/X11\/xdm\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/startwm.sh
# Make sure you use module “sesman-Xvnc” when conncting with your remote desktop client.

missing compat-libstdc++-33 required by Oracle
# https://access.redhat.com/discussions/1182083
yum repolist all
yum-config-manager --enable rhel-7-server-optional-rpms
# anyway it didn't work ...
# so I found it here: https://access.redhat.com/downloads/content/compat-libstdc++-33/3.2.3-72.el7/x86_64/fd431d51/package
wget -O compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm https://access.cdn.redhat.com//content/origin/rpms/compat-libstdc++-33/3.2.3/72.el7/fd431d51/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm?_auth_=1469872436_8ba1708561e657273933106fa6efbe9b

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.