Tag: CentOS

Linux Logo

Linux Centos 6 PYCURL ERROR 6 error RESOLVED!

A particular virtual machine running Linux CentOS 6.5 had been problematic when it came to yum updates. The result always ended with a PYCURL ERROR 6 – Couldn’t resolve host. After spending way too much time towards resolution, a solution finally came to light. The configuration of the system is a Linux CentOS 6.5 build with two network cards. One…

Read More »

Break the 2TB limit in Linux with gdisk

Without going into too much detail, for over 30 years the MBR has been the hard drive partition standard, which has a 2TB limit. GPT replaces MBR with one of it’s key benefits, exceeding the 2TB limit. While the fdisk tool is dated, there are several other tools that handle 2TB drives and beyond. gdisk One such tool, is gdisk,…

Read More »

[Resolved] Katello client returns 403 PYCURL errors when using yum

While testing a client connection to a Katello server, the client returns an error when any yum command is issued. The error is quite visible with [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 403 Forbidden”, however, it is not quite clear. While the environments will likely vary, this is the environment used for this test. Environment…

Read More »
Virtualbox Logo

Use Your VPN Connection in a Linux CentOS VirtualBox Instance

Running Oracle’s VirtualBox on a Microsoft Windows 7 desktop to test applications and operating systems has proven to be very productive. As a result of a VPN connection using Citrix, a VirtualBox VM of CentOS 6.5 Linux could not connect to the remote network. After combing through the Internet, a solution is born. I know that there are many variables…

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 »

Convert a CentOS 6 install to a Scientific Linux 6 install

CentOS, Scientific Linux (“SL”), and Oracle Linux are all based on the Red Hat Enterprise Linux (“RHEL”) code base. Though there are differences between them, the similarities are more than not. For whatever the reason, there are documented processes that permit the conversion from one of the aforementioned Linux distros to another. This conversion will document another approach based on…

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 »

How to change the IP address of a Linux computer using a script

There was a CentOS server where the IP address needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script. This may not be all inclusive, but it did work for me on a CentOS 5.8 server. To use this script,…

Read More »
Linux Logo

Linux server with incorrect date [FIXED]

Every now and again, a server may lose its date and time. One pesky server is continuously using the incorrect date and time. If there was only a way to change the system date. There is, and the easiest way to correct this is by using a simple little command called – date. There are a couple of ways to…

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 »

Install Java JDK on CentOS without prompts using an automated script!

If you have ever installed Java Development Kit (“JDK”) on a Red Hat Enterprise Linux (“RHEL”) 5.x or CentOS 5.x operating system (“OS”), then you are aware of how manual the installation can be. Prompt after prompt to install. After a lot of research and testing, here is a completely automated script to install JDK on a CentOS or RHEL…

Read More »

Automated Scripted Install of WordPress on CentOS/RHEL Linux

Many WordPress users have enjoyed WordPress using an Internet host provider or on an XAMPP installation on a Windows installation. This exercise is a combination of several guides with some personal tweaks to install WordPress 3.5.1 on a fresh install of of CentOS 5/6 or Red Hat Enterprise Linux (RHEL) 5/6 using PHP 5.2.4+. Install Packages Using yum install MySQL,…

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 »

Linux command tips – ifconfig

This is part of my series, useful Linux commands and tips. The ifconfig (short for interface configurator), a system administration utility to configure, control, and query TCP/IP network interface parameters, is located in the system’s /sbin directory. /sbin is not usually included in the user’s PATH environment variable. For this reason, when you attempt to execute ifconfig, bash can not…

Read More »