Posts Tagged ‘Linux’

To work around this issue, add the EnableAggressiveMemoryUsage registry entry to the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters Then, set the EnableAggressiveMemoryUsage registry entry to 1. To do this, follow these steps: Click Start, click Run, type regedit in the Open box, and then click OK. Click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters On the Edit menu, point […]

Have you ever encountered out of disk space issues on your wonderful VMs when trying install a critical application? Here are a few easy steps that help you to solve the disk space problems on your VMware workstation VMs

Playing with exim mail queue

Posted: 14th October 2014 by Babar Shafiq in System Administration
Tags: , , , ,

Command to view the queue To view the exim mail queue issue the following command: mailq OR exim -bp If exim is in /usr/sbin and /usr/sbin is not in your path, you’ll need to prefix the command with the full path like so: /usr/sbin/exim -bp Example output The outut from the above commands will look […]

Password encrypted files in Linux

Posted: 25th February 2014 by Babar Shafiq in System Administration
Tags: , , , , , , , ,

  I am found of keeping password protected backups and most of the time I lost my super secret password thus unable to open my super important backups 🙂 just kidding. Like in windows we can simple right click and zip folders/files with passwords in text based terminals of linux I always want the same. […]

Monitor Web Site Files With Auditd

Posted: 21st January 2014 by Babar Shafiq in Security, System Administration
Tags: , , ,

  The Linux Auditing System and auditd are a great way to monitor who and when changes are made to the files in your website. To install and configure follow these steps: 1. Install auditd and related utilities: yum install audit 2. Make sure auditd is running: /sbin/chkconfig –list auditd auditd 0:off 1:off 2:on 3:on […]

Passive Mode FTP with iptables

Posted: 21st January 2014 by Babar Shafiq in System Administration
Tags: , , , , , ,

There’s lots of advice on the net about how to setup a server with iptables to allow passive mode FTP. Below is the approach that we’ve found to be most effective. Start by configuring your FTP daemon to use a fixed range of ports. We use 41361 to 65534 which is the IANA registered ephemeral […]