<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1132246583445543112</id><updated>2024-08-28T17:17:37.552+05:30</updated><title type='text'>Swadesh Sampad</title><subtitle type='html'>An IT Professional from Bhubaneswar</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1132246583445543112.post-1608762212998162581</id><published>2009-08-12T15:51:00.000+05:30</published><updated>2009-08-12T15:52:35.790+05:30</updated><title type='text'>Adding SWAP space in Linux</title><content type='html'>#free –m (To check free space of SWAP memory)&lt;br /&gt;&lt;br /&gt;#df –h&lt;br /&gt;&lt;br /&gt;We are going to make a swap file in /opt by using dd to create a file 128 Mb in size&lt;br /&gt;&lt;br /&gt;#dd if=/dev/zero of=swapfile bs=1024 count=132207&lt;br /&gt;&lt;br /&gt;132207+0 records in&lt;br /&gt;&lt;br /&gt;132207+0 records out&lt;br /&gt;&lt;br /&gt;#ls –l&lt;br /&gt;&lt;br /&gt;#chmod 600 swapfile&lt;br /&gt;&lt;br /&gt;#mkswap swapfile&lt;br /&gt;&lt;br /&gt;#swapon swapfile&lt;br /&gt;&lt;br /&gt;#free&lt;br /&gt;&lt;br /&gt;Now you can entry this in /etc/fstab file&lt;br /&gt;&lt;br /&gt;#vi /etc/fstab&lt;br /&gt;&lt;br /&gt;/opt/swapfile    swap     swap     defaults               0 0</content><link rel='replies' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/1608762212998162581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://swadesh4u.blogspot.com/2009/08/adding-swap-space-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/1608762212998162581'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/1608762212998162581'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/2009/08/adding-swap-space-in-linux.html' title='Adding SWAP space in Linux'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1132246583445543112.post-6236913200433533361</id><published>2009-07-30T16:33:00.000+05:30</published><updated>2009-07-30T16:34:01.455+05:30</updated><title type='text'>Turn off icmp request</title><content type='html'>How to turn off ping request?&lt;br /&gt;&lt;br /&gt;Open /etc/sysctl.conf in vi editor and write as follows&lt;br /&gt;&lt;br /&gt;#sysctl –a |grep icmp&lt;br /&gt;&lt;br /&gt;net.ipv6.icmp.ratelimit = 250&lt;br /&gt;net.ipv4.netfilter.ip_conntrack_icmp_timeout = 30&lt;br /&gt;net.ipv4.icmp_ratemask = 6168&lt;br /&gt;net.ipv4.icmp_ratelimit = 250&lt;br /&gt;net.ipv4.icmp_errors_use_inbound_ifaddr = 0&lt;br /&gt;net.ipv4.icmp_ignore_bogus_error_responses = 1&lt;br /&gt;net.ipv4.icmp_echo_ignore_broadcasts = 1&lt;br /&gt;net.ipv4.icmp_echo_ignore_all = 1&lt;br /&gt;&lt;br /&gt;(Copy the last line and paste that into /etc/sysctl.conf)&lt;br /&gt;&lt;br /&gt;#vi /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;net.ipv4.icmp_echo_ignore_all=1&lt;br /&gt;&lt;br /&gt;#/sbin/sysctl –P or reboot&lt;br /&gt;&lt;br /&gt;Restart your box</content><link rel='replies' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/6236913200433533361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/turn-off-icmp-request.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/6236913200433533361'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/6236913200433533361'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/turn-off-icmp-request.html' title='Turn off icmp request'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1132246583445543112.post-5884816632024346717</id><published>2009-07-30T16:30:00.001+05:30</published><updated>2009-07-30T16:31:57.957+05:30</updated><title type='text'>Network Installation Server</title><content type='html'>We can install Linux by four types of Network installation method&lt;br /&gt;&lt;br /&gt;By FTP server&lt;br /&gt;By HTTP server&lt;br /&gt;By NFS server&lt;br /&gt;By PXE server&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Keep ready of FTP server&lt;/span&gt;&lt;br /&gt;This is the slowest installation method comparative above four methods.&lt;br /&gt;Mount RHEL5 DVD into /mnt&lt;br /&gt;&lt;br /&gt;#yum –y install vsftpd&lt;br /&gt;#mkdir /var/ftp/pub/rhel5&lt;br /&gt;#cp -a /mnt/* /var/ftp/pub/rhel5&lt;br /&gt;&lt;br /&gt;#service vsftpd start&lt;br /&gt;(Note: – Give anonymous access to this folder if you want makes this as http server)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;By HTTP server&lt;/span&gt;&lt;br /&gt;This is comparatively fast installation over ftp&lt;br /&gt;&lt;br /&gt;Now no need copy once again rhel5 DVD into your web server directory&lt;br /&gt;Because it’s already in /var/ftp/pub/rhel5, just give a link as follows&lt;br /&gt;&lt;br /&gt;#yum –y install httpd&lt;br /&gt;#ln –s ../../ftp/pub/rhel5 /var/www/html/pub/rhel5&lt;br /&gt;&lt;br /&gt;#service httpd start&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;By NFS server&lt;/span&gt;&lt;br /&gt;This is faster installation method over ftp and httpd&lt;br /&gt;&lt;br /&gt;Now make an image of rhel5 DVD.&lt;br /&gt;&lt;br /&gt;You can do image in two method&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;By mounting DVD&lt;/span&gt;&lt;br /&gt;Insert your DVD into CD drive&lt;br /&gt;#dd if=/dev/cdrom of=rhel5.iso&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;By mounting the folder&lt;/span&gt;&lt;br /&gt;We already copied rhel5 DVD in /var/ftp/pub/rhel5&lt;br /&gt;#dd if=/var/ftp/pub/rhel5 of=rhel5.iso&lt;br /&gt;&lt;br /&gt;#yum –y install nfs portmap&lt;br /&gt;#vi /etc/exports&lt;br /&gt;/var/ftp/pub/rhel5 192.168.0.0/255.255.255.0 (ro,sync) (Your local lan)&lt;br /&gt;&lt;br /&gt;#service portmap start&lt;br /&gt;#service nfs start&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;By PXE server&lt;/span&gt;&lt;br /&gt;This is the fastest method over the others&lt;br /&gt;We will discussed about this in next blog</content><link rel='replies' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/5884816632024346717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/network-installation-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/5884816632024346717'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/5884816632024346717'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/network-installation-server.html' title='Network Installation Server'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1132246583445543112.post-4232848161436033517</id><published>2009-07-30T15:44:00.000+05:30</published><updated>2009-07-30T15:46:08.478+05:30</updated><title type='text'>Linux LVM Partition</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Adding of LVM Partition&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#fdisk –l (To see the partition)&lt;br /&gt;#fdisk /dev/sda&lt;br /&gt;n (Create new partition)&lt;br /&gt;p (Create a primary partition)&lt;br /&gt;1 (Donate it as primary partition)&lt;br /&gt;Press enter (Accept the default)&lt;br /&gt;t (Automatically select only one partition)&lt;br /&gt;L (List all the currently supported partition)&lt;br /&gt;8e (LVM partition type)&lt;br /&gt;P (Display partition)&lt;br /&gt;w (write partition)&lt;br /&gt;&lt;br /&gt;#partprobe&lt;br /&gt;#pvcreate /dev/sda8 (For my setup)&lt;br /&gt;#vgcreate –s 16M lvmcore /dev/sda8&lt;br /&gt;#lvcreate –L 400M –n test lvmcore&lt;br /&gt;#mkfs –t ext3 –m 1 –v /dev/lvmcore/test&lt;br /&gt;#mkdir /data&lt;br /&gt;#mount –t ext3 /dev/lvmcore/test /data&lt;br /&gt;&lt;br /&gt;Entry this mount point in /etc/fstab&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Delete of LVM Partition&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;#fdisk –l&lt;br /&gt;#umount /data&lt;br /&gt;#lvremove /dev/lvmcore/test&lt;br /&gt;#vgreduce lvmcore /dev/sda8&lt;br /&gt;#pvremove /dev/sda8&lt;br /&gt;#partprobe&lt;br /&gt;#fdisk –l&lt;br /&gt;&lt;br /&gt;Reboot your system once&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Increase Volume of LVM Partition&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;#fdisk –l&lt;br /&gt;#df -h&lt;br /&gt;# lvcreate –L 400M –n test lvmcore&lt;br /&gt;# lvcreate –L 600M –n demo lvmcore&lt;br /&gt;#lvmextend –L 40M /dev/lvmcore/test&lt;br /&gt;#resize2fs /dev/lvmcore/test&lt;br /&gt;#df –h&lt;br /&gt;#e2fsck –f /dev/lvmcore/test&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Reducing Volume of LVM Partition&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#df –h&lt;br /&gt;#umount /data&lt;br /&gt;#fsck –f /dev/lvmcore/test&lt;br /&gt;#resize2fs /dev/lvmcore/test 40M&lt;br /&gt;#lvreduce /dev/lvmcore/test –L 40M&lt;br /&gt;#y&lt;br /&gt;#mount /dev/lvmcore/test /data&lt;br /&gt;#df –h&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Backup and formatting of a LVM partition Drive&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#lvcreate –L 2000M –P r –s –n databack /dev/lvmcore/test&lt;br /&gt;#mkdir /databackup&lt;br /&gt;#mount –o ro /dev/lvmcore/databack /databackup&lt;br /&gt;#dump -0u –f /databackup.dump /databackup&lt;br /&gt;#ls –lah /databackup.dump&lt;br /&gt;#umount /databackup&lt;br /&gt;#lvremove /dev/lvmcore/databack&lt;br /&gt;#umount /data&lt;br /&gt;#mkfs.ext3 /dev/lvmcore/test&lt;br /&gt;#mount /dev/lvmcore/test /data&lt;br /&gt;#cd /data&lt;br /&gt;#restore –rf /databackup.dump</content><link rel='replies' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/4232848161436033517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/linux-lvm-partition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/4232848161436033517'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/4232848161436033517'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/2009/07/linux-lvm-partition.html' title='Linux LVM Partition'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1132246583445543112.post-6571387880260911119</id><published>2009-05-30T12:29:00.001+05:30</published><updated>2009-05-30T12:29:53.138+05:30</updated><title type='text'>System Boot Error</title><content type='html'>I have a problem with my laptop.My problem is like this&lt;br /&gt;&lt;br /&gt;When I boot my system, one message comes. This comes in a screen. The heading written is “Nous of Noesis” . below that the text comes “Silicon Labs UNFAIR?”. This have a ok button on the below. After that only the system starts booting in XP. It makes my enter key inaccessible. When I press the Enter Key the CD drive automatically opens up. Is it a VIRUS. Please answer my query. I am in great trouble because the Enter key is not working.</content><link rel='replies' type='application/atom+xml' href='https://swadesh4u.blogspot.com/feeds/6571387880260911119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://swadesh4u.blogspot.com/2009/05/system-boot-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/6571387880260911119'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1132246583445543112/posts/default/6571387880260911119'/><link rel='alternate' type='text/html' href='https://swadesh4u.blogspot.com/2009/05/system-boot-error.html' title='System Boot Error'/><author><name>swadesh</name><uri>http://www.blogger.com/profile/01535342879227495665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2JEVTId7ccUYTJhMDoU3mMU52LqqPhk-4D71YAsKq7q5xjuyLlnK_nMe1iceBf3KfjmfGQ5OJGI8qzUXs3zQycqgFqc2kCUd-Jp2WWCmghqj0h6h5kiU4ZZUP_Qv8R4/s122/sampad.JPG'/></author><thr:total>0</thr:total></entry></feed>