Storage

Byte.com

Installing SSH (Ubuntu Server)


Sign-in as super user


# sudo -s


Add the ssh package


To change the SSH parameters edit the following file


/etc/ssh/sshd_config


To change the ssh banner edit the following file /etc/issue.net


apt-get install openssh-server


Change the DHCP address to static


go to /etc/network and edit the interfaces file


under the "# The primary network interface" add the following information


auto eth0


iface eth0 inet static


       address 172.16.50.22


       netmask 255.255.255.0


       network 172.16.50.0


       broadcast 172.16.50.255


       gateway 172.16.50.1


Then ensure the DNS resolution is setup correctly in /etc/resolv.conf


search phx.storagebyte.com

nameserver 172.16.50.150



Restart the network



# /etc/init.d/networking restart



VMware Tools Installation (Ubuntu)



First install the following to get the initial packages required to get the installation started:


apt-get install linux-headers-generic

apt-get install gcc build-essential


If the cdrom was not automatically mounted, mount the cdrom (in your guest OS) by doing


make a mount point if needed :

# sudo mkdir /media/cdrom


Mount the CD

#  sudo mount /dev/cdrom /media/cdrom


Copy and extract VMWareTools


# sudo cp /media/cdrom/VMwareTools*.tar.gz ~/Desktop


You can extract with archive manager, right click on the archive and extract ... or


# tar xvf VMwareTools*.tar.gz


Install as below


Open a terminal window, and run the following commands.


# cd ~/Desktop/vmware-tools-distrib

# sudo ./vmware-install.pl


During vmware-install.pl, choose the default answers to everything (just hit the <enter> key).


You can configure the tools as root


# sudo vmware-toolbox


Otherwise run them as a user (not root)


# vmware-toolbox