Browsing all articles in Linux
Apr
9

lvreduce and lvextent a Linux partition, a quick “howto”!

Author Faheem    Category Home, Linux     Tags

Scenario : Yeah Disk space issues!! /var and /var/log are seperate partitions and /var/log is getting filled-up with the current logrotation settings which we dont want to change. /var is allocated with 50G and has got lot of free space left in it. So we decided to go-ahead with the decision to re-size the partitions and thereby providing more disk space to /var/log partition.

AIM paraphrased : Reduce the LVM partition for /var and then Expand /var/log

read more

Jun
3

Fix Toshiba battery issue for Linux

Its been a year since I made my last post and have been thinking about what I could write  to start posting again. I have finally found a perfect one. Yepieeee, Its about vexing Toshiba battery conflict with the kernel.  I have got my battery issue fixed after a long wait. First of all let me thank Steve who proposed the perfect resolution for this issue and many thanks to other people who were also part of this seeking for a resolution.

Here was the scenario.

read more

May
25

How to enable DKIM in cPanel server.

DomainKeys Identified Mail (DKIM) lets an organization take responsibility for a message while it is in transit and one can use this to prevent from getting blacklisted by the free email providers like Yahoo, MSN and Google. DKIM can increase the mail authenticity.

read more

Mar
7

Exim: remove mails in queue from a particular sender.E

“spams”, its one of the major issue that a sys admin has to deal with throughout his job.  First you need to find the user who is generating it. You can get it from the mail headers.  Once you find the user, disable the script that was responsible for spams, but it may have already kept thousands(may be lacks) of mails in the exim queue waiting for its chance to get delivered.  To delete these mails one by one is impossible.  In a cPanel server having exim mail,  you can use the following command to delete mails in the current queue generated by that particular user only.

SSH into the server
read more

Mar
2

How to configure NAT with iptables on a VPS.

NAT ( network-address-translation ) with iptables  helps us in how to select the packets we want to mangle. We can easily configure NAT on a OpenVZ VPS by following the below steps.

Lets first consider a VPS in which NAT is not enabled. Trying to POSTROUTE from VPS throws you errors.

read more

Feb
25

How to disable gzip output on lightspeed server accounts

You can use .htaccess to disable gzip output if your website is running under a lightspeed server.

Open .htacess file and append following lines.

read more

Feb
19

Find Linux OS is 32 or 64bit.

There are several situations where you need to confirm whether your Linux OS installed  is 32bit or 64bit. People normally use uname -a to find it. But the following command will tell you exactly the machine   architecture.

getconf LONG_BIT

read more

Feb
5

songbird! iTunes for Ubuntu

Songbird is a opensource music player that utilizes the cross platform frameworks and will runs in Linux, Apple, Solaris & Windows.

You can get it downloaded for free from here

Linux System Requirements : read more

Nov
14

How to transfer a cPanel account to DirectAdmin.

The file structure and back-ups for both control panels are entirely different and its quite difficult to restore the files transfered from one to another control panel manually. There is a script available which can convert a cPanel back-up to the format that of a DirectAdmin. The convert process is quite simple.

read more

Oct
18

How to change Linux root password temporarily.

This is a simple technique by which you can have your our root password temporarily and change it back to the real one after use. The condition is

* You are logged in as root and you don’t know the root password

Back-up the current shadow file. read more

Follow us on Twitter! Follow us on Twitter!
http://twitter.com/efheem
The next version of Ubuntu is coming soon

Recent Posts

Recent Comments

Firefox Download Button
Google Analytics Alternative Add to Technorati Favorites Technology Blogs - BlogCatalog Blog Directory Free Hit Counter Technology Google Analytics Alternative Blog Buzzer