With the release of Java 10 only a few days ago, it seems only prudent to update to Java 10 on suitable systems since the support for Java 9 official ends with the release of Java 10. (Note that Java 8 still enjoys long-time support, so it might be the best choice to stick with … Continue reading Upgrade to Oracle JDK 10 on CentOS/RHEL
Tag: centos
Configuring an initd Service for node_exporter
I recently wrote an article showing how to configure Prometheus and Grafana for easy metrics collection. In that article, I assumed that the system which should be monitored would use the systemd approach for defining services. I now had to set up the node_exporter utility on a system which uses the initd approach. Thus, I … Continue reading Configuring an initd Service for node_exporter
Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring
As mentioned in my previous post, I have long been looking for a centralised solution for collecting logs and monitoring metrics. I think my search was unsuccessful since I was looking for too many things in one solution. Instead I found now two separate solutions, one for log management (using Graylog) and one for metrics … Continue reading Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring
Installing Jenkins on Centos 7
I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7
Upgrade MySQL 5.5 to 5.6 on EC2/CentOS/RHEL
Problem You would like to upgrade MySQL 5.5 to MySQL 5.6 on an existing server that uses the YUM software package manager. Solution Just enter the following few simple commands and you should be good to go. But, please, do a thorough full backup of your system before you do the upgrade just in case. … Continue reading Upgrade MySQL 5.5 to 5.6 on EC2/CentOS/RHEL
Cannot Install VirtualBox Guest Additions: Installer Hangs
Problem For a CentOS based guest, the update of the VirtualBox Guest Additions hangs after the step: "Removing exiting VirtualBox non-DKMS kernel modules" Solutions Check the log file in /var/log/VBoxGuestAdditions-uninstall.log. See if there is anything obvious reported there you can fix. Check if your RAM disks are valid by running the command `sudo lsinitrd`. If … Continue reading Cannot Install VirtualBox Guest Additions: Installer Hangs
newrelic service doesn’t start on CentOS: Solution Run as Root
Today one of my virtual servers suddenly showed up as offline in my New Relic console (Which is an amazing tool and free by the way). I checked the log file /var/log/newrelic/nrsysmond.log and it had these contents: 2015-08-15 02:06:04.512 (915) error: nria_context_create(): SIGAR_OK != status; goto error; status=13 2015-08-15 02:06:04.512 (915) error: nria_context_create(): in error … Continue reading newrelic service doesn’t start on CentOS: Solution Run as Root
Access Apache on VirtualBox OS from Host OS
Problem You have a RHEL or CentOS 6 VirtualBox Virtual Machine and a Windows or other host and would like to access a web server on the VM from the Host OS. Solution Assure that the Apache Web Server is available and started on the guest OS: `sudo httpd start` Assure that firewall allows the … Continue reading Access Apache on VirtualBox OS from Host OS