Directory index forbidden by Options directive: /var/www/html/

I was receiving this error in my nagios apache log: Directory index forbidden by Options directive: /var/www/html/ to fix this, I just did touch index.html to /var/www/html It creates a file in the directory that is empty. I found this safer then turning on indexes for my nagios install.

How to delete all mail in queue for cPanel exim

I ran into an issue where a user was spamming and queue up thousands of email in our cPanel server. To clear it out, I did this: /etc/init.d/exim stop exim -bpru | awk {'print $3'} | xargs exim -Mrm or exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm /etc/init.d/exim start I had about 120k emails in ...

internal server error with CSF (Config Server Firewall) in cPanel after upgrade in cPanel

So I was receiving this error after cPanel upgraded: Internal Server Error 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi): subprocess exited with status 2   This did not fix it:   /usr/sbin/csf -x /scripts/perlinstaller --force URI /usr/sbin/csf -e /usr/sbin/csf -u If that doesn’t work this will:   curl -s | perl    

How to move files that are older then x days in linux

I found this useful: sudo find ./* -mtime +2 -exec mv {} /hosting/dropbox/ops/user/client/ \; breakdown… ./* is the current directory, including all files, but you could use full path. mtime +2 is 2 days old mv is the command being executed and after the brackets is the directory the files are moving to

Can Dell PE860 (power edge 860) run 3TB drives on the motherboard SATA?

I found out the answer is yes! I have hooked up 2 3TB drives into the onboard SATA and was able to successfully raid 1 them within Ubuntu 12.10. I was not able to do this with the Perc raid controller, as it only saw 2.2TB.

Microsoft Office 2013 PRO ISO/IMG Direct Downloads

I needed these for a retail key I received from my employer for $10, so these were useful, as I did not want to install the cheap software they had to go and download the IMG. 64bit:  32bit:

Fatal error: Allowed memory size of 134217728 bytes exhausted – MySQL error – PHPMyAdmin 1

I had a client trying to import a 200M zip file to phpmyadmin to import into his MySQL database, he kept receiving this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 201380904 bytes) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/zip_extension.lib.php on line 65 It ends up that phpmyadmin is using its own php.ini config, and ...

Samsung 830 256GB in raid 0 with Z77 chipset and TRIM

Got my new drives, two Samsung 830 256GB I then dropped them into an intel ROM raid 0 with Intel RST 11.6 drivers and I get some pretty great looking benchmarks AND TRIM! These were running on my Asus P8Z77-I DELUXE ITX motherboard. [zp src=”AS-SAMSUNGRAID0.png” album=”vivi/” width=”600″] The benchmarks speak for themselves. If anyone would ...

How To Install Windows 7 from a USB Key with ISO links!

I’ve been reading a few methods to install Windows 7 from an ISO to a jump drive, or DVD. The best method to do it from a Windows computer is to obtain Microsoft’s own software for the task : Install that, and point it to the jump drive you want to use (it will ...

Temporary profile creates in Windows 7

I had a user who logs in with a domain account and creates a temporary directory every time he logs in. This is what I did that fixed it : 1. Log on to the system by using an administrative user account other than the user account that is experiencing the problem. 2. Back up ...