Start
up a terminal window and do the following to ensure that you have the
required packages for building VMware Tools or your kernel.

sudo apt-get install build-essential linux-headers-`uname -r` psmisc

NOTE:
linux-headers-uname -r is not required on a default build as these
headers already exist. They are listed here in case you have made kernel
modifications.

From
the VMware menu, choose VM->Install VMware Tools. You should see a
mounted CD image show up on the desktop. In the File Browser that pops
up, right-click the VMwareTools*.tar.gz file and extract to the Desktop.

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 CDsudo mount /dev/cdrom /media/cdrom

# Copy and extract VMWareTools

cd /tmptar xvf /media/cdrom/VMwareTools*.tar.gz

# Install as below

Open a terminal window, and run the following commands.

cd /tmp/vmware-tools-distribsudo ./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

Problems configuring vmware-tools with Ubuntu 11.04 - What is the
location of the directory of C header files that match your running
kernel?

Using VMWare, if you create an Ubuntu 11.04 virtual machine, you may
struggle to configure vmware-tools once it has been installed due to a
problem with finding the installed kernel C header files. You might find
you get errors like the following half way through the installation :
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] : YOU ENTER PATHS HERE THAT SUIT YOUR SETUP

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.38-8-virtual). Even if the module were to
compile successfully, it would not load into the running kernel.

3) Edit /etc/ssmtp/ssmtp.conf and enter the details for the following;

## Config file for sSMTP sendmail## The person who gets all mail for userids < 1000# Make this empty to disable rewriting.root=root@domain.com

# The place where the mail goes. The actual machine name is required no# MX records are consulted. Commonly mailhosts are named mail.domain.commailhub=smtpserver.domain.com# For Gmail use: smtp.gmail.com:587

# Where will the mail seem to come from?rewriteDomain=yourdomain

# The full hostnamehostname=machinehostname#For Gmail this needs to be turned onUseSTARTTLS=YESAuthUser=emailaddress@domain.comAuthPass=password

# Are users allowed to set their own From: address?# YES - Allow the user to specify their own From: address# NO - Use the system generated From: addressFromLineOverride=YES

I also updated /etc/ssmtp/revaliases with the current user name# sSMTP aliases## Format: local_account:outgoing_address:mailhub## Example: root:your_login@your.domain:mailhub.your.domain[:port]# where [:port] is an optional port number that defaults to 25.#below an example for gmail.user1:emailaddress@domain.com:smtp.gmail.com:587

David Coledavid@andc.co.nzeasyoutgoingemail1https://sites.google.com/feeds/content/andc.co.nz/externalportal/66621129099621276932010-09-09T09:03:07.759Z2011-06-22T20:17:50.374Z2011-06-22T20:17:50.372ZInstalling Webmin

The you need to download the latest webmin archive (this might change in time). I am downloading the Debian package:

wget http://www.webmin.com/download/deb/webmin-current.deb

Install the Debian package with dpkg, not Aptitude:

sudo dpkg -i webmin_filename_from_wget_all.deb

May need to run sudo apt-get -f install

* Your downloaded version may differ. Just use the deb package you’ve just downloaded.

Enjoy your Webmin installation at https://[serverIP]:10000 .

As of Ubuntu 11.04 I've found that logging in as the install account doesn't work so have had to unlock the root account:Create a root passwordsudo passwd root

Then log in to webmin as above using the root password that you've just created

In Webmin navigate to Webmin Users and create a new user giving it all the permissions you want. I used Unix Authentication.Then log out the root user, test you new user login.Finally in termin issue:

sudo passwd root -l

to Disable the root password again.

David Coledavid@andc.co.nzinstallingwebmin2https://sites.google.com/feeds/content/andc.co.nz/externalportal/17709576371818243632010-11-04T20:13:46.092Z2010-11-04T20:30:55.565Z2010-11-04T20:30:55.561ZSquid Proxy

This is a short guide on how to
set up a transparent squid proxy server. Squid is a caching proxy for
the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and
improves response times by caching and reusing frequently-requested web
pages. Squid has extensive access controls and makes a great server
accelerator.

Now open up your browser and set your proxy to point to your new squid server on port 3128

To change the port return to the Module Index choose Ports and Networking and change the port number.

Change port number to 8080

Note: Make sure the cache size is less than the size of the drive with the size of the OS taken off, or quickly it will fill. I added a couple of other drives for cache drives after filling my primary drive.

David Coledavid@andc.co.nzsquidproxy5https://sites.google.com/feeds/content/andc.co.nz/externalportal/35545322034845061972010-09-16T05:00:21.115Z2010-09-16T05:03:15.891Z2010-09-16T05:03:15.889ZDirectory Mounts