Archive

Archive for the ‘SystemAdmin’ Category

Save Power using Wake On Lan

March 8th, 2010 Dhaval Thakar No comments

Apart from Virtulization we can shut servers whenever it is not being used to save power.

At my office, we used to keep Antivirus server running 24×7, to get latest definition updates & to let users fetch. This was not necessary to keep server ON whole night as there was no user. Also we had same situation for Squid server & Samba, NFS share.

All these servers were required to be up & running before employees enters office.
In other words we required to keep all servers running 5 days a week. It was of no use to keep it running during nights & weekend.

Using Wake-on-lan we could get all server up before office hours.

We use NAGIOS, this one is ON 24×7 to monitor links & live servers.
By configuring Cronjob on Nagios we got all servers UP before office hours.

etherwake / ether-wake is available on almost all distro. you can get server up
ether-wake MACADD

to install ether-wake
Centos – yum install ether-wake
Ubuntu – apt-get install etherwake

Create Linux / Windows 7 Bootable USB -Ultraiso

March 4th, 2010 Dhaval Thakar No comments

In Previous posts we have covered creating usb boot for fedora & ubuntu.

Apart from unetbootin, you can use UltraISO to create usb boot.

Following is the easy procedure to create bootable usb.

1) Connect USB device & select it int UltraISO.

2) Select Live CD iso image.

3) Click on Bootable from menu, choose Write Disk Image.

From here you can format your USB drive & start writing image by clicking on Write.

Windows Admin can use this tool to write Windows 7 bootable usb (I have not tested on Vista).

And the best part is that, ultraiso supports usb writing in trial version.

Recover Ubuntu & Win7 – after upgrading from XP

March 2nd, 2010 Dhaval Thakar No comments

If you are using Ubuntu & XP dual boot, & if at all you are planing to upgrade / have upgraded to Win7, this post may be helpful for you.

When you upgrade to Win7, due to Win’s unsocial behaviour to coexists with other OS, grub boot loader is lost.
Here we assume, when you installed xp partition was fat32. Later system upgraded to windows 7 with ntfs filesystem.

Due to MBR overwritten grub is missing, follow this link to recover.

Now on booting you’ll find XP in boot option instead of Win7. If you try booting with XP option, you’ll get error.
To fix it
goto ubuntu recovery mode

in recovery menu
select grub (Update grub bootloader)

reboot the system. All should be fixed.

Uptill XP, it was ok with windows overwrite MBR, but same behaviour with Win7 is bit annoying. Atleast now MS should respect other OS and should learn to coexist.

Yum – How to Exclude package update

February 15th, 2010 Dhaval Thakar No comments

In previous post we have covered openoffice-3.2 installation,
by mow many must have noticed while running yum update, yum is trying to upgrade openoffice.org-ure-1.6.0-9483.i586.rpm which belongs to openoffice-3.2 installation. This package is being replaced by openoffice.org-ure-3.1.1-19.14.fc12.i686 as a result openoffice does not work, to fix you need to reinstall openoffice.org-ure-1.6.0-9483.i586.rpm.

To avoid it further, you need to configure yum to exclude openoffice.org-ure-3.1.1-19.14.fc12.i686 from updates.
this can be done by adding any of  below mentioned line in /etc/yum.conf

exclude=openoffice.org-ure-3.1.1-19.14.fc12.i686

Or

exclude=openoffice*

Installing OpenOffice-3.2 on Fedora

February 13th, 2010 Dhaval Thakar No comments

Download Openoffice-3.2 from torrent / web link given below.

Download Torrent

Download From Web

Remove Older version

yum remove openoffice.org*

Install Latest one

su

#Extract tar package & access directory

cd RPMS

rpm -ivh *.rpm

rpm -ivh desktop-integration/openoffice.org3.2-redhat-menus-3.2-9472.noarch.rpm

OR

#Extract tar package & access directory

./setup