Posted by Fahad Junaid on August 21, 2010 ·
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’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.
Posted by Fahad Junaid on August 14, 2010 ·
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 & open sources solution to protect from DDOs :- http://deflate.medialayer.com/
4) Configure APF and IPTABLES to reduce the DDOS.
Posted by Fahad Junaid on August 14, 2010 ·
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’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.
Posted by Sajid Iqbal on February 21, 2009 ·
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: “Archive directory /var/cache/apt/archives/partial is missing”. Searching through Google I came to know this solution and it worked for me. You have to follow these steps:
To fix this error make sure you recreate the archives folder as well as the partial folder. open a console window and type
1. cd /var/cache/apt
2. Type ls check to make sure archives folder is displayed in case you dont [...]
Posted by Sajid Iqbal on January 26, 2009 ·
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 JRE(Java Runtime Environment) too. Though I re-installed it later but my service monitoring application won’t run and keep printing this error in terminal:
Exception in thread “main” java.lang.NoClassDefFoundError: uk.co.planetbeyond.servicemonitor.gui.ClientMain
Posted by Sajid Iqbal on January 25, 2009 ·
A new version every six month is one of the joy of using Ubuntu. It is one of the frequently updated & 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′s Alpha 3 is now available for download.
Posted by Fahad Junaid on January 23, 2009 ·
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 “22″. Later on it might result in security threat, So what the system Administrator recommend is to change the SSH Port from “22″ to any other value. Here are few steps to change it.
1. Login as root to your server using Putty.
2. Now enter the following command to edit the ssh config file.
Posted by Fahad Junaid on January 22, 2009 ·
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
Posted by Sajid Iqbal on January 1, 2009 ·
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. Its easy to do this:
1. Open OpenOffice Writer(or any other OpenOffice application).
2. Click Tools > Options.
3. Navigate to Language Settings > Languages and check Enable for complex text layout(CTL), press OK. We are done.
Write few lines in any RTL language & click Right-to-Left [...]
Posted by Sajid Iqbal on December 26, 2008 ·
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 “Your browser has been updated and needs to be restarted”. Dismissing it did’nt work as it kept appearing & disturbing me every now than. I googled the problem & landed at bug tracking site Launchpad. This bug was already reported there, though not sorted out. Going by comments I read Savvas Radevic’s comment temporary solution. The solution was basically uninstalling & re-installing the Firefox. I tried it and fotunately [...]