Archive : Linux

RSS feed
Fixing Users Quotas in cPanel

Fixing Users Quotas in cPanel

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.
Prevent Apache From DDoS Attacks

Prevent Apache From DDoS Attacks

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.
E-mail Alert On Root SSH Login

E-mail Alert On Root SSH Login

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.
Fix “Archive directory /var/cache/apt/archives/partial is missing” error

Fix “Archive directory /var/cache/apt/archives/partial is missing” error

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 [...]
Get rid of stupid “NoClassDefFoundError” in Ubuntu

Get rid of stupid “NoClassDefFoundError” in Ubuntu

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 at [...]
Download Ubuntu 9.04 Jaunty Jackalope Alpha 3

Download Ubuntu 9.04 Jaunty Jackalope Alpha 3

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.
How to change SSH Port

How to change SSH Port

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. pico /etc/ssh/sshd_config
Checking Hard Disk Usage in Linux

Checking Hard Disk Usage in Linux

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
How to enable RTL languages support in OpenOffice

How to enable RTL languages support in OpenOffice

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 [...]
How to: Remove “Your browser has been updated and needs to be restarted”

How to: Remove “Your browser has been updated and needs to be restarted”

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 [...]
© 2013 Technowledge. All rights reserved.