November 2008 Archives

Nov 20, 2008

Install VMware server on Ubuntu Intrepid (8.10)

Posted by Martin Perron in HowTo - Linux 27 comments

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 [...]


Nov 18, 2008

Find all SSH Hosts on port 22

Posted by Martin Perron in HowTo - Linux No comments

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 [...]


Nov 17, 2008

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

Posted by Martin Perron in HowTo - Linux 5 comments

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
(2  dash (-)  on output)
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/


Nov 1, 2008

Upgrade your Ubuntu server to Intrepid (8.10)

Posted by Martin Perron in HowTo - Linux No comments

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 [...]