Author Archives: linuxsysadminblog

What’s the use of backups if you can’t restore from them? In the previous post on “Backup Xen with LVM and Rsnapshot” we worked on creating backups of Xen (guest/domain) VMs with LVM, and here we’ll cover the process of … Continue reading

Leave a comment

This is a draft of my installation process which is mainly based from this blog:  Efficient Xen Backups Using LVM and Rsnapshot. Our setup is on Debian 6 server with 2TB disk running 10 vpses. We followed the above guide with notes … Continue reading

Leave a comment

I can’t find commands in gitolite to manage repository or project name, so here’s what I got from other sources. Add or create repository Add entry for new project or repository in your gitolite config (conf/gitolite.conf) Commit and push your … Continue reading

Leave a comment

Here’s a summary for vsftpd setup with virtual user and directory in Debian. It’s probably the same process on other Debian-based distros as well as Redhat-based distros. No need to define what’s vsftpd and what’s virtual users – let’s just … Continue reading

Leave a comment

Yum Error: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. With unfinished transactions, yum refers to any incomplete or aborted transactions, such as package installations or updates. Obviously, yum wants you to run yum-complete-transaction … Continue reading

Leave a comment

I realized that I missed a great episode of Colbert when a friend described at lunch how Colbert had likened the Barr attack on anonymous to him sticking his penis to the hornets nest. I hope you enjoy a laugh. … Continue reading

Leave a comment

CPanel includes support in their installer for eaccelerator; still, for some strange reason they don’t include support for APC also. So, if you want to install APC on your CPanel powered server, you will have to go back at the … Continue reading

Leave a comment

Setup ssh key authentication for password-less login between servers.  For use by ssh/sftp users or scripts. Source Server (or local system) Generate RSA key for user on this system, you can also use DSA.  This asks for key pass-phrase but … Continue reading

Leave a comment

I’m sure almost everyone is aware at this point on the failure that caused Amazon cloud computing solution AWS to be down yesterday (and still is at some smaller extend happening at this time as we can see on their … Continue reading

Leave a comment

Setup sftp-only access on default Redhat/CentOS install. Use built-in sftp-server which is non-chrooted and easy to setup. Server: Locate sftp-server binary and add to your list of valid shells on the system. which sftp-server Note:   This will most likely give … Continue reading

Leave a comment