Purge Exchange 2007 Logs

Sometimes it could occur that your Exchange Server is running low on diskspace (well actually….as a sysadmin you failed bigtime if this happened to you! ).
But when it happens, use the following script, execute it from the Exchange 2007 Power Shell and your log files get purged:
$temp = (eseutil /mk “C:\Program Files\Microsoft\Exchange Server\Mailbox\First [...]

Tags: , , ,

Block IP Address with Virtualmin

You can block them via the linux firewall.

Login to Virtualmin
Click on “Webmin” > “Networking” > “Linux Firewall”
Click on “Add Rule”
Check “Drop” or “Reject” under “Action to take”
Enter the IP Address or Network under “Source address or network”
Click “Save”
Use the arrows under the “Move” column to move the rule to the top so it’s processed [...]

Tags: , ,

Updating VMware ESX 3.5 to ESXi 4.0 U1

I have updated my server to VMware ESXi 4.0 a few weeks ago.
I have the BIG problem that updating from ESX 3.5 (on my local disks) to ESXi 4.0 onto the local disks without wiping EVERYTHING was not possible.
I did it real easily with a little workaround.
I just put an USB Thumb Drive into my [...]

Tags: , ,

Block certain IP addresses from seeing my website?

Can I block certain IP addresses from seeing my website? Yes, you can block certain IP addresses from accessing your site by using a Deny directive in an .htaccess file.
The Apache documentation explains how to do this:
http://httpd.apache.org/docs/mod/mod_access.html
http://httpd.apache.org/docs/howto/auth.html
For example, if you put the following .htaccess file in a directory, [...]

Tags: , , ,

Use RHEL CD/DVD as repo with yum instead of an online repo

Mount the RHEL iso
$ su -
2) Create the directory i.e. mount point:
# mkdir -p /mnt/disk
3) Use mount command as follows to mount iso file called disk1.iso:
# mount -o loop disk1.iso /mnt/disk
4) Change directory to list files stored inside an ISO image:
# cd /mnt/disk
make a dvd.repo text file in /etc/yum.repos.d/
[dvd]
mediaid=123412341234.123412341234 // Fetch the Media ID in [...]

Tags: , , ,