<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technowledge &#187; Linux</title>
	<atom:link href="http://blog.emobilez.com/category/ubuntu-debian-linux-gonme-kde-fedora-suse/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.emobilez.com</link>
	<description>All about mobiles, ubuntu, wordpress, graphics, tech tips &#38; tricks</description>
	<lastBuildDate>Sat, 11 Feb 2012 08:35:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Fixing Users Quotas in cPanel</title>
		<link>http://blog.emobilez.com/2010/08/21/fixing-users-quotas-in-cpanel/</link>
		<comments>http://blog.emobilez.com/2010/08/21/fixing-users-quotas-in-cpanel/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 00:49:02 +0000</pubDate>
		<dc:creator>Fahad Junaid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=926</guid>
		<description><![CDATA[Cpanel/WHM sometimes has problems with the user quota files causing all users accounts to have unlimited disk space available or 0 megs of disk space in use. This obviously confuses your customers and doesn&#8217;t show a real representation of actual disk space being used by your clients. This guide will take you through fixing any [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-927  alignleft" title="cpanel" src="http://blog.emobilez.com/wp-content/uploads/2010/08/cpanel.gif" alt="" width="262" height="342" /></p>
<p>Cpanel/WHM sometimes has problems with the user quota files causing all  users accounts to have unlimited disk space available or 0 megs of disk  space in use. This obviously confuses your customers and doesn&#8217;t show a  real representation of actual disk space being used by your clients.  This guide will take you through fixing any quota issues with Cpanel  manually or automated.<br />
<span id="more-926"></span><strong>Common reasons for quota problems</strong></p>
<p>- There are files owned by the same user elsewhere on the server<br />
- The backup directory is being counted towards the users disk quota<br />
- Extra log files are being counted towards the users quota<br />
- Cpanel was just updated and the quotas are now unlimited</p>
<p>Quick Fix &#8211; an easy way to fix quota issues</p>
<p>Step 1. Log into your server through SSH as the root user.</p>
<p>Step 2. Run the following command</p>
<p>/scripts/fixquotas</p>
<p>Advanced Fix &#8211; other reasons quotas are not working</p>
<p>Step 1. Find the user account where the quotas are incorrect and login to your server in SSH as root.</p>
<p>Step 2. Go to the users folder and check their disk space being used.</p>
<p>cd /home/username<br />
du -h or try du -hs</p>
<p>Step 3. Check /etc/passwd and /etc/shadow to make sure there is no weirdness where the username shows up multiple times.</p>
<p>Step 4. Try finding other files owned by the user.</p>
<p>find -user username | more</p>
<p>This will list all files owned by this user that could be affecting the quota reported by Cpanel.</p>
<p>Step 5. Uncompressed backups can cause quota problems, ensure your backups are compressed in the WHM backup options.</p>
<p>Step 6. After your determine the source of the files and remove them then run</p>
<p>/scripts/fixquotas</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2010/08/21/fixing-users-quotas-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent Apache From DDoS Attacks</title>
		<link>http://blog.emobilez.com/2010/08/14/prevent-apache-from-ddos-attacks/</link>
		<comments>http://blog.emobilez.com/2010/08/14/prevent-apache-from-ddos-attacks/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 18:03:52 +0000</pubDate>
		<dc:creator>Fahad Junaid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DDos Attack]]></category>
		<category><![CDATA[linux security]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=914</guid>
		<description><![CDATA[Implement security features in your server like: 1) DDOS protection using CSF through “SYNFLOOD”. 2) Install apache modules like mod_dosevasive and mod_security in your server. 3) The best,free &#38; open sources solution to protect from DDOs :- http://deflate.medialayer.com/ 4) Configure APF and IPTABLES to reduce the DDOS. Description here :- 1.) DDOS protection using CSF [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Implement security features in your server like:</p>
