Archive for July, 2013


How Do I Create an Ubuntu User with a Home Directory?

On an Ubuntu server, you might encounter a problem when it comes time to create a new user manually. Running the “useradd” command will create a user but do nothing else. It will not ask you to create a password or create a home directory. There are two easy solutions for this:
1. Run useradd […]

Hot Fix: Apache Displays Contents of PHP Script Instead of Running Script

If you have ever installed Apache HTTP Server and had it up and running perfectly without any issues, you are truly a genius or very lucky. Inevitably, you are going to encounter a few hiccups if you are doing things manually. With all of the imaging, virtual machines, and hosting automation technology, few system administrators […]

How to Manually Install Packages on a RHEL/CentOS Server

On Red Hat Enterprise Linux and Red Hat-based servers (ex: CentOS), the best way to install packages is to use YUM. By entering the yum command, you can download and install software from the distribution and third-party repositories without any difficulty. On occasion, however, you might need to install an rpm package that is not […]

How to Manually Install Packages on a Debian Server

On Debian and Debian-based servers (such as Ubuntu Server), the primary method of package installation is APT. Using the apt-get command, you can download and install software from the distribution and third-party repositories with relative ease. There may come a time, however, when you need to install a deb package that is not from your […]

How to Disable or Completely Delete Linux Server Users

Disabling a user account can be very useful if the account has been compromised, the user has left but may return in the future, or for punitive purposes. To disable a user on a Linux system, you can use the following command string:
# usermod –lock –expiredate 1970-01-01 <username>
Replace <username> with the actual user’s […]

Hosting Your Own Developer Revision Control System

One of the benefits of having your own servers is that you can use them for more than just hosting your live websites. You can also test new web applications and even setup your own research and development systems. Many open source projects use developer collaboration systems such as CVS, Subversion, or Git that allow […]

The Total Cost of Owning a Linux Server

When purchasing a car, a home, or other major investment, many financial experts may inform you about the total cost of ownership (TCO). Beyond the sticker price, you need to know how much it will cost to maintain it, insure it, and power it for the duration of its life. Similarly, a server and its […]

Obsolete Networking Apps You Should Never Use

Server management is a constantly evolving science. What was once perfectly acceptable technology for a dedicated server may now be considered obsolete. Such is the case with four technologies you should probably avoid on a server you intend to use for hosting websites.
FTP – This is one technology that is still widely used but […]

When Is Enterprise-Level Virtualization Necessary?

Virtualization can save your organization a lot of money, so it is no surprise that it has become a popular tool for server deployment. What once required 4 dedicated servers may now only need one server running four virtual machines. While enterprise-level virtualization is inexpensive compared to actual hardware, it is still not free. To […]