Install MATE Desktop on CentOS 7

Tonight I started to review the learning material for Red Hat System Administration III to prepare for RHCSE exam. I need a machine with GUI, and all my CentOS 7 VMs are headless. So let’s install the GUI on it, shall I? First install epel repo, if it’s not yet installed: Then install the 2 groups: Tip, if “I” can’t remember the names of the groups, I can run this command to list all available groups:...

June 13, 2018 · 1 min · 141 words · kenno

grep: error while loading shared libraries: libpcre.so.0

I have a server running CentOS 6 successfully upgraded to CentOS 7. The only problem I encountered so far is that ‘grep’ doesn’t work. First thing I tried was to reinstall pcre package which provides libpcre.so*. It still didn’t work. Fortunately, someone has posted a solution as the following: Credit: update to Centos 7; libpcre.so.0 No such file or directory

July 1, 2016 · 1 min · 60 words · kenno

ISC Dhcpd Duplicate UID Lease

Someone asked this question in one of his blog posts: Yes, I’m seeing something like that now in the my dhdcp logs. Here is the actual message: I think I know why this happened. Basically, the machine with MAC address of ’08:00:27:6e:61:b8′ used to have grab an IP address from the pool. Then later on, I have created a reservation for it. On Centos 7, the lease file is located at: /var/lib/dhcpd/dhcpd....

June 25, 2015 · 1 min · 98 words · kenno

YUM what provides this file, huh?

This post is primarily written to remind myself, an Ubuntu user, to figure out how to find what RPM package provides a file — for example a header file. Today, I’m trying to compile and install R 3.1.3 on CentOS 6 from source code. This R installation is one of the requirements to install Tessera stack. The instruction from the installation page is: Unfortunately, the process failed with ./configure with the complain about missing readline library....

June 24, 2015 · 1 min · 136 words · kenno

Good permission for /tmp

I have been having issues getting X2Go running on a CentOS 6.5 box. It took me a while to figure out that the problem laid with the permission of /tmp directory. I’ll write how to solve the X2Go problem in another post. The recommended permission for /tmp is 1777. Notice that the forwarding ‘1’ is the sticky bit which only allows the owner of the file within /tmp (or the root user) to delete/rename the file....

February 16, 2015 · 1 min · 76 words · kenno