Blogs

Update to VirtualBox in rc.d

I have reinstalled my server running CentOS 5.2 and VirtualBox. In the process I have found some items that weren't documented well in the previous post VirtualBox in rc.d

I have modified the vboxcontrol script. The new script is available here.
vboxcontrol.

After setting up the script, you need to run chkconfig --add vboxcontrol

Files: 

Configuring SSH with Key based Authentication

My first step after installing a new Linux server is usually to setup SSH. I have setup key based authentication a couple times, but am still getting the hang of it. If you run into any problems, see the additional explanation at the end of this post. Here are the steps for a client using Putty on Windows and a server running CentOS.
  1. Run ssh-keygen -t rsa. This will create the private and public key files. Be sure to use the default file location.
  2. Run cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys.

CentOS netinstall

There are some portions of the CentOS 5.2 netinstall process that aren't as intuitive as I expect.  So these notes are to help me next time I install CentOS.

First, make sure to disable IPv6 in the DHCP setup.

Also, when you get to the installation source, select HTTP and enter the following:
Server address: mirror.centos.org (no http://)
Directory: centos/5.2/os/i386 (no / before and after)

If any of this is slightly wrong, the installation will not complete.

Personal Backup Considerations

In the last couple months I have had three friends experience serious hard drive failures. Of course they didn’t have backups of their critical data. One of the friends had hundreds of pictures of their daughter after a long and painstaking international adoption.

VirtualBox in rc.d

I have been experimenting with Linux servers for a while now.  My latest experiment was at using VirtualBox to run virtual servers.  I used a helpful tutorial from howtoforge.com to guide me through the setup.  After setting up VirtualBox on CentOS and installing Fedora in a VM, I wanted the Fedora VM to automatically start up and shut down when the CentOS host started up and shut down.

Syndicate content