<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4421009581584449502</id><updated>2011-04-21T19:48:41.648-07:00</updated><category term='UBUNTU'/><category term='TIPS'/><title type='text'>Linux Administration</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gnulinuxadministration.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gnulinuxadministration.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Linux Administration</name><uri>http://www.blogger.com/profile/01923000818263370904</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4421009581584449502.post-748208874602050336</id><published>2009-01-14T00:02:00.000-08:00</published><updated>2009-01-14T00:05:07.649-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TIPS'/><title type='text'>Howto install Skype 2.0 in ubuntu linux</title><content type='html'>&lt;a href="http://www.skype.com/intl/en/"&gt;Skype&lt;/a&gt; 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&lt;br /&gt;&lt;br /&gt;Installation in Ubuntu&lt;br /&gt;&lt;br /&gt;1. Install the needed dependencies&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;sudo apt-get install libasound2 libc6 libgcc1 libqt4-core libqt4-gui libsigc++-2.0-0c2a libstdc++6 libx11-6&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;2. Download the DEB package and install it&lt;br /&gt;&lt;br /&gt;Download the package from the official website &lt;a href="http://www.skype.com/intl/en/download/skype/linux/choose/"&gt;here&lt;/a&gt; . At the time of writing the package is called skype-debian_2.0.0.72-1_i386.deb.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;sudo dpkg -i skype-debian_2.0.0.72-1_i386.deb&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;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.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421009581584449502-748208874602050336?l=gnulinuxadministration.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gnulinuxadministration.blogspot.com/feeds/748208874602050336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/howto-install-skype-20-in-ubuntu-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/748208874602050336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/748208874602050336'/><link rel='alternate' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/howto-install-skype-20-in-ubuntu-linux.html' title='Howto install Skype 2.0 in ubuntu linux'/><author><name>Linux Administration</name><uri>http://www.blogger.com/profile/01923000818263370904</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421009581584449502.post-3271542905253107163</id><published>2009-01-13T23:50:00.000-08:00</published><updated>2009-01-13T23:54:53.034-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TIPS'/><title type='text'>Simple but useful Linux Trick</title><content type='html'>&lt;strong&gt;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.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;type the following !! will replace your last command&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;$ sudo !!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;$ vi /etc/apt/sources.list&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;this will open file as read only you need sudo to edit the file&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;$ sudo !!&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;this will expand your command automatically to&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;$ sudo vi /etc/apt/sources.list&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421009581584449502-3271542905253107163?l=gnulinuxadministration.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gnulinuxadministration.blogspot.com/feeds/3271542905253107163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/simple-but-useful-linux-trick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/3271542905253107163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/3271542905253107163'/><link rel='alternate' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/simple-but-useful-linux-trick.html' title='Simple but useful Linux Trick'/><author><name>Linux Administration</name><uri>http://www.blogger.com/profile/01923000818263370904</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421009581584449502.post-2720890645916134979</id><published>2009-01-12T01:16:00.000-08:00</published><updated>2009-01-12T01:19:16.387-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UBUNTU'/><title type='text'>How to Block a Port in Squid Proxy in Ubuntu Linux</title><content type='html'>Here I will explain how to block a port using squid proxy server and open this port for a selected user.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;First you have to open squid configuration&lt;br /&gt;File /etc/squid/squid.conf&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;#vi /etc/squid/squid.conf&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Locate your Access Control List (ACL) section in the file and add the following lines&lt;/span&gt;:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;acl block_port port 1234&lt;br /&gt;http_access deny block_port&lt;br /&gt;http_access allow all&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;If you just want to skip a particular IP (192.168.0.100) try as follows:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;acl block_port port 1234&lt;br /&gt;acl no_block_port_ip src 192.168.0.200&lt;br /&gt;http_access deny block_port! no_block_port_ip&lt;br /&gt;http_access allow all&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;Close and save the file.&lt;br /&gt;&lt;br /&gt;Restart your Squid Proxy Server:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;br /&gt;&lt;strong&gt;# /etc/init.d/squid restart&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421009581584449502-2720890645916134979?l=gnulinuxadministration.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gnulinuxadministration.blogspot.com/feeds/2720890645916134979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/how-to-block-port-in-squid-proxy-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/2720890645916134979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/2720890645916134979'/><link rel='alternate' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/how-to-block-port-in-squid-proxy-in.html' title='How to Block a Port in Squid Proxy in Ubuntu Linux'/><author><name>Linux Administration</name><uri>http://www.blogger.com/profile/01923000818263370904</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421009581584449502.post-8742721190284161133</id><published>2009-01-12T01:10:00.000-08:00</published><updated>2009-01-12T01:14:41.480-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UBUNTU'/><title type='text'>How to block websites using Squid Proxy in Ubuntu Linux</title><content type='html'>You can block websites using squid proxy with easy steps. First you have to create a text file with blocked domain name list such as sex.com, orkut.com, gmail.com, hotmail.com and so on. Second define and Access Control List (ACL). Third and final step Restart Squid.&lt;br /&gt;&lt;br /&gt;First, create a file called /etc/squid/blocked.domains.acl(any file name you can choose)&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;#cd /etc/squid&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;#vi blocked.domains.acl&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;add domain names in the file,&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;eg:&lt;br /&gt;sex.com&lt;br /&gt;orkut.com&lt;br /&gt;gmail.com&lt;br /&gt;hotmail.com&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Save and close the file.&lt;br /&gt;&lt;br /&gt;Open /etc/squid/squid.conf file:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;#vi /etc/squid/squid.conf&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Create acl called blockeddomain&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;acl blokeddomain dstdomain “/etc/squid/blocked.domains.acl”&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Deny http access, enter&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;http_access deny blockeddomain&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Close and save the file. Restart squid proxy server&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;#/etc/init.d/squid restart&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421009581584449502-8742721190284161133?l=gnulinuxadministration.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gnulinuxadministration.blogspot.com/feeds/8742721190284161133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/how-to-block-websites-using-squid-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/8742721190284161133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421009581584449502/posts/default/8742721190284161133'/><link rel='alternate' type='text/html' href='http://gnulinuxadministration.blogspot.com/2009/01/how-to-block-websites-using-squid-proxy.html' title='How to block websites using Squid Proxy in Ubuntu Linux'/><author><name>Linux Administration</name><uri>http://www.blogger.com/profile/01923000818263370904</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
