Installing and Configuring squid proxy server on ubuntu server

Am using ubuntu 12.04 server edition for this purpose.Squid is a full-featured web proxy cache server application which provides proxy and cache services for  HTTP..


sudo apt-get install squid3


Squid is configured by editing the directives contained within the /etc/squid3/squid.conf configuration file.First make a backup copy of the squid.conf file..Copy the /etc/squid3/squid.conf file and protect it from writing with the following commands entered at a terminal prompt

sudo cp /etc/squid3/squid.conf /etc/squid3/squid.conf.original
sudo chmod a-w /etc/squid3/squid.conf.original

By default squid listens to default TCP port 3128..we can change the port by editing the squid.conf file…

sud vim /etc/squid3/squid.conf

search for http_port…change the http_port directive as you wish am changing it to 8888

http_port 8888

After changing the settings restart squid..For restarting we can use both these commands

sudo /etc/init.d/squid3 restart
sudo service squid3 restart

Howto Configure Thin client in ubuntu 10.04 and 12.04

Recently i got a thinclient…This is how i configured it in ubuntu….

I tried the steps in both ubuntu 10.04 and 12.04 and it worked fine..

The hardware of the thinclient couldnt support 12.04’s unity desktop so it switched back to gnome classic..

First we need to install some packages in our system

sudo apt-get install autoconf build-essential libpam0g-dev 
sudo apt-get install libssl-dev tightvncserver

Now download xrdp an opensource RDP software and x server capable.Either you can download it from xrdps sourceforge site or from spectras site the latest one is from source forge

I downloaded the latest xrdp-v0.6.0.tar.gz 

uncompress it

tar -zxvf xrdp-v0.6.0.tar.gz
cd  xrdp
sudo make install

Now xrdp installation is complete now to start xrdp

whereis xrdp
sudo /etc/xrdp/ start

If everything goes fine xrdp daemon will start correctly…Now connect a monitor,keyboard and mouse to the thin client…connect it to the network….When you turn on the thin client this will be the first screen that you get…The firmware of the thin client i got was windows and i didnt find a bios option too..

From the screen select Connect Host











Click on Add










Then it will prompt for password the default password is 123.Enter it










Enter the host ip and click on connect…It will boot into a login screen










Give username and password of host system




















Now it will boot into the host system and we can use the desktop










Happy Hacking 🙂