tag:blogger.com,1999:blog-4272903537137004432014-10-04T20:49:33.013-07:00Linux TipsHi i am a little fan of opensorce/free software So my Favorite operating System is Linux. Through my blog i will try to share some interesting tips that i got and tested in my PC.sibyhttp://www.blogger.com/profile/16408162279981837230noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-427290353713700443.post-78822359847887646862009-04-06T04:15:00.000-07:002009-04-06T04:16:37.122-07:00Centos 4.3 installation and Sata Module loading with Adaptech Host - Raid 8130 [ marvel Chipset ] for HP Proliant 150 ML G2Download the corresponding Driver for Adaptech Host raid from the following link.ftp://ftp.hp.com/pub/softlib2/software1/linuxpubsw/p631274967/v30078/aar81xx.rhel4qu2.img.tar.gz/<br /><br />You can use existing pc with Knoppix CD or other Linux PC<br /><br />Extract the aar81xx.rhel4qu2.img.tar.gz file and mount the img file using the following command<br /> # mount -o loop <img name> <mount point ><br />Copy the modules.cgz file to other location eg : /tmp/module and extract the .cgz file using the zcat command <br /> # zcat /tmp/module/modules.cgz | cpio -id<br />The modules are extracted to the current directory and find the module from <kernaname>/<arch>/aar81xx.ko<br />Copy this module in a floppy/usb <br /><br />Start the Installation using Linux Disk and type the command “ Linux dd askmethod “ when the installation shows the “No hard drive found error “ , go to Alt+Crtl+F2 for new terminal and mount the module floppy disk <br /> # mkdir /mnt/module<br /> # mount /dev/fd0 /mnt/module<br />Load the module using the modprobe command <br /> # modprobe /mnt/module/aar81xx.ko <br />Type the command dmsg for checking the Hard drive is detected or not . If it is loaded the Hard drive details will display.<br />Switch to Alt+Ctrl+F1 to resume the Installation and at the time of reboot screen comes switch to Alt+Crtl+F2 <br />and add the module “ aar81xx.ko “ to /lib/modules/<kernal name>/kernel/drivers/scsi/ <br /><br /> eg: cp /mnt/module/aar81xx.ko /lib/modules/2.6.9-34.EL/kernel/drivers/scsi (for centos 4.3)<br /> <br /> # echo "alias scsi_hostadapter arr81xx" >> /etc/modprobe.conf<br /><br /> # depmod -ae -F /boot/System.map-<kernel name> <kernel name><br /><br /><br /> eg. depmod -ae -F /boot/System.map-2.6.9-34.EL 2.6.9-34.EL (for centos 4.3)<br /> <br /><br />Create initrd corresponding to module loaded. Take a backup of old initrd and create new by the following command<br /><br /> # mkinitrd -v -f /boot/initrd-2.6.9-34.EL.img 2.6.9-34.EL<br /><br />If you want to do the same for smp kernal use the same methods or other wise skip the smp kernel in grub.confsibyhttp://www.blogger.com/profile/16408162279981837230noreply@blogger.com1tag:blogger.com,1999:blog-427290353713700443.post-51214219764403845632009-03-08T07:22:00.000-07:002009-03-08T07:45:10.765-07:00Export Proxy setting to your shell.Some times you may need to connect your laptop Internet through proxy server. You can give proxy server settings to your browser but if you want use “wget” to download some files through command prompt it will be difficult. Just give the following command to you shell you can able to access Internet through command prompt <br /><br />export http_proxy=http://smn:password@192.168.1.100:8080/<br /><br />Where smn is the Username and password is the password for the user smn. You may have to change the server ipaddress/servername and the port number.<br /><br />If your server don't have any username and password use as follows.<br /><br />export http_proxy = myproxy:3128<br />export ftp_proxy = myproxy:3128<br /><br /><br />After this you may use application like yum to install/update any package.sibyhttp://www.blogger.com/profile/16408162279981837230noreply@blogger.com0tag:blogger.com,1999:blog-427290353713700443.post-80275987373603364452009-03-08T06:05:00.000-07:002009-03-08T06:47:40.064-07:00Ofline Web browser <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0 (Unix)"><meta name="AUTHOR" content="root"><meta name="CREATED" content="20090308;18460500"><meta name="CHANGEDBY" content="root"><meta name="CHANGED" content="20090308;19152100"> <style> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-bottom: 0in;"> Most of you heard about offline web browsers or may used in Windows. For new people, ofline browser is an application used to mirror (make a copy) of your desired web sites so that you can access the sites when you are not able to access Internet. Normally i use this program to mirror sites that provide good and detail documentation but will not provide a download option in any format so that i can keep it for future. Using this type application you can save an url and it's sub-urls.</p> <p style="margin-bottom: 0in;"> HTTrack is a <a href="http://www.gnu.org/philosophy/free-sw.html" target="_new">free</a> (<a href="http://www.gnu.org/licenses/gpl.txt" target="_new">GPL</a>, libre/free software) and easy-to-use offline browser utility.</p> <p style="margin-bottom: 0in;"> </p> <p style="margin-bottom: 0in;"> You can get the latest version from the httrack site <a href="http://www.httrack.com/">http://www.httrack.com</a> .You can download both windows and Linux Packages from the site.</p> <p style="margin-bottom: 0in;">
<br /></p> <p style="margin-bottom: 0in;"> If you are using yum then the installation is very simple just try </p> <p style="margin-bottom: 0in;"> # yum install httrack</p> <p style="margin-bottom: 0in;"> I am recommending to use the source Package. Just read the INSTALL file for installation procedure. </p>
<br />After installation try the “man httrack” <p style="margin-bottom: 0in;">To download an url you have to use something as follows.</p> <p style="margin-bottom: 0in;">httrack abcd.com/url</p> <p style="margin-bottom: 0in;">
<br /></p> <p style="margin-bottom: 0in;"> The site will be mirrored on you current directory and try to open index.html in any web browser to access the data. You can use you proxy settings to download the sites the man page will give you more information. </p> <p style="margin-bottom: 0in;">reg
<br /></p><p style="margin-bottom: 0in;">SMN
<br /></p> <p style="margin-bottom: 0in;">
<br /></p> sibyhttp://www.blogger.com/profile/16408162279981837230noreply@blogger.com0