Entries Categorized as 'Tips & Tricks'

VMWare Sphere 5 Boot Delay

Date January 30, 2012

Note, this is a WhiteBox setup so not all parts are officially supported by VMWare. Specs below… i7 2600K Gigabyte P67A-UD4 B3 8GB DDR3-1866hz 9-9-9 1TB Samsung F3 drives Intel Gigabit Network card Now, the issue here is that after a clean install of VMWare Sphere 5, boot-up would take at least 5-9 min to [...]

Ubuntu 10.04 Server ACPI/APM Support

Date August 17, 2011

Advance Configuration and Power Interface (ACPI) or APM ( Advance Power Management ) support for Ubuntu 10.04 was not installed by default after server installation.  I needed this so that during power outage I can just press the power button to automatically shutdown the PC. sudo aptitude install acpi acpi-support apm This will install the [...]

Enable Built-in Intel 82579 Based Ethernet Card in Intel DH61WW Motherboard under Ubuntu 10.04 Server LTS

Date August 7, 2011

82579 based Ethernet network cards are only supported in Kernel 2.6.36 and up, thus Ubuntu 10.04 LTS will not have out-of-the-box support for the network card. I needed this to work since I’ll be using this as my server and 11.04 is not LTS, I have no choice. To fix this with the motherboard I have from [...]

Blocking DNS requests with Shorewall to prevent OpenDNS Bypass

Date June 28, 2011

Here’s a way to block users from using a different DNS address other than your own local DNS server to bypass OpenDNS filtering. I’m currently using Shorewall in an Ubuntu 8.04 LTS server setup as my Firewall, Gateway and DNS, and works nicely. This should also work in 10.04 or other Ubuntu install that has [...]

Auto Updating OpenDNS with Dynamic IP Address via Ubuntu Server

Date November 5, 2010

I have a linux Ubuntu server and a dynamic IP for the DSL connection. The office needs web filtering and getting a static IP will just add cost to the now tight budget. Looking around there is actually a way to update OpenDNS IP address under linux. Below are what is needed to be installed [...]

Special Character Encoding in XML

Date February 13, 2010

Ran into a problem returning an XML data with special characters encoded into it through an AJAX call. The problem was that special characters (i.e. ñ -> ñ) throws an error when being returned through XML and is in the process of being parsed by the browser. The catch? XML does not support named entities [...]

Java IO Problem in Tomcat

Date February 13, 2010

Encountered this problem today while testing an image upload AJAX script in tomcat. Later on I found out that the folder is actually protected Win7 and tomcat couldn’t write the cache or temporary file into the folder. So anyone having this problem, check the following… What OS are you running? Vista/Win7? What IDE are you [...]

Java JNI: Unsatisfied Link Error in Library Path

Date May 5, 2009

I’m currently playing around with Java Native Interfaces(JNI) and I must say its been too long since I programmed in Java. Its good to be back! Anyway, lets hop to the main topic… I was following the tutorial from Sun in creating my first JNI and calling my compiled C++ library, I was stuck in [...]

Continuous Explorer Restarting Virus/Trojan

Date December 9, 2008

Came across this little bugger in my manager’s pc. The whole thing is that after logging into windows, the windows explorer continuously restart and exits. You can click the start button, open something but will naturally kill itself when explorer exits. You can’t even open the drives and folders normally since it will close sooner [...]

MySQL Slave Failed to Open the Relay Log

Date October 20, 2008

This problem is a little tricky, there are possible fixes that MySQL website has stated. Sad to say, the one’s I read in the forum and site didn’t fix my problem. What I encountered was that the relay-bin from my MySQL slave server has already been ‘rotated’, meaning deleted from the folder. This happens when [...]