Skip to main content

Posts

Showing posts from July, 2007
Back up like an expert with rsync on Linux This article is by Joe 'Zonker' Brockmeier on July 17, 2007 (9:00:00 AM) Original article published at http://www.linux.com/feature/117236 In the last two months I've been traveling a lot. During the same period my main desktop computer went belly up. I would have been in trouble without rsync at my disposal -- but thanks to my regular use of this utility, my data (or most of it, anyway) was already copied offsite just waiting to be used. It takes a little time to become familiar with rsync, but once you are, you should be able to handle most of your backup needs with just a short script. What's so great about rsync? First, it's designed to speed up file transfer by copying the differences between two files rather than copying an entire file every time. For example, when I'm writing this article, I can make a copy via rsync now and then anothe
A Simple Backup Script on Linux Everyone whom uses Linux wants to implement a backup solution for their Linux servers. After a lot of research, I finally decided to implement a script-based backup making use of TAR, GZIP, and CROND based on Jason Pepas's backup script. Step 1: Login to your Linux server as user "root" and type this command mkdir /root/scripts Step 2: Decide on what device you want to use as a storage for all the backups. For this scenario, I use a 30GB SCSI HDD plug to my Linux server. Then, I reboot my server to find the device name and edit my /etc/fstab file to add the storage device so that it is automatically mounted every time the server is rebooted. To find out the device name, type dmesg. In my case, the SCSI HDD is /dev/sdb2 vi /etc/fstab LABEL=/dev/sdb2 /backup ext3 defaults 1 2 LABEL=/ / ext3 defaults 1 1 LABEL=/boot1 /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=
Optimizing the Solaris Network Cache and Accelerator for the Apache Web Server I met an old friend whom was complaining that one of his Solaris servers at work which run the Apache web server is very slow. He has added RAM and migrated from RAID-5 to RAID-0 to improve disk I/O but the problem still persists. He asked me if I have any tips to offer as I had some Solaris experience several years ago. Googling on my personal file-server, I saw a tip I kept since year 2004. Since it could be useful to more people, I decided to share it on my blog. Note: This tip offers an optimized configuration for dedicated web servers running Apache Web Server on a Solaris Operating System. This document is a brief how-to on configuring and optimizing the Solaris Network Cache and Accelerator (SNCA). Requirements Solaris 2.8 OS 256MB RAM Apache Web Server 1.3.x Necessary Packages for the Solaris OS 32 bits: SUNWncar SUNWncau 64 bits: SUNWncarx SUNWncaux 1. As a start, edit the fil