Posts

Showing posts from January, 2013

File Check with MD5 Hash Using Linux

There are many times that you need to be sure that a file you downloaded from the internet or copied from a location is the same as the original.

There are many tools that can help you with that but my favorite is md5sum (and md5deep when it comes to comparing directories).

The usage is very simple. The command md5sum FILE will show you the hash for the file and the file name. So the only thing you have to do is get the sum of the original file, the sum of your file and compare them. If they are the same, your file is not corrupted or tampered with.

Comparing the hashes your self may not be very easy but there is a way to do it using a hash file. Simply save the result of the above command to a file, like md5sum FILE > hashfile.md5 and then use the option -c to compare the hash of your file to the hash in the hashfile.

I always use relative paths because that way you can export the hash of the file to a hash file that is on the same directory with the original file for example, co…

Windows 2008 R2 Activation Period Extension

There have been many times that I needed to use a Windows 2008 R2 operating system in a virtual inveronment for testing and writting guides. But after the activation period ends you have to enter a valid serial in order to continue using the OS.

In case that period has expired and you do not have the time to set up a new VM or your working on a production server that need to be activated you can just rearm it.

To rearm you just have to run the command slmgr.vbs -rearm on a command prompt with elevated priviedges. After that restart the server and you'le have 30 days left to activate.

Be vary carefull because you can only do this three times...

Below are some keys:

Windows 2008 R2 Web: KBV3Q-DJ8W7-VPB64-V88KG-82C49
Windows 2008 R2 Standard: 4GGC4-9947F-FWFP3-78P6F-J9HDR
Windows 2008 R2 Enterprise: 7PJBC-63K3J-62TTK-XF46D-W3WMD
Windows 2008 R2 Datacenter: QX7TD-2CMJR-D7WWY-KVCYC-6D2YT