Recently I installed a server with a Supermicro SMC2108 RAID adapter, which is actually a LSI MegaRAID SAS 9260. LSI created a command line utility called MegaCLI for Linux to manage this adapter. You can download it from their support pages. The downloaded archive contains an RPM file. I installed mc and rpm on Debian with…
Author: admin
“Failed to open disk scsi0:0: Unsupported and/or invalid disk type 8” error when trying to power on a VM on ESXi 4
Convert the file to zerothick type. vmkfstools -i uda20.vmdk -d zeroedthick uda20z.vmdk nJoy;-)
Using Stunnel to Encrypt Unsecure Connections
So you’re a fully signed up ‘tin foil hatter’ and you have an old app that communicates over the internet but doesn’t use SSL? Not to worry, there is a solution for you and its called stunnel. Stunnel is available for both Linux and Windows, and simply put creates an SSL tunnel from one machine…
Change Hostname Permanently on Debian or Ubuntu
Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/hostname.sh We can edit the file /etc/hostname and change the hostname and then run: /etc/init.d/hostname.sh start Steps: 1. sudo vim /etc/hostname 2. Save the file with the hostname you like…
Setting the JAVA_HOME automatically.
JAVA_HOME=$(readlink -f /usr/bin/javac | sed “s:bin/javac::”)
Change Keyboard Map on the fly Linux Centos
So you logged in a box and your keys are messed up ? loadkeys uk or loadkeys us Other maps also there .. nJoy 😉
Bacula firewall settings
Console -> DIR:9101 DIR -> SD:9103 DIR -> FD:9102 FD -> SD:9103 nJoy 😉
Configuring Hadoop for Failover
Introduction As of 0.20, Hadoop does not support automatic recovery in the case of a NameNode failure. This is a well known and recognized single point of failure in Hadoop. Experience at Yahoo! shows that NameNodes are more likely to fail due to misconfiguration, network issues, and bad behavior amongst clients than actual hardware problems. Out of fifteen grids…
Windows way to create large file for testing
Very easy and cool tool very unused .. fsutil file createnew <filename> <length> nJoy 😉
Processing on Linux when using web cam UnsatisfiedLinkErrors with Native Library Suffixes gstreamer missing
Simple fix : sudo apt-get install libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libglib2.0-dev nJoy 😉