<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0QGQ308eyp7ImA9WhRRFEk.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374</id><updated>2011-11-28T06:18:42.373+05:30</updated><category term="How to check DDOS Attack on Server" /><category term="How to change the hostname in Linux" /><category term="Install Tamil Font in CentOS" /><category term="service failed to start due to unresolved dependencies: set(['user'" /><category term="thread.error: can't start new thread" /><category term="ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" /><category term="SSHD fatal: daemon() failed: No such device" /><category term="SSL: error:00000000:lib(0):func(0):reason(0)" /><category term="How to create software raid0" /><category term="Unable to set capability on running container" /><category term="-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory" /><category term="Install and Configure telnet" /><category term="Install PhpMyadmin" /><category term="domainname" /><category term="ERROR 1045 (28000): Access denied for user 'root'(a)'localhost' (using password: NO)" /><category term="How to configure csf on vps" /><category term="To Compress Drectory/File in Linux" /><category term="ip and os installed in linux" /><category term="'iptables_openvpn'])" /><category term="How to find the hostname" /><category term="PRNG is not seeded" /><category term="Enable TUN/TAP" /><category term="HOw to install  WordPress" /><category term="How to Change the ip address in Linux" /><category term="How to set mysql root password" /><category term="TypeError: rpmdb open failed" /><category term="Transaction Check Error" /><category term="how to install kloxo panel" /><category term="Can't mount: /vz/root/100 /vz/private/100: No such file or directory" /><category term="To test whether the TUN/TAP device is available" /><category term="Install and use rsync" /><category term="How to install Directadmin" /><category term="Command to check the software raid is working fine" /><title>Ejd021 - Linux Support</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://ejd021-linux.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Ejd021-LinuxSupport" /><feedburner:info uri="ejd021-linuxsupport" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUcHR3o9eyp7ImA9WhZUF00.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-783843009175203213</id><published>2011-06-10T17:25:00.001+05:30</published><updated>2011-06-10T17:27:16.463+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-10T17:27:16.463+05:30</app:edited><title>how to lock the screen in centos</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;How to lock the screen in centos &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Hi all.. In windows we are using "Windows+L" short cut to lock the screen, the mouse movement or keyboard entry will unlock the screen and it will ask the system password to unlock the system.&lt;br /&gt;
&lt;br /&gt;
In the same way in linux(centos) we can lock the screen by using the short cut key "&lt;b&gt;ctrl+Alt+L&lt;/b&gt;". But this wont lock the screen.. yes.! mouse movement or keyboard entry will make the screen active.&lt;br /&gt;
&lt;br /&gt;
Then how to lock the screen..?&lt;br /&gt;
&lt;br /&gt;
We need to install "&lt;b&gt;xlockmore&lt;/b&gt;" using yum or rpm.&lt;br /&gt;
&lt;br /&gt;
Using rpm:&lt;br /&gt;
&lt;br /&gt;
Here we need to install 3 packages.&lt;br /&gt;
&lt;br /&gt;
Before that check the following packages are installed in your system or not using 'rpm -qa &lt;package name=""&gt;'.&amp;nbsp;&lt;/package&gt;&lt;br /&gt;
&lt;br /&gt;
1) libXp&lt;br /&gt;
2) openmotif&lt;br /&gt;
3) xlockmore&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not,&lt;br /&gt;
&lt;br /&gt;
First we need to download the following packages..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;wget ftp://ftp.sunet.se/pub/Linux/distributions/centos/5.6/os/x86_64/CentOS/libXp-1.0.0-8.1.el5.x86_64.rpm&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;b&gt;wget ftp://ftp.sunet.se/pub/Linux/distributions/centos/5.6/os/x86_64/CentOS/openmotif-2.3.1-5.el5_5.1.x86_64.rpm&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;b&gt;wget ftp://ftp.univie.ac.at/systems/linux/dag/redhat/el5/en/x86_64/dag/RPMS/xlockmore-5.18-2.2.el5.rf.x86_64.rpm&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Then install using rpm..&lt;br /&gt;
&lt;br /&gt;
#&lt;b&gt;rpm -iv libXp-1.0.0-8.1.el5.x86_64.rpm&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
#&lt;b&gt;rpm -iv openmotif-2.3.1-5.el5_5.1.x86_64.rpm&lt;/b&gt;&lt;br /&gt;
#&lt;b&gt;rpm -iv xlockmore-5.18-2.2.el5.rf.x86_64.rpm &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now go to Application =&amp;gt; Graphics =&amp;gt; Xlock&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now your screen will get lock....&lt;br /&gt;
&lt;br /&gt;
Enjoy .. &lt;b&gt;:-)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-783843009175203213?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/paG9KlQSDbw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/783843009175203213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2011/06/how-to-lock-screen-in-centos.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/783843009175203213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/783843009175203213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/paG9KlQSDbw/how-to-lock-screen-in-centos.html" title="how to lock the screen in centos" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2011/06/how-to-lock-screen-in-centos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MHRHg4fyp7ImA9WhZUFk8.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-7081171856275116460</id><published>2011-06-09T18:46:00.001+05:30</published><updated>2011-06-09T18:47:15.637+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-09T18:47:15.637+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Install Tamil Font in CentOS" /><title>Install Tamil Font in CentOS</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;How to install tamil font in CentOS...&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Its simple...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# yum install fonts-tamil*&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
For malayalam font&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# yum install fonts-malayalam*&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy...&lt;b&gt; :)&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-7081171856275116460?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/FDDHPcMrTQQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/7081171856275116460/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2011/06/install-tamil-font-in-centos.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7081171856275116460?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7081171856275116460?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/FDDHPcMrTQQ/install-tamil-font-in-centos.html" title="Install Tamil Font in CentOS" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2011/06/install-tamil-font-in-centos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQFRHo-fCp7ImA9Wx5XEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-430682725965258761</id><published>2010-09-10T21:28:00.000+05:30</published><updated>2010-09-10T21:28:35.454+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-10T21:28:35.454+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Can't mount: /vz/root/100 /vz/private/100: No such file or directory" /><title>Can't mount: /vz/root/100 /vz/private/100: No such file or directory</title><content type="html">&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;When you start a VPS, you may got this error:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Can't mount: /vz/root/100 /vz/private/100: No such file or directory&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;[root@testpc ~]# &lt;b&gt;vzctl start&lt;/b&gt; &lt;b&gt;100&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Starting container ...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Can't mount: /vz/root/100 /vz/private/100: No such file or directory&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;To fix this using&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# &lt;b&gt;umount /vz/root/100&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;then,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# &lt;b&gt;vzctl start 100&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-430682725965258761?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/fz1hg96XAXI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/430682725965258761/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/09/cant-mount-vzroot100-vzprivate100-no.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/430682725965258761?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/430682725965258761?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/fz1hg96XAXI/cant-mount-vzroot100-vzprivate100-no.html" title="Can't mount: /vz/root/100 /vz/private/100: No such file or directory" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/09/cant-mount-vzroot100-vzprivate100-no.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QFRH4zeyp7ImA9Wx5QGUs.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-5114477177749267364</id><published>2010-09-08T23:38:00.000+05:30</published><updated>2010-09-08T23:38:35.083+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-08T23:38:35.083+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory" /><title>-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;[root@testpc ~]# &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;./sc_serv sc_serv.conf&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;when you try ot run " &lt;b&gt;./sc_serv&lt;/b&gt; ", you may got the error like this '&lt;b&gt;-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory'&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;To solve this error, you need to install &lt;b&gt;glibc 32 bit&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;[root@testpc ~]# &lt;b&gt;yum install glibc.i686&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;[root@testpc ~]# &lt;b&gt;rpm -qf /lib/ld-linux.so.2&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;glibc-2.11.90-15.i686&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;[root@testpc ~]#&lt;b&gt;./sc_serv&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;** SHOUTcast Distributed Network Audio Server&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;** Copyright (C) 1998-2004 Nullsoft, Inc. &amp;nbsp;All Rights Reserved.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;** Use "sc_serv filename.ini" to specify an ini file.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;......&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;.......&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;.........&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;............&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;...............&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;.................&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;:)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-5114477177749267364?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/u-AIbB0asUw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/5114477177749267364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/09/bash-scserv-libld-linuxso2-bad-elf.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/5114477177749267364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/5114477177749267364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/u-AIbB0asUw/bash-scserv-libld-linuxso2-bad-elf.html" title="-bash: ./sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/09/bash-scserv-libld-linuxso2-bad-elf.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHQnw5fSp7ImA9Wx5QFEg.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-6070590613422058267</id><published>2010-09-03T02:02:00.000+05:30</published><updated>2010-09-03T02:02:13.225+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-03T02:02:13.225+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HOw to install  WordPress" /><title>HOw to install  WordPress(Centos):</title><content type="html">&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;HOw to install &amp;nbsp;WordPress :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Before installing wordpress you have to install httpd,php and mysql..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# yum -y install httpd* &amp;nbsp;php* &amp;nbsp;mysql-server&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# chkconfig httpd on&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# chkconfig mysqld on&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# /etc/init.d/mysqld start&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# /etc/init.d/httpd start&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Create wordpress database:&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# mysql -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;mysql&amp;gt; &lt;b&gt;CREATE DATABASE Databasename;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;(eg: CREATE DATABASE wordpressdb;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;mysql&amp;gt; &lt;b&gt;show databases;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;mysql&amp;gt; &lt;b&gt;exit&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Download and configure wordpress:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;wget http://wordpress.org/latest.zip&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;unzip latest.zip&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;cd wordpress&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;cp -a * /var/www/html&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;cd /var/www/html&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;mv wp-config-sample.php wp-config.php&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;# vi wp-config.php&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;--edit in this line--&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;define('DB_NAME', '&lt;b&gt;wordpressdb&lt;/b&gt;');&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;define('DB_USER', '&lt;b&gt;root&lt;/b&gt;');&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;define('DB_PASSWORD', '&lt;b&gt;mysqlrootpass&lt;/b&gt;');&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Server configuraion is completed.. now you have to do the online confiuration..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;http://{ip or hostname}/wp-admin/install.php&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Enjoy....... :)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-6070590613422058267?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/8Dx21hmIxMA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/6070590613422058267/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/09/how-to-install-wordpresscentos.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6070590613422058267?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6070590613422058267?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/8Dx21hmIxMA/how-to-install-wordpresscentos.html" title="HOw to install  WordPress(Centos):" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/09/how-to-install-wordpresscentos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMEQ3s8fip7ImA9WhdSEUU.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-2415869957738936291</id><published>2010-08-31T12:17:00.001+05:30</published><updated>2011-07-20T23:56:42.576+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-20T23:56:42.576+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Install and Configure telnet" /><title>Install and Configure telnet :</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Install and Configure telnet :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Install telnet:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# yum install telnet*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;This will install telnet and xinetd packages...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# chkconfig telnet on&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# chkconfig xinetd on&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# /etc/init.d/xinetd start&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# vi /etc/xinetd.d/telnet&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# default: on&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# description: The telnet server serves telnet sessions; it uses \&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; unencrypted username/password pairs for authentication.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;service telnet&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flags &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = REUSE&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;socket_type &amp;nbsp; &amp;nbsp; = stream&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wait &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= no&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= root&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;server &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= /usr/sbin/in.telnetd&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;log_on_failure &amp;nbsp;+= USERID&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;disable &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = no&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# /etc/init.d/xinetd restart&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;To connect:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;telnet {host ip}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# telnet 192.168.1.x&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# telnet 192.168.1.x&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Trying 192.168.1.x...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Connected to 192.168.1.x.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Escape character is '^]'.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Fedora release 9 (Sulphur)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Kernel 2.6.33-default on an x86_64 (4)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;login:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Password:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Give the username and password....&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;===============================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;If you got an error like&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;"&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;getaddrinfo: localhost Name or service not known&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Connection closed by foreign host.&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;check the &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;/etc/hosts&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt; file having two lines..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;127.0.0.1 localhost.localdomain localhost&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;192.168.1.x &amp;nbsp; restpc.com&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;where restpc.com is my host name..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;And in &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;/etc/sysconfig/network&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt; file also having the same HOSTNAME as restpc.com&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;===============================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;The default port number of telnt &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;23&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;To check the telnet port number&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# /usr/sbin/semanage port -l | grep telnet&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;telnetd_port_t &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;23&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;oR&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;# cat /etc/services | grep telnet&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;================================================&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;To Download this document &amp;nbsp;in txt format just click the following link..&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a class="fontfamilyverdana normal12bluebold" href="http://www.ziddu.com/download/15762093/InstallandConfiguretelnet.txt.html" style="color: #00616f; font-family: Verdana; font-size: 12px; font-weight: bold;"&gt;http://www.ziddu.com/download/15762093/InstallandConfiguretelnet.txt.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-2415869957738936291?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/mLcEmn6uhT8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/2415869957738936291/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/08/install-and-configure-telnet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2415869957738936291?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2415869957738936291?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/mLcEmn6uhT8/install-and-configure-telnet.html" title="Install and Configure telnet :" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/08/install-and-configure-telnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEFQHo_fSp7ImA9Wx5SF04.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-8326013072527146983</id><published>2010-08-14T02:36:00.000+05:30</published><updated>2010-08-14T02:36:51.445+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-14T02:36:51.445+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="'iptables_openvpn'])" /><category scheme="http://www.blogger.com/atom/ns#" term="service failed to start due to unresolved dependencies: set(['user'" /><title>service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])</title><content type="html">&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;"service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;service failed to start due to unresolved dependencies: set(['iptables_openvpn']) "&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;This is mostly the iptables modules issue in the node, do the following steps to solve the issue.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;** First check the TUN/TAP is enabled or not&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;Run the following command in your VPS to check the TUN/TAP is enabled or &amp;nbsp; not.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;# cat /dev/net/tun&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;If this shows "File descriptor in bad state" means TUN/TAP is enabled in your -vps. If &amp;nbsp;not enable it.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;To enable follow the link "&lt;/b&gt;&lt;/span&gt;&lt;a href="http://ejd021-linux.blogspot.com/2010/04/enable-tuntap.html"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;http://ejd021-linux.blogspot.com/2010/04/enable-tuntap.html&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;"&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;** Edit /etc/vz/vz.conf and add "ipt_state" and "iptable_nat" to the end of the list of IPTABLES modules(From node).&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;** Install the following kernel module using the following command(From node).&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #&amp;nbsp;modprobe ipt_mark&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # modprobe ipt_MARK&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;** Now restart the container(From node).&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # vzctl restart xxx&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;b&gt;This will solve your issue.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-8326013072527146983?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/rX-ax8QmMpU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/8326013072527146983/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/08/service-failed-to-start-due-to.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8326013072527146983?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8326013072527146983?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/rX-ax8QmMpU/service-failed-to-start-due-to.html" title="service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/08/service-failed-to-start-due-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcFQX88eCp7ImA9WxFaGUg.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-640941451105619605</id><published>2010-07-22T02:12:00.005+05:30</published><updated>2010-07-24T11:43:30.170+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-24T11:43:30.170+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to Change the ip address in Linux" /><title>How to Change the ip address in Linux</title><content type="html">&lt;b&gt;Change the ip address in Linux:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;YOU CAN USE ANY ONE OF THE FOLLOWING METHODS.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;METHOD 1(GUI) :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#system-config-network&lt;/b&gt;&lt;br /&gt;
(a)Select the ethernet interface(Eg:eth0) and change the ip and netmask.&lt;br /&gt;
OR&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#setup&lt;/b&gt;&lt;br /&gt;
(a)Select the 'Network configuration' tab.&lt;br /&gt;
(b)Select the ethernet interface(Eg:eth0) and change the ip and netmask.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;METHOD 2(SCRIPT) :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#cd /etc/sysconfig/network-scripts/&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#vi ifcfg-eth0&lt;/b&gt;&lt;br /&gt;
Enter the new ip in this script file.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;METHOD 3(COMMAND LINE) :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
(Make sure you are not changin the remote hosts ip. If you use this command to change the remote host ip, you will lost the commection)&lt;br /&gt;
&lt;br /&gt;
Set new ip to 192.168.1.11&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#ifconfig eth0 192.168.1.11&lt;/b&gt;&lt;br /&gt;
Set new ip with nermask&lt;br /&gt;
&lt;b&gt;[root@localhost ~]#ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-640941451105619605?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/MRR4Lt3e1hs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/640941451105619605/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/07/how-to-change-ip-address-in-linux.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/640941451105619605?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/640941451105619605?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/MRR4Lt3e1hs/how-to-change-ip-address-in-linux.html" title="How to Change the ip address in Linux" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/07/how-to-change-ip-address-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUDRXk5fSp7ImA9WxFUF04.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-13163261309411284</id><published>2010-06-28T20:09:00.004+05:30</published><updated>2010-06-28T20:14:34.725+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-28T20:14:34.725+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to install Directadmin" /><title>How to install Directadmin</title><content type="html">&lt;b&gt;How to install Direct admin&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Direct Admin installation is very simple process to do.&lt;br /&gt;
&lt;br /&gt;
Before installation kindly check the following packages are installed..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;gcc&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;gcc-c++&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;automake&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;make&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;flex&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If not install it using &lt;b&gt;yum.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Install DirectAdmin:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
# wget http://directadmin.com/setup.sh&lt;br /&gt;
&lt;br /&gt;
# chmod +x setup.sh&lt;br /&gt;
&lt;br /&gt;
# ./setup.sh&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt; &lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;When you run this setup.sh, it will ask you to fill the following informatrion..&lt;br /&gt;
&lt;br /&gt;
==========&lt;br /&gt;
Client ID: &lt;br /&gt;
&lt;br /&gt;
License ID:&lt;br /&gt;
&lt;br /&gt;
Hostname:&lt;br /&gt;
&lt;br /&gt;
Is this correct? (y,n) :&lt;br /&gt;
&lt;br /&gt;
Is eth0 your network adaptor with the license IP? (y,n) :&lt;br /&gt;
&lt;br /&gt;
Enter the name of the ethernet device you wish to use :&lt;br /&gt;
&lt;br /&gt;
Is XXX.XXX.XXX.XXX the IP in your license? (y,n) :&lt;br /&gt;
&lt;br /&gt;
DirectAdmin will now be installed on: Enterprise 5&lt;br /&gt;
Is this correct? (must match license) (y,n) :&lt;br /&gt;
&lt;br /&gt;
You now have 2 options for your apache/php setup.&lt;br /&gt;
&lt;br /&gt;
Enter your choice (1 or 2):&lt;br /&gt;
&lt;br /&gt;
Would you like the default settings of apache 2.2 and php 5 cli? (y/n):&lt;br /&gt;
==========&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;
it will take little bit time to install the directadmin..&lt;br /&gt;
At the end of the installation it wil generate username,passoerd... and display it&lt;br /&gt;
like..&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;-----------------------&lt;br /&gt;
The following information has been set:&lt;br /&gt;
&lt;br /&gt;
Admin username: &amp;nbsp; admin&lt;br /&gt;
Admin password: &amp;nbsp; xxxxxxx&lt;br /&gt;
Admin email: &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx@xxxxxxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Server IP: xxx.xxx.xxx.xxx&lt;br /&gt;
Server Hostname: xxxxxxxxxxx.com&lt;br /&gt;
&lt;br /&gt;
To login now, follow this link:&lt;br /&gt;
&lt;br /&gt;
http://XXX.XXX.XXX.XXX:2222&lt;br /&gt;
&lt;br /&gt;
and enter your Admin username and password when prompted.&lt;br /&gt;
&lt;br /&gt;
Thank you for using DirectAdmin.&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
.&lt;/span&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-13163261309411284?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/d_3o_ZQ-l9k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/13163261309411284/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/how-to-install-directadmin.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/13163261309411284?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/13163261309411284?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/d_3o_ZQ-l9k/how-to-install-directadmin.html" title="How to install Directadmin" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/how-to-install-directadmin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAERn4-eip7ImA9WxFUGU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-2265936950873533341</id><published>2010-06-21T17:07:00.002+05:30</published><updated>2010-07-01T02:48:27.052+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-01T02:48:27.052+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to create software raid0" /><title>How to create software raid0</title><content type="html">&lt;b&gt;How to create software raid0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RAID:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RAID&lt;/b&gt;- &lt;b&gt;R&lt;/b&gt;edundant &lt;b&gt;A&lt;/b&gt;rray of &lt;b&gt;I&lt;/b&gt;ndependent &lt;b&gt;D&lt;/b&gt;isks&lt;br /&gt;
&lt;b&gt;RAID0&lt;/b&gt;- is a method of storing data on multiple computer storage devices to achieving faster read and write speeds.The data is broken down into blocks and each block is written to a separate disk&amp;nbsp;drive. If one disk fails total data will loose.&lt;br /&gt;
&lt;br /&gt;
Here we are going to create software raid0.&lt;br /&gt;
&lt;br /&gt;
consider we have 2 hardisk sda and sdb&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;fdisk -l&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sda: 500.1 GB, 500107862016 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 60801 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Device Boot &amp;nbsp; &amp;nbsp; &amp;nbsp;Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End &amp;nbsp; &amp;nbsp; &amp;nbsp;Blocks &amp;nbsp; Id &amp;nbsp;System&lt;br /&gt;
/dev/sda1 &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;13 &amp;nbsp; &amp;nbsp; &amp;nbsp;104391 &amp;nbsp; 83 &amp;nbsp;Linux&lt;br /&gt;
/dev/sda2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1318 &amp;nbsp; &amp;nbsp;10482412+ &amp;nbsp;83 &amp;nbsp;Linux&lt;br /&gt;
/dev/sda3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1319 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1579 &amp;nbsp; &amp;nbsp; 2096482+ &amp;nbsp;82 &amp;nbsp;Linux swap / Solaris&lt;br /&gt;
&lt;b&gt;/dev/sda4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1580 &amp;nbsp; &amp;nbsp; &amp;nbsp; 60801 &amp;nbsp; 475700715 &amp;nbsp; 83 &amp;nbsp;Linux&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdb: 500.1 GB, 500107862016 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 60801 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Device Boot &amp;nbsp; &amp;nbsp; &amp;nbsp;Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End &amp;nbsp; &amp;nbsp; &amp;nbsp;Blocks &amp;nbsp; Id &amp;nbsp;System&lt;br /&gt;
&lt;b&gt;/dev/sdb1 &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 60801 &amp;nbsp; 488384001 &amp;nbsp; 42 &amp;nbsp;SFS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are going to create raid in &lt;b&gt;/dev/sda4&lt;/b&gt; and &lt;b&gt;/dev/sdb1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
First we have to change the id of both the partitions.&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;fdisk /dev/sda&lt;/b&gt;&lt;br /&gt;
..........&lt;br /&gt;
..........&lt;br /&gt;
Command (m for help):&lt;b&gt;t&lt;/b&gt;&lt;br /&gt;
Partition number (1-4):&lt;b&gt;4&lt;/b&gt;&lt;br /&gt;
Hex code (type L to list codes):&lt;b&gt;fd&lt;/b&gt;&lt;br /&gt;
Command (m for help):&lt;b&gt;w&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;fdisk /dev/sdb&lt;/b&gt;&lt;br /&gt;
..........&lt;br /&gt;
..........&lt;br /&gt;
Command (m for help):&lt;b&gt;t&lt;/b&gt;&lt;br /&gt;
Partition number (1-4):&lt;b&gt;1&lt;/b&gt;&lt;br /&gt;
Hex code (type L to list codes):&lt;b&gt;fd&lt;/b&gt;&lt;br /&gt;
Command (m for help):&lt;b&gt;w&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
NOw,&lt;br /&gt;
&lt;br /&gt;
#&lt;b&gt; fdisk -l&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sda: 500.1 GB, 500107862016 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 60801 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Device Boot &amp;nbsp; &amp;nbsp; &amp;nbsp;Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End &amp;nbsp; &amp;nbsp; &amp;nbsp;Blocks &amp;nbsp; Id &amp;nbsp;System&lt;br /&gt;
/dev/sda1 &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;13 &amp;nbsp; &amp;nbsp; &amp;nbsp;104391 &amp;nbsp; 83 &amp;nbsp;Linux&lt;br /&gt;
/dev/sda2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1318 &amp;nbsp; &amp;nbsp;10482412+ &amp;nbsp;83 &amp;nbsp;Linux&lt;br /&gt;
/dev/sda3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1319 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1579 &amp;nbsp; &amp;nbsp; 2096482+ &amp;nbsp;82 &amp;nbsp;Linux swap / Solaris&lt;br /&gt;
/dev/sda4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1580 &amp;nbsp; &amp;nbsp; &amp;nbsp; 60801 &amp;nbsp; 475700715 &amp;nbsp; &lt;b&gt;fd&lt;/b&gt; &amp;nbsp;Linux&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdb: 500.1 GB, 500107862016 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 60801 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Device Boot &amp;nbsp; &amp;nbsp; &amp;nbsp;Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End &amp;nbsp; &amp;nbsp; &amp;nbsp;Blocks &amp;nbsp; Id &amp;nbsp;System&lt;br /&gt;
/dev/sdb1 &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 60801 &amp;nbsp; 488384001 &amp;nbsp; &lt;b&gt;fd&lt;/b&gt; &amp;nbsp;SFS&lt;br /&gt;
&lt;br /&gt;
Use the partprobe&amp;nbsp;to reload the changes without rebooting the box:&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;partprobe&amp;nbsp;/dev/sda4&lt;/b&gt;&lt;br /&gt;
#&amp;nbsp;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;partprobe&lt;/b&gt;&lt;/span&gt;&amp;nbsp;/dev/sdb1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Create raid0:&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda4 /dev/sdb1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
create file system on our raid,&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mkfs.ext3 /dev/md0&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To check the raid0,&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;cat /proc/mdstat&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Personalities : [raid0]&lt;br /&gt;
md0 : active raid0 sdb1[1] sda4[0]&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;964083520 blocks 64k chunks&lt;br /&gt;
unused devices:&lt;br /&gt;
&lt;none&gt;&lt;/none&gt;&lt;br /&gt;
&lt;br /&gt;
and,&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mdadm --detail /dev/md0&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
/dev/md0:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version : 0.90&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Creation Time : Wed Jun 16 02:01:47 2010&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; Raid Level : raid0&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; Array Size : 964083520 (919.42 GiB 987.22 GB)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Raid Devices : 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Total Devices : 2&lt;br /&gt;
Preferred Minor : 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Persistence : Superblock is persistent&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Update Time : Wed Jun 16 02:01:47 2010&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;State : clean&lt;br /&gt;
&amp;nbsp;Active Devices : 2&lt;br /&gt;
Working Devices : 2&lt;br /&gt;
&amp;nbsp;Failed Devices : 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Spare Devices : 0&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; Chunk Size : 64K&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UUID : 7df3ae47:4d85c172:4522530b:f2487312&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Events : 0.1&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Number &amp;nbsp; Major &amp;nbsp; Minor &amp;nbsp; RaidDevice State&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;active sync &amp;nbsp; /dev/sda4&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; 17 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;active sync &amp;nbsp; /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally we have to mount the raid to any location like,&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mount /dev/md0 /raid&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to prementaly mount it, give the detais in the fstab.&lt;br /&gt;
&lt;br /&gt;
I think this document is usefull for you......&lt;b&gt; :-)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-2265936950873533341?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/QK9fOvXzTcc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/2265936950873533341/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/how-to-create-software-raid0.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2265936950873533341?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2265936950873533341?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/QK9fOvXzTcc/how-to-create-software-raid0.html" title="How to create software raid0" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/how-to-create-software-raid0.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4NQncyeSp7ImA9WxFUEUw.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-597618986355586459</id><published>2010-06-21T15:06:00.000+05:30</published><updated>2010-06-21T15:06:33.991+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-21T15:06:33.991+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="To Compress Drectory/File in Linux" /><title>To Compress Drectory/File in Linux</title><content type="html">&lt;b&gt;To Compress Drectory/File in Linux.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here we are going compress the directory/file using the tar command.&lt;br /&gt;
This is a good way to create backups and archives.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some of the options used with the tar are:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
-c: &amp;nbsp;Create archive&lt;br /&gt;
-v: &amp;nbsp;Verbose i.e show the progress of the files being archived.&lt;br /&gt;
-f: &amp;nbsp;Archive File name&lt;br /&gt;
-t: &amp;nbsp;Show the list of files in the tar file.&lt;br /&gt;
-x: &amp;nbsp;Extract files from an archive.&lt;br /&gt;
-z: &amp;nbsp;Compress the tar file with gzip(gzip-Compression Tool)&lt;br /&gt;
-j: &amp;nbsp;Compress the tar file with bzip2(bzip-Compression Tool)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt;To compress the /home/admin/user1 folder as backup1.tar.gz&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;tar -zcvf backup1.tar.gz &amp;nbsp;/home/admin/user1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To restore the 'tar.gz',&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;tar -zxvf backup1.tar.gz&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
to restore in a particular directory&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;tar-zxvf backup1.tar.gz -C /tmp&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt;To compress the /home/admin/user1 folder as backup1.tar.bzip2&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;tar -jcvf backup1.tar.bzip2 &amp;nbsp;/home/admin/user1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To restore the 'tar.bzip2',&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;tar -jxvf backup1.tar.bzip2&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;.&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-597618986355586459?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/MB6N-zV0Acw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/597618986355586459/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/to-compress-drectoryfile-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/597618986355586459?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/597618986355586459?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/MB6N-zV0Acw/to-compress-drectoryfile-in-linux.html" title="To Compress Drectory/File in Linux" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/to-compress-drectoryfile-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUNQng_eip7ImA9WxFUEEk.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-7999811382047602217</id><published>2010-06-20T19:44:00.000+05:30</published><updated>2010-06-20T19:44:53.642+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-20T19:44:53.642+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSHD fatal: daemon() failed: No such device" /><title>SSHD fatal: daemon() failed: No such device</title><content type="html">&lt;h3 id="comments"&gt;SSHD fatal: daemon() failed: No such device:&lt;/h3&gt;&lt;div&gt;If you got error like "sshd stop&amp;nbsp;failed", check the log message in &amp;nbsp;/var/log/secure . Here you may find the "SSHD fatal: daemon() failed: No such device" error.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;You can solve it using the following simple steps:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;code&gt;# rm -rf /dev/null&lt;br /&gt;
# mknod /dev/null c 1 3&lt;/code&gt;&lt;/div&gt;&lt;div&gt;&lt;code&gt;#&amp;nbsp;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;/etc/rc.d/init.d/sshd restart&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-7999811382047602217?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/yXIhrhIh4sw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/7999811382047602217/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/sshd-fatal-daemon-failed-no-such-device.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7999811382047602217?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7999811382047602217?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/yXIhrhIh4sw/sshd-fatal-daemon-failed-no-such-device.html" title="SSHD fatal: daemon() failed: No such device" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/sshd-fatal-daemon-failed-no-such-device.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08BSXs5fip7ImA9Wx5XEk8.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-440200727217562105</id><published>2010-06-16T05:39:00.004+05:30</published><updated>2010-09-11T22:54:18.526+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-11T22:54:18.526+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Install and use rsync" /><title>Install and use rsync</title><content type="html">&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Install and use rsync&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync is a free software computer program for Unix and Linux like systems.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Using rsync we can take backup/mirroring a directory tree of files from one machine to another machine or in a same machine.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;To install rsync:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;In &amp;nbsp;Ubuntu,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# apt-get install rsync&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;In &amp;nbsp;CentOS/Fedora Core Linux,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# yum install rsync&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync syntax:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync {source} &amp;nbsp;{destination}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Options:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;--delete : delete files that don't exist on sender (system)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;-v &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: Verbose&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;-a &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: archive mode&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;-r &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: recurse into directories&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;-z &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; : compress file data&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;Example:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;In a single machine:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# rsync -avz /src/bar /data/tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;This will transfer all files from the directory /src/bar to /data/tmp/bar directory.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;# rsync -avz /src/bar/ /data/tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;This will transfer all files from the directory /src/bar to /data/tmp/.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;"/" (slash) on a source means "copy the contents of this directory".&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;From a local computer to a remote server:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync &amp;nbsp;-avz &amp;nbsp;--rsh='ssh -p{ssh-port.no}' &amp;nbsp; {source} &amp;nbsp;{remote machine IP}:{destination}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;example:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync &amp;nbsp;-avz &amp;nbsp; --rsh='ssh &amp;nbsp;-p2222' &amp;nbsp;/src/bar/ &amp;nbsp;192.168.1.1:/data/tmp/&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;If the remote server using default port(22):&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;rsync &amp;nbsp;-avz &amp;nbsp;&amp;nbsp;-e ssh &amp;nbsp;/src/bar/ &amp;nbsp;192.168.1.1:/data/tmp/&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-440200727217562105?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/qcHZABQTeuY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/440200727217562105/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/install-and-use-rsync.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/440200727217562105?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/440200727217562105?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/qcHZABQTeuY/install-and-use-rsync.html" title="Install and use rsync" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/install-and-use-rsync.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QDSXg6fyp7ImA9WxFVE0s.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-2624881577452777077</id><published>2010-06-12T22:19:00.000+05:30</published><updated>2010-06-12T22:19:38.617+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-12T22:19:38.617+05:30</app:edited><title>chkconfig in Ubuntu</title><content type="html">&lt;b&gt;chkconfig in Ubuntu :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
chkconfig in ubuntu is &amp;nbsp;&lt;b&gt;sysv-rc-conf&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;On Ubuntu you need to install&lt;/span&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;# sudo apt-get install sysv-rc-conf&lt;/span&gt;&lt;/blockquote&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Once it is installed run the command&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;# sudo sysv-rc-conf&lt;/span&gt;&lt;/blockquote&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
&lt;br /&gt;
.&amp;nbsp;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-2624881577452777077?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/tkisg0wGW0k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/2624881577452777077/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/chkconfig-in-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2624881577452777077?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2624881577452777077?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/tkisg0wGW0k/chkconfig-in-ubuntu.html" title="chkconfig in Ubuntu" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/chkconfig-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYMRnY9eip7ImA9WxFVEkw.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-6245339924451927919</id><published>2010-06-11T05:09:00.001+05:30</published><updated>2010-06-11T05:09:47.862+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-11T05:09:47.862+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to set mysql root password" /><title>How to set mysql root password</title><content type="html">&lt;b&gt;How to set mysql root password&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
You can easily set the mysql root password...&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mysql -u root&lt;/b&gt;&lt;br /&gt;
mysql&amp;gt; &lt;b&gt;USE mysql;&lt;/b&gt; &lt;br /&gt;
mysql&amp;gt; &lt;b&gt;UPDATE user SET Password=PASSWORD('new-password') WHERE user='root';&lt;/b&gt;&lt;br /&gt;
mysql&amp;gt; &lt;b&gt;FLUSH PRIVILEGES;&lt;/b&gt;&lt;br /&gt;
mysql&lt;b&gt;&amp;gt; exit&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Now try to login with the password:&lt;br /&gt;
&lt;br /&gt;
# &lt;b&gt;mysql -u root -p&lt;/b&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
Welcome to the MySQL monitor.......&lt;br /&gt;
.......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-6245339924451927919?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/_DUiyRRHsJo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/6245339924451927919/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/06/how-to-set-mysql-root-password.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6245339924451927919?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6245339924451927919?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/_DUiyRRHsJo/how-to-set-mysql-root-password.html" title="How to set mysql root password" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/06/how-to-set-mysql-root-password.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQDQ3o8fSp7ImA9Wx5QEkk.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-419639450872514647</id><published>2010-05-26T04:48:00.004+05:30</published><updated>2010-08-31T13:42:52.475+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-31T13:42:52.475+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to change the hostname in Linux" /><title>How to change the hostname in Linux</title><content type="html">&lt;span style="font-weight: bold;"&gt;To change the host name in Ubuntu, Debian,.....&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
# vi /etc/hostname&lt;br /&gt;
&lt;br /&gt;
new_hostname&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/hostname.sh restart&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;To change the host name in Redhat,CentOs,fedora,......&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;Give the new hostname in the following files&lt;br /&gt;
&lt;br /&gt;
# vi  /etc/hosts&lt;br /&gt;
# vi /etc/sysconfig/network&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
# sysctl kernel.hostname=new_hostname&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-419639450872514647?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/ZQkyN5ntSxU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/419639450872514647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/05/how-to-change-hostname-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/419639450872514647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/419639450872514647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/ZQkyN5ntSxU/how-to-change-hostname-in-linux.html" title="How to change the hostname in Linux" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/05/how-to-change-hostname-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cBQX8zcCp7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-8321471023175492128</id><published>2010-05-18T01:37:00.004+05:30</published><updated>2010-05-18T02:47:30.188+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:47:30.188+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="How to configure csf on vps" /><title>How to configure csf on vps</title><content type="html">&lt;span style="font-weight: bold;"&gt;Configure csf on vps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Configuration in node(Main Server)&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;Before starting the csf installation check whether the following modules are inserted in the kernel:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-weight: bold;"&gt;ipt_conntrack&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ip_tables&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_LOG&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_multiport&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_REJECT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_state&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_limit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_recent&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipt_owner&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;iptable_nat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;div style="text-align: left;"&gt;&lt;em&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/em&gt;You can check it as follows&lt;br /&gt;&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;lsmod |grep -i &lt;module style="font-weight: bold;"&gt;&lt;/module&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;{modules}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If not insert these modules into the kernel&lt;br /&gt;&lt;br /&gt;#&lt;span style="font-weight: bold;"&gt;modprobe &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;module style="font-weight: bold;"&gt;&lt;/module&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;{modules}&lt;/span&gt;&lt;module&gt;&lt;br /&gt;eg: modprobe  ipt_recent&lt;br /&gt;&lt;br /&gt;Add these modules to iptable configuration as follows&lt;br /&gt;&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;vi /etc/sysconfig/iptables-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add the following in this file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IPTABLES_MODULES=&lt;/span&gt;&lt;span style="font-weight: bold;" class="MsgBodyText"&gt;"iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add these modules in the VPS configuration file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# vi /etc/sysconfig/vz-scripts/100.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IPTABLES_MODULES=&lt;/span&gt;&lt;span style="font-weight: bold;" class="MsgBodyText"&gt;"iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Main server(node) configuration is over. Now restart the vps&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# vzctl restart &lt;veid&gt;&lt;/veid&gt;&lt;/span&gt;&lt;br /&gt;eg: vzctl restart 100&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) VPS configurttion&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;Enter in to VPS&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#cd /usr/local/src/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# wget http://www.configserver.com/free/csf.tgz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# tar zxvf csf.tgz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# cd csf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ./install.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To test all the iptable modules are available&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ./csftest.pl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are running apf_bfd firewall, it has to be removed for csf works&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ./remove_apf_bfd.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now to configure csf config file to implement firewall as per our need&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# vi /etc/csf/csf.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TESTING = “1"&lt;/span&gt;&lt;br /&gt;(We will change it to zero “0″ when we finished and sure we have configured correctly)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TCP_IN = “20,21,22,25,53,80,110,143,443,465,587,993,995″&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TCP_OUT = “20,21,22,25,53,80,110,113,443″&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UDP_IN = “20,21,53″&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UDP_OUT = “20,21,53,113,123"&lt;/span&gt;&lt;br /&gt;(Put your all ports which you want to be open on your server for incoming &amp;amp; outgoing traffic seperated by comma)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PORTFLOOD = “80;tcp;20;5″&lt;/span&gt;&lt;br /&gt;(To protect your server any specific port from DOS attacks, you can define it in PORTFLOOD tag. By default its empty and i did like to limit 20 connections per 5 sec to port 80 (webserver))&lt;br /&gt;&lt;br /&gt;After this save the file and restart the csf service&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#  /etc/init.d/csf start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you completed with configuation and sure that every rules is implemented correctly then change Testing from 1 to 0 for run CSF permanently.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TESTING = “0″&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and restart the service again to activate it&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#  /etc/init.d/csf restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;/module&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-8321471023175492128?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/jiiDWyA5kSM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/8321471023175492128/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/05/how-to-configure-csf-on-vps.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8321471023175492128?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8321471023175492128?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/jiiDWyA5kSM/how-to-configure-csf-on-vps.html" title="How to configure csf on vps" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/05/how-to-configure-csf-on-vps.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYNQHY8eCp7ImA9WxFbGUg.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-7182826991553976342</id><published>2010-05-02T16:37:00.005+05:30</published><updated>2010-07-12T23:39:51.870+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-12T23:39:51.870+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="To test whether the TUN/TAP device is available" /><title>To test whether the TUN/TAP device is available</title><content type="html">To test whether the TUN/TAP device is working or not:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;# cat /dev/net/tun&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If you receive the message &lt;span style="font-weight: bold;"&gt;cat: /dev/net/tun: File descriptor in bad state&lt;/span&gt; your TUN/TAP device is ready for use.&lt;br /&gt;
&lt;br /&gt;
If you receive the message &lt;span style="font-weight: bold;"&gt;cat: /dev/net/tun: No such device&lt;/span&gt; the TUN/TAP device was not successfully created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-7182826991553976342?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/UOod1bU24qU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/7182826991553976342/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/05/to-test-whether-tuntap-device-is.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7182826991553976342?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7182826991553976342?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/UOod1bU24qU/to-test-whether-tuntap-device-is.html" title="To test whether the TUN/TAP device is available" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/05/to-test-whether-tuntap-device-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MEQn88eSp7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-6286183938447902461</id><published>2010-05-02T16:28:00.003+05:30</published><updated>2010-05-18T02:53:23.171+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:53:23.171+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Command to check the software raid is working fine" /><title>Command to check the software raid is working fine</title><content type="html">&lt;span style="font-weight: bold;"&gt;Command to check the software raid is working fine:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Check the mdstat file:&lt;br /&gt;&lt;br /&gt;# cat /proc/mdstat&lt;br /&gt;&lt;br /&gt;You are looking for a line like this:&lt;br /&gt;&lt;br /&gt;md0 : active raid1 sdb5[0] sda5[1] 32000 blocks [2/2] [UU]&lt;br /&gt;&lt;br /&gt;If the last part ever changes you know one of the drives has failed, ie if it changes to "[2/1] [U_]" then the second drive is out.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-6286183938447902461?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/TdsWlV6CCLA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/6286183938447902461/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/05/command-to-check-software-raid-is.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6286183938447902461?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/6286183938447902461?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/TdsWlV6CCLA/command-to-check-software-raid-is.html" title="Command to check the software raid is working fine" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/05/command-to-check-software-raid-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MHRX4_fip7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-699172642751234974</id><published>2010-05-01T08:17:00.003+05:30</published><updated>2010-05-18T02:53:54.046+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:53:54.046+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSL: error:00000000:lib(0):func(0):reason(0)" /><title>SSL: error:00000000:lib(0):func(0):reason(0)</title><content type="html">&lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;SSL&lt;/span&gt;: error:00000000:lib(0):&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;func&lt;/span&gt;(0):reason(0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you restart the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;kloxo&lt;/span&gt; you may got this error message.&lt;br /&gt;To solve this,&lt;br /&gt;&lt;br /&gt;# &lt;span class="MsgBodyText"&gt;yum downgrade openssl&lt;br /&gt;# yum update&lt;br /&gt;&lt;br /&gt;This will fix the issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-699172642751234974?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/vABQIuP5uCA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/699172642751234974/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/05/ssl-error00000000lib0func0reason0.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/699172642751234974?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/699172642751234974?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/vABQIuP5uCA/ssl-error00000000lib0func0reason0.html" title="SSL: error:00000000:lib(0):func(0):reason(0)" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/05/ssl-error00000000lib0func0reason0.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UGRno8cCp7ImA9WxFWEE4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-2328301816783017251</id><published>2010-04-23T09:44:00.004+05:30</published><updated>2010-05-28T12:50:27.478+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-28T12:50:27.478+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TypeError: rpmdb open failed" /><title>TypeError: rpmdb open failed</title><content type="html">&lt;span style="font-weight: bold;"&gt;TypeError: rpmdb open failed&lt;/span&gt;&lt;br /&gt;When you install or update a package using yum you will get this error.&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;code style="font-weight: bold;"&gt;#rm /dev/urandom&lt;br /&gt;#mknod -m 644 /dev/urandom c 1 9&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-2328301816783017251?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/RK9IuCwLolU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/2328301816783017251/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/04/typeerror-rpmdb-open-failed.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2328301816783017251?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2328301816783017251?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/RK9IuCwLolU/typeerror-rpmdb-open-failed.html" title="TypeError: rpmdb open failed" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/04/typeerror-rpmdb-open-failed.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IHQHY8fSp7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-8910166815618516385</id><published>2010-04-21T07:00:00.003+05:30</published><updated>2010-05-18T02:55:31.875+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:55:31.875+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Transaction Check Error" /><title>Transaction Check Error:</title><content type="html">&lt;pre&gt;When you are running 'yum update' you will get the following error.&lt;br /&gt;&lt;br /&gt;Transaction Check Error:&lt;br /&gt; file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.4.6-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5&lt;br /&gt; file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.4.6-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5&lt;br /&gt;...................&lt;br /&gt;......................&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# yum erase subversion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After that 'yum update' will work fine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-8910166815618516385?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/lhJXMAks3sQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/8910166815618516385/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/04/transaction-check-error.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8910166815618516385?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/8910166815618516385?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/lhJXMAks3sQ/transaction-check-error.html" title="Transaction Check Error:" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/04/transaction-check-error.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EEQX07fCp7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-2028394524667592555</id><published>2010-04-18T04:12:00.003+05:30</published><updated>2010-05-18T02:56:40.304+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:56:40.304+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ERROR 1045 (28000): Access denied for user 'root'(a)'localhost' (using password: NO)" /><title>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</title><content type="html">&lt;span style="font-weight: bold;"&gt;ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;first stop the mysql:&lt;br /&gt;   # service mysqld stop&lt;br /&gt;&lt;br /&gt;enter into the mysql safe mode&lt;br /&gt;   # mysqld_safe --skip-grant-tables &amp;amp;&lt;br /&gt;&lt;br /&gt;login as a root with no password&lt;br /&gt;   # mysql -uroot mysql&lt;br /&gt;&lt;br /&gt;In mysql command  prompt&lt;br /&gt;   &gt; UPDATE user SET password=PASSWORD("newpassword") WHERE user="root";&lt;br /&gt;   &gt; FLUSH PRIVILEGES;&lt;br /&gt;               &gt; EXIT&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;restart the mysql&lt;br /&gt;   # /etc/init.d/mysqld restart&lt;br /&gt;&lt;br /&gt;Now you can enter in to mysql using the root password "newpassword" &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-2028394524667592555?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/gCnhJTEAryo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/2028394524667592555/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/04/error-1045-28000-access-denied-for-user.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2028394524667592555?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/2028394524667592555?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/gCnhJTEAryo/error-1045-28000-access-denied-for-user.html" title="ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/04/error-1045-28000-access-denied-for-user.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EARXwycSp7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-7735103869405612814</id><published>2010-04-15T07:19:00.003+05:30</published><updated>2010-05-18T02:57:24.299+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:57:24.299+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" /><title>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)</title><content type="html">"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) "&lt;br /&gt;&lt;br /&gt;When you restart the mysql you may got this error.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ps ax | grep mysql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you will get two or more pid of mysql. kill all using the following command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# kill -9  xxxx  xxxx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now restart the mysql.&lt;br /&gt;&lt;br /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-7735103869405612814?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/DmC1qWxODAI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/7735103869405612814/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/04/error-2002-hy000-cant-connect-to-local.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7735103869405612814?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/7735103869405612814?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/DmC1qWxODAI/error-2002-hy000-cant-connect-to-local.html" title="ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/04/error-2002-hy000-cant-connect-to-local.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EMQHk_eip7ImA9WxFXEU4.&quot;"><id>tag:blogger.com,1999:blog-4258392697161483374.post-5935217855164893247</id><published>2010-04-15T02:21:00.004+05:30</published><updated>2010-05-18T02:58:01.742+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-18T02:58:01.742+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="how to install kloxo panel" /><title>how to install kloxo panel</title><content type="html">&lt;span style="font-family:webdings;"&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;how to install kloxo panel:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;# wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;# sh ./kloxo-install-master.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Now you can login into the panel by "http://(ip):7778"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;default username : admin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;                password : admin&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4258392697161483374-5935217855164893247?l=ejd021-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Ejd021-LinuxSupport/~4/0w7np6m9HPk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ejd021-linux.blogspot.com/feeds/5935217855164893247/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ejd021-linux.blogspot.com/2010/04/how-to-install-kloxo-panel.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/5935217855164893247?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4258392697161483374/posts/default/5935217855164893247?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Ejd021-LinuxSupport/~3/0w7np6m9HPk/how-to-install-kloxo-panel.html" title="how to install kloxo panel" /><author><name>ejd021</name><uri>http://www.blogger.com/profile/10330084300586510375</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://4.bp.blogspot.com/_43ACpLHtPxM/S79uV-Enk7I/AAAAAAAAAAM/I9TBwCUlwtk/S220/hands.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ejd021-linux.blogspot.com/2010/04/how-to-install-kloxo-panel.html</feedburner:origLink></entry></feed>

