Microsoft Windows 7 Hidden Modes

Microsoft has a little gem some have called “GodMode“, but there are actually 16 of them. These modes are easy to add to your computer. Simply create a folder and name them with a specific name. Setup GodMode From the desktop: Here is a list of the modes that you would use to replace the {xxxx-xxx-xxx-xxx} above: {ED7BA470-8E54-465E-825C-99712043E01C} {00C6D95F-329C-409a-81D7-C46C66EA7F33} {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}…

Read More »
Linux Logo

Use grep or awk to eliminate blank lines and comments

A configuration file, specifically, the /etc/samba/smb.conf file contains many lines of comments using both the simi-colon (“;“) and the hash (“#“) as well as many empty lines that are either blank or contain whitespace. Using grep to view the file without these lines is one way to do so. To write the correct command can be a bit more challenging….

Read More »
Linux Logo

Set the Envionrment Variable in CentOS through Best Practice

In the past, to make an environment variable perminant, I would append to the /etc/profile file the environment variable for JAVA_HOME for example and update the PATH. While this does work, it has recently come to my attention that a more appropriate and easier method exists which does not involve editing the /etc/profile file. For this example, the environment variable,…

Read More »
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 »

Enable or Disable Javascript in Firefox

For some time, the option to enable or disable javascript from within Mozilla Firefox was relatively easy to find. Although the option moved from place to place on the tool bar and in the menu options, the option was there. Since Firefox 23, this option was removed from an obvious place to the obscure. It has been suggested that this…

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 »

Unregister a Host from RHN Spacewalk

If yum updates or yum anything provides a network error or if you simply want to unregister the system from a managed server like RHN Classic, Red Hat Satellite, Katello, or Spacewalk, there is a only one file in the way. If presented with an error similar to this: To resolve delete one file. or gzip them temporarily. To revert…

Read More »

How to increase yum download speeds

A method to increase the yum download speed is to install the yum-plugin-fastestmirror yum plugin. While this in itself increases the download speeds and decreases the download times, there is yet another plugin to be added. An article titled, Turbo Charge Yum with Fastest Mirror and AxelGet Plugins, provided the foundation for this script to simplify the installation and configuration…

Read More »

Create a service for JIRA for Linux

Atlassian JIRA is a bug and issue tracker. Atlassian JIRA lets you priorities, assign, track, report and audit issues from software bugs, helpdesk tickets, project tasks to change requests. On a CentOS 6.5 Linux install, an instance of JIRA was installed. Upon completion, a service to automate the start, stop, restart, and status needed to be created manually. One of…

Read More »
Confluence Logo

Atlassian Confluence: Restoring Spaces Between Major Releases

In an existing environment with Atlassian Confluence is installed, the likelihood of maintaining version updates as often as they should become available is generally unlikely. As these updates come to pass so does the diminishing possibility that an exported space from one installation may be imported into another installation. A case for importing spaces between installations would be for maintaining…

Read More »
Virtualbox Logo

Critical Error Failed to Create the VirtualBox COM object error and resolution

VirtualBox will not start and present a Critical Error dialog box which reads “Failed to create the VirtualBox COM object. The application will now terminate.” If you select Details for additional information, it may offer something similar to this error, if not the same, Callee RC: CO_E_SERVER_EXEC_FAILURE (0x80080005). Here is a solution that worked in this case and will get…

Read More »

Use blkid or lsblk to display UUID

Knowing the UUID (“Universally Unique Identifier”) of a device is important in the event of creating a permanent mount point using /etc/fstab. Of course, the name of the device may be used, however, using the UUID is the current trend. There are benefits to this trend. The identifier will likely not be used by anything else so that there will…

Read More »

The yum grouplist command

The yum grouplist command can identify available package groups from the configured repositories. However, through a terminal window, the list is considerable when the language support is factored into the equation. For a Linux CentOS 6.4 x86_64 install, there are 206 package groups. Here are a few commands that may help. To determine the number of package groups that exist….

Read More »

Configure sftp with /home chroot

While there are many resources dedicated to this very configuration, it was difficult to make any one of them work. The current configuration is CentOS 6.5. Here is the script to get a fully-functional sFTP server with chroot using the /home directories.

Read More »

Linux List Partitions with fdisk

There are several commands that may be used to list the partitions of a Linux computer. Likely the most common one is the fdisk command. While it fdisk command is capable of just about anything, I am not always in the need to see all the information that listing the partitions provides, particularly when there are many partitions. So, I…

Read More »

Match empty lines and commented lines using grep

An example of a configuration file with many commented lines is /etc/sysctl.conf. If you wanted to display the contents of the file without the commented lines, the following command may be issued. However the resulting contents will be displayed with the remaining blank lines. To get around this one of a couple of commands may be issued. Source(s) http://stackoverflow.com/questions/18566169/match-empty-lines-in-a-file-grep http://stackoverflow.com/questions/3432555/remove-blank-lines-with-grep

Read More »