Tag: rhel

How to adapt the scap-security-guide for DISA CIS for CentOS8 Linux

The scap-security-guide changes in format with each new guide.  CentOS 8 is not fully represented within the guide.  The XMLs provided differ in context, so the RHEL XML must be used to generate the report but requires a small patch to do so. The CUI Profile The ssg-rhel8-ds-1.2.xml contains the profile cui, while the one for ssg-centos8-ds-1.2.xml does not. [root@admin…

Read More »

Spacewalk Certificate expiration warning [Resolved] 2018

I’m not going to go into detail as to what spacewalk is and what this message is all about, you are here for a reason.  You may have received an auto-generated email from Spacewalk to “inform you that your Spacewalk Certificate has expired on your [fqdn] server. After 4 day(s) the systems management services provided by your Spacewalk Server will…

Read More »
Linux Logo

Linux: The Bash Bug Test and Fix

A bug which could allow for arbitrary code execution has been discovered, Red Hat alerted, and patches exist. So, I simple yum update should take care of things. However, Red Hat offers command line arguments which may be used to test for the vulnerability. Using the command issued below, different warnings may appear, however, the following result is one of…

Read More »
Linux Logo

One Way to “sysprep” a Linux Template to Clone

An anoyance with cloning a Linux virtual machine is that the /etc/sysconfig/network-scripts/ifcfg-eth0 file may contain a UUID and HWADDR which can be removed and the /etc/udev/rules.d/70-persistent-net.rules can be deleted or zero’ed out. So, here are the steps I use to create a “template”. After cloning the system, the first screen should be the option to set a root password. Since,…

Read More »

Install Adobe Reader on CentOS 6.5

While perusing through the Internet, I found this site called iF !1 0 “If Not True then False“. I found this write-up on how to install Adobe Reader on one of many different flavors on Linux. I couldn’t pass up on this, since I was in the hunt for Adobe Reader. The process worked great, so here is my slight…

Read More »

The Easiest Method To Install Adobe Flash on CentOS/RHEL

This should be easy, install Adobe Flash on a Linux operating system to watch Youtube videos in Firefox. After an hour or so fighting with Adobe Flash, through every method I could find on the Internet, I finally found one that worked, the first time! There are many who write of downloading a compressed file and extracting the needed file…

Read More »

Linux: A Homemade script to monitor your websites

It was discovered days later that one of my websites was offline displaying only 500 error messages. As it turned out, it was as a result of the .htaccess files. The .htaccess files did not include <IfModule XXXXX> </IfModule> around the directives. Tracking down the offending lines, it was determined that the lines were all part of the mod_headers.c module….

Read More »

A Quick Guide to VNC Server on CentOS 6

After searching through several guides, all complete in one way or another, however, not complete enough, I put the pieces together into this guide. This particular configuration is a basic VNC server with two users. After creating the second user, the process can be repeated for additional users. Install the VNC Server Edit the /etc/sysconfig/vncservers file. Note that on the…

Read More »

Install JBoss on CentOS with Two Scripts

Several years ago, I wrote a set of instructions how to install JBoss on a RHEL / CentOS Linux operating system. Then, the procedure utilized the GUI, mouse clicks, and the terminal. Well, as my comfort level with Linux has grown, so has the instructions into a script. A prerequisite for JBoss is Java JDK. For JBoss 5.1.0.GA, I elected…

Read More »
Linux Logo

VMware – RHEL / CentOS 6.2 Network Issues

After installing CentOS 6.2 i386 minimal ISO as a VMware virtual machine, immediate attempts to perform a yum update failed. The virtual machine network is bridged to the host computer. Pings to the router were successful, however, after some Internet searches, a solution that remediated this situation was found. Before getting to the “fix”. An attempt to change the network…

Read More »

How to uninstall Java for LInux

If the native Java for Linux has been installed and the goal is to remove it from the system and install the Oracle Java JDK. Here are the steps to do just that. This is here for reference, I have not fully tested this, in that the installation I was verifying did not have JRE as indicated in the original…

Read More »

Apache Logs Fail to Logrotate – RESOLVED

A server running Red Hat Enterprise Linux (RHEL) 5.5 after a period of time of successful log rotation, failed to logrotate the Apache logs. The Apache logs grew into the GBs. There didn’t seem to be any apparent or logical reason for this behavior, as the log rotation scripts were identical to other comparable servers. However, a command to debug…

Read More »

Update RHEL5 using YUM package via CentOS online sources

Compelling reasons why anyone would want to do this is that your trial period has expired, your support agreement has expired and you do not want to renew it, your system may be outdated, you want to install another application, or you just wanted to see if it could be done. Before continue reading, after testing this exercise and applying…

Read More »

Handling X11 Forwarding Using SSH

This will guide you through the steps to access a Linux server, specifically, a Red hat Enterprise Linux 5.4 or CentOS 5.4 server, through the use of PuTTy and Xming. It is a relatively simple setup that will require only two freeware products and a quick verificatino of setting on the Linux server. With the use of these two tools…

Read More »

Linux script with bad interpreter: No such file or directory error and fix

I had written a script that worked on one machine but not another Linux installation, Red Hat Enterprise Linux 5. The script returned an error with “bad interpreter: No such file or directory” and referenced the first line of code. I could not visually see the error as it looked to be like any other script. The problem turns out…

Read More »

Autorun JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server

You already have JBoss ready and operational. JBoss can be started through a command line or through a shell script that you have created; however, these steps are manual and an automated approach is desired. The goal is to automate JBoss as a service or daemon. There are many, many tutorials that are all over the internet that offer scripts…

Read More »

Create a service for JIRA on CentOS 5 or RHEL 5

Atlassian JIRA is a bug and issue tracker. Atlassian JIRA lets you priorities, assign, track, report and audit your ‘issues,’ whatever they may be — from software bugs and help-desk tickets to project tasks and change requests. After installing JIRA, on a CentOS 5.2 Linux installation, I wanted to automate the starting and stopping of JIRA by creating a service….

Read More »