{"id":3196,"date":"2016-07-30T22:24:39","date_gmt":"2016-07-30T20:24:39","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=3196"},"modified":"2017-08-21T15:16:28","modified_gmt":"2017-08-21T13:16:28","slug":"redhat","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/redhat\/","title":{"rendered":"RedHat"},"content":{"rendered":"<pre>\r\n<strong>Red Hat<\/strong>\r\n<a href=\"http:\/\/developers.redhat.com\/blog\/2016\/03\/31\/no-cost-rhel-developer-subscription-now-available\/\" target=\"_blank\">http:\/\/developers.redhat.com\/blog\/2016\/03\/31\/no-cost-rhel-developer-subscription-now-available\/<\/a>\r\n<a href=\"http:\/\/developers.redhat.com\/products\/rhel\/get-started\/#tab-vmware\" target=\"_blank\">http:\/\/developers.redhat.com\/products\/rhel\/get-started\/#tab-vmware<\/a>\r\n<a href=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/7\/html\/System_Administrators_Guide\/\" target=\"_blank\">https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/7\/html\/System_Administrators_Guide\/<\/a>\r\n\r\n<strong>show OS version<\/strong>\r\nlsb_release -a\r\n\r\n<strong>Red Hat setup<\/strong>\r\n<a href=\"https:\/\/linuxconfig.org\/rhel-7-solution-to-there-are-no-enabled-repos-message\" target=\"_blank\">https:\/\/linuxconfig.org\/rhel-7-solution-to-there-are-no-enabled-repos-message<\/a>\r\nmkdir \/media\/rhel7-repo-iso\r\n# VMware: make sure Device Status checkbox named Connected is checked!\r\nmount \/dev\/cdrom \/media\/rhel7-repo-iso\/\r\n# or mount the iso file:\r\nmount -o loop \/root\/rhel-server-7.1-x86_64-dvd.iso \/media\/rhel7-repo-iso\/\r\n# create the repo file:\r\ntouch \/etc\/yum.repos.d\/RHEL_7_Disc.repo\r\n# fill in the following content:\r\ncat \/etc\/yum.repos.d\/RHEL_7_Disc.repo\r\n[RHEL_7_Disc] -> make sure to be unique among \/etc\/yum.repos.d\/*.repo\r\nname=RHEL_7_x86_64_Disc\r\nbaseurl=\"file:\/\/\/media\/rhel7-repo-iso\/\"\r\ngpgcheck=0\r\nenabled=1\r\n# view the new repository:\r\nyum repolist\r\n# clear the related caches:\r\nyum clean all\r\nsubscription-manager clean\r\n#\r\n# see <a href=\"https:\/\/adrhc.go.ro\/wordpress\/redhat-centos\/\" target=\"_blank\">https:\/\/adrhc.go.ro\/wordpress\/redhat-centos\/<\/a>\r\n# do My CentOS setup\r\n# do Nux Dextop\r\n# no desktop will work with VMWare 12.1.0 on ASRock with Intel N3150 (including MATE Desktop) but XFCE with xrdp will work!\r\n#\r\n# Now you will be able to install new software on your unregistered RHEL 7 linux box.\r\nyum group list hidden | grep -iP \"GNOME|KDE|MATE|XFCE|Cinnamon\"\r\nyum -y groups install \"Xfce\"\r\n\r\n<strong>remote desktop<\/strong>\r\n# Install first EPEL and Nux Desktop repositories.\r\n# <a href=\"http:\/\/www.itzgeek.com\/how-tos\/linux\/centos-how-tos\/install-xrdp-on-centos-7-rhel-7.html\" target=\"_blank\">http:\/\/www.itzgeek.com\/how-tos\/linux\/centos-how-tos\/install-xrdp-on-centos-7-rhel-7.html<\/a>\r\nyum -y install xrdp tigervnc-server\r\nfirewall-cmd --permanent --zone=public --add-port=3389\/tcp\r\nfirewall-cmd --reload\r\nchcon --type=bin_t \/usr\/sbin\/xrdp\r\nchcon --type=bin_t \/usr\/sbin\/xrdp-sesman\r\nsystemctl start xrdp.service\r\nnetstat -antup | grep xrdp\r\nsystemctl enable xrdp.service\r\nReplace \". \/etc\/X11\/...\" with \"startxfce4\" in \/etc\/xrdp\/startwm.sh.\r\nsudo sed -i s\/\"\\. \\\/etc\\\/X11\\\/Xsession\"\/\"#\\. \\\/etc\\\/X11\\\/Xsession\\n\\tstartxfce4\"\/ \/etc\/xrdp\/startwm.sh\r\nsudo sed -i s\/\"\\. \\\/etc\\\/X11\\\/xinit\\\/Xsession\"\/\"#\\. \\\/etc\\\/X11\\\/Xsession\\n\\tstartxfce4\"\/ \/etc\/xrdp\/startwm.sh\r\nsudo sed -i s\/\"\\. \\\/etc\\\/X11\\\/xdm\\\/Xsession\"\/\"#\\. \\\/etc\\\/X11\\\/Xsession\\n\\tstartxfce4\"\/ \/etc\/xrdp\/startwm.sh\r\n# Make sure you use module \u201csesman-Xvnc\u201d when conncting with your remote desktop client.\r\n\r\n<strong>missing compat-libstdc++-33 required by Oracle<\/strong>\r\n# <a href=\"https:\/\/access.redhat.com\/discussions\/1182083\" target=\"_blank\">https:\/\/access.redhat.com\/discussions\/1182083<\/a>\r\nyum repolist all\r\nyum-config-manager --enable rhel-7-server-optional-rpms\r\n# anyway it didn't work ...\r\n# so I found it here: <a href=\"https:\/\/access.redhat.com\/downloads\/content\/compat-libstdc++-33\/3.2.3-72.el7\/x86_64\/fd431d51\/package\" target=\"_blank\">https:\/\/access.redhat.com\/downloads\/content\/compat-libstdc++-33\/3.2.3-72.el7\/x86_64\/fd431d51\/package<\/a>\r\nwget -O compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm <a href=\"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\" target=\"_blank\">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<\/a>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/redhat\/#more-3196\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">RedHat<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,37],"tags":[],"class_list":["post-3196","post","type-post","status-publish","format-standard","hentry","category-linux","category-redhat"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=3196"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3196\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=3196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=3196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=3196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}