Snapshot backup of linux system

The task at hand is provisioning a FC6 server, taking a snapshot backup, then restoring it.

The idea is to create a FC6 instance from CD install, just use all defaults, next, next, next, and you’ll and up with a partitioning scheme that looks like this:

/dev/sda1 /boot boot partition, ext3
/dev/sda2 VolGroup00
              LogVol00 / root partition, ext3
              LogVol01   swap partition

When you have it ready to capture, you shutdown, and boot with linux rescue. You’ll need another machine to provide NFS disk mounts. The idea is capture the backup to another server, over nfs, then restore it later.

Read moreSnapshot backup of linux system

Dell Inspiron 6000 and FC5 Wireless Experience

Wow, this took me a good two hours to figure out.

Luckily a had a wired LAN available to search Google to figure out how to get my Wireless card working. After installation of FC5, I could see “Intel Corporation Pro/Wireless 2200 BG” in my Network Configuration utility under the hardware section, but dmesg showed:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.1.1
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device

Read moreDell Inspiron 6000 and FC5 Wireless Experience

Connect to a Cisco VPN on Linux

Check out this: http://www.unix-ag.uni-kl.de/~massar/vpnc/, a more simple alternative to vphclient, see if you can get this working first.

yum install vpnc

Half way there. Next create a conf file at /etc/vpnc/my.conf (note, replace variables [var] with your values):

IPSec gateway [vpn_hostname]IPSec ID [group_name]IPSec secret [group_secret]# your username goes here:
Xauth username [username]# if you want to test rekeying specify nonzero seconds here:
#Rekeying interval 0

Read moreConnect to a Cisco VPN on Linux

libphp4.so and libphp5.so at the same time?

I tried running both libphp4.so and libphp5.so modules at the same time by putting this in my /etc/httpd/conf.d/php.conf file:

LoadModule php5_module modules/libphp5.so
LoadModule php4_module modules/libphp4.so

AddHandler php5-script .php
AddHandler php-script .php4
AddType text/html .php
AddType text/html .php4

Doesn’t work… apache will restart, but any pages I hit seg fault now. Ug, oh well, it was worth a shot. My collegue told me he read it wasn’t possible, and I’ve seen some forum posts to support this, but I wanted to be sure. Unless there is a magic trick, cannot do it as apache modules.

————-
SOLUTION:

Read morelibphp4.so and libphp5.so at the same time?

Recompiling PHP on FC4 with Plesk 8.0.1

Original Post: August 27, 2006

I have to admit, this task is not for the faint of heart. This entry goes with my PHP Upload Progress Bar entry. I ported the entry from my old server, FC2 on Go Daddy’s Virtual Dedicated, to my new system, FC4 on Go Daddy’s Virtual Dedicated.

My goal is to recompile PHP with the PHP upload progress bar patch applied, while not breaking anything with Plesk!

All I am going to do is replace the “/etc/httpd/modules/libphp5.so” file on my system, and that’s it! Remember, I don’t want to break anything with my Plesk installation.

Read moreRecompiling PHP on FC4 with Plesk 8.0.1

Getting Started With ColdFusion MX

Something I did at work, felt like sharing it, it may be useful to someone:

Server Requirements: Dedicated or Virtual Dedicated Server running Fedora Core operating system with Plesk and Plesk Pro pack add-on.

Plesk ColdFusion Support — This option, available in the Plesk Pro pack, allows administrators to configure ColdFusion paths and enable/disable ColdFusion support in the Hosting setup. Note that ColdFusion software and license must be installed separately.

Read moreGetting Started With ColdFusion MX