Archive for the HowTo - Linux Category

Install VMware server on Ubuntu Intrepid (8.10)

Posted in HowTo - Linux on November 20, 2008 by aristomagnus

What you need before you begin:

1. Get Licence from VMWare: http://register.vmware.com/content/registration.html

2. Install these package:

apt-get install  linux-source-2.6.27 linux-libc-dev xinetd

Then, you need to download it from the vmware website: http://register.vmware.com/content/download-108.html

wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.8-126538.tar.gz

Untar:

tar -xvzf VMware-server-1.0.8-126538.tar.gz

cd vmware-server-distrib/

The run the installer:

./vmware-install.pl

N.B: Say yes to every question, when it asked to run the configured script, say no

Now, you need to download the patch in order to build the kernel module (Tested with 2.6.27-7-generic)

wget http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz

tar -xvzf vmware-update-2.6.27-5.5.7-2.tar.gz

cd vmware-update-2.6.27-5.5.7-2

./runme.pl

Say yes to all the questions, run the config script and always press enter to use the default settings.

Add the licence.

N.B: I found my icons on Application - Lost & found on the KDE 4.

Check if the service is running:

/etc/init.d/vmware status
Bridged networking on /dev/vmnet0 is running
Host-only networking on /dev/vmnet1 is running
Host-only networking on /dev/vmnet8 is running
NAT networking on /dev/vmnet8 is running
Module vmmon loaded
Module vmnet loaded

Your done!

Find all SSH Hosts on port 22

Posted in HowTo - Linux on November 18, 2008 by aristomagnus

If you want to find all SSH enabled hosts in all subnets to which your computer is connected, you can use this oneliner:

nmap -p22 -oG - $(ip addr | awk ‘/inet .*global/ {print $2}’ | tr ‘\n’ ‘ ‘) | awk ‘/22\/open/ {print $2}’ | uniq

Important: Will only found ssh server that run on port 22

From: http://www.shell-fu.org/lister.php?id=405

Add windows codecs to Ubuntu Intrepid 8.10 (w32codecs or w64codecs)

Posted in HowTo - Linux on November 17, 2008 by aristomagnus

First, you have to add the repo Medibuntu:

https://help.ubuntu.com/community/Medibuntu

Ubuntu 8.10 “Intrepid Ibex”:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list –output-document=/etc/apt/sources.list.d/medibuntu.list

The you have to update your apt-get list

sudo apt-get update

Then you are ready to install the codecs:

For Ubuntu 32 bits

sudo apt-get install w32codecs

For Ubuntu 64 bits

sudo apt-get install w64codecs

Old article: http://geekzine.org/2008/03/01/w32codecs-for-ubuntu/

Mediabuntu: http://www.medibuntu.org/

Upgrade your Ubuntu server to Intrepid (8.10)

Posted in HowTo - Linux on November 1, 2008 by aristomagnus

From: http://howtoforge.net/how-to-upgrade-ubuntu-8.04-to-ubuntu-8.10-desktop-and-server

First become root:

sudo su

Then run

apt-get update

and install the package update-manager-core:

apt-get install update-manager-core

Open the file /etc/update-manager/release-upgrades…

vi /etc/update-manager/release-upgrades

… and change Prompt=lts to


[...]
Prompt=normal


Then run

do-release-upgrade

to start the distribution upgrade.

Confirm that you want to do the upgrade:

Do you want to start the upgrade?

2 packages are going to be removed. 48 new packages are going to be
installed. 376 packages are going to be upgraded.

You have to download a total of 242M. This download will take about 6
minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

Continue [yN]  Details [d] <– y

At the end of the upgrade process, you should remove obsolete packages:

Remove obsolete packages?

21 packages are going to be removed.

Continue [yN]  Details [d] <– y

The server needs to be rebooted to complete the upgrade:

System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select ‘y’ the system will be restarted.

Continue [yN] <– y

After the reboot, your server is running Ubuntu 8.10.