Wednesday, January 14, 2009

Howto install Skype 2.0 in ubuntu linux

Skype is todays most popular application for voice chat and telephony which is used for internet conversations. The latest Skype release for Linux is 2.0.0.7

Installation in Ubuntu

1. Install the needed dependencies

sudo apt-get install libasound2 libc6 libgcc1 libqt4-core libqt4-gui libsigc++-2.0-0c2a libstdc++6 libx11-6

2. Download the DEB package and install it

Download the package from the official website here . At the time of writing the package is called skype-debian_2.0.0.72-1_i386.deb.

sudo dpkg -i skype-debian_2.0.0.72-1_i386.deb

The Skype is now available in /usr/bin/skype. You can run it by typing ALT+F2 and entering skype in the run dialogue that appears.

Tuesday, January 13, 2009

Simple but useful Linux Trick

How often have you typed in a command and then realized that you forgot to type sudo. This will help you, don/t need to type the long long command.

type the following !! will replace your last command

$ sudo !!

Example
$ vi /etc/apt/sources.list
this will open file as read only you need sudo to edit the file

$ sudo !!

this will expand your command automatically to

$ sudo vi /etc/apt/sources.list

Monday, January 12, 2009

How to Block a Port in Squid Proxy in Ubuntu Linux

Here I will explain how to block a port using squid proxy server and open this port for a selected user.

First you have to open squid configuration
File /etc/squid/squid.conf


#vi /etc/squid/squid.conf

Locate your Access Control List (ACL) section in the file and add the following lines:

acl block_port port 1234
http_access deny block_port
http_access allow all


If you just want to skip a particular IP (192.168.0.100) try as follows:

acl block_port port 1234
acl no_block_port_ip src 192.168.0.200
http_access deny block_port! no_block_port_ip
http_access allow all


Close and save the file.

Restart your Squid Proxy Server:


# /etc/init.d/squid restart

How to block websites using Squid Proxy in Ubuntu Linux

This summary is not available. Please click here to view the post.