Category: Linux

Activate cPanel Hotlink Protection and get 403 and 404 errors.

cPanel has become a standard for turning standalone servers into automated hosting platforms. Tasks are replaced by web interfaces and API-based calls. cPanel is designed with multiple levels of administration and provide multiple levels provide security, ease of use, and flexibility for everyone from the server administrator to the email account user. One of cPanel’s features is under the Security…

Read More »

Enable the root user in Ubuntu 8.1.0

Many Linux distributions permit the use of the root user as a primary login, however, the dominant and popular Ubuntu has left some users in a conundrum. In order to perform tasks as a root user, this must be performed within a terminal window with the sudo command. However, here are a set of instructions that will allow the root…

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 »

How-to merge JIRA instances UPDATED

A situation developed where two independent installations of JIRA needed to be combined into a single installation. The problem, however, is no native built-in capabilities to allow for this. This would not be such a simple task, however, someone developed a process to achieve this goal. Still not a simple task. This process has not been updated in a while,…

Read More »

Configure Sockso 1.1.1 Personal Media Server to use MySQL

Sockso is a free, open-source, personal music server. It’s designed to be as simple as possible so that anyone with a mouse and some mp3’s can get their friends listening to their music across the internet or intranet in seconds! Having tested the latest version 1.1.1, I have found that this application to be quite efficent and useful in it’s…

Read More »

Connect to VNCServer on Red Hat Enterprise Linux

Virtual Network Computing (VNC) is remote control software to allow computers interact with one another as a server and client. It is developed to ease the administration of remote machines without using the console. For Windows users, there may be a a familiar feel similar to that of Windows Terminal Services (RDP). VNCServer is standard on a Red Hat Enterprise…

Read More »

Setup JBoss on Ubuntu 8.1.0 Server Edition

A recent task was to setup a JBoss Application Server on a Linux box. I created an Ubuntu 8.10 server virtual machine on a VMware Workstation. This was a fresh install of the core operating system only, no optional installation packages were added during the installation. I started from scratch, as too many guides make too many assumptions in their…

Read More »

Use netstat in Linux to determine port conflicts

I installed an application that required port 8080. I was unable to execute the application as port 8080 was already in use. Unable to determine which application, I changed the setting for the application I had just installed to port 8090. Success. However, I still wanted to know if anything was running on port 8080. Like Windows, Linux has a…

Read More »

WordPress MU Virtual Machine

To get my feet wet, I wanted to test an installation of WordPress MU (multi-user) edition. The installation seems too problematic on a Windows workstation, even when running in an environment such as AppServ , WAMP, XAMPP, or Uniform Server. My preference is XAMPP. I have tested and used all these environments. I originally preferred the Uniform Server as it…

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 »

Windows Vista Default Folder Template Patch

Based on the contents of a folder, Windows Vista will attempt to select a default view. In more cases than not, Windows Vista selects a view that is inconsistent with the folder content or most likely not the desirable view. An example of this may be a folder of documents and pictures and the default view will be for Music…

Read More »

Access Red Hat Enterprise Linux 5 with XManager Remote Control

NetSarnag Computer, Inc. offers a product called XManager 3 that will enable a Windows workstation to access a Linux box. However, there are some configuration changes that need to be made on the Linux box for this application to work. The documentation offered by netSarang Computer, Inc. is far from accurate as it looks outdated. Too many assumptions are made….

Read More »

CentOS 5.2 Linux install error on VMWare

Before, I continue, I want to preface this with I am a novice with Linux. Having played with Ubuntu versions 6 through 8, I never really could get into this particular distro of Linux as I understand that all root activity must be performed in a terminal windows with a prefix of sudo. I recently downloaded Red Hat Enterprise 5…

Read More »

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

A recent task required an installation and setup of a JBoss Application Server on a Linux box. I originally selected the Ubuntu 8.0.4 LTS Server Edition for this task since I have had a little more experience with Ubuntu. I have graduated to Red Hat Enterprise Linux 5.2 (RHEL) and CentOS 5.2. I created A RHEL virtual machine with VMware…

Read More »

Disable firewall on Red Hat Enterprise Linux (RHEL) Server

Using a Windows box with Putty to install and execute jboss with it’s own Tomcat instance using the default port of 8080 on a fresh built Red Hat Enterprise Linux box, everything looked to be fully operational; however, I could not access the web address from a remote box. I quickly realized that the firewall was fully operational (from previous…

Read More »