<p>1) DDOS protection using CSF through “SYNFLOOD”.<br />
2) Install apache modules like mod_dosevasive and mod_security in your server.<br />
3) The best,free &amp; open sources solution to protect from DDOs :- http://deflate.medialayer.com/<br />
4) Configure APF and IPTABLES to reduce the DDOS.</p>
<p><span id="more-914"></span>Description here :-</p>
<p><strong>1.) DDOS protection using CSF through “SYNFLOOD”. &amp; Connection tracking :- Please modify these option through CSF</strong><strong><br />
<strong>:- </strong></strong><br />
# Enable SYN Flood Protection. This option configures iptables to offer some<br />
# protection from tcp SYN packet DOS attempts. You should set the RATE so that<br />
# false-positives are kept to a minimum otherwise visitors may see connection<br />
# issues (check /var/log/messages for *SYNFLOOD Blocked*). See the iptables<br />
# man page for the correct –limit rate syntax<br />
SYNFLOOD = Default: 0<br />
SYNFLOOD_RATE = 100/s<br />
SYNFLOOD_BURST = 150</p>
<p># Connection Tracking. This option enables tracking of all connections from IP<br />
# addresses to the server. If the total number of connections is greater than<br />
# this value then the offending IP address is blocked. This can be used to help<br />
# prevent some types of DOS attack.<br />
#<br />
# Care should be taken with this option. It’s entirely possible that you will<br />
# see false-positives. Some protocols can be connection hungry, e.g. FTP, IMAPD<br />
# and HTTP so it could be quite easy to trigger, especially with a lot of<br />
# closed connections in TIME_WAIT. However, for a server that is prone to DOS<br />
# attacks this may be very useful. A reasonable setting for this option might<br />
# be arround 300.<br />
#<br />
# To disable this feature, set this to 0<br />
CT_LIMIT = Default: 50 (means 50 connections per ip address)<br />
# Connection Tracking interval. Set this to the the number of seconds between<br />
# connection tracking scans<br />
CT_INTERVAL = Default: 30<br />
# Send an email alert if an IP address is blocked due to connection tracking<br />
CT_EMAIL_ALERT = Default: 1<br />
# If you want to make IP blocks permanent then set this to 1, otherwise blocks<br />
# will be temporary and will be cleared after CT_BLOCK_TIME seconds<br />
CT_PERMANENT = Default: 0<br />
# If you opt for temporary IP blocks for CT, then the following is the interval<br />
# in seconds that the IP will remained blocked for (e.g. 1800 = 30 mins)<br />
CT_BLOCK_TIME = Default: 1800<br />
# If you don’t want to count the TIME_WAIT state against the connection count<br />
# then set the following to “1″<br />
CT_SKIP_TIME_WAIT = Default: 0<br />
# If you only want to count specific states (e.g. SYN_RECV) then add the states<br />
# to the following as a comma separated list. E.g. “SYN_RECV,TIME_WAIT”<br />
#<br />
# Leave this option empty to count all states against CT_LIMIT<br />
CT_STATES =<br />
# If you only want to count specific ports (e.g. 80,443) then add the ports<br />
# to the following as a comma separated list. E.g. “80,443″<br />
#<br />
# Leave this option empty to count all ports against CT_LIMIT<br />
CT_PORTS = 80,443</p>
<p>======================================================<br />
<strong>2) Install apache modules like mod_dosevasive and mod_security in your server= :-</strong></p>
<p>mod_evasive and mod_security modules are used to secure Apache Web  Server from DDoS and brute force attacks by implementing web application  firewall.</p>
<p>The mod_evasive authoring site (zdziarski.com) states that  mod_evasive is an evasive maneuvers module for Apache to provide evasive  action in the event of an HTTP DoS or DDoS attack or brute force  attack. It is also designed to be a detection and network management  tool, and can be easily configured to talk to ipchains, firewalls,  routers, and etcetera..</p>
<p>*Note: mod_evasive module has been known to cause problems with  frontpage server extensions. If you use frontpage server extension, you  should thoroughly test your mod_evasive installation before deploying a  production server.</p>
<p>[root@map007~]# cd  /usr/local</p>
<p>[root@map007 local]#  wget <a href="http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz">http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz</a><br />
[root@map007 local]# tar -xvzf mod_evasive_1.10.1.tar.gz<br />
[root@map007 local]#  cd mod_evasive<br />
[root@map007 mod_evasive]#  /usr/local/apache/bin/apxs -cia mod_evasive.c<br />
[root@map007 mod_evasive]# mv mod_evasive.loT mod_evasive.lo<br />
[root@map007 mod_evasive]# /usr/local/apache/bin/apxs -cia mod_evasive.c<br />
[root@map007 mod_evasive]#  httpd -M|grep evasive</p>
<p>Edit httpd.conf with the following details<br />
[root@map007 mod_evasive]# vi /etc/httpd/conf/httpd.conf</p>
<p>&lt;IfModule mod_evasive20.c&gt;<br />
DOSHashTableSize   3097<br />
DOSPageCount   2<br />
DOSSiteCount   50<br />
DOSPageInterval   1<br />
DOSSiteInterval   1<br />
DOSBlockingPeriod   600<br />
&lt;/IfModule&gt;</p>
<p>[root@map007 mod_evasive]# cd /usr/local/apache/modules/<br />
Then download mod_evasive20.so through web and place it in modules directory and change the permission with 755.</p>
<p>[root@map007 ~]#  /etc/init.d/httpd restart</p>
<p>======================================================</p>
<p><strong>3) The best,free &amp; open sources solution to protect from DDOs :- </strong></p>
<p><strong>http://deflate.medialayer.com/ :-</strong></p>
<p>(D)DoS Deflate is a lightweight bash shell script designed to assist  in the process of blocking a denial of service attack. It utilizes the  command below to create a list of IP addresses connected to the server,  along with their total number of connections. It is one of the simplest  and easiest to install solutions at the software level.</p>
<p>netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n</p>
<p>IP addresses with over a pre-configured number of connections are  automatically blocked in the server’s firewall, which can be direct  iptables or Advanced Policy Firewall (APF). (We highly recommend that  you use APF on your server in general, but deflate will work without  it.)<br />
Notable Features :-</p>
<p>* It is possible to whitelist IP addresses, via /usr/local/ddos/ignore.ip.list.<br />
* Simple configuration file: /usr/local/ddos/ddos.conf<br />
* IP addresses are automatically unblocked after a preconfigured time limit (default: 600 seconds)<br />
* The script can run at a chosen frequency via the configuration file (default: 1 minute)<br />
* You can receive email alerts when IP addresses are blocked.</p>
<p>Installation :-</p>
<p>[root@map007 ~]# wget http://www.inetbase.com/scripts/ddos/install.sh<br />
[root@map007 ~]# chmod 0700 install.sh<br />
[root@map007 ~]# ./install.sh</p>
<p>Uninstallation :-</p>
<p>[root@map007 ~]# wget http://www.inetbase.com/scripts/ddos/uninstall.ddos<br />
[root@map007 ~]# chmod 0700 uninstall.ddos<br />
[root@map007 ~]# ./uninstall.ddos</p>
<p><strong>4) Configure APF and IPTABLES to reduce the DDOS.</strong><br />
<strong></strong></p>
<p><strong>Source: <a href="http://www.linuxsurgeon.org/kb/how-to-prevent-apache-from-ddos-attacks.html" target="_blank">Linuxsurgeon.org</a><br />
</strong></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2010/08/14/prevent-apache-from-ddos-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-mail Alert On Root SSH Login</title>
		<link>http://blog.emobilez.com/2010/08/14/e-mail-alert-on-root-ssh-login/</link>
		<comments>http://blog.emobilez.com/2010/08/14/e-mail-alert-on-root-ssh-login/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 00:48:29 +0000</pubDate>
		<dc:creator>Fahad Junaid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Login Alert]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=910</guid>
		<description><![CDATA[Want to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you&#8217;re dealing with the super user account. We recommend that you use an email [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Want to be notified instantly when someone  logs into your server as root? No problem, check out this nice tutorial  on email notification for root logins. Keeping track of who logs into  your server and when is very important, especially when you&#8217;re dealing  with the super user account. We recommend that you use an email address  not hosted on the server your sending the alert from.</p>
<p><span id="more-910"></span>So lets get started!</p>
<p>1. Login to your server and su to root, I know the irony!</p>
<p>2. cd /root</p>
<p>3. pico .bashrc</p>
<p>4. Scroll to the end of the file then add the following:<br />
echo &#8216;ALERT &#8211; Root Shell  Access (YourserverName) on:&#8217; `date` `who` | mail -s &#8220;Alert: Root Access  from `who | cut -d&#8217;(&#8216; -f2 | cut -d&#8217;)&#8217; -f1`&#8221; you@yourdomain.com</p>
<p>Replace YourServerName with the handle for your actual server<br />
Replace you@yourdomain.com with your actual email address</p>
<p>5. Crtl + X then Y</p>
<p>Now logout of SSH, close the  connection and log back in! You should receive an email address of the  root login alert a few minutes afterwards.</p>
<p>Note: This is a great tool for servers  that have multiple admins or if you give someone SSH access for  whatever reason, although you should give out the root password to as  few people as humanly possible and be sure to change it often.</p>
<p>This will not magically alert you when  a hacker runs the latest kernel exploit on your server and logs into  SSH because they will create their own SSH/telnet connection. You should  keep your system up to date, install a firewall and follow the latest  security releases.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2010/08/14/e-mail-alert-on-root-ssh-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix &#8220;Archive directory /var/cache/apt/archives/partial is missing” error</title>
		<link>http://blog.emobilez.com/2009/02/21/fix-archive-directory-varcacheaptarchivespartial-is-missing%e2%80%9d-error/</link>
		<comments>http://blog.emobilez.com/2009/02/21/fix-archive-directory-varcacheaptarchivespartial-is-missing%e2%80%9d-error/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 16:16:58 +0000</pubDate>
		<dc:creator>Sajid Iqbal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=538</guid>
		<description><![CDATA[After deleting some .debs from /var/cache/apt, there was an alert displayed in my Ubuntu system tray. When I tried to install anything via apt-get or run a system upgrade, I was annoyed with this message: &#8220;Archive directory /var/cache/apt/archives/partial is missing”. Searching through Google I came to know this solution and it worked for me. You [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>After deleting some .debs from /var/cache/apt, there was an alert displayed in my Ubuntu system tray. When I tried to install anything via apt-get or run a system upgrade, I was annoyed with this message: &#8220;Archive directory /var/cache/apt/archives/partial is missing”. Searching through Google I came to know <a href="http://liltux.wordpress.com/2007/06/15/howto-fix-e-archive-directory-varcacheaptarchivespartial-is-missing-error/" target="_blank">this solution</a> and it worked for me. You have to follow these steps:</p>
<blockquote><p>To fix this error make sure you recreate the archives folder as well as the partial folder. open a console window and type</p>
<p>1. cd /var/cache/apt</p>
<p>2. Type ls check to make sure archives folder is displayed in case you dont see the archives folder create the folder</p>
<p>sudo mkdir archives if you already have the archives folder then skip this step.</p>
<p>3. type cd archives , create the partial folder by typing sudo mkdir partial</p>
<p>4.   type sudo apt-get autoclean to make sure apt is working properly.</p>
<p>Thats it you should now be able to get apt to work properly.</p></blockquote>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/02/21/fix-archive-directory-varcacheaptarchivespartial-is-missing%e2%80%9d-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get rid of stupid &#8220;NoClassDefFoundError&#8221; in Ubuntu</title>
		<link>http://blog.emobilez.com/2009/01/26/get-rid-of-stupid-noclassdeffounderror-in-ubuntu/</link>
		<comments>http://blog.emobilez.com/2009/01/26/get-rid-of-stupid-noclassdeffounderror-in-ubuntu/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 14:45:34 +0000</pubDate>
		<dc:creator>Sajid Iqbal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=296</guid>
		<description><![CDATA[We use a small Java application to monitor SMS services in our company. This client application connect to the server via internet, means I can monitor the services from anywhere. It was working fine both on Windows as well Ubuntu. Three days earlier when I was cleaning up some applications after Ubuntu File System got [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>We use a small Java application to monitor SMS services in our company. This client application connect to the server via internet, means I can monitor the services from anywhere. It was working fine both on Windows as well Ubuntu. Three days earlier when I was cleaning up some applications after Ubuntu File System got full, I mistakenly removed <a href="http://java.com/en/download/manual.jsp">JRE</a>(<em>Java Runtime Environment</em>) too. Though I re-installed it later but my service monitoring application won&#8217;t run and keep printing this error in terminal:</p>
<blockquote><p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: uk.co.planetbeyond.servicemonitor.gui.ClientMain<br />
at java.lang.Class.initializeClass(libgcj.so.90)<br />
Caused by: java.lang.ClassNotFoundException: javax.swing.RowSorter not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/sajid/sm/sm.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}<br />
at java.net.URLClassLoader.findClass(libgcj.so.90)<br />
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)<br />
at java.lang.ClassLoader.loadClass(libgcj.so.90)<br />
at java.lang.ClassLoader.loadClass(libgcj.so.90)<br />
at java.lang.Class.initializeClass(libgcj.so.90)</p></blockquote>
<p><span id="more-296"></span>I googled it to get some solution but everyone had its own answer for this error. Browsing through <a href="http://ubuntuforums.org/showthread.php?t=217936">this thread</a> over Ubuntu forums I found <a href="http://ubuntuforums.org/showpost.php?p=5793294&#038;postcount=9">this solution</a> and it worked for me. All I have to do is to run this command in a terminal:<br />
<code>sudo update-java-alternatives -s java-6-sun</code><br />
According to the author this command sets the JRE6 to run by default. That No Class Def Found error was probably due to invalid path to the appropriate JRE installation. Give it a try if your are facing this error.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/01/26/get-rid-of-stupid-noclassdeffounderror-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Ubuntu 9.04 Jaunty Jackalope Alpha 3</title>
		<link>http://blog.emobilez.com/2009/01/25/download-ubuntu-904-jaunty-jackalope-alpha-3/</link>
		<comments>http://blog.emobilez.com/2009/01/25/download-ubuntu-904-jaunty-jackalope-alpha-3/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 08:36:26 +0000</pubDate>
		<dc:creator>Sajid Iqbal</dc:creator>
				<category><![CDATA[Freebies/Freewares]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=285</guid>
		<description><![CDATA[A new version every six month is one of the joy of using Ubuntu. It is one of the frequently updated &#38; upgraded linux. After releasing Ubuntu 8.10 Interpid, the developers quickly started to work for next scheduled release. And here we are, the new version Ubuntu 9.04&#8242;s Alpha 3 is now available for download. [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>A new version every six month is one of the joy of using <a href="http://ubuntu.org">Ubuntu</a>. It is one of the frequently updated &amp; upgraded linux. After releasing Ubuntu 8.10 Interpid, the developers quickly started to work for next scheduled release. And here we are, the new version Ubuntu 9.04&#8242;s Alpha 3 is now available for download.<span id="more-285"></span> According to the <a href="https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html">official release</a>:</p>
<blockquote><p>The Ubuntu developers are moving quickly to bring you the absolute latest and greatest software the Open Source Community has to offer. The Jaunty Jackalope Alpha 3 will be the third alpha release of Ubuntu 9.04, bringing with it the earliest new features for the next version of Ubuntu.</p>
<p>This is still an alpha release. Do not install it on production machines. The final stable version will be released on April 23rd, 2009.</p></blockquote>
<p><strong><br />
<img src="http://blog.emobilez.com/wp-content/uploads/2009/01/Ubuntu-9-04-Alpha-3-Screenshot.jpg" alt="Ubuntu 9.04 Screenshot" /></p>
<p>Download Links(</strong><em>direct links</em><strong>):</strong><br />
<a href="http://cdimage.ubuntu.com/releases/jaunty/alpha-3/jaunty-desktop-i386.iso">Ubuntu 9.04 Alpha3 32bit</a><br />
<a href="http://cdimage.ubuntu.com/releases/jaunty/alpha-3/jaunty-desktop-amd64.iso">Ubuntu 9.04 Alpha3 64bit</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/01/25/download-ubuntu-904-jaunty-jackalope-alpha-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to change SSH Port</title>
		<link>http://blog.emobilez.com/2009/01/23/how-to-change-ssh-port/</link>
		<comments>http://blog.emobilez.com/2009/01/23/how-to-change-ssh-port/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 03:06:10 +0000</pubDate>
		<dc:creator>Fahad Junaid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[changin ssh port]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=242</guid>
		<description><![CDATA[In most of the cases when a Web hosting company setup a new dedicated server, what they tech do is they do not change the SSH port as by default its &#8220;22&#8243;. Later on it might result in security threat, So what the system Administrator recommend is to change the SSH Port from &#8220;22&#8243; to [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>In most of the cases when a Web hosting company setup a new dedicated server, what they tech do is they do not change the SSH port as by default its &#8220;22&#8243;. Later on it might result in security threat, So what the system Administrator recommend is to change the SSH Port from &#8220;22&#8243; to any other value.  Here are few steps to change it.</p>
<p><strong> 1. </strong>Login as root to your server using <strong><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_self">Putty</a></strong>.</p>
<p><strong>2. </strong>Now enter the following command to edit the ssh config file.</p>
<p>pico /etc/ssh/sshd_config</p>
<p><img class="aligncenter size-full wp-image-244" title="putty1" src="http://blog.emobilez.com/wp-content/uploads/2009/01/putty1.jpg" alt="putty1" width="349" height="17" /></p>
<p><span id="more-242"></span></p>
<p><strong>3. </strong>Now change the Port</p>
<p><img class="aligncenter size-full wp-image-245" title="putty2" src="http://blog.emobilez.com/wp-content/uploads/2009/01/putty2.jpg" alt="putty2" width="197" height="114" /></p>
<p><strong>4. </strong>Save the changes by pressing (ctrl+o)</p>
<p><strong>5. </strong>Close that editing mode using (ctrl+x)</p>
<p><strong>6. </strong>Restart SSH using the following command</p>
<p>service sshd restart</p>
<p>7. Now Login with new SSH Port.</p>
<p><img class="aligncenter size-full wp-image-246" title="putty3" src="http://blog.emobilez.com/wp-content/uploads/2009/01/putty3.jpg" alt="putty3" width="465" height="451" /></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/01/23/how-to-change-ssh-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking Hard Disk Usage in Linux</title>
		<link>http://blog.emobilez.com/2009/01/22/checking-hard-disk-usage-in-linux/</link>
		<comments>http://blog.emobilez.com/2009/01/22/checking-hard-disk-usage-in-linux/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 03:23:39 +0000</pubDate>
		<dc:creator>Fahad Junaid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hdd usage in linux]]></category>
		<category><![CDATA[linux command]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=228</guid>
		<description><![CDATA[As usual I always try to learn more and more SSH tricks, Today I learned how to check hard disk usage in Linux based server. Here are few steps to follow. Once you are connected to the server via SSH, run the following command: # df -h This will output the usage of each partition [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>As usual I always try to learn more and more <a href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">SSH</a> tricks, Today I learned how to check hard disk usage in <a href="http://en.wikipedia.org/wiki/Linux" target="_blank">Linux</a> based server. Here are few steps to follow.</p>
<p>Once you are connected to the server via SSH, run the following command:<br />
# df -h</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-238" title="ssh1" src="http://blog.emobilez.com/wp-content/uploads/2009/01/ssh1.jpg" alt="ssh1" width="438" height="191" /></p>
<p style="text-align: left;"><span id="more-228"></span></p>
<p style="text-align: left;">This will output the usage of each partition in the server. To list the size of a specific directory, run the following command:<br />
# du -sh /home/</p>
<p><a href="http://blog.emobilez.com/wp-content/uploads/2009/01/ssh-21.jpg"><img class="aligncenter size-full wp-image-231" title="ssh-21" src="http://blog.emobilez.com/wp-content/uploads/2009/01/ssh-21.jpg" alt="ssh-21" width="250" height="31" /></a></p>
<p>If you want to list all the subdirectory sizes under /home, run the following command:<br />
# du -sh /home/*</p>
<p><a href="http://blog.emobilez.com/wp-content/uploads/2009/01/ssh-3.jpg"><img class="aligncenter size-full wp-image-232" title="ssh-3" src="http://blog.emobilez.com/wp-content/uploads/2009/01/ssh-3.jpg" alt="ssh-3" width="297" height="31" /></a></p>
<p>The output of the &#8216;df&#8217; command will show you overall disk usage. To find out how much space a give directory is used us the &#8216;du -s &#8216; command.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/01/22/checking-hard-disk-usage-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to enable RTL languages support in OpenOffice</title>
		<link>http://blog.emobilez.com/2009/01/01/how-to-enable-rtl-languages-support-in-openoffice/</link>
		<comments>http://blog.emobilez.com/2009/01/01/how-to-enable-rtl-languages-support-in-openoffice/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 10:29:01 +0000</pubDate>
		<dc:creator>Sajid Iqbal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arabic]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[RTL]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=99</guid>
		<description><![CDATA[RTL or Right to left languages are commonly known as Arabic script languages but in fact there are few other languages too which are written in right to left order e.g Hebrew. Like any other office suite OpenOffice too support RTL languages but one need to configure it to support proper direction for RTL languages. [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>RTL or Right to left languages are commonly known as Arabic script languages but in fact there are few other languages too which are written in right to left order e.g Hebrew.<br />
Like any other office suite OpenOffice too support RTL languages but one need to configure it to support proper direction for RTL languages. Its easy to do this:<br />
1. Open OpenOffice Writer(or any other OpenOffice application).<br />
2. Click Tools &gt; Options.<br />
3. Navigate to Language Settings &gt; Languages and check Enable for complex text layout(CTL), press OK. We are done.<br />
<img src="http://blog.emobilez.com/wp-content/uploads/2009/01/openoffice-language-options.gif" alt="Language Options in OpenOffice" /><br />
Write few lines in any RTL language &amp; click Right-to-Left icon in formatting bar.<br />
<a href="http://blog.emobilez.com/wp-content/uploads/2009/01/openoffice-rtl-text.png"><img class="aligncenter size-full wp-image-102" title="openoffice-rtl-text" src="http://blog.emobilez.com/wp-content/uploads/2009/01/openoffice-rtl-text.png" alt="openoffice-rtl-text" width="500" height="276" /></a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2009/01/01/how-to-enable-rtl-languages-support-in-openoffice/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to: Remove &#8220;Your browser has been updated and needs to be restarted&#8221;</title>
		<link>http://blog.emobilez.com/2008/12/26/how-to-remove-your-browser-has-been-updated-and-needs-to-be-restarted/</link>
		<comments>http://blog.emobilez.com/2008/12/26/how-to-remove-your-browser-has-been-updated-and-needs-to-be-restarted/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 05:00:40 +0000</pubDate>
		<dc:creator>Sajid Iqbal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.emobilez.com/?p=85</guid>
		<description><![CDATA[2 days earlier I updated my Firefox using Ubuntu Updated Manager. All went fine except Firefox, It started teasing me with an error stripe citing &#8220;Your browser has been updated and needs to be restarted&#8221;. Dismissing it did&#8217;nt work as it kept appearing &#38; disturbing me every now than. I googled the problem &#38; landed [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>2 days earlier I updated my Firefox using Ubuntu Updated Manager. All went fine except Firefox, It started teasing me with an error stripe citing &#8220;Your browser has been updated and needs to be restarted&#8221;. Dismissing it did&#8217;nt work as it kept appearing &amp; disturbing me every now than. I googled the problem &amp; landed at bug tracking site Launchpad. This bug was already reported there, though not sorted out. Going by comments I read <a href="https://bugs.launchpad.net/ubuntu/+source/ubufox/+bug/270303/comments/3" target="_blank">Savvas Radevic&#8217;s comment</a> temporary solution. The solution was basically uninstalling &amp; re-installing the Firefox. I tried it and fotunately it worked for me. If you are getting this error too you can try the solution given below:</p>
<blockquote><p>Firefox menu &gt; File &gt; Quit<br />
Then execute in terminal:<br />
sudo killall -9 -r firefox<br />
sudo apt-get purge firefox firefox-3.0 ubufox<br />
sudo apt-get install &#8211;reinstall firefox firefox-3.0 firefox-3.0-gnome-support<br />
When it&#8217;s done, try run firefox</p></blockquote>
<p>I hope it works.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.emobilez.com/2008/12/26/how-to-remove-your-browser-has-been-updated-and-needs-to-be-restarted/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.emobilez.com @ 2012-02-11 13:50:55 -->
