Sunday, October 24, 2010

Static NATing on ASA

Much clearer version of the video is present on Youtube click on this link or copy paste the link on to a browser and test it  

                                http://www.youtube.com/watch?v=Y8z0Xtu_NOE
 
video

Creating Tar Balls in command line :-)

Working with archives

To archive files, use the command  
tar -cf archive.tar file1 file2 file3
This command combines file1, file2, and file3 and stores them in archive.tar. The -c switch tells tar that you want to create an archive. The -f switch indicates that we are working on files.

We can use the following command to extract the Tar Ball we created.
tar -xf archive.tar

Install VirtualBox Addons inside CentOS Guest

I have to admit that this link helped me out with this.

First you need to install GCC and the kernel sources.


su
Now type your Super User password or Root password.
yum install -y gcc
yum install -y kernel sources kernel-devel

Then we must create a symbolic link to the kernel source:
ln -s /usr/src/kernels/2.6.18-194.17.1.el5-i686/ /usr/src/linux

After this reboot the machine with the reboot command as shown below:

reboot

Once the machine has come back online we can use any one of the command shown below as per our architecture:

sh VBoxLinuxAdditions-x86.run
or
sh VBoxLinuxAddtions-amd64.run


After this reboot the machine with the reboot command as shown below:
reboot


After the reboot you should be able to move the mouse between the VM and you Host OS without hitting right CTRL key.  There is one trouble though the auto desktop resizing with this is not working.