<?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-1561229407849662174</id><updated>2012-02-01T06:00:48.367-08:00</updated><category term='apache'/><category term='linux'/><category term='repositories'/><category term='proxy'/><category term='mysql'/><category term='java'/><category term='php'/><category term='cd'/><category term='ssh'/><category term='games'/><category term='verlihub'/><category term='audio'/><category term='terminal'/><category term='openfire'/><category term='software'/><category term='administration'/><category term='torrent'/><category term='ubuntu desktop'/><category term='email'/><category term='network'/><category term='basic commands'/><category term='ftp'/><category term='scripts'/><category term='hard disc'/><category term='hardware'/><title type='text'>Ubuntu tutorials</title><subtitle type='html'>for the free operating system</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default?start-index=101&amp;max-results=100'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>116</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2980703485200493074</id><published>2011-09-27T14:07:00.000-07:00</published><updated>2011-09-27T14:07:24.171-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>How to control all the actions of transmission client</title><content type='html'>A uTorrent like cross platform remote control for the &lt;a href="http://www.transmissionbt.com/" target="_blank"&gt;Transmission BitTorrent client&lt;/a&gt; (&lt;a href="http://ubuntu-for-humans.blogspot.com/2010/11/how-to-install-torrent-client-on-ubuntu.html"&gt;transmission-daemon&lt;/a&gt;) transmission-remote-java is a cross platform open source remote client to the RPC interface of transmission-daemon, which is part of the Transmission BitTorrent client.&lt;br /&gt;&lt;br /&gt;The application is cross-platform and can be &lt;a href="http://code.google.com/p/transmission-remote-java/" target="_blank"&gt;downloaded here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In windows, you can make a shortcut to point to the .jar file. The path should be something like:&lt;br /&gt;&lt;div id="code"&gt;"C:\Program Files\Java\jre6\bin\java.exe" -jar "C:\Program Files\transmission-remote-java-0.12.16-1034-bin.jar"&lt;/div&gt;&lt;br /&gt;where:&lt;br /&gt;- C:\Program Files\Java\jre6\bin\java.exe is the path to your java sdk installation directory&lt;br /&gt;- C:\Program Files\transmission-remote-java-0.12.16-1034-bin.jar is the path to .jar file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2980703485200493074?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2980703485200493074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/09/how-to-control-all-actions-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2980703485200493074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2980703485200493074'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/09/how-to-control-all-actions-of.html' title='How to control all the actions of transmission client'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6769576608455382680</id><published>2011-09-27T02:54:00.000-07:00</published><updated>2011-09-27T02:59:02.018-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>Download error on torrent start - transmission webui</title><content type='html'>If you get a nasty error about "Download error" in your download folder, is because you need to setup proper username/group permission. By default, transmission uses the group and the user called "debian-transmission".&lt;br /&gt;&lt;br /&gt;Let's say download directory is /home/username/downloads.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo usermod -a -G debian-transmission username&lt;/div&gt;&lt;br /&gt;where username is your username. with this command you are being added to debian-transmission group.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod 0770 /home/username/downloads -R&lt;/div&gt;&lt;br /&gt;this will set the owner and the group users to read/write/execute on this folder.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chgrp debian-transmission /home/username/downloads -R&lt;/div&gt;&lt;br /&gt;chgrp will change recursively the content of download folder to group "debian-transmission"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6769576608455382680?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6769576608455382680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/09/download-error-on-torrent-start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6769576608455382680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6769576608455382680'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/09/download-error-on-torrent-start.html' title='Download error on torrent start - transmission webui'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2728053267646772377</id><published>2011-07-31T02:28:00.000-07:00</published><updated>2011-07-31T02:31:08.205-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to find out what version of ubuntu i'm running?</title><content type='html'>If you don't have a GUI interface and you wanna find out what version of Ubuntu server you have, just run the followig command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cat /etc/issue&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should tell you something like this:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ubuntu 10.10 \n \l&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2728053267646772377?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2728053267646772377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/07/how-to-find-out-what-version-of-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2728053267646772377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2728053267646772377'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/07/how-to-find-out-what-version-of-ubuntu.html' title='How to find out what version of ubuntu i&apos;m running?'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7490487134907716404</id><published>2011-07-31T02:24:00.000-07:00</published><updated>2011-07-31T02:28:21.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>What libraries do i need to install webmin on Ubuntu 10.10?</title><content type='html'>To install Webmin on your Ubuntu machine, you are going to need some libraries pre-installed. These libraries are:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python python-minimal libapt-pkg-perl perl-base perl-modules&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can also read the rest of the process of &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/install-webmin-on-ubuntu-server.html"&gt;installing Webmin on Ubuntu&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7490487134907716404?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7490487134907716404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/07/what-libraries-do-i-need-to-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7490487134907716404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7490487134907716404'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/07/what-libraries-do-i-need-to-install.html' title='What libraries do i need to install webmin on Ubuntu 10.10?'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7517566432147433348</id><published>2011-06-05T00:54:00.000-07:00</published><updated>2011-06-05T00:58:38.284-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to see HDD temperatures under Ubuntu server</title><content type='html'>There is a small apllication called hddtemp, which shows you the temperature of your HDD by reading data from S.M.A.R.T. on drives that support this feature. Most modern x86 computer hard disk comes with S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology). It is a monitoring system for computer hard disks to detect and report on various indicators of reliability, in the hope of anticipating failures.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install hddtemp&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;then run it for your /dev/sda hard drive:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo hddtemp /dev/sda&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;it should print something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;/dev/sda: WDC WD10EARS-003BB1: 36Â°C&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html" target="_blank"&gt;cyberciti.biz&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7517566432147433348?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7517566432147433348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/how-to-see-hdd-temperatures-under.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7517566432147433348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7517566432147433348'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/how-to-see-hdd-temperatures-under.html' title='How to see HDD temperatures under Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5780439585272659937</id><published>2011-06-05T00:44:00.000-07:00</published><updated>2011-06-05T00:46:47.928-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>CPU information under Ubuntu server</title><content type='html'>If you want to see all the CPU info (specs) of your server, run this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cat /proc/cpuinfo&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;it will show you something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;processor : 0&lt;br /&gt;vendor_id : GenuineIntel&lt;br /&gt;cpu family : 15&lt;br /&gt;model  : 4&lt;br /&gt;model name : Intel(R) Celeron(R) CPU 3.06GHz&lt;br /&gt;stepping : 1&lt;br /&gt;cpu MHz  : 3058.933&lt;br /&gt;cache size : 256 KB&lt;br /&gt;fdiv_bug : no&lt;br /&gt;hlt_bug  : no&lt;br /&gt;f00f_bug : no&lt;br /&gt;coma_bug : no&lt;br /&gt;fpu  : yes&lt;br /&gt;fpu_exception : yes&lt;br /&gt;cpuid level : 5&lt;br /&gt;wp  : yes&lt;br /&gt;flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pebs bts pni dtes64 monitor ds_cpl tm2 cid cx16 xtpr&lt;br /&gt;bogomips : 6117.86&lt;br /&gt;clflush size : 64&lt;br /&gt;cache_alignment : 128&lt;br /&gt;address sizes : 36 bits physical, 48 bits virtual&lt;br /&gt;power management:&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5780439585272659937?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5780439585272659937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/cpu-information-under-ubuntu-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5780439585272659937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5780439585272659937'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/cpu-information-under-ubuntu-server.html' title='CPU information under Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-886163548114004717</id><published>2011-06-01T08:43:00.000-07:00</published><updated>2011-06-01T08:51:00.515-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to see system specs in CLI under Ubuntu server</title><content type='html'>Under command line  interface in ubuntu server you are not so limited. For example you can see your system's specs by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo lshw&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can get specific details by using the -C flag to list all you hard disks:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo lshw -C disk&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It can create an html page with your hardware details:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo lshw -html &gt; your-file-name.html&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;then open it with firefox:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;firefox your-file-name.html&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://embraceubuntu.com/2007/02/18/find-hardware-specs-details-on-your-computer/" target="_blank"&gt;embraceubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-886163548114004717?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/886163548114004717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/how-to-see-system-specs-in-cli-under.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/886163548114004717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/886163548114004717'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/06/how-to-see-system-specs-in-cli-under.html' title='How to see system specs in CLI under Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6940639808884889534</id><published>2011-05-07T02:25:00.000-07:00</published><updated>2011-05-07T02:32:21.115-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><title type='text'>Email alerts when someone connects to your network</title><content type='html'>If someone connects to your network, and you want to be notified by email, you can use a little application called arpwatch.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install arpwatch&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;edit it's config:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/default/arpwatch&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;use the following line:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ARGS="-N -p -i eth0 -m email_adress@email_server.tld"&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- eth0 is your internal network interface&lt;br /&gt;- email_adress@email_server.tld is the email adress where you want to be notified. you have to be able to send emails from your server. you can &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/04/sending-emails-from-ubuntu-without.html"&gt;send emails without email server&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;you can restart, start and stop the application by using:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/arpwatch restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;for more info read the manual:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man arpwatch&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;reference: &lt;a href="http://emil.cheriches.ro/2010/05/09/mai-e-cineva-prin-re%C8%9Bea.html" target="_blank"&gt;emil.cheriches.ro&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6940639808884889534?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6940639808884889534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/email-alerts-when-someone-connects-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6940639808884889534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6940639808884889534'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/email-alerts-when-someone-connects-to.html' title='Email alerts when someone connects to your network'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-695749168065643259</id><published>2011-05-06T12:29:00.000-07:00</published><updated>2011-05-06T12:47:37.417-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Record with microphone in command line on Ubuntu server</title><content type='html'>If you have a mic, and you want to record the sounds near your mic, you will need two programs: arecord and lame.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo arecord -f S16_LE -c1 -r44100 -t raw -d 600 | lame -r -s 44.10 -m m -b 128 - test.mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Short explanation:&lt;br /&gt;the arecord software records in signed 16bit little endian at 44100 hz and outputs in raw format, then lame transforms it to a mp3 file at 128kpbs and 44.1 khz. the -d parameter represents 600 seconds (10 minutes) recording time until it stops. for more info read the manual on both programs:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man arecord&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man lame&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/03/how-to-play-mp3s-from-terminal-on.html"&gt;playback the test.mp3 file with mpg123&lt;/a&gt; like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mpg123 test.mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;if this doesn't work on first test, try &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/03/how-to-setup-audio-mixer-in-terminal.html"&gt;adjusting your alsamixer&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-695749168065643259?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/695749168065643259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/record-in-command-line-ubuntu-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/695749168065643259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/695749168065643259'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/record-in-command-line-ubuntu-server.html' title='Record with microphone in command line on Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7493835483526874166</id><published>2011-05-04T08:18:00.000-07:00</published><updated>2011-05-04T08:24:19.050-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MySql ERROR 2002</title><content type='html'>Yesterday, my server refused to run the mysql process, giving this error:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The error was solved. The problem was the free space left on root partition. I was having only 300mb left. The system was running very slow, also.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7493835483526874166?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7493835483526874166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/mysql-error-2002.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7493835483526874166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7493835483526874166'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/05/mysql-error-2002.html' title='MySql ERROR 2002'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1589423638419677467</id><published>2011-04-30T07:15:00.000-07:00</published><updated>2011-04-30T07:44:18.563-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Installing Java on Ubuntu server 10.10</title><content type='html'>Make sure to check if you have Java already installed by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo java -version&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;On Ubuntu server 10.10 they have moved the program into partner repositories, and disabled it. You need to enable partner repositories in sources.list:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/apt/sources.list&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;remove the comment (the # sign) from the beginning of line on both deb servers, and save the file.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;## Uncomment the following two lines to add software from Canonical's&lt;br /&gt;## 'partner' repository.&lt;br /&gt;## This software is not part of Ubuntu, but is offered by Canonical and the&lt;br /&gt;## respective vendors as a service to Ubuntu users.&lt;br /&gt;deb http://archive.canonical.com/ubuntu maverick partner&lt;br /&gt;deb-src http://archive.canonical.com/ubuntu maverick partner&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;update repositories list:&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;install java:&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install sun-java6-bin&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now check again if everything is ok by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo java -version&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You should get something like:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;java version "1.6.0_24"&lt;br /&gt;Java(TM) SE Runtime Environment (build 1.6.0_24-b07)&lt;br /&gt;Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1589423638419677467?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1589423638419677467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/installing-java-on-ubuntu-server-1010.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1589423638419677467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1589423638419677467'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/installing-java-on-ubuntu-server-1010.html' title='Installing Java on Ubuntu server 10.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6059195481245639527</id><published>2011-04-29T08:51:00.000-07:00</published><updated>2011-04-29T08:52:32.733-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Celebrate the 20th Anniversary of Linux</title><content type='html'>&lt;iframe width="590" height="360" src="http://www.youtube.com/embed/5ocq6_3-nEw" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Celebrate the 20th Anniversary of Linux with us. Watch the Story of Linux to remember - or learn for the first time - how Linux disrupted a market and has begun to change the world. Do you see yourself in its story?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6059195481245639527?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6059195481245639527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/celebrate-20th-anniversary-of-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6059195481245639527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6059195481245639527'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/celebrate-20th-anniversary-of-linux.html' title='Celebrate the 20th Anniversary of Linux'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/5ocq6_3-nEw/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5034702227903852251</id><published>2011-04-26T12:04:00.000-07:00</published><updated>2011-04-26T12:09:54.871-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>How to test port forwarding</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-DgeTYdKheZ4/TbcYWuCpnDI/AAAAAAAAAqs/jDetGTr9Hto/s1600/port-tester.jpg"&gt;&lt;img style="width: 400px; height: 291px;" src="http://1.bp.blogspot.com/-DgeTYdKheZ4/TbcYWuCpnDI/AAAAAAAAAqs/jDetGTr9Hto/s400/port-tester.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;If you have setup a port forward on your linux box, you can test it by running port forwarding tests on websites specialized in this job. One of these is &lt;a href="http://www.yougetsignal.com/tools/open-ports/" target="_blank"&gt;http://www.yougetsignal.com/tools/open-ports/&lt;/a&gt;. It automatically detects your ip and you have to enter only your port you are about to test, and hit Check.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5034702227903852251?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5034702227903852251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-test-port-forwarding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5034702227903852251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5034702227903852251'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-test-port-forwarding.html' title='How to test port forwarding'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-DgeTYdKheZ4/TbcYWuCpnDI/AAAAAAAAAqs/jDetGTr9Hto/s72-c/port-tester.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-172828205492675353</id><published>2011-04-24T05:22:00.000-07:00</published><updated>2011-04-24T05:32:14.185-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>FLAC to MP3 script</title><content type='html'>The following script will decode the flac files in wav and then encode them in mp3.&lt;br /&gt;&lt;br /&gt;1. First we install flac and lame library:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install flac lame&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. Open a file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /bin/flac2mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3. You'll now need to make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /bin/flac2mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. Paste the following script:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;# Encode&lt;br /&gt;# v0.1 17.08.08 - First created&lt;br /&gt;# Darren O'Connor &lt;mellow.drifter@gmail.com&gt;&lt;br /&gt;&lt;br /&gt;# This script, when run in a folder full of FLAC files, will create high quality VBR mp3's for use in mp3 players.&lt;br /&gt;# This version uses lame 3.98. If you use version 3.97 and below you'll need to change a few options&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;mkdir wav/&lt;br /&gt;flac -d *.flac&lt;br /&gt;mv *.wav wav/&lt;br /&gt;cd wav/&lt;br /&gt;for f in *.wav; do mv "$f" "${f%.wav}";done&lt;br /&gt;mkdir ../mp3/&lt;br /&gt;find -maxdepth 1 -type f -name '*' -exec lame -V0 -q0 '{}' -o '../mp3/{}' \;&lt;br /&gt;cd ../mp3/&lt;br /&gt;for FILE in *; do mv "$FILE" "$FILE.mp3"; done&lt;br /&gt;cd ../&lt;br /&gt;rm -r wav/&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;5. How to use:&lt;br /&gt;&lt;br /&gt;we navigate to out directory containing .flac files and run&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo flac2mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;after everything was encoded, you will see a subdirectory called mp3. those are the files you need.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://ubuntuforums.org/showthread.php?t=892874" target="_blank"&gt;ubuntuforums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-172828205492675353?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/172828205492675353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/flac-to-mp3-script.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/172828205492675353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/172828205492675353'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/flac-to-mp3-script.html' title='FLAC to MP3 script'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6845095239903887649</id><published>2011-04-24T03:43:00.000-07:00</published><updated>2011-04-24T03:46:54.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><title type='text'>How to install PureFTPd And MySQL on Ubuntu server</title><content type='html'>This document describes how to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.&lt;br /&gt;&lt;br /&gt;For the administration of the MySQL database you can use web based tools like phpMyAdmin which will also be installed in this howto. phpMyAdmin is a comfortable graphical interface which means you do not have to mess around with the command line.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Install Mysql and phpmyadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a. &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/how-to-install-mysql-on-ubuntu.html"&gt;how to install mysql server&lt;/a&gt;&lt;br /&gt;b. &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/install-phpmyadmin-on-ubuntu.html"&gt;how to install phpmyadmin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Install PureFTPd With MySQL Support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;apt-get install pure-ftpd-mysql&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then we create an ftp group (ftpgroup) and user (ftpuser) that all our virtual users will be mapped to. Replace the group- and userid 2001 with a number that is free on your system:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;groupadd -g 2001 ftpgroup&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Create The MySQL Database For PureFTPd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we create a database called pureftpd and a MySQL user named pureftpd which the PureFTPd daemon will use later on to connect to the pureftpd database. run the following in phpmyadmin:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;CREATE DATABASE pureftpd;&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON pureftpd.* TO 'pureftpd'@'localhost' IDENTIFIED BY 'ftpdpass';&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON pureftpd.* TO 'pureftpd'@'localhost.localdomain' IDENTIFIED BY 'ftpdpass';&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;FLUSH PRIVILEGES;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;CREATE TABLE ftpd (&lt;br /&gt;User varchar(16) NOT NULL default '',&lt;br /&gt;status enum('0','1') NOT NULL default '0',&lt;br /&gt;Password varchar(64) NOT NULL default '',&lt;br /&gt;Uid varchar(11) NOT NULL default '-1',&lt;br /&gt;Gid varchar(11) NOT NULL default '-1',&lt;br /&gt;Dir varchar(128) NOT NULL default '',&lt;br /&gt;ULBandwidth smallint(5) NOT NULL default '0',&lt;br /&gt;DLBandwidth smallint(5) NOT NULL default '0',&lt;br /&gt;comment tinytext NOT NULL,&lt;br /&gt;ipaccess varchar(15) NOT NULL default '*',&lt;br /&gt;QuotaSize smallint(5) NOT NULL default '0',&lt;br /&gt;QuotaFiles int(11) NOT NULL default 0,&lt;br /&gt;PRIMARY KEY (User),&lt;br /&gt;UNIQUE KEY User (User)&lt;br /&gt;) TYPE=MyISAM;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. Configure PureFTPd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Edit /etc/pure-ftpd/db/mysql.conf&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cp /etc/pure-ftpd/db/mysql.conf /etc/pure-ftpd/db/mysql.conf_orig&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;cat /dev/null &gt; /etc/pure-ftpd/db/mysql.conf&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/pure-ftpd/db/mysql.conf&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should look like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;MYSQLSocket      /var/run/mysqld/mysqld.sock&lt;br /&gt;#MYSQLServer     localhost&lt;br /&gt;#MYSQLPort       3306&lt;br /&gt;MYSQLUser       pureftpd&lt;br /&gt;MYSQLPassword   ftpdpass&lt;br /&gt;MYSQLDatabase   pureftpd&lt;br /&gt;#MYSQLCrypt md5, cleartext, crypt() or password() - md5 is VERY RECOMMENDABLE uppon cleartext&lt;br /&gt;MYSQLCrypt      md5&lt;br /&gt;MYSQLGetPW      SELECT Password FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MYSQLGetUID     SELECT Uid FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MYSQLGetGID     SELECT Gid FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MYSQLGetDir     SELECT Dir FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MySQLGetBandwidthUL SELECT ULBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MySQLGetBandwidthDL SELECT DLBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MySQLGetQTASZ   SELECT QuotaSize FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;br /&gt;MySQLGetQTAFS   SELECT QuotaFiles FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make sure that you replace the string ftpdpass with the real password for the MySQL user pureftpd in the line MYSQLPassword! Please note that we use md5 as MYSQLCrypt method, which means we will store the users' passwords as an MD5 string in the database which is far more secure than using plain text passwords!&lt;br /&gt;&lt;br /&gt;Then create the file /etc/pure-ftpd/conf/ChrootEveryone which simply contains the string yes:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;echo "yes" &gt; /etc/pure-ftpd/conf/ChrootEveryone&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This will make PureFTPd chroot every virtual user in his home directory so he will not be able to browse directories and files outside his home directory.&lt;br /&gt;&lt;br /&gt;Also create the file /etc/pure-ftpd/conf/CreateHomeDir which again simply contains the string yes:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;echo "yes" &gt; /etc/pure-ftpd/conf/CreateHomeDir&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This will make PureFTPd create a user's home directory when the user logs in and the home directory does not exist yet.&lt;br /&gt;&lt;br /&gt;Afterwards, we restart PureFTPd:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/pure-ftpd-mysql restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5. Populate The Database And Test&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By using phpMyadmin, we create the user exampleuser with the status 1 (which means his ftp account is active), the password secret (which will be stored encrypted using MySQL's MD5 function), the UID and GID 2001 (use the userid and groupid of the user/group you created at the end of step two!), the home directory /home/www.example.com, an upload and download bandwidth of 100 KB/sec. (kilobytes per second), and a quota of 50 MB:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;INSERT INTO `ftpd` (`User`, `status`, `Password`, `Uid`, `Gid`, `Dir`, `ULBandwidth`, `DLBandwidth`, `comment`, `ipaccess`, `QuotaSize`, `QuotaFiles`) VALUES ('exampleuser', '1', MD5('secret'), '2001', '2001', '/home/www.example.com', '100', '100', '', '*', '50', '0');&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now open your FTP client program on your work station and try to connect. You shuld be able to connect.&lt;br /&gt;&lt;br /&gt;Now, if you run:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ls -l /home&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;you should see that the directory /home/www.example.com (exampleuser's home directory) has been automatically created, and it is owned by ftpuser and ftpgroup (the user/group we created at the end of step two):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;user@ubuntu:~# ls -l /home&lt;br /&gt;total 8&lt;br /&gt;drwxr-xr-x 2 administrator administrator 4096 2010-10-18 11:35 administrator&lt;br /&gt;drwxr-xr-x 2 ftpuser       ftpgroup      4096 2010-10-29 14:29 www.example.com&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Insert users with phpMyadmin:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For most people it is easier if they have a graphical front-end to MySQL; therefore you can also use phpMyAdmin to administrate the pureftpd database.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-rG641Tp9_hA/TbP-OcL9zyI/AAAAAAAAAqc/Gpyz94gHUsU/s1600/1.png"&gt;&lt;img style="margin:0 10px 10px 0;width: 400px; height: 303px;" src="http://4.bp.blogspot.com/-rG641Tp9_hA/TbP-OcL9zyI/AAAAAAAAAqc/Gpyz94gHUsU/s400/1.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Whenever you want to create a new user, you have to create an entry in the table ftpd so I will explain the columns of this table here:&lt;br /&gt;&lt;br /&gt;a. User: The name of the virtual PureFTPd user (e.g. exampleuser).&lt;br /&gt;b. status: 0 or 1. 0 means the account is disabled, the user cannot login.&lt;br /&gt;c. Password: The password of the virtual user. Make sure you use MySQL's MD5 function to save the password encrypted as an MD5 string:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-TwWA7VEVVJY/TbP-wvQ5CzI/AAAAAAAAAqk/Tfc6kdOVhNU/s1600/2.png"&gt;&lt;img style="width: 400px; height: 303px;" src="http://1.bp.blogspot.com/-TwWA7VEVVJY/TbP-wvQ5CzI/AAAAAAAAAqk/Tfc6kdOVhNU/s400/2.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;d. UID: The userid of the ftp user you created at the end of step two (e.g. 2001).&lt;br /&gt;e. GID: The groupid of the ftp group you created at the end of step two (e.g. 2001).&lt;br /&gt;f. Dir: The home directory of the virtual PureFTPd user (e.g. /home/www.example.com). If it does not exist, it will be created when the new user logs in the first time via FTP. The virtual user will be jailed into this home directory, i.e., he cannot access other directories outside his home directory.&lt;br /&gt;g. ULBandwidth: Upload bandwidth of the virtual user in KB/sec. (kilobytes per second). 0 means unlimited.&lt;br /&gt;h. DLBandwidth: Download bandwidth of the virtual user in KB/sec. (kilobytes per second). 0 means unlimited.&lt;br /&gt;i. comment: You can enter any comment here (e.g. for your internal administration) here. Normally you leave this field empty.&lt;br /&gt;j. ipaccess: Enter IP addresses here that are allowed to connect to this FTP account. * means any IP address is allowed to connect.&lt;br /&gt;k. QuotaSize: Storage space in MB (not KB, as in ULBandwidth and DLBandwidth!) the virtual user is allowed to use on the FTP server. 0 means unlimited.&lt;br /&gt;l. QuotaFiles: amount of files the virtual user is allowed to save on the FTP server. 0 means unlimited.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-ubuntu-7.10" target="_blank"&gt;howtoforge&lt;/a&gt;, &lt;a href="http://download.pureftpd.org/pub/pure-ftpd/doc/README" target="_blank"&gt;pureftpd readme&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6845095239903887649?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6845095239903887649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-install-pureftpd-and-mysql-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6845095239903887649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6845095239903887649'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-install-pureftpd-and-mysql-on.html' title='How to install PureFTPd And MySQL on Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-rG641Tp9_hA/TbP-OcL9zyI/AAAAAAAAAqc/Gpyz94gHUsU/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8501421510773809825</id><published>2011-04-24T03:03:00.000-07:00</published><updated>2011-04-24T03:05:27.311-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>List Groups A User Belongs To In Ubuntu</title><content type='html'>Still seeing this request quite frequently in my website logs, I thought I'd expand the topic a bit more, given the fact that I've somehow left out the most obvious way to confirm the group membership for a Ubuntu user.&lt;br /&gt;&lt;br /&gt;Group membership in Ubuntu&lt;br /&gt;&lt;br /&gt;Every Unix-like OS is bound to have a group command, which is aimed to help you confirm Unix group membership for any user known to your system.&lt;br /&gt;&lt;br /&gt;The easiest it to run it and specify a username in command line. The result is a list of Ubuntu groups:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;groups greys&lt;/div&gt;&lt;br /&gt;greys : admin www-data&lt;br /&gt;&lt;br /&gt;If you're looking at confirming the membership for a few users, you can specify usernames in the same command line:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;groups greys root&lt;/div&gt;&lt;br /&gt;greys : admin www-data&lt;br /&gt;root : root&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.unixtutorial.org/2008/07/list-groups-user-belongs-to-in-unix/" target="_blank"&gt;unixtutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8501421510773809825?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8501421510773809825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/list-groups-user-belongs-to-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8501421510773809825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8501421510773809825'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/list-groups-user-belongs-to-in-ubuntu.html' title='List Groups A User Belongs To In Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8917587197746413712</id><published>2011-04-24T01:03:00.000-07:00</published><updated>2011-04-24T01:04:55.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Short command line tutorial in Ubuntu server</title><content type='html'>When you're just starting to work in command line (CLI), you will find yourself frustrated, because all the command you need to input to actually do something. But there are a some commands in terminal which will improve your experience.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. To see the last commands for your username:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;history&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;history introduce words from the history list into the input stream, making it easy to repeat commands, insert the arguments to a previous command into the current input line, or fix errors in previous commands quickly.&lt;br /&gt;it saves the last x commands in a file called .bash_history (it's hidden, so you need to ls -al to see it) and is located in your home directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. To move through the last commands:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you can move through the last input commands, by using:&lt;br /&gt;a. up/down arrow keys - up is for previous and down is for next&lt;br /&gt;b. ^p (CTRL+P) and ^n (CTRL+N) stands for previous and next&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. autocomplete:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;yes, there is an input autocomplete in CLI. the magic key is TAB. you can use it by typing the first letters of a command or a file, then press TAB and it will complete your command or file.&lt;br /&gt;&lt;br /&gt;to move to /var/www/ directory:&lt;br /&gt;a. type &lt;span style="font-weight:bold;"&gt;cd /v&lt;/span&gt; and press TAB. you will have now &lt;span style="font-weight:bold;"&gt;cd /var/&lt;/span&gt;&lt;br /&gt;b. type &lt;span style="font-weight:bold;"&gt;b&lt;/span&gt; and press TAB. you will have now cd &lt;span style="font-weight:bold;"&gt;/var/www/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. sudo bang-bang:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;as described in one of the &lt;a href="http://ubuntu-for-humans.blogspot.com/2011/03/what-is-sudo-bang-bang.html"&gt;previous tutorial&lt;/a&gt;, you can use the &lt;span style="font-weight:bold;"&gt;sudo !!&lt;/span&gt; command to have permission over a command, which you wrote without the &lt;span style="font-weight:bold;"&gt;sudo&lt;/span&gt; in front.&lt;br /&gt;&lt;br /&gt;let's say your command was &lt;span style="font-weight:bold;"&gt;nano /var/www/index.php&lt;/span&gt; and your not the owner. you will receive a text, telling you that you don't have permissions to access that file. now you can enter &lt;span style="font-weight:bold;"&gt;sudo !!&lt;/span&gt; command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5. CTRL+R:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;this command is very usefull when you wanna find a past command. Just press ^r (CTRL+R) and start typing part of a command and you will see the suggestions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8917587197746413712?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8917587197746413712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/short-command-line-tutorial-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8917587197746413712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8917587197746413712'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/short-command-line-tutorial-in-ubuntu.html' title='Short command line tutorial in Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-871618725421784035</id><published>2011-04-24T00:39:00.000-07:00</published><updated>2011-04-24T00:44:54.073-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Change files only permissions recursively</title><content type='html'>Q. How do I recursively change files with 777 permissions to 755 in /home/user/demo directory? I have a number of files in this directory and I need to change from 777 to only if that file has 777 permissions.&lt;br /&gt;&lt;br /&gt;Is there an easy way out to achieve this?&lt;br /&gt;&lt;br /&gt;A. To change file access permissions you use chmod command. It has -R or -recursive option that change files and directories recursively. For example&lt;br /&gt;&lt;div id="code"&gt;chmod -R 0755 directory&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;However, if you need to apply conditional file permissions recursively use combination of find and chmod command.&lt;br /&gt;&lt;br /&gt;Find all files in /home/user/demo directory&lt;br /&gt;&lt;div id="code"&gt;find /home/user/demo -print&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now find all files in /home/user/demo directory with permission 777&lt;br /&gt;&lt;div id="code"&gt;find /home/user/demo -perm 777 -print&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Next you need to apply chmod on all these files using -exec option:&lt;br /&gt;&lt;div id="code"&gt;find /home/user/demo -perm 777 -print -exec chmod 755 {} \;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Read man page of find for more information.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.cyberciti.biz/faq/howto-apply-conditional-recursive-chmod-file-permissions/" target="_blank"&gt;cyberciti&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-871618725421784035?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/871618725421784035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/change-files-only-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/871618725421784035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/871618725421784035'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/change-files-only-permissions.html' title='Change files only permissions recursively'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6066899344526033328</id><published>2011-04-24T00:12:00.000-07:00</published><updated>2011-04-24T00:16:38.780-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Correct file permissions for /var/www/ folder</title><content type='html'>The default group and user for /var/www/ folder is root:root. We need to change that, so we are able to set more restricteve permissions on all files under /var/www/.&lt;br /&gt;&lt;br /&gt;&lt;iframe title="YouTube video player" width="600" height="440" src="http://www.youtube.com/embed/Yx9ipORQp5g" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6066899344526033328?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6066899344526033328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/correct-file-permissions-for-varwww.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6066899344526033328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6066899344526033328'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/correct-file-permissions-for-varwww.html' title='Correct file permissions for /var/www/ folder'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/Yx9ipORQp5g/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8164001371903870661</id><published>2011-04-23T23:17:00.000-07:00</published><updated>2011-04-23T23:24:30.413-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Install a Local Web Server on Ubuntu</title><content type='html'>&lt;object width="600" height="440"&gt;&lt;param name="movie" value="http://blip.tv/play/hdUmgdDSHgI"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://blip.tv/play/hdUmgdDSHgI" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="440"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;This video will show you how to set up a local web server on the Ubuntu desktop version.  It walks through most of the process using a GUI and uses just a little bit of command line to set some things up.  I did it this way to make it the most accessible to even new users of Ubuntu.  It walks you through installing the needed packages, setting it up for clean URLs and getting Drupal started.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.lullabot.com/videos/install-local-web-server-ubuntu" target="_blank"&gt;lullabot&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8164001371903870661?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8164001371903870661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/install-local-web-server-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8164001371903870661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8164001371903870661'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/install-local-web-server-on-ubuntu.html' title='Install a Local Web Server on Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1810174267701197645</id><published>2011-04-23T14:09:00.000-07:00</published><updated>2011-04-23T14:12:35.440-07:00</updated><title type='text'>File manager in terminal</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-ellZ0_tiMlY/TbNAjUReqZI/AAAAAAAAAqU/7udu84QjFxU/s1600/mc.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;width: 400px; height: 282px;" src="http://1.bp.blogspot.com/-ellZ0_tiMlY/TbNAjUReqZI/AAAAAAAAAqU/7udu84QjFxU/s400/mc.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;The most simple solution to a file manager available in terminal under Ubuntu OS, is mc (midnight commander).&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install mc&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It contains many features&lt;br /&gt;&lt;br /&gt;1.Master renaming files,editing and copying&lt;br /&gt;2.To view the rpm, deb files&lt;br /&gt;3.Arrow keys control the selection&lt;br /&gt;4.Function keys performs operations&lt;br /&gt;5.It is mouse support&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1810174267701197645?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1810174267701197645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/file-manager-in-terminal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1810174267701197645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1810174267701197645'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/file-manager-in-terminal.html' title='File manager in terminal'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ellZ0_tiMlY/TbNAjUReqZI/AAAAAAAAAqU/7udu84QjFxU/s72-c/mc.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5161558883207881719</id><published>2011-04-23T14:05:00.000-07:00</published><updated>2011-04-23T14:08:08.397-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripts'/><title type='text'>Simple calculator script in command line</title><content type='html'>Please open a text file namely 'calcu' in terminal and copy &amp; paste the following lines.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano calcu&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;# Shell Program to simulate a simple calculator&lt;br /&gt;# --------------------------------------------------------------------&lt;br /&gt;# This is a free shell script under GNU GPL version 2.0 or above&lt;br /&gt;# Copyright (C) 2005 nixCraft project.&lt;br /&gt;# -------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;a=$1&lt;br /&gt;op="$2"&lt;br /&gt;b=$3&lt;br /&gt;&lt;br /&gt;if [ $# -lt 3 ]&lt;br /&gt;then&lt;br /&gt;echo "$0 num1 opr num2"&lt;br /&gt;echo "opr can be +, -, / , x"&lt;br /&gt;exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;case "$op" in&lt;br /&gt;+) echo $(( $a + $b ));;&lt;br /&gt;-) echo $(( $a - $b ));;&lt;br /&gt;/) echo $(( $a / $b ));;&lt;br /&gt;x) echo $(( $a * $b ));;&lt;br /&gt;*) echo "Error ";;&lt;br /&gt;esac&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;save and exit.&lt;br /&gt;&lt;br /&gt;Type the following line in terminal&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x calcu&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;*/the calcu is script file name,&lt;br /&gt;&lt;br /&gt;how to use it:&lt;br /&gt;&lt;br /&gt;1. plus&lt;br /&gt;./calcu 23 + 23 =46&lt;br /&gt;&lt;br /&gt;2.multiply&lt;br /&gt;./calcu 100 x 2 = 200&lt;br /&gt;&lt;br /&gt;3.divide&lt;br /&gt;./calcu 100 / 2 = 50&lt;br /&gt;&lt;br /&gt;4.minus&lt;br /&gt;./calcu 100 - 2 = 98&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://ubuntuexplore.blogspot.com/2010/05/ubuntu-script-calculator-in-terminal.html" target="_blank"&gt;ubuntuexplore.blogspot.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5161558883207881719?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5161558883207881719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/simple-calculator-script-in-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5161558883207881719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5161558883207881719'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/simple-calculator-script-in-command.html' title='Simple calculator script in command line'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-276765188321359688</id><published>2011-04-23T13:30:00.001-07:00</published><updated>2011-04-23T14:14:37.818-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to see who's logged in?</title><content type='html'>Sometimes you may wanna see who's logged in, if multiple administrators or users are using the same machine.&lt;br /&gt;&lt;br /&gt;1. The simpliest command to see who's logged in:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;who&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. If you want more detailed output install finger:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install finger&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;finger -ls&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;this command will output the users login username, real name, home directory, shell access, the last login time, idle time, the ip from which he logged on.&lt;br /&gt;&lt;br /&gt;more info:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man finger&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3. to see the last logins and logout history &lt;span style="font-style:italic;"&gt;&lt;/span&gt;on current machine:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;last&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. to see the last login of all users on current machine:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;lastlog&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-276765188321359688?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/276765188321359688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-see-whos-logged-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/276765188321359688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/276765188321359688'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/04/how-to-see-whos-logged-in.html' title='How to see who&apos;s logged in?'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8504857008866782236</id><published>2011-03-13T10:42:00.000-07:00</published><updated>2011-04-30T10:05:50.236-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>How to add new mysql user</title><content type='html'>When you want a user to be able to acces only one database, you need to create one database and one user with certain privileges.&lt;br /&gt;&lt;br /&gt;To create a database, first we login to &lt;span style="font-weight:bold;"&gt;mysql server&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;mysql -u root -p password&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where &lt;span style="font-weight:bold;"&gt;root&lt;/span&gt; is the master username and &lt;span style="font-weight:bold;"&gt;password&lt;/span&gt; is the password of the master&lt;br /&gt;&lt;br /&gt;we create a database:&lt;br /&gt;&lt;div id="code"&gt;CREATE DATABASE newdatabase;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. first method to create and grant access to a new user:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;we grant some privileges:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON newdatabase.* TO 'newusername'@'localhost' IDENTIFIED BY 'newpassword';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where &lt;span style="font-weight:bold;"&gt;newusername&lt;/span&gt; is our new username and &lt;span style="font-weight:bold;"&gt;newpassword&lt;/span&gt; is our new password.&lt;br /&gt;&lt;br /&gt;to grant all privileges to our new database, use this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;GRANT ALL PRIVILEGES ON newdatabase.* TO 'newusername'@'localhost' IDENTIFIED BY 'newpassword' WITH GRANT OPTION;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;other privileges are:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;data options:&lt;/span&gt; SELECT, INSERT, UPDATE, DELETE, FILE;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;structure options:&lt;/span&gt; CREATE, ALTER, INDEX, DROP, CREATE TEMPORARY TABLES, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE, CREATE VIEW, EVENT, TRIGGER;&lt;br /&gt;administration options: GRANT, SUPER, PROCESS, RELOAD, SHUTDOWN, SHOW DATABASES, LOCK TABLES, REFERENCES, REPLICATION CLIENT, REPLICATION SLAVE, CREATE USER;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. second method to create and grant access to a new user:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;create the new user:&lt;br /&gt;&lt;div id="code"&gt;CREATE USER 'newusername'@'localhost' IDENTIFIED BY 'newpassword';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;grant limited access to all databases:&lt;br /&gt;&lt;div id="code"&gt;GRANT SELECT, INSERT, UPDATE, DELETE ON *.* TO 'newusername'@'localhost';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;grant full access to all databases:&lt;br /&gt;&lt;div id="code"&gt;GRANT ALL ON *.* TO 'newusername'@'localhost';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;before exiting mysql console, we should flush the privileges to be able to have instant access to our new user:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;FLUSH PRIVILEGES;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.databasef1.com/tutorial/mysql-create-user.html" target="_blank"&gt;www.databasef1.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8504857008866782236?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8504857008866782236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/how-to-add-new-mysql-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8504857008866782236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8504857008866782236'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/how-to-add-new-mysql-user.html' title='How to add new mysql user'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8389626760561422388</id><published>2011-03-11T08:20:00.000-08:00</published><updated>2011-03-11T08:29:07.268-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Remove annoying verlihub startup messages</title><content type='html'>When you first install Verlihub server, you will be welcomed as an operator (administrator) with 4 messages like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Private message from Reminder: &lt;Reminder&gt; &lt;br /&gt; Congratulations you successfully installed Verlihub0.9.8e-r2&lt;br /&gt; &lt;br /&gt; Please visit the Web sites for imformation about the Verlihub project. It can be found here http://www.verlihub-project.org&lt;br /&gt; &lt;br /&gt; Verlihub Admin Zone DC Hub: dchub://hub.verlihub-project.org:7777&lt;br /&gt; &lt;br /&gt; Verlihub discussion forum: http://forums.verlihub-project.org&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Private message from Donation: &lt;Donation&gt; &lt;br /&gt; If you are interested in making a donation to the author or developers of the verlihub&lt;br /&gt; project please visit our website for more information. http://www.verlihub-project.org/donations.php&lt;br /&gt;&lt;br /&gt; To diable this message, type the command !modtrigger +vh_donation -c11 in mainchat.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Private message from Updates: &lt;Updates&gt; &lt;br /&gt; Many things have been fixed since 0.9.8d-RC2 and this is considered to be our most functional&lt;br /&gt; and stable release to date. While the functionality of the software is richer then ever,&lt;br /&gt; its resource usage is at an all time low. It is now an extremely scaleable server.&lt;br /&gt; All known exploits have now been permanently closed to help protect both you AND other&lt;br /&gt; hubs in the DC community.&lt;br /&gt; &lt;br /&gt; Get Rid of this message by typing the command !modtrigger +updates -c11 in mainchat.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Private message from News: &lt;News&gt; &lt;br /&gt; This will be the final release candidate of the Verlihub 0.9.8 tree. Work has now begun&lt;br /&gt; on the next major version of verlihub with planned support for new protocol extensions as&lt;br /&gt; well as some significant new features.&lt;br /&gt; Thanks to everyone who contributes their free time and effort for all aspects of the verlihub project.&lt;br /&gt; &lt;br /&gt; Get Rid of this message by typing the command !modtrigger +news -c11 in mainchat.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This messages are triggers and they can be shut down.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!modtrigger +admin_reminder -c11&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!modtrigger +vh_donation -c11&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!modtrigger +updates -c11&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!modtrigger +news -c11&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;All the commands above are modified to trigger for users with class 11 or higher, which means that they are disabled.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8389626760561422388?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8389626760561422388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/remove-annoying-verlihub-startup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8389626760561422388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8389626760561422388'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/remove-annoying-verlihub-startup.html' title='Remove annoying verlihub startup messages'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8307024320330272027</id><published>2011-03-10T12:23:00.001-08:00</published><updated>2011-03-10T12:27:51.013-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Useful Commands For VerliHub</title><content type='html'>&lt;span style="font-weight:bold;"&gt;HUB SETTINGS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!set hub_name NAME - Setting up the Name of the Hub&lt;br /&gt;!modtrigger +motd -d "text_of_motd" -c 0 -C 10 -f 20 - Setting up the Motd&lt;br /&gt;!set opchat_name NICK - Setting up  the Opchat name&lt;br /&gt;!set hub_security NICK - Setting up the Security hub Name&lt;br /&gt;!set disable_me_cmd 1 - Disable +me ( 0 to enable)&lt;br /&gt;!set disable_regme_cmd 1 - Disable +regme ( 0 to enable)&lt;br /&gt;!set send_user_info 0 - Disable User Info ( 1 to enable )&lt;br /&gt;!set send_user_ip 1 - To show Users IP in MainChat ( 0 to disable )&lt;br /&gt;!set min_share 1024 - Setiing up Min Share on the Hub ( 0 to remove share )&lt;br /&gt;!modconntype default -s 1 -S 100 - Setting Up Min/Max slots required on the Hub.&lt;br /&gt;!set max_chat_msg 0 - Blocking MC , Users cannot send messages on MC anymore&lt;br /&gt;!set max_chat_msg 200 - Open MC ( 200 - means how many characters a user can write)&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CHATROOM:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!addroom -=REG-Chat=- -CCEU -ac1 -AC10 -c1 -tChat-Room-For-REGs  -  Adding Reg Chat.&lt;br /&gt;!addroom -=VIP-Chat=- -CCEU -ac2 -AC10 -c2 -tChat-Room-For-VIPs  -  Adding Vip Chat&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;County Code:&lt;/span&gt;&lt;br /&gt;If you leave in Germany and you accept users only from germany:&lt;br /&gt;&lt;div id="code"&gt;!set cc_zone1 :RO:&lt;br /&gt;!set max_users1 1750   &lt;== There type you max_users from the hub where "1750" is.&lt;br /&gt;!set max_users0 0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you don't wanna accept users from one county, For example Italy :&lt;br /&gt;&lt;div id="code"&gt;cc_zone1 :IT:&lt;br /&gt;!set max_users1 0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PLUGINS:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!pluglist all - Shows you all Plugins&lt;br /&gt;!lstplug - Shows you which Plugins are Registered&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TRIGGERS:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!lstrigger  -  Shows you a List of Trigger.&lt;br /&gt;!addtrigger +vot -d "your_text" -c 3 -C 10 -f 80 - To set up +vot Trigger ( Op Command )&lt;br /&gt;!addtrigger +rules -d "text" -c 0 -C 10 -f 20 - This appears only to the user which are typing this command on MC&lt;br /&gt;!addtrigger +rules -d "text" -c 0 -C 10 -f 50 - This appears only to the user which are typing this command on PM&lt;br /&gt;!addtrigger +login -d "text" -c 0 -C 10 -f 22 - This appears When users Log In into the Hub ( In PM ).&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FORBIDS:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!lstforbid - Shows You a List of Forbiden Words&lt;br /&gt;!addforbid http:// -f 7 -C 1 -r "Don't Spam in here _BAN_1h" - adding a forbiden word&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ADD/CHANGE/REMOVE AN ACCOUNT:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!regnew Nick Class - Adding Acounts&lt;br /&gt;!regclass Nick Class - Changing a LVL for an Acount&lt;br /&gt;!regdelete nick - Deleting an Acount&lt;br /&gt;!regpasswd Nick - Seetting uo password for one Acount&lt;br /&gt;!lsreg all - shows you all Acounts ( Ezechille Bot is Required for this command )&lt;br /&gt;+passwd your_pw - Setting up password&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ENFORCING HUB RULES:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!drop Nick - To drop a nick ( not kicking , just Disconnect the User)&lt;br /&gt;!kick Nick "reason"    - Kicking one User for some reason&lt;br /&gt;!Bannick Nick "reason" - To Ban a nick&lt;br /&gt;!Banip Nick "reason"   - To ban an IP&lt;br /&gt;!flood Nick - Flooding A User&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;USER INFO - SETTINGS:&lt;/span&gt;&lt;br /&gt;&lt;div id="code"&gt;!lsban 100 - shows you Last 100 Bans.&lt;br /&gt;!getip Nick - Shows you The IP from Selected User&lt;br /&gt;!getinfo Nick - Shows you some info about a Nick&lt;br /&gt;!whoip IP - Shows you which User are using Specified IP&lt;br /&gt;&lt;br /&gt;!regset Nick hide_keys 1 - hidding an Nick form other users ( 0 to show him back )&lt;br /&gt;!regset Nick hide_share 1 - Hide  Share to an Nick ( 0 - to make it back visible )&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Original post: &lt;a href="http://kleinekevin.freeforumit.com/viewtopic.php?f=40&amp;t=405" target="_blank"&gt;freeforumit.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8307024320330272027?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8307024320330272027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/useful-commands-for-verlihub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8307024320330272027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8307024320330272027'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/useful-commands-for-verlihub.html' title='Useful Commands For VerliHub'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6068819213848622138</id><published>2011-03-09T00:44:00.000-08:00</published><updated>2011-03-10T12:56:58.306-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>What is "sudo bang bang”?</title><content type='html'>&lt;img style="float:left; margin:10px 10px 10px 0;width: 360px; height: 299px;" src="http://1.bp.blogspot.com/-VKqKcRKTZbc/TXc-R-FUEQI/AAAAAAAAAlA/7cDXGUQn58U/s400/sudo-bang-bang.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5581998741593002242" /&gt;&lt;br /&gt;"&lt;span style="font-weight:bold;"&gt;sudo bang bang&lt;/span&gt;" is a very usefull command when working in CLI.&lt;br /&gt;Some Linux distros have you login as a user instead of an &lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/administration"&gt;administrator&lt;/a&gt;.&lt;br /&gt;So, to do something admin-wise, you have to proceed the command with “sudo” (Super-User DO), which tells the system “you will do this, because I’m God and I said so.” The !! / bang-bang (! = bang) is basically a shortcut you can use to repeat the previous command. So, typical scenario is that you try a command, and it kicks back a message saying you have to be an admin to do that. So, you can either type “sudo ” to run that command as super-user/admin, or you can type “sudo !!” where !! tells the system to use the previous command that was attempted.&lt;br /&gt;&lt;br /&gt;Related posts: &lt;a href="http://justinsomnia.org/2006/09/sudo-bang-bang/" target="_blank"&gt;http://justinsomnia.org/&lt;/a&gt;, Original comic from xkcd by &lt;a href="http://xkcd.com/149/" target="_blank"&gt;Randall Munroe&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6068819213848622138?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6068819213848622138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/what-is-sudo-bang-bang.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6068819213848622138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6068819213848622138'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/03/what-is-sudo-bang-bang.html' title='What is &quot;sudo bang bang”?'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-VKqKcRKTZbc/TXc-R-FUEQI/AAAAAAAAAlA/7cDXGUQn58U/s72-c/sudo-bang-bang.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1713411285014179382</id><published>2011-02-17T11:24:00.000-08:00</published><updated>2011-02-17T11:41:04.666-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to find files from the command line in Ubuntu server</title><content type='html'>The &lt;span style="font-weight:bold;"&gt;find&lt;/span&gt; command searches files within a directory and its subdirectories according to several criteria such as name, size and time of last read/write. By default find prints the name of the located files but it can also perform commands on these files.&lt;br /&gt;&lt;br /&gt;1. Find a file by knowing it's name:&lt;br /&gt;&lt;div id="code"&gt;find $HOME -name 'mysong.ogg'&lt;/div&gt;&lt;br /&gt;where $HOME is your home directory; mysong.ogg is the file we are looking for;&lt;br /&gt;&lt;br /&gt;2. Find a file by knowing a small part of it's name:&lt;br /&gt;&lt;div id="code"&gt;find /path/to/your/home -name '*cat*'&lt;/div&gt;&lt;br /&gt;where &lt;span style="font-weight:bold;"&gt;/path/to/your/home&lt;/span&gt; is the path where you're searching; -name finds a file by a part of it's name, in this case "cat";&lt;br /&gt;&lt;br /&gt;3. Find a file of a specific filetype:&lt;br /&gt;&lt;div id="code"&gt;find $HOME -iname '*.ogg'&lt;/div&gt;&lt;br /&gt;find all ogg files in your home directory. '-iname' performs a case-insensitive search while the wildcard character '*' matches any character, or number of characters, or zero characters&lt;br /&gt;&lt;br /&gt;4. Locating a file by it's size:&lt;br /&gt;&lt;div id="code"&gt;find $HOME -iname '*.ogg' -size +100M&lt;/div&gt;&lt;br /&gt;here we are searching for all ogg files that are 100 megabytes or larger;&lt;br /&gt;&lt;br /&gt;5. Locating files by acces time:&lt;br /&gt;&lt;div id="code"&gt;find $HOME -atime +30&lt;/div&gt;&lt;br /&gt;here we are searching for all files that have an access time of greater than 30 days;&lt;br /&gt;&lt;br /&gt;6. Performing actions on files:&lt;br /&gt;&lt;div id="code"&gt;sudo find / -name '*cat*' -exec rm {} \;&lt;/div&gt;&lt;br /&gt;here we are searching for all files in the root, that contains the cat string and deletes them. use this command very cautiously.&lt;br /&gt;&lt;br /&gt;For more info and all the options:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man find&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/find" target="_blank"&gt;ubuntu help documentation&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/showthread.php?t=656126" target="_blank"&gt;ubuntu forums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1713411285014179382?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1713411285014179382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/02/how-to-find-files-from-command-line-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1713411285014179382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1713411285014179382'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2011/02/how-to-find-files-from-command-line-in.html' title='How to find files from the command line in Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7992570172736981128</id><published>2010-12-31T10:07:00.000-08:00</published><updated>2011-03-10T12:57:45.472-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>Adding torrent to transmissioncli on Ubuntu server using transmission-remote</title><content type='html'>transmission-remote is the application for remote control a torrent server using transmissioncli. You can add, edit, delete, start, stop torrents and edit their options.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. To list all &lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/torrent"&gt;torrents&lt;/a&gt; on the current server:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -l&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. To list all torrents on a remote server:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote homeserver:1234 -l&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. To list all torrents on a remote server with authentification:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote homeserver:1234 --auth=username:password -l&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where homeserver is the domain and 1234 is the port of transmissioncli. the username and the password are self explanatory.&lt;br /&gt;&lt;br /&gt;will display the following details (as columns): ID, Done, Have, ETA, Up, Down, Ratio, Status and Name.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. Get a list of files for a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 -f&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where -t1 is the ID of torrent, in this case 1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5. To stop a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 --stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6. To start a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 --start&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;7. To start only the first 2 files:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 -Gall -g1,2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8. To add a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -a file.torrent&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where file.torrent it's our torrent file. can be local or remote.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;9. To remove a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 -r&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;will remove the torrent with the ID equal to 1. will not remove the actual files, only the torrent from the list. to remove downloaded data, use the --remove-and-delete option instead of -r.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10. To list the connected peers to a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t1 -pi&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;to see it live (every second):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;while true;do clear;sudo transmission-remote -t12 -pi;sleep 1;done&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;11. To see the upload and download speed of a torrent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -t12 -i | grep Speed&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;to see it live (every second):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;while true;do clear;sudo transmission-remote -t12 -i | grep Speed;sleep 1;done&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;More option of transmission-remote by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man transmission-remote&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;or by &lt;a href="http://manpages.ubuntu.com/manpages/maverick/man1/transmission-remote.1.html" target="_blank"&gt;this page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://manpages.ubuntu.com/manpages/maverick/man1/transmission-remote.1.html" target="_blank"&gt;manpages.ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7992570172736981128?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7992570172736981128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/adding-torrent-to-transmissioncli-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7992570172736981128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7992570172736981128'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/adding-torrent-to-transmissioncli-on.html' title='Adding torrent to transmissioncli on Ubuntu server using transmission-remote'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8407608640542572638</id><published>2010-12-30T07:35:00.000-08:00</published><updated>2010-12-30T07:40:13.317-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Find out the installation folder of an application</title><content type='html'>You may need to find out the installation folder (pathname) of an application for some reason. The command that will help us is &lt;span style="font-weight:bold;"&gt;which&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;which gcc&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;will output &lt;span style="font-weight:bold;"&gt;/usr/bin/gcc&lt;/span&gt;, where gcc is the program we are looking for.&lt;br /&gt;&lt;br /&gt;for more info about this command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man which&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;will display this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;NAME&lt;br /&gt;       which - locate a command&lt;br /&gt;&lt;br /&gt;SYNOPSIS&lt;br /&gt;       which [-a] filename ...&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt;       which returns the pathnames of the files (or links) which would be exeâ&lt;br /&gt;       cuted in the current environment, had its arguments been given as  comâ&lt;br /&gt;       mands  in a strictly POSIX-conformant shell.  It does this by searching&lt;br /&gt;       the PATH for executable files matching the names of the  arguments.  It&lt;br /&gt;       does not follow symbolic links.&lt;br /&gt;&lt;br /&gt;OPTIONS&lt;br /&gt;       -a     print all matching pathnames of each argument&lt;br /&gt;&lt;br /&gt;EXIT STATUS&lt;br /&gt;       0      if all specified commands are found and executable&lt;br /&gt;&lt;br /&gt;       1      if  one  or  more  specified commands is nonexistent or not exeâ&lt;br /&gt;              cutable&lt;br /&gt;&lt;br /&gt;       2      if an invalid option is specified&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8407608640542572638?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8407608640542572638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/find-out-installation-folder-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8407608640542572638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8407608640542572638'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/find-out-installation-folder-of.html' title='Find out the installation folder of an application'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6135882802682906973</id><published>2010-12-26T04:42:00.000-08:00</published><updated>2011-03-10T12:58:33.054-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>How to ban a user by nickname or ip on Verlihub</title><content type='html'>If some users don't behave nicely, verlihub offers some solutions. One of them is banning a client by it's username (nickname) or ip. All the following commands must be written in a dc client as &lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/administration"&gt;administrator&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;1. Banning a user by ip:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!banip 1.1.1.1 reason&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where 1.1.1.1 it's the client ip and reason is the message it will see after the ban. this ban is permanent.&lt;br /&gt;to find out someones ip adress:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!getinfo nickname&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. Banning a user by nickname:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!banip nickname reason&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where nickname it's the client nickname and reason is the message it will see after the ban. this ban is permanent.&lt;br /&gt;&lt;br /&gt;3. Banning a user by share:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!banshare share reason&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where share it's the client share and reason is the message it will see after the ban. this ban is permanent.&lt;br /&gt;&lt;br /&gt;4. Banning a user temporarly:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!ban_2w username message&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where username is the nickname of the user and 2w is the time a user is banned, 2w represents 2 weeks. other measures are: s seconds, m minutes, h hours, d days, w weeks, m months, y years&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.verlihub-project.org/doku.php?id=managing_your_hub" target="_blank" rel="nofollow"&gt;verlihub project&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6135882802682906973?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6135882802682906973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-ban-user-by-nickname-or-ip-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6135882802682906973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6135882802682906973'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-ban-user-by-nickname-or-ip-on.html' title='How to ban a user by nickname or ip on Verlihub'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8641407790743545105</id><published>2010-12-12T03:00:00.000-08:00</published><updated>2011-03-10T12:59:03.142-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to disable iptables temporarily on ubuntu</title><content type='html'>With iptables you can create your own set of rules for your &lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/network"&gt;network&lt;/a&gt;, just like a firewall.&lt;br /&gt;If you need to disable all the iptables rules temporarily, you can flush all the rules using:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -F&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;note: to enable the rules, just restart ubuntu.&lt;br /&gt;&lt;br /&gt;or you can make a script:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano -w /root/fw.stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;enter the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;echo "Stopping iptables rules and allow everyone..."&lt;br /&gt;iptables -F&lt;br /&gt;iptables -X&lt;br /&gt;iptables -t nat -F&lt;br /&gt;iptables -t nat -X&lt;br /&gt;iptables -t mangle -F&lt;br /&gt;iptables -t mangle -X&lt;br /&gt;iptables -P INPUT ACCEPT&lt;br /&gt;iptables -P FORWARD ACCEPT&lt;br /&gt;iptables -P OUTPUT ACCEPT&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;save it and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /root/fw.stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;to run your new script:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /root/fw.stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/IptablesHowTo" target="_blank"&gt;help.ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8641407790743545105?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8641407790743545105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-disable-iptables-temporarily-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8641407790743545105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8641407790743545105'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-disable-iptables-temporarily-on.html' title='How to disable iptables temporarily on ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-9207072586419788718</id><published>2010-12-12T01:41:00.000-08:00</published><updated>2011-04-26T12:11:37.011-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>How to port forward utorrent client through ubuntu box</title><content type='html'>At home i have a ubuntu box which is having some services and it's doing &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-internet-connection-sharing.html"&gt;internet connection sharing&lt;/a&gt;.&lt;br /&gt;Uubuntu does not forward ports by default. utorrent is a small torrent client for windows and it needs a tcp port opened for you to have an active connection.&lt;br /&gt;The difference between active and pasive connection is simple: if you are using a pasive connection (usually behind a firewall like a home router or a linux box) you can't connect to pasive peers. that means you are very limited.&lt;br /&gt;To correct this, port forwarding is the solution. if you don't have a firewall installed on ubuntu box, this is the command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 17090 -j DNAT --to 192.168.0.2:17090&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where:&lt;br /&gt;- ppp0 is the internet interface, mine is a broadband connection. your's should be like eth0 or eth1.&lt;br /&gt;- 17090 is the port you are forwarding&lt;br /&gt;- 192.168.0.2:17090 is the ip and the port where your utorrent application resides.&lt;br /&gt;&lt;br /&gt;Remember that this is not a permanent solution, after you restart your linux box, you will have to do this again. If you don't want to lose your settings you need to save iptables into a file and restore it after each startup.&lt;br /&gt;to do this save iptables:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables-save &gt; iptables.rules&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;then edit /etc/network/interfaces:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/network/interfaces&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;and paste the following line after your internet network card:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;post-up iptables-restore &lt; /home/username/iptables.rules&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where username is your username.&lt;br /&gt;&lt;br /&gt;because i have a broadband connection, my file looks like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;br /&gt;&lt;br /&gt;auto dsl-provider&lt;br /&gt;iface dsl-provider inet ppp&lt;br /&gt;pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf&lt;br /&gt;post-up iptables-restore &lt; /home/username/iptables.rules #this file must exist&lt;br /&gt;provider dsl-provider&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can test your &lt;a href="http://ubuntu-for-humans.blogspot.com/2011/04/how-to-test-port-forwarding.html"&gt;port forwarding configuration&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.cyberciti.biz/faq/how-do-i-save-iptables-rules-or-settings/" target="_blank"&gt;cyberciti.biz&lt;/a&gt;, &lt;a href="https://help.ubuntu.com/community/IptablesHowTo" target="_blank"&gt;help.ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-9207072586419788718?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/9207072586419788718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-port-forward-utorrent-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/9207072586419788718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/9207072586419788718'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/12/how-to-port-forward-utorrent-client.html' title='How to port forward utorrent client through ubuntu box'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5476149030161861881</id><published>2010-11-25T08:42:00.000-08:00</published><updated>2010-11-25T08:42:55.428-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>How to create new torrents with transmissioncli on Ubuntu server</title><content type='html'>If you want to &lt;b&gt;create some torrents&lt;/b&gt; for seeding, you will find transmissioncli a very good pogram. It has a &lt;b&gt;WEBui interface&lt;/b&gt; and can be controlled over internet to add new torrents, pause torrents, delete torrents. Each torrent has detailed information about it. you will need to &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/11/how-to-install-torrent-client-on-ubuntu.html"&gt;install transmissioncli from repositories&lt;/a&gt; first.&lt;br /&gt;&lt;br /&gt;to create a torrent from a file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;transmissioncli -n myfile -c "Some comment" -a http://tracker.url/announce myfile.torrent&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where -n myfile argument is the path to the file;&lt;br /&gt;-a http://tracker.url/announce is the tracker you will need to use in order to properly transfer files;&lt;br /&gt;myfile.torrent is the file the program will create. you can specify a path or it will put it in current directory;&lt;br /&gt;&lt;br /&gt;to create a torrent from a directory:&lt;br /&gt;&lt;div id="code"&gt;transmissioncli -n mydir/ -c "Some comment" -a http://tracker.url/announce mydir.torrent&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;the arguments are the same as the command for files above.&lt;br /&gt;&lt;br /&gt;After you have the .torrent file made by transmissioncli, you will need to add it for seeding.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo transmission-remote -a mydir.torrent -t daemon -f /home/your_username/download&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where mydir.torrent is the torrent file for the torrent we just made; /home/your_username/download is the folder where it will download/seed, the files must be in the same folder in order to seed the files.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Resources:&lt;/b&gt; &lt;a href="http://manpages.ubuntu.com/manpages/intrepid/man1/transmissioncli.1.html" target="_blank"&gt;ubuntu manpages&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/archive/index.php/t-1211353.html" target="_blank"&gt;ubuntu forums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5476149030161861881?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5476149030161861881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-create-new-torrents-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5476149030161861881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5476149030161861881'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-create-new-torrents-with.html' title='How to create new torrents with transmissioncli on Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2988769557241463080</id><published>2010-11-24T11:04:00.000-08:00</published><updated>2011-03-10T13:00:39.781-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>How to install a torrent client on Ubuntu server</title><content type='html'>&lt;b&gt;transmission-cli&lt;/b&gt; is a perfect torrent client for command line interface servers. it uses fewer resources then other clients, it has daemon process, can be controlled remotely by webui interface, it has local peer discovery support, full encryption transfer, speed limits, downlolad rate, scheduled downloads, magnet links, DHT, UPnP and NAT-PMP port forwarding, etc.&lt;br /&gt;&lt;br /&gt;To &lt;b&gt;install transmission-cli&lt;/b&gt; torrent client:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install transmission-cli transmission-common transmission-daemon&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To stop, start or restart the daemon:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/transmission-daemon start&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/transmission-daemon stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/transmission-daemon restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To edit it's settings, stop the daemon and to open the file &lt;b&gt;/etc/transmission-daemon/settings.json&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/transmission-daemon/settings.json&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;you will have all kind of settings which are self explanatory. you will need to configure settings for transmission such as download directory and the rpc-whitelist. The rpc-whitelist is a list that allows certain IPs to access the web interface to download files. Add your local IP (likely 192.168.*.*).&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;"rpc-whitelist": "127.0.0.1, 192.168.*.*",&lt;br /&gt;"rpc-whitelist-enabled": true,&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;While your here it's probably a good idea to set the speed limits so you don't max out your home connection since this will probably be running in the background all the time.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;"speed-limit-down": 60,&lt;br /&gt;"speed-limit-down-enabled": true,&lt;br /&gt;"speed-limit-up": 10,&lt;br /&gt;"speed-limit-up-enabled": true,&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then restart the server by doing sudo &lt;b&gt;/etc/init.d/transmission-daemon start&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Your web service should be started by now and you should be able to access it from the specified IPs in the whitelist.&lt;br /&gt;&lt;br /&gt;Access the webpage at the following address:&lt;br /&gt;&lt;div id="code"&gt;http://servers_ip_adress:9091/transmission/web/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;the port can be changed in the settings, and also the username and password, if you want a &lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/administration"&gt;login&lt;/a&gt; system.&lt;br /&gt;&lt;br /&gt;The transmission has support for &lt;a href="http://www.transmissionbt.com/resources.php" target="_blank"&gt;addons&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.transmissionbt.com" target="_blank"&gt;Official transmission client website&lt;/a&gt;, &lt;a href="https://trac.transmissionbt.com/wiki/EditConfigFiles" target="_blank"&gt;edit configuration file&lt;/a&gt;, &lt;a href="http://linux.die.net/man/1/transmissioncli" target="_blank"&gt;transmissioncli commands&lt;/a&gt;, &lt;a href="http://linux.die.net/man/1/transmission-daemon" target="_blank"&gt;transmission-daemon commands&lt;/a&gt;, &lt;a href="http://linux.die.net/man/1/transmission-remote" target="_blank"&gt;transmission-remote commands&lt;/a&gt;, &lt;a href="http://manpages.ubuntu.com/manpages/intrepid/man1/transmissioncli.1.html#contenttoc6" target="_blank"&gt;ubuntu manual&lt;/a&gt;, &lt;a href="http://notes.benlaw.net/2010/09/transmission-cli-headless-mode-ubuntu.html" target="_blank"&gt;notes.benlaw.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2988769557241463080?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2988769557241463080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-install-torrent-client-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2988769557241463080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2988769557241463080'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-install-torrent-client-on-ubuntu.html' title='How to install a torrent client on Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7725957294755869476</id><published>2010-11-24T09:56:00.000-08:00</published><updated>2010-11-24T10:54:30.417-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to kill a process in Ubuntu server</title><content type='html'>Not having a graphical user interface, ubuntu server is kind of hard to work with if your new. Many of us start some processes and they don't know how to stop them. A little help is to &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/12/how-to-use-top-and-htop-commands-to.html"&gt;work with htop&lt;/a&gt;, but i prefer the old cli. it's much faster and cleaner.&lt;br /&gt;To see all the current processes you need to use the ps command. ps displays information about a selection of the active processes.&lt;br /&gt;&lt;br /&gt;to see all the processes:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ps -A&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;it will display it's PID (it's process id), TTY (with console has started this process), TIME (cumulative CPU time) and CMD (the command). for all the information about it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man ps&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;to search for a specific process and a detailed view:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ps aux | grep transmission&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where transmission is the process we are searching for. the second column will display the PID for our process.&lt;br /&gt;&lt;br /&gt;to kill it (send a signal to a process):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo kill -9 8785&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where 8785 is the PID we searched for.&lt;br /&gt;for more information about kill command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man kill&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7725957294755869476?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7725957294755869476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-kill-process-in-ubuntu-server.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7725957294755869476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7725957294755869476'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-kill-process-in-ubuntu-server.html' title='How to kill a process in Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6865534350146337525</id><published>2010-11-10T07:25:00.000-08:00</published><updated>2011-03-10T13:01:46.655-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to reset administrator password in Ubuntu 10.04</title><content type='html'>This method might work for older versions of Ubuntu. This method uses the recovery mode. You need to select it from &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/11/how-to-show-grub-console-menu.html"&gt;grub console menu&lt;/a&gt;. If you don't see grub console on computer boot, hold hown &lt;span style="font-weight:bold;"&gt;SHIFT &lt;/span&gt;while booting in Ubuntu newer then 9.04 and &lt;span style="font-weight:bold;"&gt;ESC &lt;/span&gt;key for Ubuntu older then 9.10. The console should appear.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/TOQ_9Zq5-pI/AAAAAAAAAgc/EiMGllc8lyY/s1600/resetpasswordlucid01.png"&gt;&lt;img style="width: 320px; height: 216px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/TOQ_9Zq5-pI/AAAAAAAAAgc/EiMGllc8lyY/s320/resetpasswordlucid01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the boot menu, select recovery mode, which is usually the second boot option. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_6scBS6B6cww/TORAKXL4KfI/AAAAAAAAAgk/x-uKBXtJfUI/s1600/resetpasswordlucid01.png"&gt;&lt;img style="width: 320px; height: 216px;" src="http://4.bp.blogspot.com/_6scBS6B6cww/TORAKXL4KfI/AAAAAAAAAgk/x-uKBXtJfUI/s320/resetpasswordlucid01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.&lt;br /&gt;&lt;br /&gt;The root account is the ultimate administrator and can do anything to the &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/download-ubuntu-free-operating-system.html"&gt;Ubuntu&lt;/a&gt; installation (including erase it), so please be careful with what commands you enter in the root terminal. &lt;br /&gt;&lt;br /&gt;To reset the password, type &lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;passwd username&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where username is the username which you want to reset. You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.&lt;br /&gt;&lt;br /&gt;Now the password should be reset. Type &lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;exit&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;to return to the recovery menu.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/TORAa3-DJ1I/AAAAAAAAAgs/-rHHvlf8cio/s1600/resetpasswordlucid03.png"&gt;&lt;img style="width: 320px; height: 154px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/TORAa3-DJ1I/AAAAAAAAAgs/-rHHvlf8cio/s320/resetpasswordlucid03.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After you get back to the recovery menu, select resume normal boot, and use Ubuntu as you normally would—only this time, you actually know the password!&lt;br /&gt;&lt;br /&gt;If you are in a weird situation in which your Grub boot menu timeout is 0 seconds, so you cannot select recovery mode or edit any kernel lines, you can use a live CD to reset your user password:&lt;br /&gt;&lt;br /&gt;&lt;object width="620" height="370"&gt;&lt;param name="movie" value="http://www.youtube.com/v/AkENYv7kEhg?fs=1&amp;amp;hl=ro_RO"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/AkENYv7kEhg?fs=1&amp;amp;hl=ro_RO" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="620" height="370"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.psychocats.net/ubuntu/resetpassword" target="_blank"&gt;psychocats.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6865534350146337525?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6865534350146337525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-reset-administrator-password-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6865534350146337525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6865534350146337525'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-reset-administrator-password-in.html' title='How to reset administrator password in Ubuntu 10.04'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6scBS6B6cww/TOQ_9Zq5-pI/AAAAAAAAAgc/EiMGllc8lyY/s72-c/resetpasswordlucid01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1327093514018964063</id><published>2010-11-06T03:13:00.000-07:00</published><updated>2010-11-10T07:22:36.243-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to show Grub console menu</title><content type='html'>If you install Ubuntu server 10.04, in default mode on boot does not show the Grub console menu.&lt;br /&gt;To show Grub console menu in Ubuntu newer then 9.04 you need to hold &lt;b&gt;SHIFT&lt;/b&gt; key while booting and for Ubuntu older then 9.10 you need to hold &lt;b&gt;ESC&lt;/b&gt; key.&lt;br /&gt;&lt;br /&gt;The boot menu should appear as follows:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/TNq4pAJMg4I/AAAAAAAAAgM/yNKJThBkKME/s1600/resetpasswordlucid01.png"&gt;&lt;img style="width: 320px; height: 216px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/TNq4pAJMg4I/AAAAAAAAAgM/yNKJThBkKME/s320/resetpasswordlucid01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1327093514018964063?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1327093514018964063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-show-grub-console-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1327093514018964063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1327093514018964063'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/11/how-to-show-grub-console-menu.html' title='How to show Grub console menu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6scBS6B6cww/TNq4pAJMg4I/AAAAAAAAAgM/yNKJThBkKME/s72-c/resetpasswordlucid01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3363651509586444817</id><published>2010-10-27T13:20:00.000-07:00</published><updated>2010-10-27T13:22:28.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Why choose Ubuntu</title><content type='html'>&lt;object style="background-image:url(http://i3.ytimg.com/vi/vYTJPaM82nQ/hqdefault.jpg)"  width="620" height="370"&gt;&lt;param name="movie" value="http://www.youtube.com/v/vYTJPaM82nQ?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/vYTJPaM82nQ?fs=1&amp;amp;hl=en_US" width="620" height="370" allowScriptAccess="never" allowFullScreen="true" wmode="transparent" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3363651509586444817?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3363651509586444817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/10/why-choose-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3363651509586444817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3363651509586444817'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/10/why-choose-ubuntu.html' title='Why choose Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2783175017979458246</id><published>2010-07-22T08:17:00.000-07:00</published><updated>2011-03-10T13:02:32.650-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Remove Login sound on Ubuntu desktop 10.04</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/TEhjwUdn3-I/AAAAAAAAAdA/IakycavcZ3c/s1600/login_sound.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 123px;" src="http://3.bp.blogspot.com/_6scBS6B6cww/TEhjwUdn3-I/AAAAAAAAAdA/IakycavcZ3c/s320/login_sound.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;If you find the login (start-up) sound very annoying or you want to get rid of it, follow this tutorial which shows how to turn off gnome login sound when Ubuntu startup.&lt;br /&gt;In Ubuntu 10.04 we need to go to &lt;span style="font-style:italic;"&gt;System-&gt;&lt;a href="http://ubuntu-for-humans.blogspot.com/search/label/administration"&gt;Administration&lt;/a&gt;-&gt;Login Screen&lt;/span&gt;.&lt;br /&gt;There is an options says “Play login sound”, uncheck it and there you go...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_6scBS6B6cww/TEhmQr9_bGI/AAAAAAAAAdI/DjFwE-7tbhs/s1600/Screenshot2.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 293px;" src="http://4.bp.blogspot.com/_6scBS6B6cww/TEhmQr9_bGI/AAAAAAAAAdI/DjFwE-7tbhs/s320/Screenshot2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;If you want to disable all system sound effects, go to &lt;span style="font-style:italic;"&gt;System-&gt;Preferences-&gt;Sounds&lt;/span&gt; and on the select called "Sound theme" select &lt;span style="font-weight:bold;"&gt;No Sound&lt;/span&gt; option.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2783175017979458246?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2783175017979458246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/07/remove-login-sound-on-ubuntu-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2783175017979458246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2783175017979458246'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/07/remove-login-sound-on-ubuntu-desktop.html' title='Remove Login sound on Ubuntu desktop 10.04'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6scBS6B6cww/TEhjwUdn3-I/AAAAAAAAAdA/IakycavcZ3c/s72-c/login_sound.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3705524231017652</id><published>2010-06-28T13:48:00.000-07:00</published><updated>2010-06-28T14:03:42.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>How to unrar files under Ubuntu 10.04</title><content type='html'>If you want to open up a .rar archive file, File Roller, which is the default archive manager, won't be able to open the rar archive. The usual types that can be opened are: tar, gzip, bzip, bzip2, lzma, zip, jar, iso (read-only). We need to install unrar-free to be able to use the same archive manager with some other archive types, like: rar and 7zip.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install unrar&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;That's it! Now you can unrar files with File Roller.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3705524231017652?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3705524231017652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-unrar-files-under-ubuntu-1004.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3705524231017652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3705524231017652'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-unrar-files-under-ubuntu-1004.html' title='How to unrar files under Ubuntu 10.04'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5408564671070321942</id><published>2010-06-28T05:31:00.000-07:00</published><updated>2010-06-28T08:06:55.464-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>How to install a working flash player on Ubuntu x64</title><content type='html'>As Adobe Flash Player will not be released official very soon, and alternate flash players  are not working properly on Ubuntu x64 systems. The problem with adobe flash player x32 is that is not clickable under x64. So it might work, but it won't receive any mouse clicks. And there is a method which is working under x64 version.&lt;br /&gt;&lt;br /&gt;Before you installing it, make sure that previous versions of Flash and nspluginwrapper are uninstalled and any instance of Firefox is closed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.First method:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To remove all flash plugins:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper&lt;br /&gt;sudo rm -f /usr/lib/mozilla/plugins/*flash*&lt;br /&gt;sudo rm -f ~/.mozilla/plugins/*flash*&lt;br /&gt;sudo rm -f /usr/lib/firefox/plugins/*flash*&lt;br /&gt;sudo rm -f /usr/lib/firefox-addons/plugins/*flash*&lt;br /&gt;sudo rm -rfd /usr/lib/nspluginwrapper&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we download flash player, untar, copy and link &lt;i&gt;libflashplayer.so&lt;/i&gt; to &lt;i&gt;/usr/lib/mozilla/plugins&lt;/i&gt; by doing the following in the terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz&lt;br /&gt;tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz&lt;br /&gt;sudo cp libflashplayer.so /usr/lib/mozilla/plugins/&lt;br /&gt;sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You are done!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Second method:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Alternatively you can run the following script in terminal:&lt;br /&gt;&lt;br /&gt;We make a file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano flash10_x64_en.sh&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We paste the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;# Script  created by&lt;br /&gt;# Alejandro Cuervo 3[at]cuervo[dot]net&lt;br /&gt;# Released under GPL&lt;br /&gt;&lt;br /&gt;echo "Closing Firefox"&lt;br /&gt;sudo killall -9 firefox&lt;br /&gt;sudo killall -9 firefox-3.5&lt;br /&gt;&lt;br /&gt;echo "Removing previous installs of flash:"&lt;br /&gt;sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper&lt;br /&gt;sudo rm -f /usr/lib/mozilla/plugins/*flash*&lt;br /&gt;sudo rm -f ~/.mozilla/plugins/*flash*&lt;br /&gt;sudo rm -f /usr/lib/firefox/plugins/*flash*&lt;br /&gt;sudo rm -f /usr/lib/firefox-addons/plugins/*flash*&lt;br /&gt;sudo rm -rfd /usr/lib/nspluginwrapper&lt;br /&gt;&lt;br /&gt;echo "Installing Flash Player 10 64 Bit ver 10.0.42.34"&lt;br /&gt;cd ~&lt;br /&gt;wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz&lt;br /&gt;tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz&lt;br /&gt;sudo cp libflashplayer.so /usr/lib/mozilla/plugins/&lt;br /&gt;&lt;br /&gt;echo "Linking libraries "&lt;br /&gt;sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/&lt;br /&gt;&lt;br /&gt;echo "cleaning up"&lt;br /&gt;sudo rm -rf libflashplayer.so &lt;br /&gt;sudo rm -rf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz&lt;br /&gt;sudo rm -rf flash10_x64_en.sh&lt;br /&gt;&lt;br /&gt;echo "Done :-)"&lt;br /&gt;echo "You may re-start Firefox now and enjoy native 64 bit Flash!"&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We save it, and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x flash10_x64_en.sh&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We run it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo sh ./flash10_x64_en.sh&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://queleimporta.com/en/finally-adobe-releases-native-64-bit-flash-10-for-linux/" target="_blank"&gt;quelleimporta&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5408564671070321942?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5408564671070321942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-working-flash-player-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5408564671070321942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5408564671070321942'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-working-flash-player-on.html' title='How to install a working flash player on Ubuntu x64'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2644927698966020746</id><published>2010-06-27T09:12:00.000-07:00</published><updated>2010-06-27T09:53:51.180-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>How to install miro on Ubuntu 9.10+</title><content type='html'>If you don't know, &lt;a href="http://www.getmiro.com/" target="_blank"&gt;Miro&lt;/a&gt; is a free HD video player. It can play almost any video file (Quicktime, WMV, MPEG, AVI, XVID, and more) and offers over 6,000 free internet TV shows and video podcasts.&lt;br /&gt;&lt;br /&gt;Miro has a simple, gorgeous interface designed for fullscreen HD video. Since Miro downloads most videos, you can take your shows with you, even on an airplane. Quite simply, Miro is a better way to watch all the video you care about.&lt;br /&gt;&lt;br /&gt;Best of all, Miro is 100% free and open source, developed by a non-profit organization and volunteers around the world.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to install it:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First we need to add PPA on our system:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo add-apt-repository ppa:pcf/miro-releases&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will result in something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv DB6F4249F501C2D31923CF8CE38FDEE72D75E850&lt;br /&gt;gpg: requesting key 2D75E850 from hkp server keyserver.ubuntu.com&lt;br /&gt;gpg: key 2D75E850: public key "Launchpad Miro releases" imported&lt;br /&gt;gpg: Total number processed: 1&lt;br /&gt;gpg:               imported: 1  (RSA: 1)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then we update repositories list:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Install the video player:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install miro&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After everything has finished, you can find the application on Applications -&gt; Sound &amp; Video -&gt; Miro Internet TV&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://getmiro.com/download/for-ubuntu/" target="_blank"&gt;Miro for Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2644927698966020746?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2644927698966020746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-miro-on-ubuntu-910.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2644927698966020746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2644927698966020746'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-miro-on-ubuntu-910.html' title='How to install miro on Ubuntu 9.10+'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7421847644109331053</id><published>2010-06-27T08:58:00.000-07:00</published><updated>2011-03-10T13:04:22.461-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repositories'/><title type='text'>How to install software from PPA source</title><content type='html'>PPA comes from Personal Package Archive, which is available from Ubuntu 9.10. Now you don't need to add repositories servers and .gpg key (&lt;a href="http://www.gnupg.org/gph/en/manual.html" target="_blank"&gt;GNU Privacy Guard&lt;/a&gt;), because they are done automatically by adding a string as like this: ppa:gwibber-daily/pp&lt;br /&gt;You still need to remember that the contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.&lt;br /&gt;&lt;br /&gt;So, if you're using the most recent version of Ubuntu (or any version from Ubuntu 9.10 onwards), you can add a PPA to your system with a single line in your terminal.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo add-apt-repository ppa:user/ppa-name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Replace ppa:user/ppa-name with the PPA's location that you noted above.&lt;br /&gt;Your system will now fetch the PPA's key. This enables your &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/download-ubuntu-free-operating-system.html"&gt;Ubuntu&lt;/a&gt; system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;&lt;br /&gt;Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now you're ready to start installing software from the PPA like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install software&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where software is the program that you want to install.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://launchpad.net/+help/soyuz/ppa-sources-list.html" target="_blank"&gt;launchpad&lt;/a&gt;, &lt;a href="http://aplawrence.com/Basics/gpg.html" target="_blank"&gt;GPG/PGP Basics&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7421847644109331053?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7421847644109331053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-software-from-ppa-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7421847644109331053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7421847644109331053'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-software-from-ppa-source.html' title='How to install software from PPA source'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2119895671067070007</id><published>2010-06-14T13:34:00.000-07:00</published><updated>2010-06-14T13:37:38.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>How to install Google Chrome on Ubuntu 10.04</title><content type='html'>As the new Ubuntu 10.04 came up, it has many virtual packages bundled with it. I this example will install google chrome in just one command line.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install chromium-browser&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;That's it. You will now find google chrome under Applications -&gt; Internet -&gt; Chromium Web Browser&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2119895671067070007?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2119895671067070007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-google-chrome-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2119895671067070007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2119895671067070007'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/how-to-install-google-chrome-on-ubuntu.html' title='How to install Google Chrome on Ubuntu 10.04'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6197560678786450248</id><published>2010-06-14T11:55:00.000-07:00</published><updated>2010-06-14T12:27:51.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Ubuntu keyboard shortcut key for show desktop</title><content type='html'>The same thing as &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/05/lock-ubuntu-1004-screen-while-away.html"&gt;Lock Ubuntu 10.04 screen while away&lt;/a&gt;, the shorcut key to show desktop which i've been use to (WIN+D) is gone in ubuntu.&lt;br /&gt;&lt;br /&gt;The default keyboard shortcut is CTRL+ALT+D.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.davidtan.org/ubuntu-show-desktop-keyboard-shortcut-key/" target="_blank"&gt;davidtan&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6197560678786450248?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6197560678786450248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/ubuntu-keyboard-shortcut-key-for-show.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6197560678786450248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6197560678786450248'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/ubuntu-keyboard-shortcut-key-for-show.html' title='Ubuntu keyboard shortcut key for show desktop'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5659534454080625584</id><published>2010-06-05T05:14:00.000-07:00</published><updated>2010-06-05T05:17:52.773-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Enable NumLock on system start-up Ubuntu</title><content type='html'>To enable numlock at each system start-up, we need to install an aplication called numlockx:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install numlockx&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we need to make a script to run at each system start-up. Run this in terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo gedit /etc/init.d/numlockon&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Enter the followings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/bash&lt;br /&gt;numlockx on&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Save it and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/numlockon&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Add the script to system start-up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d /etc/init.d/numlockon defaults&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5659534454080625584?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5659534454080625584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/enable-numlock-on-system-start-up.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5659534454080625584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5659534454080625584'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/06/enable-numlock-on-system-start-up.html' title='Enable NumLock on system start-up Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-62209061004925060</id><published>2010-05-13T07:58:00.000-07:00</published><updated>2011-03-10T13:05:25.059-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Short new Ubuntu 10.04 description</title><content type='html'>As we have been expected, &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/download-ubuntu-free-operating-system.html"&gt;Ubuntu&lt;/a&gt; has been released on April 29th, 2010 for long support, also known as Lucid Lynx. This is the twelfth release of the Ubuntu Operating System.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What's under the hood:&lt;/span&gt;&lt;br /&gt;· GNOME 2.30.0 desktop environment;&lt;br /&gt;· Linux kernel 2.6.32.11;&lt;br /&gt;· Nouveau video driver;&lt;br /&gt;· X.Org 7.5;&lt;br /&gt;· X.Org server 1.7.6;&lt;br /&gt;· Compiz Fusion 0.8.4;&lt;br /&gt;· Plymouth graphical boot manager;&lt;br /&gt;· New artwork.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What applications are included:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/S-wVwSlF92I/AAAAAAAAAXU/ROBckInab0s/s1600/ubuntu1004lts-large_001.jpg"&gt;&lt;img style="float:right; margin:20px 0 10px 10px;width: 200px; height: 160px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/S-wVwSlF92I/AAAAAAAAAXU/ROBckInab0s/s200/ubuntu1004lts-large_001.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;· Calculator 5.28.2 (an arithmetic, scientific or financial calculator);&lt;br /&gt;· CD/DVD Creator 2.30.0 (the built-in CD/DVD burning utility);&lt;br /&gt;· Character Map 2.30.0 (permits to insert special characters into documents);&lt;br /&gt;· Baobab 2.30.0 (disk usage analyzer);&lt;br /&gt;· Gedit 2.30.0 (a small and lightweight text editor with intuitive spell-checker);&lt;br /&gt;· Seahorse 2.30.0 (passwords and encryption keys manager);&lt;br /&gt;· Search for Files (default system search application);&lt;br /&gt;· Gnome Screenshot 2.30.0 (saves images of your desktop or individual windows);&lt;br /&gt;· Gnome Terminal 2.29.6 (allows you to use the command-line);&lt;br /&gt;· Tomboy 1.2.0 (desktop note-taking application).&lt;br /&gt;&lt;div style="clear:right;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S-wWGAE3hAI/AAAAAAAAAXc/Ehlw0jS7W0U/s1600/ubuntu1004lts-large_001.jpg"&gt;&lt;img style="float:left; margin:20px 10px 10px 0;width: 200px; height: 160px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S-wWGAE3hAI/AAAAAAAAAXc/Ehlw0jS7W0U/s200/ubuntu1004lts-large_001.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Graphics:&lt;br /&gt;&lt;br /&gt;· F-Spot 0.6.1.5 (photo manager, RAW importer and editor);&lt;br /&gt;· OpenOffice.org Drawing 3.2.0 (drawings, logos, flow charts creator and editor);&lt;br /&gt;· Simple Scan 1.0.2 (scan, copy and fax images).&lt;br /&gt;&lt;br /&gt;Internet tools:&lt;br /&gt;&lt;br /&gt;· Empathy 2.30.0.1 (multi-protocol instant messenger);&lt;br /&gt;· Firefox 3.6.3 (the ever-popular web browser);&lt;br /&gt;· Gwibber 2.30.0.1 (a microblogging client);&lt;br /&gt;· Vinagre 2.30.0 (remote desktop viewer);&lt;br /&gt;· Terminal Server Client 0.150 (rdesktop, vncviewer, wfica, xnest frontend);&lt;br /&gt;· Transmission 1.92 (lightweight BitTorrent client).&lt;br /&gt;&lt;br /&gt;&lt;div style="clear:left;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/S-wWYTsHsUI/AAAAAAAAAXk/Qe9AHngFp-8/s1600/ubuntu1004lts-large_001.jpg"&gt;&lt;img style="float:right; margin:20px 0 10px 10px;width: 200px; height: 160px;" src="http://3.bp.blogspot.com/_6scBS6B6cww/S-wWYTsHsUI/AAAAAAAAAXk/Qe9AHngFp-8/s200/ubuntu1004lts-large_001.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Office tools:&lt;br /&gt;&lt;br /&gt;· Dictionary 2.30.0 (a tool to search word definitions and spelling in an online dictionary);&lt;br /&gt;· Evolution 2.28.3 (powerful e-mail client);&lt;br /&gt;· OpenOffice.org Suite 3.2.0 (spreadsheet, presentation and word processor).&lt;br /&gt;&lt;br /&gt;Sound and Video:&lt;br /&gt;&lt;br /&gt;· Brasero 2.30.0 (CD/DVD burning application);&lt;br /&gt;· Totem 2.30.0 (DVD-Video, DivX, XviD, WMV, MOV player);&lt;br /&gt;· PiTiVi 0.13.4 (movie creator and editor);&lt;br /&gt;· Rhythmbox 0.12.8 (Last.fm, radio and music player/organizer);&lt;br /&gt;· Sound Recorder 2.30.0 (audio recording tool).&lt;br /&gt;&lt;br /&gt;System Administration Utilities:&lt;br /&gt;&lt;br /&gt;· Computer Janitor 1.13.3 (a tool that removes obsolete files and cleans your system);&lt;br /&gt;· Palimpsest Disk Utility 2.30.1 (disk drive management and configuration utility);&lt;br /&gt;· Ubuntu Software Center 2.0.2 (software installer/updater tool).&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/5baDknt6Z7w&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/5baDknt6Z7w&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://news.softpedia.com/news/Ubuntu-10-04-LTS-Released-140899.shtml" target="_blank"&gt;softpedia news&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-62209061004925060?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/62209061004925060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/short-new-ubuntu-1004-description.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/62209061004925060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/62209061004925060'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/short-new-ubuntu-1004-description.html' title='Short new Ubuntu 10.04 description'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6scBS6B6cww/S-wVwSlF92I/AAAAAAAAAXU/ROBckInab0s/s72-c/ubuntu1004lts-large_001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7248387754709650467</id><published>2010-05-11T12:40:00.000-07:00</published><updated>2010-05-11T12:51:44.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><title type='text'>Make executable php script in terminal</title><content type='html'>In terminal is a good ideea to make some script files that will ease your job and run some applications by calling their name. These scripts have to be executable.&lt;br /&gt;&lt;br /&gt;Usually a bash file will look something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/sh&lt;br /&gt;sudo /usr/local/bin/your_program&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And after making it executable, we can run it by calling it's name:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/our_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;With php scripts it's the same, but instead of +x option for the chmod command, you will need to use chmod 755:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod 755 hello.php&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Example of php script that will run in terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/usr/local/bin/php&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;echo "Hello world!\n";&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Save it as hello.php. Run it by:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;hello.php&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7248387754709650467?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7248387754709650467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/make-executable-php-script-in-terminal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7248387754709650467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7248387754709650467'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/make-executable-php-script-in-terminal.html' title='Make executable php script in terminal'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8211675042714849646</id><published>2010-05-04T11:40:00.000-07:00</published><updated>2010-05-04T11:46:02.113-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Lock Ubuntu 10.04 screen while away</title><content type='html'>In windows i was used to this shortcut which locked my screen while i was away, by pressing WIN+L. In this way i was asurred that having a password, nobody would work on my computer.&lt;br /&gt;In ubuntu i found out that this shortcut does not exist, but there are others keyboard combination keys to lock the screen.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;CTRL+ALT+L&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Press them all at once.&lt;br /&gt;By default this will enable your screensaver which is blankscreen if you didn't configured the screensaver. To configure it, go to: SYSTEM -&gt; PREFERENCES -&gt; SCREENSAVER.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8211675042714849646?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8211675042714849646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/lock-ubuntu-1004-screen-while-away.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8211675042714849646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8211675042714849646'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/lock-ubuntu-1004-screen-while-away.html' title='Lock Ubuntu 10.04 screen while away'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5549669396054025425</id><published>2010-05-03T11:51:00.000-07:00</published><updated>2010-05-03T12:01:08.890-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Change windows butons back to the right in Ubuntu 10.04</title><content type='html'>One of the changes in Ubuntu 10.04 is to have the windows buttons to the left-side, MacOS like. As I didn't liked this change, I've searched the internet and came out with this simple solution: we change the configuration of the gnome settings file by using gconf-editor graphical application.&lt;br /&gt;&lt;br /&gt;1.Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.&lt;br /&gt;&lt;br /&gt;2.The Configuration Editor should pop up. The key that we want to edit is in apps/metacity/general. So we double click each folder, until we reach the destination folder named general. On the right side of the windows we have listed something called "button_layout". Double click on the name and on the window that pops-up we enter the following:&lt;br /&gt;&lt;div id="code"&gt;menu:maximize,minimize,close&lt;/div&gt;&lt;br /&gt;and then we hit OK. The buttons should be back on the right side.&lt;br /&gt;&lt;br /&gt;References: &lt;a href="http://www.howtogeek.com/howto/13535/move-window-buttons-back-to-the-right-in-ubuntu-10.04/" target="_blank"&gt;howtogeek.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5549669396054025425?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5549669396054025425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/change-windows-butons-back-to-right-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5549669396054025425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5549669396054025425'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/05/change-windows-butons-back-to-right-in.html' title='Change windows butons back to the right in Ubuntu 10.04'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7275656900997010731</id><published>2010-04-06T11:14:00.000-07:00</published><updated>2010-04-06T11:55:15.571-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>How to install Vuze (Azureus) on Ubuntu 9.10 by terminal</title><content type='html'>Vuze, also known as Azureus, is a BitTorrent client used to transfer files via the BitTorrent protocol. Vuze is written in Java, and uses the old Azureus Engine.&lt;br /&gt;&lt;br /&gt;Before you start you might uninstall your previous version of Azureus.&lt;br /&gt;&lt;br /&gt;1. Make sure you have sun Java 1.5 or 1.6 installed and working. To see if what your Java version is set by default type: &lt;b&gt;java -version&lt;/b&gt; in the terminal. To install java follow &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/install-java-on-ubuntu.html"&gt;this tutorial&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2.Download Azureus &lt;a href="http://azureus.sourceforge.net/" target="_blank"&gt;here&lt;/a&gt; or by wget in your home directory:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://hwcdn01.vuze.com/files/Vuze_Installer.tar.bz2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3.Untar it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo tar jxvf Vuze_Installer.tar.bz2 -C /opt/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4.Change permissions:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chown -R &amp;lt;username&amp;gt;:&amp;lt;username&amp;gt; /opt/azureus/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;where &amp;lt;username&amp;gt; is your ubuntu username&lt;br /&gt;&lt;br /&gt;5.Create a shortcut on Applications-&gt;Internet:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /usr/share/applications/Azureus.desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Type in the followings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;[Desktop Entry]&lt;br /&gt;Name=Azureus (Vuze)&lt;br /&gt;Comment=P2P Client&lt;br /&gt;Exec=/opt/vuze/azureus&lt;br /&gt;Icon=/opt/vuze/vuze.png&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=Application;Network;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To uninstall Vuze type in terminal:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo rm -r /opt/vuze&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo rm /usr/share/applications/Azureus.desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This method works only if you installed Vuze as described above.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://ubuntuforums.org/showthread.php?t=144546" target="_blank"&gt;ubuntuforums.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7275656900997010731?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7275656900997010731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-install-vuze-azureus-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7275656900997010731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7275656900997010731'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-install-vuze-azureus-on-ubuntu.html' title='How to install Vuze (Azureus) on Ubuntu 9.10 by terminal'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-892165887379699230</id><published>2010-04-05T22:10:00.000-07:00</published><updated>2010-04-05T23:01:09.732-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><title type='text'>Sending emails from Ubuntu without having a mail server</title><content type='html'>Let's assume that you want to send emails from your server, but you don't have installed an email server. You can use an external server, like Google mail, which is free. Any other smtp mail server is good. The application which does this magical trick is called &lt;b&gt;ssmtp&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let's install our program:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install ssmtp&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then we need to edit it's configuration file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/ssmtp/ssmtp.conf&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. The configuration to use Gmail's smtp server is:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;hostname=ubuntu&lt;br /&gt;AuthUser=email@gmail.com&lt;br /&gt;AuthPass=password&lt;br /&gt;FromLineOverride=YES&lt;br /&gt;mailhub=smtp.gmail.com:587&lt;br /&gt;UseSTARTTLS=YES&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;AuthUser=&lt;/b&gt; is the username which authenticates&lt;br /&gt;&lt;b&gt;AuthPass=&lt;/b&gt; is the password for the user above&lt;br /&gt;&lt;b&gt;FromLineOverride=&lt;/b&gt; is needed to allow the user to specify their own From: address (Gmail does not allow the user to specify their own From: address)&lt;br /&gt;&lt;b&gt;mailhub=&lt;/b&gt; is the smtp server through which we are going to send the emails. the port is optionally needed.&lt;br /&gt;&lt;b&gt;UseSTARTTLS=&lt;/b&gt; is to make a secure connection. Gmail needs it.&lt;br /&gt;Others settings:&lt;br /&gt;&lt;b&gt;rewriteDomain=&lt;/b&gt; where will the mail seem to come from&lt;br /&gt;&lt;b&gt;hostname=&lt;/b&gt; the full hostname of the machine&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. To send email by function mail() in php using this external server&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usually the setings above may already work for the function mail() in php, but if it doesn't you need to set &lt;b&gt;sendmail_path&lt;/b&gt; in &lt;b&gt;php.ini&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;The php.ini file usually is located in php's folder&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/php5/apache2/php.ini&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Press CTRL+W and enter &lt;b&gt;sendmail_path&lt;/b&gt;. This is the find function in nano editor.&lt;br /&gt;&lt;br /&gt;Delete the line where is sendmail_path (CTRL+K) and paste the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sendmail_path = /usr/sbin/ssmtp&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Observation:&lt;br /&gt;&lt;br /&gt;a. To verify if the server is sending emails, send a test email:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ssmtp recipient_email@example.com&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The prompt will expect to enter something.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;To: recipient_email@example.com&lt;br /&gt;From: myemailaddress@gmail.com&lt;br /&gt;Subject: test email&lt;br /&gt;&lt;br /&gt;hello world!&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;b. You can check if the email are sent by running the following in a second terminal (ALT+F2):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;tail -f /var/log/mail.log&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This will "catch" live the emails that are sent. Another method to see the emails that were already been sent:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /var/log/mail.log&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/" target="_blank"&gt;tombuntu.com&lt;/a&gt;, &lt;a href="http://tuxnetworks.blogspot.com/2009/03/mutt-to-remote-smtp-server.html" target="_blank"&gt;tuxnetworks.blogspot.com&lt;/a&gt;,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-892165887379699230?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/892165887379699230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/sending-emails-from-ubuntu-without.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/892165887379699230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/892165887379699230'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/sending-emails-from-ubuntu-without.html' title='Sending emails from Ubuntu without having a mail server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2683534582785980399</id><published>2010-04-05T13:09:00.000-07:00</published><updated>2010-04-05T13:31:32.683-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to disable/enable email alerts by crontab command from Ubuntu</title><content type='html'>Each time a job is succesfully executed by &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/12/using-crontab-in-ubuntu.html"&gt;crontab&lt;/a&gt;, it sends an email. You might receive e-mails from root account from cron.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To disable crontabs email alerts:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Edit crontab:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -e&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And at the end of each cronjob you need to append &lt;b&gt;&gt;/dev/null 2&gt;&amp;1&lt;/b&gt; like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;0 1 * * * /path/to/script.sh &gt;/dev/null 2&gt;&amp;1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To enable crontab email alerts and setup email for it:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Edit crontab:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -e&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;At the begining of the file insert &lt;b&gt;MAILTO=admin&lt;/b&gt; (admin will be the email where the alerts will be sent). You will need to have a mail server configured or to configure an external email server to be used. Example:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;MAILTO=email@domain.com&lt;br /&gt;&lt;br /&gt;0 1 * * * /path/to/script.sh&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/" target="_blank"&gt;cyberciti.biz&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2683534582785980399?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2683534582785980399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-disableenable-email-alerts-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2683534582785980399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2683534582785980399'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-disableenable-email-alerts-by.html' title='How to disable/enable email alerts by crontab command from Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3951635225818747473</id><published>2010-04-03T23:52:00.001-07:00</published><updated>2010-04-04T02:40:58.411-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cd'/><title type='text'>How to verify the integrity of your Ubuntu CD with md5sum</title><content type='html'>Every Ubuntu CD has a file called &lt;b&gt;md5sum.txt&lt;/b&gt; on it's root. We can check for the integrity of Ubuntu CD (already burned) or we can check for it's integrity from the .ISO file we downloaded.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.Check the Ubuntu CD already burned:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We can check it's integrity by mounting the CD and check the md5sum.txt file:&lt;br /&gt;&lt;br /&gt;a.To mount CD:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mount /dev/hda /cdrom&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;cd /cdrom&lt;br /&gt;md5sum -c md5sum.txt&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Check the Ubuntu CD .ISO file:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;we make an iso folder to mount to&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mkdir /media/iso&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;mount the iso file&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mount -o loop ubuntu-9.10-desktop-i386.iso /media/iso/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;check the md5sum&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd /media/iso/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;md5sum -c md5sum.txt&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Result:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Both methods require some time to be processed and at the end of each file it will tell us that is OK, something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;./casper/initrd.lz: OK&lt;br /&gt;./casper/filesystem.manifest: OK&lt;br /&gt;./casper/filesystem.manifest-desktop: OK&lt;br /&gt;./casper/filesystem.squashfs: OK&lt;br /&gt;./casper/vmlinuz: OK&lt;br /&gt;./dists/karmic/Release: OK&lt;br /&gt;./dists/karmic/restricted/binary-i386/Packages.gz: OK&lt;br /&gt;./dists/karmic/restricted/binary-i386/Release: OK&lt;br /&gt;./dists/karmic/Release.gpg: OK&lt;br /&gt;./dists/karmic/main/binary-i386/Packages.gz: OK&lt;br /&gt;./dists/karmic/main/binary-i386/Release: OK&lt;br /&gt;./pics/blue-upperright.png: OK&lt;br /&gt;./pics/blue-lowerleft.png: OK&lt;br /&gt;./pics/blue-upperleft.png: OK&lt;br /&gt;./pics/logo-50.jpg: OK&lt;br /&gt;./pics/red-upperright.png: OK&lt;br /&gt;./pics/red-upperleft.png: OK&lt;br /&gt;./pics/red-lowerright.png: OK&lt;br /&gt;./pics/red-lowerleft.png: OK&lt;br /&gt;./pics/debian.jpg: OK&lt;br /&gt;./pics/blue-lowerright.png: OK&lt;br /&gt;./.disk/casper-uuid-generic: OK&lt;br /&gt;./.disk/release_notes_url: OK&lt;br /&gt;./.disk/cd_type: OK&lt;br /&gt;./.disk/base_installable: OK&lt;br /&gt;./.disk/info: OK&lt;br /&gt;./autorun.inf: OK&lt;br /&gt;./install/README.sbm: OK&lt;br /&gt;./install/sbm.bin: OK&lt;br /&gt;./install/mt86plus: OK&lt;br /&gt;./preseed/ubuntu.seed: OK&lt;br /&gt;./preseed/ltsp.seed: OK&lt;br /&gt;./preseed/cli.seed: OK&lt;br /&gt;./pool/restricted/b/bcmwl/bcmwl-kernel-source_5.10.91.9+bdcom-0ubuntu4_i386.de OK&lt;br /&gt;./pool/restricted/s/sl-modem/sl-modem-daemon_2.9.11~20080817-3ubuntu3_i386.debOK&lt;br /&gt;./pool/main/n/ndisgtk/ndisgtk_0.8.4-1_i386.deb: OK&lt;br /&gt;./pool/main/n/ndiswrapper/ndiswrapper-utils-1.9_1.54-2ubuntu1_i386.deb: OK&lt;br /&gt;./pool/main/n/ndiswrapper/ndiswrapper-common_1.54-2ubuntu1_all.deb: OK&lt;br /&gt;./pool/main/b/build-essential/build-essential_11.4_i386.deb: OK&lt;br /&gt;./pool/main/b/b43-fwcutter/b43-fwcutter_012-1_i386.deb: OK&lt;br /&gt;./pool/main/d/dpkg/dpkg-dev_1.15.4ubuntu2_all.deb: OK&lt;br /&gt;./pool/main/d/dkms/dkms_2.1.0.1-0ubuntu1_all.deb: OK&lt;br /&gt;./pool/main/g/gcc-4.4/g++-4.4_4.4.1-4ubuntu8_i386.deb: OK&lt;br /&gt;./pool/main/g/gcc-4.4/libstdc++6-4.4-dev_4.4.1-4ubuntu8_i386.deb: OK&lt;br /&gt;./pool/main/g/gcc-defaults/g++_4.4.1-1ubuntu2_i386.deb: OK&lt;br /&gt;./pool/main/u/ubiquity/oem-config_2.0.8_all.deb: OK&lt;br /&gt;./pool/main/u/ubiquity/oem-config-gtk_2.0.8_all.deb: OK&lt;br /&gt;./pool/main/m/mouseemu/mouseemu_0.16-0ubuntu4_i386.deb: OK&lt;br /&gt;./pool/main/f/fakeroot/fakeroot_1.12.4ubuntu1_i386.deb: OK&lt;br /&gt;./pool/main/p/pptp-linux/pptp-linux_1.7.2-3_i386.deb: OK&lt;br /&gt;./pool/main/p/patch/patch_2.5.9-5_i386.deb: OK&lt;br /&gt;./pool/main/l/linux-wlan-ng/linux-wlan-ng-doc_0.2.9+dfsg-2ubuntu2_all.deb: OK&lt;br /&gt;./pool/main/l/linux-wlan-ng/linux-wlan-ng_0.2.9+dfsg-2ubuntu2_i386.deb: OK&lt;br /&gt;./pool/main/l/lupin/lupin-support_0.27_all.deb: OK&lt;br /&gt;./pool/main/s/setserial/setserial_2.17-45_i386.deb: OK&lt;br /&gt;./wubi.exe: OK&lt;br /&gt;./README.diskdefines: OK&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/HowToMD5SUM" target="_blank"&gt;Ubuntu help&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3951635225818747473?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3951635225818747473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-verify-integrity-of-your-ubuntu.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3951635225818747473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3951635225818747473'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-verify-integrity-of-your-ubuntu.html' title='How to verify the integrity of your Ubuntu CD with md5sum'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-9053437747019935236</id><published>2010-04-03T01:13:00.001-07:00</published><updated>2010-04-03T01:49:28.978-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>How to connect to the internet from Ubuntu 9.10 desktop using a router</title><content type='html'>First of all you need to configure correctly your router (dhcp, broadband, adsl, etc) before proceeding to this tutorial.&lt;br /&gt;I would recommend using terminal to setup the internet connection.&lt;br /&gt;If you have one network card in your Ubuntu computer, when you list available network cards by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ifconfig -a&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;you should see something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;eth0      Link encap:Ethernet  HWaddr 00:0e:e8:e6:4d:69&lt;br /&gt;          inet addr:192.168.0.2  Bcast:192.168.0.254  Mask:255.255.252.0&lt;br /&gt;          inet6 addr: fe80::20e:e8ff:fee6:4d69/64 Scope:Link&lt;br /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;          RX packets:3933726 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;          TX packets:7177941 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;          collisions:0 txqueuelen:1000&lt;br /&gt;          RX bytes:500046836 (5.0 MB)  TX bytes:1680685163 (1.6 MB)&lt;br /&gt;          Interrupt:19 Base address:0xef00&lt;br /&gt;&lt;br /&gt;lo        Link encap:Local Loopback&lt;br /&gt;          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;          RX packets:8 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;          collisions:0 txqueuelen:0&lt;br /&gt;          RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In this case your network card is &lt;b&gt;eth0&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Now you need to edit /etc/network/interfaces file to manually configure your network card:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/network/interfaces&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The new file will look something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;auto eth0&lt;br /&gt;&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 192.168.2.100&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;gateway 192.168.2.1&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Explication:&lt;br /&gt;&lt;br /&gt;The code &lt;b&gt;auto lo iface lo inet loopback auto eth0&lt;/b&gt; is your loopback adapter. You don't need to care about it.&lt;br /&gt;Next &lt;b&gt;iface eth0 inet static&lt;/b&gt; tells that this network card will use a static ip adress.&lt;br /&gt;&lt;b&gt;address 192.168.2.100&lt;/b&gt; will be your ip adress on local network which will need to be in the same class as router's (your router will need to have 192.168.2.1). Usually, router's ip adress is 192.168.1.1 or 192.168.0.1 or 192.168.2.1.&lt;br /&gt;&lt;b&gt;netmask 255.255.255.0&lt;/b&gt; leave it like this.&lt;br /&gt;&lt;b&gt;gateway 192.168.2.1&lt;/b&gt; is the gateway through which your computer is exiting to the internet and is the same as your router ip adress.&lt;br /&gt;&lt;br /&gt;Now you'll need to configure dns's:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/resolv.conf&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you don't have nameserver on this file, you should prepend to it (don't delete the lines that are already there), and if you have nameserver you should edit it.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;nameserver 192.168.2.1&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;which is your router's ip adress.&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;nameserver 208.67.222.222&lt;br /&gt;nameserver 208.67.220.220&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;which are opendns dns's servers. They are usually faster the you provider's.&lt;br /&gt;&lt;br /&gt;Now we restart network:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/networking restart&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-9053437747019935236?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/9053437747019935236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-connect-to-internet-from-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/9053437747019935236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/9053437747019935236'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-connect-to-internet-from-ubuntu.html' title='How to connect to the internet from Ubuntu 9.10 desktop using a router'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5982463190811670720</id><published>2010-04-03T00:26:00.000-07:00</published><updated>2010-04-03T00:47:44.295-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to see what's my ip adress on Ubuntu machine</title><content type='html'>Sometimes you might need to see what's your Ubuntu machine IP adress, to be able to connect from the internet or form your local network.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. If you want to find out what your ip adress which is connect to the internet:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;type the following adress in your browser: &lt;a href="http://www.ipchicken.com" target="_blank"&gt;http://www.ipchicken.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;or type this in your terminal&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget -qO - http://www.ipchicken.com/ | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ifconfig -a&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;which should list all your network cards and their ip adresses. Usually is &lt;b&gt;eth0&lt;/b&gt; if you have a single network card.&lt;br /&gt;Notice: If you have connected to the internet using pppoeconf (broadband internet connection), the ip adress will be listed at &lt;b&gt;ppp0&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. If you want to find out what your ip adress which is connect to the internet:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ifconfig -a&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;which should list all your network cards and their ip adresses. If you can't see an Ip adress, then you should &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-network-interfaces-in-ubuntu.html"&gt;setup your network card&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5982463190811670720?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5982463190811670720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-see-whats-my-ip-adress-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5982463190811670720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5982463190811670720'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/04/how-to-see-whats-my-ip-adress-on-ubuntu.html' title='How to see what&apos;s my ip adress on Ubuntu machine'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5698433119674719316</id><published>2010-03-28T03:05:00.000-07:00</published><updated>2010-04-01T06:37:04.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>How to connect to a website that is blocked by a firewall or by your ISP</title><content type='html'>If you are a employ, a student or someone who is is not being able to connect to a website because some network restrictions, you can use webproxies to connect to those websites.&lt;br /&gt;&lt;br /&gt;We are going to use a webproxy which is an opensource &lt;a href="http://sourceforge.net/projects/poxy/" target="_blank"&gt;php web proxy&lt;/a&gt;. We need to put it somewhere on a webserver and by accesing it we should be able to connect to any website that is restricted. The requirements are simple: php server. With a simple search on Google you can find some free subdomain and hosting to host this php proxy. If our network administrator hasn't blocked the use of webproxies, we can use Google to search this usefull php web proxy called Poxy. Example: &lt;a href="http://www.google.com/search?hl=en&amp;client=firefox-a&amp;hs=WOV&amp;q=intext%3A%22PHProxy+0.5b2%22+-html+-htm+-php&amp;btnG=Search" target="_blank"&gt;http://www.google.com/search?hl=en&amp;client=firefox-a&amp;hs=WOV&amp;q=intext%3A%22PHProxy+0.5b2%22+-html+-htm+-php&amp;btnG=Search&lt;/a&gt;&lt;br /&gt;Be carefull, because this connection is not encrypted in any way, so anybody might be able to see what websites your browsing.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.hak5.org/episodes/episode-614" target="_blank"&gt;hak5&lt;/a&gt;, &lt;a href="http://sourceforge.net/projects/poxy/" target="_blank"&gt;php web proxy&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5698433119674719316?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5698433119674719316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-connect-to-website-that-is-block.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5698433119674719316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5698433119674719316'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-connect-to-website-that-is-block.html' title='How to connect to a website that is blocked by a firewall or by your ISP'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-4132882225331160061</id><published>2010-03-28T02:34:00.000-07:00</published><updated>2010-03-28T03:03:28.002-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><title type='text'>How to map an application to use a secure tunneling using an ssh server linuxbox port</title><content type='html'>In the previous tutorial I was talking about using a &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/03/how-to-make-secure-tunnel-conection-to.html"&gt;linuxbox as SOCKS5 proxy&lt;/a&gt; to tunnel all our traffic from our applications that supports SOCKS5 configuration.&lt;br /&gt;In this tutorial we are going to use an application which does not support SOCKS5 configuration, to use our secure tunneling ssh server. The only problem is that we can map only one IP adress. But this should be enough to use a secure connection to connect to IRC, NFS (network file system), etc.&lt;br /&gt;&lt;br /&gt;To find out the ip adress which we need to route through our secure tunneling, we ping that adress and we should see it's adress:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ping domain.com&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;That we route this ip through our tunnel:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ssh root@123.123.123.123 -D 8080 -L 8081 111.111.111.111:6666&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- &lt;b&gt;root&lt;/b&gt; should be your remote linuxbox user&lt;br /&gt;- &lt;b&gt;123.123.123.123&lt;/b&gt; should be your remote linuxbox ip. you can put a domain name if it has one.&lt;br /&gt;- &lt;b&gt;-D 8080&lt;/b&gt; makes a secure tunneling to your linuxbox ssh server by local port 8080&lt;br /&gt;- &lt;b&gt;-L 8081&lt;/b&gt; makes port forwarding to the ip adress 111.111.111.111 on port 6666, which is the ip adress and port of the server we are going to connect to.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;Using IRC client:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;/server 127.0.0.1:8081&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- &lt;b&gt;127.0.0.1&lt;/b&gt; is equivalent to localhost&lt;br /&gt;- &lt;b&gt;8081&lt;/b&gt; is the port we just routed through our tunnel&lt;br /&gt;&lt;br /&gt;In conclusion: to use our tunneling to connect secure to a server by an apllication which does not support SOCKS5 proxy, we need to connect to 127.0.0.1 to port 8081, NOT it's real ip adress.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.hak5.org/episodes/episode-614" target="_blank"&gt;hak5&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-4132882225331160061?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/4132882225331160061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-map-application-to-use-secure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4132882225331160061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4132882225331160061'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-map-application-to-use-secure.html' title='How to map an application to use a secure tunneling using an ssh server linuxbox port'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5660581089746080995</id><published>2010-03-28T01:55:00.000-07:00</published><updated>2010-03-28T03:35:05.962-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>How to make a secure tunnel conection to a linuxbox from a linux client through ssh</title><content type='html'>Let's say that you are on a coffe in down-town where you have wi-fi and your laptop with you, and you want to browse secure. You should know that a wireless connection is always unsecure, because anybody can sniff your packets and find out what you're doing on your laptop.&lt;br /&gt;&lt;br /&gt;The linuxbox that we are going to use, has a ssh server up and running and connected to internet. So the tunneling that we are going to make can route any applications that supports SOCKS5 proxy.&lt;br /&gt;&lt;br /&gt;So let's connect to our ssh server by using terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ssh root@123.123.123.123 -D 8080&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- &lt;b&gt;root&lt;/b&gt; should be your remote linuxbox user&lt;br /&gt;- &lt;b&gt;123.123.123.123&lt;/b&gt; should be your remote linuxbox ip. you can put a domain name if it has one.&lt;br /&gt;- &lt;b&gt;-D 8080&lt;/b&gt; makes a secure tunneling to your linuxbox ssh server by local port 8080&lt;br /&gt;&lt;br /&gt;Now we can setup any applications that supports SOCKS5 proxy to use this secure ssh tunneling.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Setting up Firefox browser to use our SOCKS5 proxy connection.&lt;br /&gt;&lt;br /&gt;We open up firefox and go to preferences: &lt;b&gt;edit-&gt;preferences&lt;/b&gt; or &lt;b&gt;tools-&gt;options&lt;/b&gt;, which is different by your version of Firefox. We go to &lt;b&gt;Advanced&lt;/b&gt; tab and then &lt;b&gt;Network&lt;/b&gt; and we click &lt;b&gt;Settings&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S68ex_7N4mI/AAAAAAAAAWg/I4jt4VkyjlA/s1600/firefox-connection-settings.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;width: 200px; height: 169px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S68ex_7N4mI/AAAAAAAAAWg/I4jt4VkyjlA/s200/firefox-connection-settings.png" border="0" alt="" /&gt;&lt;/a&gt; We click &lt;b&gt;manual proxy configuration&lt;/b&gt; like in this image, then on &lt;b&gt;socks&lt;/b&gt; input we enter localhost and on the &lt;b&gt;port&lt;/b&gt; input we enter 8080 that we used to setup our SOCKS5 proxy tunneling. Then we click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;br clear="left" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;We can check now that we are using ssh tunneling by running a website that shows our ip adress, like &lt;a href="http://www.ip-adress.com" target="_blank"&gt;http://www.ip-adress.com&lt;/a&gt; and we should see the linuxbox ip adress.&lt;br /&gt;&lt;br /&gt;The video that inspired me to make this tutorial:&lt;br /&gt;&lt;br /&gt;&lt;embed class="rev3PlayerEmbed" type="application/x-shockwave-flash" src="http://revision3.com/player-v3869" allowFullScreen="true" quality="high" allowScriptAccess="always" width="555" height="312"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1" target="_blank"&gt;ssh man page&lt;/a&gt;, &lt;a href="http://www.linuxjournal.com/article/4412" target="_blank"&gt;101 uses of openssh&lt;/a&gt;, &lt;a href="http://www.hak5.org/episodes/episode-614" target="_blank"&gt;hak5&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5660581089746080995?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5660581089746080995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-make-secure-tunnel-conection-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5660581089746080995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5660581089746080995'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-make-secure-tunnel-conection-to.html' title='How to make a secure tunnel conection to a linuxbox from a linux client through ssh'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6scBS6B6cww/S68ex_7N4mI/AAAAAAAAAWg/I4jt4VkyjlA/s72-c/firefox-connection-settings.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8515269859758203853</id><published>2010-03-24T11:46:00.000-07:00</published><updated>2011-04-24T23:46:59.619-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>How to setup the audio mixer in terminal (CLI) on Ubuntu 9.10</title><content type='html'>If you don't have GUI (graphical user interface) like Gnome or KDE, you can adjust audio volume by alsamixer, which offers some kind of graphical interface in terminal.&lt;br /&gt;&lt;br /&gt;You can run alsamixer by entering the following in terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo alsamixer&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/S6pgWTuhPNI/AAAAAAAAAWY/GsCowo7Pp0I/s1600/linuxaudio_alsamixer_ok.png"&gt;&lt;img style="margin:0 10px 10px 0;width: 200px; height: 164px;" src="http://3.bp.blogspot.com/_6scBS6B6cww/S6pgWTuhPNI/AAAAAAAAAWY/GsCowo7Pp0I/s200/linuxaudio_alsamixer_ok.png" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To setup the volume of those inputs/outputs, you can navigate by arrow keys left/right.&lt;br /&gt;Setting the volume up/down is done by arrow keys up/down.&lt;br /&gt;And you can navigate through output (playback), recording (capture) and all the mixers by pressing the tab key. You can see the status of which is conected in the left-upper corner.&lt;br /&gt;&lt;br /&gt;If it says that you don't have this application, you need to install it. It is found in alsa-utils package.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install alsa-utils&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Don't forget to read alsamixer's manual&lt;/b&gt;. I haven't read the manual and I had a problem: everything was working fine, but there was no sound in headphones. It turned out it was the mute switch (m key).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8515269859758203853?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8515269859758203853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-setup-audio-mixer-in-terminal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8515269859758203853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8515269859758203853'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-setup-audio-mixer-in-terminal.html' title='How to setup the audio mixer in terminal (CLI) on Ubuntu 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6scBS6B6cww/S6pgWTuhPNI/AAAAAAAAAWY/GsCowo7Pp0I/s72-c/linuxaudio_alsamixer_ok.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3742437422906843780</id><published>2010-03-20T23:46:00.000-07:00</published><updated>2010-04-05T23:21:27.373-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Set timezone on Ubuntu server 9.10</title><content type='html'>If your Ubuntu clock keep setting up wrong, you need to configure your clock's timezone, you can do it by running the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo dpkg-reconfigure tzdata&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will ask you the continent, then the country and everything will be setup.&lt;br /&gt;&lt;br /&gt;You can then set your clock by one of ubuntu ntp servers:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ntpdate ntp.ubuntu.com&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3742437422906843780?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3742437422906843780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/set-timezone-on-ubuntu-server-910.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3742437422906843780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3742437422906843780'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/set-timezone-on-ubuntu-server-910.html' title='Set timezone on Ubuntu server 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3220571295127018302</id><published>2010-03-11T12:29:00.000-08:00</published><updated>2010-03-11T13:07:17.707-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>How to play mp3's from terminal on Ubuntu server 9.10</title><content type='html'>If you have only terminal and you want to play some mp3 files, you can do it with a little application called &lt;b&gt;mpg123&lt;/b&gt; which is probably the most resource-efficient MP3 player. It has a built in equalizer, can be controled with terminal control keys, run playlists and much more.&lt;br /&gt;&lt;br /&gt;You can install it from repositories by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install mpg123&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.To run a single file:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mpg123 file.mp3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Run a playlist:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;First we make a playlist for /home/user/music/ :&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo find /home/user/music/ -name "*.mp3"|sed 's/\.\///;'|sort&gt;List.lst&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we play it and enable control keys (-C) :&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mpg123 --list List.lst -C&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3.Shuffle-play a directory of MP3s:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mpg123 -CZ /path/to/mp3/folder/*&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;-Z option is for shuffle, -C is for control&lt;br /&gt;&lt;br /&gt;Control options:&lt;br /&gt;&lt;br /&gt;By default use ’s’ to stop, ’p’ to pause, ’f’ to jump forward to the next song, ’b’ to jump back to the beginning of the song, ’,’ to rewind, ’.’ to fast forward, and ’q’ to quit.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4.Running with equalizer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;mpg123 comes with 32-band equalizer, but there's no graphical UI for that, you need to create the plain-text file.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mpg123 -CZ -E party.txt mp3_file&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Example of an .txt equalizer file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;# mpg123 equalizer file&lt;br /&gt;# party theme&lt;br /&gt;#&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;0.5 0.5&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;br /&gt;1 1&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;All command lines options:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;usage: mpg123 [option(s)] [file(s) | URL(s) | -]&lt;br /&gt;supported options [defaults in brackets]:&lt;br /&gt;   -v    increase verbosity level       -q    quiet (don't print title)&lt;br /&gt;   -t    testmode (no output)           -s    write to stdout&lt;br /&gt;   -w &lt;filename&gt; write Output as WAV file&lt;br /&gt;   -k n  skip first n frames [0]        -n n  decode only n frames [all]&lt;br /&gt;   -c    check range violations         -y    DISABLE resync on errors&lt;br /&gt;   -b n  output buffer: n Kbytes [0]    -f n  change scalefactor [32768]&lt;br /&gt;   -r n  set/force samplerate [auto]    -g n  set audio hardware output gain&lt;br /&gt;   -os,-ol,-oh  output to built-in speaker,line-out connector,headphones&lt;br /&gt;                                        -a d  set audio device&lt;br /&gt;   -2    downsample 1:2 (22 kHz)        -4    downsample 1:4 (11 kHz)&lt;br /&gt;   -d n  play every n'th frame only     -h n  play every frame n times&lt;br /&gt;   -0    decode channel 0 (left) only   -1    decode channel 1 (right) only&lt;br /&gt;   -m    mix both channels (mono)       -p p  use HTTP proxy p [$HTTP_PROXY]&lt;br /&gt;   -@ f  read filenames/URLs from f     -T get realtime priority&lt;br /&gt;   -z    shuffle play (with wildcards)  -Z    random play&lt;br /&gt;   -u a  HTTP authentication string     -E f  Equalizer, data from file&lt;br /&gt;   -C    enable control keys            --no-gapless  not skip junk/padding in mp3s&lt;br /&gt;   -?    this help                      --version  print name + version&lt;br /&gt;See the manpage mpg123(1) or call mpg123 with --longhelp for more parameters and information.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.mpg123.de" target="_blank"&gt;mpg123.de&lt;/a&gt;, &lt;a href="http://www.facebook.com/note.php?note_id=313011153898" target="_blank"&gt;facebook notes&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3220571295127018302?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3220571295127018302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-play-mp3s-from-terminal-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3220571295127018302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3220571295127018302'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/03/how-to-play-mp3s-from-terminal-on.html' title='How to play mp3&apos;s from terminal on Ubuntu server 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7435737091063045234</id><published>2010-02-25T10:13:00.000-08:00</published><updated>2010-02-25T10:19:07.775-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>How to remove ubuntu desktop from server 9.10</title><content type='html'>If you have installed Ubuntu desktop over Ubuntu server 9.10 with the command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install ubuntu-desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;you may find yourself in trouble uninstalling it with the command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get remove ubuntu-desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;because ubuntu-desktop is a virtual package. So you need to follow the instructions below:&lt;br /&gt;&lt;br /&gt;These removal commands were created based on what Ubuntu packages were added to a default Ubuntu installation. It's possible that the commands might remove some other packages, that you have added since the installation and you may want to keep them. If that's the case, keep track of which packages are those and reinstall them. Your settings should still remain intact.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get remove aisleriot alacarte app-install-data-partner apport-gtk aptdaemon at-spi binfmt-support brasero brltty-x11 capplets-data checkbox checkbox-gtk cli-common compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compiz-wrapper compizconfig-backend-gconf computer-janitor computer-janitor-gtk couchdb-bin dcraw desktop-file-utils desktopcouch devicekit-power dmz-cursor-theme doc-base docbook-xml empathy empathy-doc eog erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-public-key erlang-runtime-tools erlang-ssl erlang-syntax-tools erlang-xmerl esound-clients esound-common espeak espeak-data evince evolution evolution-common evolution-couchdb evolution-data-server evolution-data-server-common evolution-documentation-en evolution-exchange evolution-indicator evolution-plugins evolution-webcal example-content f-spot file-roller firefox firefox-3.5 firefox-3.5-branding firefox-3.5-gnome-support firefox-gnome-support gamin gcalctool gconf-defaults-service gconf-editor gconf2 gconf2-common gdebi gdm gdm-guest-session gedit gedit-common ggzcore-bin gimp gimp-data gksu glchess glines gnect gnibbles gnobots2 gnome-about gnome-accessibility-themes gnome-applets gnome-applets-data gnome-blackjack gnome-bluetooth gnome-codec-install gnome-control-center gnome-desktop-data gnome-disk-utility gnome-doc-utils gnome-games gnome-games-common gnome-icon-theme gnome-keyring gnome-mag gnome-mahjongg gnome-media gnome-media-common gnome-menus gnome-mime-data gnome-nettool gnome-orca gnome-panel gnome-panel-data gnome-pilot gnome-pilot-conduits gnome-power-manager gnome-screensaver gnome-session gnome-session-bin gnome-session-canberra gnome-settings-daemon gnome-sudoku gnome-system-monitor gnome-system-tools gnome-terminal gnome-terminal-data gnome-themes-selected gnome-themes-ubuntu gnome-user-guide gnome-utils gnometris gnomine gnotravex gnotski gstreamer0.10-alsa gstreamer0.10-nice gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps gstreamer0.10-plugins-good gstreamer0.10-pulseaudio gstreamer0.10-tools gstreamer0.10-x gtali gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf gucharmap guile-1.8-libs gvfs gvfs-backends gvfs-bin gvfs-fuse human-theme humanity-icon-theme iagno ibus ibus-gtk ibus-m17n ibus-table indicator-applet indicator-applet-session indicator-messages indicator-session jockey-gtk language-selector launchpad-integration libanthy0 libart-2.0-2 libart2.0-cil libasound2-plugins libatspi1.0-0 libaudiofile0 libavahi-glib1 libavahi-gobject0 libavahi-ui0 libavc1394-0 libbabl-0.0-0 libbeagle1 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libbrasero-media0 libcairo-perl libcairomm-1.0-1 libcamel1.2-14 libcanberra-gtk-module libcanberra-gtk0 libcanberra-pulse libcanberra0 libcdio-cdda0 libcdio-paranoia0 libcdio7 libclutter-1.0-0 libclutter-gtk-0.10-0 libcompizconfig0 libcouchdb-glib-1.0-1 libcroco3 libcryptui0 libcurl3 libdbusmenu-glib0 libdbusmenu-gtk0 libdecoration0 libdevkit-power-gobject1 libdotconf1.0 libdv4 libebackend1.2-0 libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6 libedataserver1.2-11 libedataserverui1.2-8 libegroupwise1.2-13 libempathy-common libempathy-gtk-common libempathy-gtk28 libempathy30 libesd-alsa0 libespeak1 libevdocument1 libevent-1.4-2 libevview1 libexchange-storage1.2-3 libexempi3 libflickrnet2.2-cil libfreezethaw-perl libgail-common libgail-gnome-module libgail18 libgamin0 libgconf2-4 libgconf2.0-cil libgcr0 libgd2-xpm libgdata-common libgdata-google1.2-1 libgdata1.2-1 libgdata5 libgdict-1.0-6 libgdiplus libgdu-gtk0 libgdu0 libgegl-0.0-0 libggz2 libggzcore9 libggzmod4 libgimp2.0 libgksu2-0 libglade2-0 libglade2.0-cil libglib-perl libglib2.0-cil libglibmm-2.4-1c2a libglitz-glx1 libglitz1 libgmime-2.0-2a libgmime-2.4-2 libgmime2.2a-cil libgnome-bluetooth7 libgnome-desktop-2-11 libgnome-keyring0 libgnome-keyring1.0-cil libgnome-mag2 libgnome-media0 libgnome-menu2 libgnome-pilot2 libgnome-vfs2.0-cil libgnome-window-settings1 libgnome2-0 libgnome2-canvas-perl libgnome2-common libgnome2-perl libgnome2-vfs-perl libgnome2.24-cil libgnomecanvas2-0 libgnomecanvas2-common libgnomekbd-common libgnomekbd4 libgnomekbdui4 libgnomepanel2.24-cil libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgp11-0 libgsf-1-114 libgsf-1-common libgssdp-1.0-1 libgstfarsight0.10-0 libgtk-vnc-1.0-0 libgtk2-perl libgtk2.0-cil libgtkhtml-editor-common libgtkhtml-editor0 libgtkhtml3.14-19 libgtkmm-2.4-1c2a libgtksourceview2.0-0 libgtksourceview2.0-common libgtkspell0 libgtop2-7 libgtop2-common libgucharmap7 libgupnp-1.0-2 libgupnp-igd-1.0-2 libgvfscommon0 libgweather-common libgweather1 libibus1 libidl0 libiec61883-0 libindicate-gtk1 libjson-glib-1.0-0 libkpathsea4 liblaunchpad-integration1 liblircclient0 liblouis-data liblouis0 liblpint-bonobo0 libm17n-0 libmetacity0 libmldbm-perl libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo2.0-cil libmono-corlib2.0-cil libmono-data-tds2.0-cil libmono-i18n-west2.0-cil libmono-posix2.0-cil libmono-security2.0-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data2.0-cil libmono-system-web2.0-cil libmono-system2.0-cil libmono2.0-cil libnautilus-extension1 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libnet-dbus-perl libnice0 libnotify1 liboil0.3 liboobs-1-4 liborbit2 libotf0 libpam-gnome-keyring libpanel-applet2-0 libpango-perl libpangomm-1.4-1 libpisock9 libpisync1 libpolkit-agent-1-0 libpolkit-gtk-1-0 libpoppler-glib4 libportaudio2 libprotobuf3 libproxy0 libpst4 libpulse-browse0 libpulse-mainloop-glib0 libpurple-bin libpurple0 librarian0 libraw1394-11 librsvg2-2 librsvg2-common libsctp1 libsexy2 libshout3 libsilc-1.1-2 libsilcclient-1.1-3 libsoup-gnome2.4-1 libsoup2.4-1 libspeechd2 libspeexdsp1 libsqlite0 libstartup-notification0 libtdb1 libtelepathy-farsight0 libtelepathy-glib0 libtie-ixhash-perl libtotem-plparser12 libtrackerclient0 libunique-1.0-0 libuuid-perl libvisual-0.4-0 libvisual-0.4-plugins libvte-common libvte9 libwebkit-1.0-2 libwebkit-1.0-common libwmf0.2-7-gtk libwnck-common libwnck22 libxcb-atom1 libxcb-aux0 libxcb-event1 libxml-twig-perl libxml-xpath-perl libxres1 libzephyr4 lksctp-tools m17n-contrib m17n-db media-player-info mesa-utils metacity metacity-common mobile-broadband-provider-info mono-2.0-gac mono-gac mono-runtime mousetweaks nautilus nautilus-data nautilus-sendto nautilus-share network-manager-gnome notification-daemon notify-osd notify-osd-icons obexd-client onboard openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-style-human pkg-config policykit-1-gnome protobuf-compiler pulseaudio pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-udev pulseaudio-module-x11 pulseaudio-utils python-aptdaemon python-aptdaemon-gtk python-avahi python-brlapi python-cairo python-configglue python-couchdb python-crypto python-desktopcouch python-desktopcouch-records python-fstab python-gconf python-glade2 python-gmenu python-gnome2 python-gnomeapplet python-gnomecanvas python-gnomekeyring python-gst0.10 python-gtk2 python-gtksourceview2 python-ibus python-launchpad-integration python-libxml2 python-louis python-notify python-openssl python-pam python-papyon python-protobuf python-pyatspi python-pyinotify python-pyorbit python-rdflib python-rsvg python-serial python-sexy python-speechd python-telepathy python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-ubuntuone-client python-ubuntuone-storageprotocol python-virtkey python-vte python-webkit rarian-compat rhythmbox same-gnome screen-resolution-extra screensaver-default-images seahorse sgml-data software-center software-properties-gtk speech-dispatcher ssh-askpass-gnome synaptic system-config-printer-gnome system-tools-backends telepathy-butterfly telepathy-gabble telepathy-haze telepathy-idle telepathy-mission-control-5 telepathy-salut tomboy totem totem-common totem-mozilla totem-plugins transmission-common transmission-gtk tsclient ubufox ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-sounds ubuntu-system-service ubuntu-wallpapers ubuntu-xsplash-artwork ubuntuone-client ubuntuone-client-gnome update-manager update-notifier usb-creator-gtk vinagre vino whois xdg-user-dirs-gtk xsane xsane-common xscreensaver xscreensaver-data xscreensaver-gl xsltproc xsplash xulrunner-1.9.1 xulrunner-1.9.1-gnome-support yelp zenity&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.psychocats.net/ubuntu/purekde" target="_blank"&gt;psychocats.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7435737091063045234?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7435737091063045234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/how-to-remove-ubuntu-desktop-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7435737091063045234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7435737091063045234'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/how-to-remove-ubuntu-desktop-from.html' title='How to remove ubuntu desktop from server 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-890605763560934579</id><published>2010-02-23T06:52:00.000-08:00</published><updated>2010-02-23T07:13:14.921-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repositories'/><title type='text'>Ubuntu source.list generator (official and 3rd parties servers)</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S4PsglsizPI/AAAAAAAAAUU/jgkMRAx9m-4/s1600-h/List.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 166px; height: 200px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S4PsglsizPI/AAAAAAAAAUU/jgkMRAx9m-4/s200/List.png" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;The other day I was talking about the &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/02/default-repositories-list-in-ubuntu-910.html"&gt;default sources.list file after a clean install on Ubuntu 9.10&lt;/a&gt;.&lt;br /&gt;You can also generate an sources.list file from :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://repogen.simplylinux.ch" target="_blank"&gt;http://repogen.simplylinux.ch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can choose from default main, restricted, universe and multiverse, and also from ubuntu security updates servers: security, updates, proposed and backports, and some 3rd parties repositories.&lt;br /&gt;&lt;br /&gt;3rd party repositories: Abiword, Ailurus, AWN (Avant Window Navigator), Banshee, BaShare, Blueman, Breathe Icon Set, Cairo Dock, Chromium Project, Conky, Deluge BitTorrent, Dropbox, Emesene, Esmska, Exaile, FreeNX, GetDeb, GNOME-Colors PPA, Gnome-Do, Google Linux Software Repositories, Google Linux Software Repositories (testing), HandBrake, Kadu, KDE 3.5, KMess, Kubuntu Backports, Kubuntu Beta, Kubuntu Experimental, Kubuntu Updates, LMMS - Linux MultiMedia Studio, MediaInfo, Medibuntu, Mendeley Desktop, Miro HD Video Player, Mozilla Daily Build Team, OpenShot, Opera, Oracle Database 10g Express Edition, origami, Pidgin, Playdeb, PlayOnLinux, PPA for Kiwi Linux Members, qutIM (SVN), Skype, SMPlayer, Terminator, Themes for GNOME and Ubuntu, Tor: anonymity online, Ubuntu Tweak, VirtualBox, VLC Media Player, Vuze, Wicd, Wine, X Updates and XBMC Media Center.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.ubuntugeek.com/tipubuntu-sources-list-generator.html" target="_blank"&gt;Ubuntugeek&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-890605763560934579?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/890605763560934579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/ubuntu-sourcelist-generator-official.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/890605763560934579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/890605763560934579'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/ubuntu-sourcelist-generator-official.html' title='Ubuntu source.list generator (official and 3rd parties servers)'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6scBS6B6cww/S4PsglsizPI/AAAAAAAAAUU/jgkMRAx9m-4/s72-c/List.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2253285085614504922</id><published>2010-02-19T08:09:00.000-08:00</published><updated>2010-04-03T00:24:25.255-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Install no-ip client from source on Ubuntu 9.10</title><content type='html'>Go to your home directory:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo cd ~&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Download no-ip client:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Untar it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;tar xzf no-ip-duc-linux.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Change directory to directory in which it was untared (my version is 2.1.9, so your folder may differ):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd no-ip-2.1.9&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If the command above gives you some errors as you might not have GCC installed, you can install it by running first:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install gcc&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make install:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will ask you some question about the configuration of the client:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To start the program:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /usr/local/bin/noip2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;If we want to make it run every system start-up, we need to make a script:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/noip2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We enter the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#! /bin/sh&lt;br /&gt;sudo /usr/local/bin/noip2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We exit the editor and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/noip2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we add it to system start-up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d noip2 defaults&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Useful command lines for no-ip client:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;/usr/local/bin/noip2 -C                 configure a client&lt;br /&gt;/usr/local/bin/noip2                    run a client&lt;br /&gt;/usr/local/bin/noip2 -S                 display info about running clients&lt;br /&gt;/usr/local/bin/noip2 -D pid             toggle the debug state for client pid&lt;br /&gt;/usr/local/bin/noip2 -K pid             terminate client pid&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;All the commands available for noip client:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;USAGE: noip2 [ -C [ -F][ -Y][ -U #min]][ -c file]&lt;br /&gt;        [ -d][ -D pid][ -i addr][ -S][ -M][ -h]&lt;br /&gt;&lt;br /&gt;Version Linux-2.x.x&lt;br /&gt;Options: -C               create configuration data&lt;br /&gt;         -F               force NAT off&lt;br /&gt;         -Y               select all hosts/groups&lt;br /&gt;         -U minutes       set update interval&lt;br /&gt;         -c config_file   use alternate data path&lt;br /&gt;         -d               increase debug verbosity&lt;br /&gt;         -D processID     toggle debug flag for PID&lt;br /&gt;         -i IPaddress     use supplied address&lt;br /&gt;         -I interface     use supplied interface&lt;br /&gt;         -S               show configuration data&lt;br /&gt;         -M               permit multiple instances&lt;br /&gt;         -K processID     terminate instance PID&lt;br /&gt;         -h               help (this text)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you want to see if no-ip client is actually working, enter this in terminal:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /usr/local/bin/noip2 -S&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should say &lt;b&gt;1 noip2 process active&lt;/b&gt; like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;1 noip2 process active.&lt;br /&gt;&lt;br /&gt;Process 1257, started as noip2, (version 2.1.9)&lt;br /&gt;Using configuration from /usr/local/etc/no-ip2.conf&lt;br /&gt;Last IP Address set 123.123.123.123&lt;br /&gt;Account email@gmail.com&lt;br /&gt;configured for:&lt;br /&gt;        host  domain.myftp.org&lt;br /&gt;Updating every 30 minutes via /dev/eth0 with NAT enabled.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;and the &lt;b&gt;Last IP Address set&lt;/b&gt; should be your Ip adress, &lt;b&gt;Account&lt;/b&gt; should be your email which you used when you have set up no-ip client, &lt;b&gt;configured for:&lt;/b&gt; should be your no-ip.com subdomain you've choosen.&lt;br /&gt;If some data is wrong, you should follow this tutorial to &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/12/edit-no-ip-settings-in-ubuntu.html"&gt;reconfigure your no-ip client&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2253285085614504922?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2253285085614504922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-no-ip-client-from-source-on.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2253285085614504922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2253285085614504922'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-no-ip-client-from-source-on.html' title='Install no-ip client from source on Ubuntu 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5330542691725314850</id><published>2010-02-19T07:21:00.000-08:00</published><updated>2010-02-27T03:59:40.300-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repositories'/><title type='text'>Default repositories list in Ubuntu 9.10 (sources.list)</title><content type='html'>Yesterday I was having problem installing programs from repositories, because the Ubuntu installation left me with only a few servers. Here I list the default Ubuntu 9.10 repositories (sources.list) file.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;# &lt;br /&gt;# deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release i386 (20091027.2)]/ karmic main restricted&lt;br /&gt;&lt;br /&gt;#deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release i386 (20091027.2)]/ karmic main restricted&lt;br /&gt;# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to&lt;br /&gt;# newer versions of the distribution.&lt;br /&gt;&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted&lt;br /&gt;&lt;br /&gt;## Major bug fix updates produced after the final release of the&lt;br /&gt;## distribution.&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates main restricted&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates main restricted&lt;br /&gt;&lt;br /&gt;## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu&lt;br /&gt;## team. Also, please note that software in universe WILL NOT receive any&lt;br /&gt;## review or updates from the Ubuntu security team.&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic universe&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic universe&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe&lt;br /&gt;&lt;br /&gt;## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu &lt;br /&gt;## team, and may not be under a free licence. Please satisfy yourself as to &lt;br /&gt;## your rights to use the software. Also, please note that software in &lt;br /&gt;## multiverse WILL NOT receive any review or updates from the Ubuntu&lt;br /&gt;## security team.&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic multiverse&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic multiverse&lt;br /&gt;deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse&lt;br /&gt;deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse&lt;br /&gt;&lt;br /&gt;## Uncomment the following two lines to add software from the 'backports'&lt;br /&gt;## repository.&lt;br /&gt;## N.B. software from this repository may not have been tested as&lt;br /&gt;## extensively as that contained in the main release, although it includes&lt;br /&gt;## newer versions of some applications which may provide useful features.&lt;br /&gt;## Also, please note that software in backports WILL NOT receive any review&lt;br /&gt;## or updates from the Ubuntu security team.&lt;br /&gt;# deb http://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse&lt;br /&gt;# deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse&lt;br /&gt;&lt;br /&gt;## Uncomment the following two lines to add software from Canonical's&lt;br /&gt;## 'partner' repository.&lt;br /&gt;## This software is not part of Ubuntu, but is offered by Canonical and the&lt;br /&gt;## respective vendors as a service to Ubuntu users.&lt;br /&gt;# deb http://archive.canonical.com/ubuntu karmic partner&lt;br /&gt;# deb-src http://archive.canonical.com/ubuntu karmic partner&lt;br /&gt;&lt;br /&gt;deb http://security.ubuntu.com/ubuntu karmic-security main restricted&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted&lt;br /&gt;deb http://security.ubuntu.com/ubuntu karmic-security universe&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu karmic-security universe&lt;br /&gt;deb http://security.ubuntu.com/ubuntu karmic-security multiverse&lt;br /&gt;deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Another method is to rebuild your sources.list file by running &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/02/ubuntu-sourcelist-generator-official.html"&gt;Ubuntu Sourcelist Generator&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5330542691725314850?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5330542691725314850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/default-repositories-list-in-ubuntu-910.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5330542691725314850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5330542691725314850'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/default-repositories-list-in-ubuntu-910.html' title='Default repositories list in Ubuntu 9.10 (sources.list)'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5242899870549634612</id><published>2010-02-10T07:41:00.000-08:00</published><updated>2011-05-06T11:12:16.064-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>How to load Verlihub Plugins automatically</title><content type='html'>Verlihub plugins need to be activated manually each computer restart. Here are some commands to load this plugins automatically.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin ChatRoom automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug chat&lt;br /&gt;!addplug chat -p /usr/local/lib/libchatroom_pi.so -d "Multiple chatrooms to separate chat topics" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin FloodProt automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug flood&lt;br /&gt;!addplug flood -p /usr/local/lib/libfloodprot_pi.so -d "Advanced flood protection" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin Forbid automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug forbid&lt;br /&gt;!addplug forbid -p /usr/local/lib/libforbid_pi.so -d "Filter chat from forbidden words" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin IpLog automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug log&lt;br /&gt;!addplug log -p /usr/local/lib/libiplog_pi.so -d "Log ip's, nicks; history commands" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin ISP automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug isp&lt;br /&gt;!addplug isp -p /usr/local/lib/libisp_pi.so -d "Internet Service Provider settings, country codes, nick prefix, desc tag, ..." -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin Lua automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug lua&lt;br /&gt;!addplug lua -p /usr/local/lib/liblua_pi.so -d "Support for lua scripts" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin Messanger automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug msg&lt;br /&gt;!addplug msg -p /usr/local/lib/libmessanger_pi.so -d "Offline messages system" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin Replacer automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug replace&lt;br /&gt;!addplug replace -p /usr/local/lib/libreplace_pi.so -d "Replace some words by other" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Loading Plugin Stats automatically&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delplug stats&lt;br /&gt;!addplug stats -p /usr/local/lib/libstats_pi.so -d "Statistics plugin, trace diverse value sin the database" -a 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://kleinekevin.freeforumit.com/viewtopic.php?f=8&amp;t=31" target="_blank"&gt;freeforumit.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5242899870549634612?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5242899870549634612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/how-to-load-velihub-plugins.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5242899870549634612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5242899870549634612'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/how-to-load-velihub-plugins.html' title='How to load Verlihub Plugins automatically'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5320016515190861927</id><published>2010-02-09T08:26:00.000-08:00</published><updated>2011-03-11T08:11:04.442-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Install Verlihub Forbid plugin from source on Ubuntu 9.10</title><content type='html'>The Forbid Plugin for Verlihub help you ban some users who spams in both mainchat and private chat. It is very good to get rid off those http:// and dchub:// spams.&lt;br /&gt;&lt;br /&gt;After you have &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/02/install-verlihub-from-source-on-ubuntu.html"&gt;installed Verlihub from source&lt;/a&gt;, you can install Forbid Plugin from source. This tutorial does not apply for the verlihub installed from repositories (in which case you should reinstall verlihub from source, because the version from repositories is no longer supported).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Download the file:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://downloads.sourceforge.net/verlihub/forbid-1.3.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Untar it:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;tar zxvf forbid-1.3.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change current directory to forbid plugin directory:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd forbid&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ./configure&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After everything was successful, we enter the hub with our favorite DC client as administrator and we type (it will start the plugin):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!onplug forbid&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should say OK.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To list all the plugins that are started:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!pluglist alll&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You should see Forbid Plugin listed there.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The command options for the Forbid Plugin:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tr&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;command&lt;/td&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;description&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;!lstforbid&lt;/td&gt;&lt;td&gt;Lists forbidden patterns.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;!addforbid &lt;"pattern"&gt; [-C &lt;max_class&gt;] [-f &lt;flags&gt;] [-r &lt;"kick_reason"&gt;]&lt;/td&gt;&lt;td&gt;Adds a forbidden pattern. Using the -C option, you can specify the classes to ignore filtering. Set to 1 to ignore registered users and up. Using the -r option, you can specify a kick reason. Using the -f option, you can specify which chats are screened and whether or not a message is sent to OpChat when a rule is broken. Using the table below, to screen main chat and private messages, use -f 3.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Flags:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tr&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;value&lt;/td&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;explanation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Screen public chat&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;Screen private messages&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;Notify OpChat when a rule is broken&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;Will notify OpChat when a rule is broken and screen public and private chat&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;command&lt;/td&gt;&lt;td style="padding: 2px; background-color: rgb(60, 115, 179); color: rgb(255, 255, 255);"&gt;description&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;!modforbid &lt;"pattern"&gt;&lt;/td&gt;&lt;td&gt;Modifies forbidden pattern. See parameters for adding.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;!delforbid &lt;"pattern"&gt;&lt;/td&gt;&lt;td&gt;Deletes forbidden pattern.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some examples:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!lstforbid&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will list all the rules for the Forbid Plugin.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!addforbid dchub:// -f 4 -C 2 -r "forbidden"&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will add a rule for the dchub:// and notify an chat operator. This rule applies to those user with a class smaller than 2, and the message wil be "forbidden".&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!delforbid dchub:// -f 4 -C 2 -r "forbidden"&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will delete that rule above.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.verlihub-project.org/doku.php?id=plugins" target="_blank"&gt;Velihub Docu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5320016515190861927?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5320016515190861927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-verlihub-forbid-plugin-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5320016515190861927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5320016515190861927'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-verlihub-forbid-plugin-from.html' title='Install Verlihub Forbid plugin from source on Ubuntu 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6439496268992762849</id><published>2010-02-08T11:04:00.001-08:00</published><updated>2011-03-11T08:12:41.786-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Install verlihub from source on Ubuntu 9.10</title><content type='html'>As Debian packages are old and not supported from http://www.verlihub-project.org, you need to install Velihub from source. We will install VerliHub 0.9.8e-r2.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update repositories list:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Install the libraries needed by verlihub, which includes mysql server. Don't worry if you already have them:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install build-essential mysql-server libmysqlclient15-dev libpcre3-dev geoip-bin libgeoip-dev g++-4.3&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If it installed mysql server, it will ask you for a root password, write it down or remember it. We will need it later.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Download verlihub (source):&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://sourceforge.net/projects/verlihub/files/Verlihub/0.9.8e-r2/verlihub-0.9.8e-r2.tar.gz/download&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Download LUA 5.1.4:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://www.lua.org/ftp/lua-5.1.4.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Download Lua plugin 1.8.1:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://sourceforge.net/projects/verlihub/files/VH_Lua/1.8.1/lua-1.8.1.tar.gz/download&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Now we untar those 3 files downloaded:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;tar zxvf verlihub-0.9.8e-r2.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;tar zxvf lua-5.1.4.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;tar zxvf lua-1.8.1.tar.gz&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change directory to compile verlihub:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd verlihub-0.9.8e-r2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ./configure&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make clean&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change directory to compile Lua-5.1.4:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;go up one directory (out of the verlihub directory):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd ..&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd lua-5.1.4&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install libncurses5-dev libreadline5-dev&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make linux&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change directory to compile Lua Plugin:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd ..&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd lua-1.8.1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ./configure&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo make install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to compile verlihub. We need to do &lt;b&gt;su&lt;/b&gt; (this will authenticate as root). if you don't have a password for the root account, you can set it up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo passwd root&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After this we go su:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;su&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will ask us the root password we just setup or the one we already had. After this you will have in terminal &lt;b&gt;root@user-desktop&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd /root&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ldconfig&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;vh_install&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You will be asked some questions:&lt;br /&gt;&lt;br /&gt;1. Your name ? (root) ==&gt;&gt;&gt;&gt; ( hit enter )&lt;br /&gt;2. mysql database for verlihub will be called? (verlihub) ==&gt;&gt;&gt;&gt; ( hit enter )&lt;br /&gt;3. password to access verlihub be? (1236571269) ==&gt;&gt;&gt;&gt; ( hit enter after setting up some password )&lt;br /&gt;4. mysql server will run where? (localhost) ==&gt;&gt;&gt;&gt; ( hit enter )&lt;br /&gt;5. is this info correct ? (Y/N ) ==&gt;&gt;&gt;&gt; hit Y&lt;br /&gt;6. do you want to create database (Y/N) ==&gt;&gt;&gt;&gt; (hit Y if you're setting it up for the first time or you made a clean install)&lt;br /&gt;7. mysql administrator username ? (root ) ==&gt;&gt;&gt;&gt; ( hit enter if the user for your mysql server is root, otherwise enter it (the password entered when we have installed mysql server). )&lt;br /&gt;8. what is will be the configuration folder ? (etc/verlihub) ==&gt;&gt;&gt;&gt; ( hit enter )&lt;br /&gt;9. Do you want to continue eith these settings .. (Y/N) ==&gt;&gt;&gt;&gt; ( hit Y )&lt;br /&gt;10. Give me your DC hub master nick name....([SU]root) ==&gt;&gt;&gt;&gt; (we write the account of hub admin, eg. Master)&lt;br /&gt;11. Choose your password.. (1246571269) ==&gt;&gt;&gt;&gt; (password of our hub admin)&lt;br /&gt;12. Which will be default ONE hub port number ? (411) ==&gt;&gt;&gt;&gt; ( hit enter if you don't need to change it, otherwise enter a port number, eg. 6969)&lt;br /&gt;13. what will be your hub hostname? ==&gt;&gt;&gt;&gt; ( here you need to run your hostname adress (domain name where verlihub server is installed), eg. internet.myftp.org )&lt;br /&gt;14. Give me the name of your hub (hub of root) ==&gt;&gt;&gt;&gt; ( eg. The coolest hub ever )&lt;br /&gt;15. is this info corect ? Y/N ==&gt;&gt;&gt;&gt; (hit Y and then enter )&lt;br /&gt;&lt;br /&gt;Now the verlihub installation from source on Ubuntu 9.10 is complete.&lt;br /&gt;&lt;br /&gt;exit as root:&lt;br /&gt;&lt;div id="code"&gt;exit&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can run verlihub by typing:&lt;br /&gt;&lt;div id="code"&gt;sudo vh_runhub&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You might also check how to enable &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/starting-verlihub-on-system-start-up.html"&gt;starting verlihub as a service&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://forum.ubuntu.ro/viewtopic.php?id=7334" target="_blank"&gt;Ubuntu forum&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6439496268992762849?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6439496268992762849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-verlihub-from-source-on-ubuntu.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6439496268992762849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6439496268992762849'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-verlihub-from-source-on-ubuntu.html' title='Install verlihub from source on Ubuntu 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7962742225439778810</id><published>2010-02-03T11:33:00.001-08:00</published><updated>2010-02-03T12:18:31.446-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='games'/><title type='text'>Install some of the free Ubuntu games</title><content type='html'>The website &lt;a href="http://www.playdeb.net" target="_blank"&gt;www.playdeb.net&lt;/a&gt; offers different types of games as emulator, fps (first person shooter), educational, puzzle, action, strategy, simulation, MMORPG (massive multiplayer online role-playing games), dungeon, music, space, editor, capture, RPG (role-playing games), logic and util for both Ubuntu 9.10 and Ubuntu 9.04 and some other old releases as well.&lt;br /&gt;&lt;br /&gt;Some of the games, if not all, can be install using &lt;b&gt;&lt;a href="http://en.djl-linux.org/" target="_blank"&gt;djl - Game Manager&lt;/a&gt;&lt;/b&gt;, which is a game manager written in Python 2.5 for the GNU/Linux Operating Systems. It's says that it is inspired by Valve's Steam software for Windows. &lt;br /&gt;It can also execute .desktop shortcuts located in another directory (this way, it's possible to launch games which were installed before djl).&lt;br /&gt;Several games (see "List of games on repository" page) are available in the repository. Anyone can submit new games to developers via a web page. The list of games is regularly updated from the internet, so it's not static.&lt;br /&gt;&lt;br /&gt;It can be install by adding the following server in the repositories (from terminal by &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/edit-ubuntu-repositories.html"&gt;editing the repositories list&lt;/a&gt; or by Software Sources from Ubuntu desktop: Go to System-Administration-Software Sources, Third-Party Software tab and add:):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;deb http://archive.getdeb.net/ubuntu karmic-getdeb games&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After that add the repository GPG key:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After this you can go to &lt;a href="http://www.playdeb.net/updates/Ubuntu/all#how_to_install" target="_blank"&gt;http://www.playdeb.net/updates/Ubuntu/all#how_to_install&lt;/a&gt; to see a complete list of the games or &lt;a href="http://www.jeuxlinux.fr" target="_blank"&gt;http://www.jeuxlinux.fr&lt;/a&gt; (this site being in french you can use google translater to &lt;a href="http://translate.google.com/translate?js=y&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=1&amp;eotf=1&amp;u=http%3A%2F%2Fwww.jeuxlinux.fr%2F&amp;sl=fr&amp;tl=en" target="_blank"&gt;translate it in english: link&lt;/a&gt;).&lt;br /&gt;You can install these games by clicking &lt;span style="font-style:italic;"&gt;install this now&lt;/span&gt; underneath each game.&lt;br /&gt;&lt;br /&gt;Some screenshots:&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S2nTgz6rCuI/AAAAAAAAATc/x4mc7dBuL-Q/s1600-h/djl_depot.png"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 146px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S2nTgz6rCuI/AAAAAAAAATc/x4mc7dBuL-Q/s200/djl_depot.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/S2nT9m6n1TI/AAAAAAAAATk/yBq3D6AtaWk/s1600-h/djl_rss.png"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 146px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/S2nT9m6n1TI/AAAAAAAAATk/yBq3D6AtaWk/s200/djl_rss.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S2nUUXOB-cI/AAAAAAAAATs/vEXKzUuDpEQ/s1600-h/djl_irc.png"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 134px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S2nUUXOB-cI/AAAAAAAAATs/vEXKzUuDpEQ/s200/djl_irc.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/S2nUhaktxpI/AAAAAAAAAT0/yZLjNDVIc7c/s1600-h/djl_liste_jeux.png"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 146px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/S2nUhaktxpI/AAAAAAAAAT0/yZLjNDVIc7c/s200/djl_liste_jeux.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7962742225439778810?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7962742225439778810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-some-of-free-ubuntu-games.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7962742225439778810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7962742225439778810'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/02/install-some-of-free-ubuntu-games.html' title='Install some of the free Ubuntu games'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6scBS6B6cww/S2nTgz6rCuI/AAAAAAAAATc/x4mc7dBuL-Q/s72-c/djl_depot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-176577633111034258</id><published>2010-01-21T10:11:00.000-08:00</published><updated>2010-01-21T10:35:00.065-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><title type='text'>Useful copy commands for ssh server</title><content type='html'>As you know SSH is a secure, encrypted way to make connections to remote hosts or servers. A SSH server accepts connections from SSH aware clients and allows them to log into the system as if they are sitting right in front of it. You can run shell and X based programs remotely using SSH.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. How to connect into remote ubuntu ssh server:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ssh username@192.168.0.1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- username is the remote user you access&lt;br /&gt;- 192.168.0.1 is the ip of the remote ubuntu machine. If you have a domain name on your ubuntu remote machine, you can replace 192.168.0.1 with the respective domain name (ex. domain.com).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. How to copy files and folders from a remote ubuntu ssh server into local machine:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo scp -r username@192.168.0.1:/home/username/remotefile.txt .&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- username is the remote user you access&lt;br /&gt;- 192.168.0.1 is the ip of the remote ubuntu machine&lt;br /&gt;- /home/username/remotefile.txt is the location of the remote file&lt;br /&gt;- . is your current directory. It can be also something like: /home/username/&lt;br /&gt;- -r switch is to copy recursive&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. How to copy files and folders from local machine to remote ubuntu ssh server:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo scp -r localfile.txt username@192.168.0.1:/home/username/&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- short explanation: copies localfile.txt from local machine into /home/username/ remote ssh server&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/5.10/ubuntu/faq/C/sect-ssh-server.html" target="_blank"&gt;Ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-176577633111034258?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/176577633111034258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/01/useful-copy-commands-for-ssh-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/176577633111034258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/176577633111034258'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/01/useful-copy-commands-for-ssh-server.html' title='Useful copy commands for ssh server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8640711738860177409</id><published>2010-01-10T11:22:00.001-08:00</published><updated>2010-01-10T12:34:45.495-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repositories'/><title type='text'>How to use aptitude in Ubuntu</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_6scBS6B6cww/S0ospddarfI/AAAAAAAAAS4/knGoaYh_xVo/s1600-h/aptitude.jpg"&gt;&lt;img style="float:left; margin:20px 10px 10px 0;width: 200px; height: 120px;" src="http://4.bp.blogspot.com/_6scBS6B6cww/S0ospddarfI/AAAAAAAAAS4/knGoaYh_xVo/s200/aptitude.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Aptitude&lt;/b&gt; is a menu-driven, text-based application to install and uninstall applications (packages). Many of the common package management functions, such as installation, removal, and upgrade, are performed in Aptitude with single-key commands (they are typically lowercase letters).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;aptitude vs. apt-get&lt;/b&gt;: in many ways, they're the same in that they both draw from the repositories in your /etc/apt/sources.list to retrieve and install software. When you uninstall an application, only aptitude will remove the dependencies when the application is removed as of early Ubuntu 6.10. The apt-get command will remove dependencies as shown at command below. And you cannot install with apt-get or Synaptic and then expect to have dependencies removed by uninstalling with aptitude.&lt;br /&gt;To remove unused dependencies when removing an application with apt-get:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get autoremove applicationname&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Aptitude is best suited for use in a non-graphical terminal environment to ensure proper functioning of the command keys. To start Aptitude, type the following command at a terminal prompt:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;When Aptitude starts, you will see a menu bar at the top of the screen and two panes below the menu bar. The top pane contains package categories, such as New Packages and Not Installed Packages. The bottom pane contains information related to the packages and package categories.&lt;br /&gt;&lt;br /&gt;HowTo's:&lt;br /&gt;&lt;br /&gt;- Install Packages: To install a package, locate the package via the Not Installed Packages package category, for example, by using the keyboard arrow keys and the ENTER key, and highlight the package you wish to install. After highlighting the package you wish to install, press the + key, and the package entry should turn green, indicating it has been marked for installation. Now press g to be presented with a summary of package actions. Press g again, and you will be prompted to become root to complete the installation. Press ENTER which will result in a Password: prompt. Enter your user password to become root. Finally, press g once more and you'll be prompted to download the package. Press ENTER on the Continue prompt, and downloading and installation of the package will commence&lt;br /&gt;&lt;br /&gt;- Remove Packages: To remove a package, locate the package via the Installed Packages package category, for example, by using the keyboard arrow keys and the ENTER key, and highlight the package you wish to remove. After highlighting the package you wish to install, press the - key, and the package entry should turn pink, indicating it has been marked for removal. Now press g to be presented with a summary of package actions. Press g again, and you will be prompted to become root to complete the installation. Press ENTER which will result in a Password: prompt. Enter your user password to become root. Finally, press g once more, and you'll be prompted to download the package. Press ENTER on the Continue prompt, and removal of the package will commence&lt;br /&gt;&lt;br /&gt;- Update Package Index: To update the package index, simply press the u key and you will be prompted to become root to complete the update. Press ENTER which will result in a Password: prompt. Enter your user password to become root. Updating of the package index will commence. Press ENTER on the OK prompt when the download dialog is presented to complete the process. &lt;br /&gt;&lt;br /&gt;- Upgrade Packages: To upgrade packages, perform the update of the package index as detailed above, and then press the U key to mark all packages with updates. Now press g whereby you'll be presented with a summary of package actions. Press g again, and you will be prompted to become root to complete the installation. Press ENTER which will result in a Password: prompt. Enter your user password to become root. Finally, press g once more, and you'll be prompted to download the packages. Press ENTER on the Continue prompt, and upgrade of the packages will commence.&lt;br /&gt;&lt;br /&gt;The first column of information displayed in the package list in the top pane, when actually viewing packages lists the current state of the package, and uses the following key to describe the state of the package:&lt;br /&gt;&lt;br /&gt;- i: Installed package&lt;br /&gt;- c: Package not installed, but package configuration remains on system&lt;br /&gt;- p: Purged from system&lt;br /&gt;- v: Virtual package&lt;br /&gt;- B: Broken package&lt;br /&gt;- u: Unpacked files, but package not yet configured&lt;br /&gt;- C: Half-configured - Configuration failed and requires fix&lt;br /&gt;- H: Half-installed - Removal failed and requires fix&lt;br /&gt;&lt;br /&gt;To exit Aptitude, simply press the q key and confirm you wish to exit.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Aptitude&lt;/b&gt; can also be used with terminal parameters. All the list:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Usage: aptitude [-S fname] [-u|-i]&lt;br /&gt;       aptitude [options] &lt;action&gt; ...&lt;br /&gt;  Actions (if none is specified, aptitude will enter interactive mode):&lt;br /&gt;&lt;br /&gt; install      - Install/upgrade packages&lt;br /&gt; remove       - Remove packages&lt;br /&gt; purge        - Remove packages and their configuration files&lt;br /&gt; hold         - Place packages on hold&lt;br /&gt; unhold       - Cancel a hold command for a package&lt;br /&gt; markauto     - Mark packages as having been automatically installed&lt;br /&gt; unmarkauto   - Mark packages as having been manually installed&lt;br /&gt; forbid-version - Forbid aptitude from upgrading to a specific package version.&lt;br /&gt; update       - Download lists of new/upgradable packages&lt;br /&gt; safe-upgrade - Perform a safe upgrade&lt;br /&gt; full-upgrade - Perform an upgrade, possibly installing and removing packages&lt;br /&gt; forget-new   - Forget what packages are "new"&lt;br /&gt; search       - Search for a package by name and/or expression&lt;br /&gt; show         - Display detailed information about a package&lt;br /&gt; clean        - Erase downloaded package files&lt;br /&gt; autoclean    - Erase old downloaded package files&lt;br /&gt; changelog    - View a package's changelog&lt;br /&gt; download     - Download the .deb file for a package&lt;br /&gt; reinstall    - Download and (possibly) reinstall a currently installed package&lt;br /&gt; why          - Show the manually installed packages that require a package, or&lt;br /&gt;                why one or more packages would require the given package&lt;br /&gt; why-not      - Show the manually installed packages that lead to a conflict&lt;br /&gt;                with the given package, or why one or more packages would&lt;br /&gt;                lead to a conflict with the given package if installed&lt;br /&gt;&lt;br /&gt;  Options:&lt;br /&gt; -h             This help text&lt;br /&gt; -s             Simulate actions, but do not actually perform them.&lt;br /&gt; -d             Only download packages, do not install or remove anything.&lt;br /&gt; -P             Always prompt for confirmation or actions&lt;br /&gt; -y             Assume that the answer to simple yes/no questions is 'yes'&lt;br /&gt; -F format      Specify a format for displaying search results; see the manual&lt;br /&gt; -O order       Specify how search results should be sorted; see the manual&lt;br /&gt; -w width       Specify the display width for formatting search results&lt;br /&gt; -f             Aggressively try to fix broken packages.&lt;br /&gt; -V             Show which versions of packages are to be installed.&lt;br /&gt; -D             Show the dependencies of automatically changed packages.&lt;br /&gt; -Z             Show the change in installed size of each package.&lt;br /&gt; -v             Display extra information. (may be supplied multiple times)&lt;br /&gt; -t [release]   Set the release from which packages should be installed&lt;br /&gt; -q             In command-line mode, suppress the incremental progress&lt;br /&gt;                indicators.&lt;br /&gt; -o key=val     Directly set the configuration option named 'key'&lt;br /&gt; --with(out)-recommends Specify whether or not to treat recommends as&lt;br /&gt;                strong dependencies&lt;br /&gt; -S fname       Read the aptitude extended status info from fname.&lt;br /&gt; -u             Download new package lists on startup.&lt;br /&gt; -i             Perform an install run on startup.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Examples:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.To search for a package with aptitude:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude search package_name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;it should provide you with a list of all packages that where found.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.To show a detailed information about a package:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude show package_name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3.To install a package with aptitude:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude install package_name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4.To remove a package with aptitude:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude remove package_name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5.To remove a package and their configuration files with aptitude:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude purge package_name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;6.To update the list of repositories packages with aptitude:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo aptitude update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/8.04/serverguide/C/aptitude.html" target="_blank"&gt;Ubuntu.com&lt;/a&gt; and &lt;a href="http://www.psychocats.net/ubuntu/aptitude" target="_blank"&gt;psychocats.net&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8640711738860177409?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8640711738860177409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/01/how-to-use-aptitude-in-ubuntu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8640711738860177409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8640711738860177409'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2010/01/how-to-use-aptitude-in-ubuntu.html' title='How to use aptitude in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_6scBS6B6cww/S0ospddarfI/AAAAAAAAAS4/knGoaYh_xVo/s72-c/aptitude.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6376279290416799806</id><published>2009-12-30T08:35:00.001-08:00</published><updated>2009-12-30T08:56:33.560-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repositories'/><title type='text'>Using apt-get terminal command in Ubuntu</title><content type='html'>By using &lt;b&gt;apt-get&lt;/b&gt; terminal command in Ubuntu, you will be able to serach, install, update and remove Ubuntu applications from repositories.&lt;br /&gt;&lt;br /&gt;To resynchronize the package index files from their sources via Internet, also known as repositories. You need to do this after each edit of your repositories file &lt;b&gt;/etc/apt/sources.list&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get update&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To install the newest versions of all packages currently installed on the system:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get upgrade&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Install is followed by one or more packages (programs) desired for installation. If package is already installed it will try to update to latest version.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install package-name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To uninstall a package:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get remove package-name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To uninstall a package and remove all of it's settings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get remove --purge package-name&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you have terminated an installation, you can clean it with:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get clean&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;All the terminal options for apt-get can be found running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get --help&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will output the followings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Usage: apt-get [options] command&lt;br /&gt;       apt-get [options] install|remove pkg1 [pkg2 ...]&lt;br /&gt;       apt-get [options] source pkg1 [pkg2 ...]&lt;br /&gt;&lt;br /&gt;apt-get is a simple command line interface for downloading and&lt;br /&gt;installing packages. The most frequently used commands are update&lt;br /&gt;and install.&lt;br /&gt;&lt;br /&gt;Commands:&lt;br /&gt;   update - Retrieve new lists of packages&lt;br /&gt;   upgrade - Perform an upgrade&lt;br /&gt;   install - Install new packages (pkg is libc6 not libc6.deb)&lt;br /&gt;   remove - Remove packages&lt;br /&gt;   autoremove - Remove automatically all unused packages&lt;br /&gt;   purge - Remove packages and config files&lt;br /&gt;   source - Download source archives&lt;br /&gt;   build-dep - Configure build-dependencies for source packages&lt;br /&gt;   dist-upgrade - Distribution upgrade, see apt-get(8)&lt;br /&gt;   dselect-upgrade - Follow dselect selections&lt;br /&gt;   clean - Erase downloaded archive files&lt;br /&gt;   autoclean - Erase old downloaded archive files&lt;br /&gt;   check - Verify that there are no broken dependencies&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;  -h  This help text.&lt;br /&gt;  -q  Loggable output - no progress indicator&lt;br /&gt;  -qq No output except for errors&lt;br /&gt;  -d  Download only - do NOT install or unpack archives&lt;br /&gt;  -s  No-act. Perform ordering simulation&lt;br /&gt;  -y  Assume Yes to all queries and do not prompt&lt;br /&gt;  -f  Attempt to correct a system with broken dependencies in place&lt;br /&gt;  -m  Attempt to continue if archives are unlocatable&lt;br /&gt;  -u  Show a list of upgraded packages as well&lt;br /&gt;  -b  Build the source package after fetching it&lt;br /&gt;  -V  Show verbose version numbers&lt;br /&gt;  -c=? Read this configuration file&lt;br /&gt;  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp&lt;br /&gt;See the apt-get(8), sources.list(5) and apt.conf(5) manual&lt;br /&gt;pages for more information and options.&lt;br /&gt;                       This APT has Super Cow Powers.&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.cyberciti.biz/faq/how-do-i-update-ubuntu-linux-softwares/" target="_blank"&gt;cyberciti.biz&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6376279290416799806?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6376279290416799806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/using-apt-get-terminal-command-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6376279290416799806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6376279290416799806'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/using-apt-get-terminal-command-in.html' title='Using apt-get terminal command in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5352550051673779439</id><published>2009-12-26T23:06:00.000-08:00</published><updated>2009-12-26T23:30:37.005-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Edit no-ip settings in Ubuntu</title><content type='html'>As you know, no-ip is a dynamic dns provider (ddns). You can register free subdomains at &lt;a href="http://www.no-ip.com" target="_blank"&gt;http://www.no-ip.com&lt;/a&gt; as: 3utilities.com, bounceme.net, hopto.org, myftp.biz, myftp.org, myvnc.com, no-ip.biz, no-ip.info, no-ip.org, redirectme.net, servebeer.com, serveblog.net, servecounterstrike.com, serveftp.com, servegame.com, servehalflife.com, servehttp.com, serveirc.com, servemp3.com, servepics.com, servequake.com, sytes.net, zapto.org.&lt;br /&gt;&lt;br /&gt;To reconfigure no-ip setting:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo dpkg-reconfigure noip2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It will ask you the same questions as when you installed it: your login (email adress), password, updating interval (refresh the record of your ip adress), hosts (also known as subdomains. you can insert multiple hosts, comma or space separated.), network device name (if you have broadband connection (configured by pppoeconf), enter the adress of that connection, usually ppp0), NAT (network adress translation).&lt;br /&gt;&lt;br /&gt;After this it should say something similar to this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Auto configuration for Linux client of no-ip.com.&lt;br /&gt;&lt;br /&gt;4 hosts are registered to this account.&lt;br /&gt;Host myhost.myftp.org selected.&lt;br /&gt;&lt;br /&gt;New configuration file '/var/lib/noip2/noip2.conf' created.&lt;br /&gt;&lt;br /&gt; * Starting No-IP.com dynamic address update noip2                       [ OK ]&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5352550051673779439?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5352550051673779439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/edit-no-ip-settings-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5352550051673779439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5352550051673779439'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/edit-no-ip-settings-in-ubuntu.html' title='Edit no-ip settings in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5526982242933654638</id><published>2009-12-23T23:57:00.000-08:00</published><updated>2009-12-24T00:04:09.062-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Display amount of free and used memory in the system In Ubuntu</title><content type='html'>By using &lt;b&gt;free&lt;/b&gt; you can display amount of free and used memory in the system. &lt;br /&gt;Free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The shared memory&lt;br /&gt;column should be ignored; it is obsolete.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;free -m&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Will display something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;             total       used       free     shared    buffers     cached&lt;br /&gt;Mem:           244        240          3          0         15         82&lt;br /&gt;-/+ buffers/cache:        143        101&lt;br /&gt;Swap:          715        107        608&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Usage: &lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;free [-b | -k | -m | -g] [-o] [-s delay ] [-t] [-V]&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;br /&gt;The -b switch displays the amount of memory in bytes; the -k switch&lt;br /&gt;(set by default)&lt;br /&gt;displays it in kilobytes; the -m switch displays it in megabytes;&lt;br /&gt;the -g switch displays it in gigabytes.&lt;br /&gt;&lt;br /&gt;The -t switch displays a line containing the totals.&lt;br /&gt;&lt;br /&gt;The -o switch disables the display of a "buffer adjusted" line. If the&lt;br /&gt;-o option is not&lt;br /&gt;specified, free subtracts buffer memory from the used memory and&lt;br /&gt;adds it to the free memory reported.&lt;br /&gt;&lt;br /&gt;The -s switch activates continuous polling delay seconds apart. You may&lt;br /&gt;actually specify&lt;br /&gt;any floating point number for delay, usleep(3) is used for&lt;br /&gt;microsecond resolution delay times.&lt;br /&gt;&lt;br /&gt;The -V displays version information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5526982242933654638?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5526982242933654638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/display-amount-of-free-and-used-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5526982242933654638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5526982242933654638'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/display-amount-of-free-and-used-memory.html' title='Display amount of free and used memory in the system In Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7704804912459935807</id><published>2009-12-23T23:25:00.000-08:00</published><updated>2009-12-24T00:01:19.954-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>How to use top and htop commands to monitor cpu and memory usage in Ubuntu</title><content type='html'>&lt;b style="font-size:16px;"&gt;1.top command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/SzMd8LB1ofI/AAAAAAAAAR0/zDiiCDXFQHQ/s1600-h/top.jpg"&gt;&lt;img style="float:left; margin:20px 10px 10px 0;width: 180px; height: 200px;" src="http://3.bp.blogspot.com/_6scBS6B6cww/SzMd8LB1ofI/AAAAAAAAAR0/zDiiCDXFQHQ/s200/top.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;The &lt;b&gt;top&lt;/b&gt; command displays information on your Ubuntu system, running processes and system resources, including CPU, RAM &amp; swap usage and total number of tasks being run.&lt;br /&gt;&lt;br /&gt;Once launched, top stays running, displaying statistics in real time. Processes are listed by their process ID number, along the name of the command that started the process. The statistics are sorted via these categories.&lt;br clear="left" /&gt;&lt;br /&gt;&lt;br /&gt;Example of code:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;top&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The column are:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PID&lt;/b&gt;: A process’s process ID number.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;USER&lt;/b&gt;: The process’s owner.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PR&lt;/b&gt;: The process’s priority. The lower the number, the higher the priority.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NI&lt;/b&gt;: The nice value of the process, which affects its priority.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;VIRT&lt;/b&gt;: How much virtual memory the process is using.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;RES&lt;/b&gt;: How much physical RAM the process is using, measured in kilobytes.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SHR&lt;/b&gt;: How much shared memory the process is using.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;S&lt;/b&gt;: The current status of the process (zombied, sleeping, running, uninterruptedly sleeping, or traced).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;%CPU&lt;/b&gt;: The percentage of the processor time used by the process.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;%MEM&lt;/b&gt;: The percentage of physical RAM used by the process.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TIME+&lt;/b&gt;: How much processor time the process has used.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;COMMAND&lt;/b&gt;: The name of the command that started the process.&lt;br /&gt;&lt;br /&gt;To exit top, press "q".&lt;br /&gt;&lt;br /&gt;&lt;b style="font-size:16px;"&gt;1.htop command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/SzMbfB1YDnI/AAAAAAAAARs/uVwAZKVOH-E/s1600-h/htop.jpg"&gt;&lt;img style="float:left; margin:20px 10px 10px 0;width: 200px; height: 191px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/SzMbfB1YDnI/AAAAAAAAARs/uVwAZKVOH-E/s200/htop.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Htop is an ncursed-based process viewer similar to top, but it allows to scroll the list vertically and horizontally to see all processes and their full command lines.  &lt;br /&gt;Tasks related to proccesses (killing, renicing) can be done without entering their PIDs. &lt;br /&gt;&lt;br /&gt;htop is much easier than top. For example: to kill a process you need to scroll down with arrow keys to select a process and press F9.&lt;br clear="left" /&gt;&lt;br /&gt;&lt;br /&gt;Command line for &lt;b&gt;htop&lt;/b&gt; is:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;htop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You may need to install this one if it doesn't launch:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install htop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://htop.sourceforge.net/" target="_blank"&gt;Official Website&lt;/a&gt;, &lt;a href="http://www.jonathanmoeller.com/screed/?p=762" target="_blank"&gt;jonathanmoeller&lt;/a&gt;, &lt;a href="http://www.howtogeek.com/howto/ubuntu/using-htop-to-monitor-system-processes-on-linux/" target="_blank"&gt;howtogeek&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7704804912459935807?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7704804912459935807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-use-top-and-htop-commands-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7704804912459935807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7704804912459935807'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-use-top-and-htop-commands-to.html' title='How to use top and htop commands to monitor cpu and memory usage in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6scBS6B6cww/SzMd8LB1ofI/AAAAAAAAAR0/zDiiCDXFQHQ/s72-c/top.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3691496863725116567</id><published>2009-12-20T08:12:00.000-08:00</published><updated>2009-12-20T08:20:34.144-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Script to flush iptables in Ubuntu</title><content type='html'>If you messed up something in iptables, you should reset iptables with the following script. This is also good for removing internet connection sharing (ICS).&lt;br /&gt;To have 100% success with the following script, you should delete any custom start-up iptables scripts.&lt;br /&gt;&lt;br /&gt;Let's make the flush script:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/flush_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Paste in the followings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;#!/bin/sh&lt;br /&gt;# &lt;br /&gt;# rc.flush-iptables - Resets iptables to default values. &lt;br /&gt;# &lt;br /&gt;# Copyright (C) 2001 Oskar Andreasson &lt;bluefluxATkoffeinDOTnet&gt;&lt;br /&gt;#&lt;br /&gt;# This program is free software; you can redistribute it and/or modify&lt;br /&gt;# it under the terms of the GNU General Public License as published by&lt;br /&gt;# the Free Software Foundation; version 2 of the License.&lt;br /&gt;#&lt;br /&gt;# This program is distributed in the hope that it will be useful,&lt;br /&gt;# but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br /&gt;# GNU General Public License for more details.&lt;br /&gt;#&lt;br /&gt;# You should have received a copy of the GNU General Public License&lt;br /&gt;# along with this program or from the site that you downloaded it&lt;br /&gt;# from; if not, write to the Free Software Foundation, Inc., 59 Temple&lt;br /&gt;# Place, Suite 330, Boston, MA 02111-1307 USA&lt;br /&gt;#&lt;br /&gt;# Configurations&lt;br /&gt;#&lt;br /&gt;IPTABLES="/usr/sbin/iptables"&lt;br /&gt;#&lt;br /&gt;# reset the default policies in the filter table.&lt;br /&gt;#&lt;br /&gt;$IPTABLES -P INPUT ACCEPT&lt;br /&gt;$IPTABLES -P FORWARD ACCEPT&lt;br /&gt;$IPTABLES -P OUTPUT ACCEPT&lt;br /&gt;#&lt;br /&gt;# reset the default policies in the nat table.&lt;br /&gt;#&lt;br /&gt;$IPTABLES -t nat -P PREROUTING ACCEPT&lt;br /&gt;$IPTABLES -t nat -P POSTROUTING ACCEPT&lt;br /&gt;$IPTABLES -t nat -P OUTPUT ACCEPT&lt;br /&gt;#&lt;br /&gt;# reset the default policies in the mangle table.&lt;br /&gt;#&lt;br /&gt;$IPTABLES -t mangle -P PREROUTING ACCEPT&lt;br /&gt;$IPTABLES -t mangle -P POSTROUTING ACCEPT&lt;br /&gt;$IPTABLES -t mangle -P INPUT ACCEPT&lt;br /&gt;$IPTABLES -t mangle -P OUTPUT ACCEPT&lt;br /&gt;$IPTABLES -t mangle -P FORWARD ACCEPT&lt;br /&gt;#&lt;br /&gt;# flush all the rules in the filter and nat tables.&lt;br /&gt;#&lt;br /&gt;$IPTABLES -F&lt;br /&gt;$IPTABLES -t nat -F&lt;br /&gt;$IPTABLES -t mangle -F&lt;br /&gt;#&lt;br /&gt;# erase all chains that's not default in filter and nat table.&lt;br /&gt;#&lt;br /&gt;$IPTABLES -X&lt;br /&gt;$IPTABLES -t nat -X&lt;br /&gt;$IPTABLES -t mangle -X&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make the file executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/flush_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Run it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/flush_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://security.maruhn.com/iptables-tutorial/" target="_blank"&gt;maruhn.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3691496863725116567?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3691496863725116567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/script-to-flush-iptables-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3691496863725116567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3691496863725116567'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/script-to-flush-iptables-in-ubuntu.html' title='Script to flush iptables in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1476585601451498681</id><published>2009-12-19T09:58:00.000-08:00</published><updated>2009-12-19T10:33:39.272-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Dump and analyze network traffic with tshark in Ubuntu</title><content type='html'>&lt;b&gt;TShark&lt;/b&gt; is a network protocol analyzer. It lets you capture packet data from a live network, or read packets from a previously saved capture file, either printing a decoded form of those packets to the standard output or writing the packets to a file.  TShark’s native capture file format is &lt;b&gt;libpcap&lt;/b&gt; format, which is also the format used by tcpdump and various other tools.&lt;br /&gt;&lt;br /&gt;Without any options set, &lt;b&gt;TShark&lt;/b&gt; will work much like tcpdump. &lt;b&gt;TShark&lt;/b&gt; is able to detect, read and write the same capture files that are supported by Wireshark.&lt;br /&gt;&lt;br /&gt;Some examples:&lt;br /&gt;&lt;br /&gt;Display all the traffic in CLI:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo tshark -i eth1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To write all the traffic to a file in txt format from a network interface:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo tshark -i eth1 &gt; /home/ftp/speedy/tshark.txt&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The following example displays only IP packets that are issued by or in destination to the IP address 192.168.0.1&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo tshark -i eth1 -R "ip.addr == 192.168.0.1" &gt; /home/ftp/speedy/tshark.txt&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In the following example, only IP packets that are coming from or going to UDP port 1812 are captured.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo tshark -i eth1 -f "udp port 1812" &gt; /home/ftp/speedy/tshark.txt&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;All the available command lines are found &lt;a href="http://manpages.ubuntu.com/manpages/intrepid/man1/tshark.1.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://manpages.ubuntu.com/manpages/intrepid/man1/tshark.1.html" target="_blank"&gt;Ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1476585601451498681?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1476585601451498681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/dump-and-analyze-network-traffic-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1476585601451498681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1476585601451498681'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/dump-and-analyze-network-traffic-with.html' title='Dump and analyze network traffic with tshark in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5702676893554575383</id><published>2009-12-18T08:52:00.000-08:00</published><updated>2009-12-18T09:45:37.783-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Add users/admin to Verlihub in Ubuntu</title><content type='html'>This is also the best way to change a user's forgotten password. But first you need to add a new master user and after that to change the lost password.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.By using terminal:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo vh_regnick -f -n new_username -p new_password -c 10&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;new_username - your new username&lt;br /&gt;new_password - the password for the new user&lt;br /&gt;-c 10 - the class for your new user. 10 is admin master&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.By using commands in DC client (DC++, Strong DC++):&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!regnewuser your_username 10&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;your_username - your new username&lt;br /&gt;10 - your new username's class&lt;br /&gt;&lt;br /&gt;aftre that, change it's password:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!regpass your_username new_password&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;new_password - the password for the user you just registered&lt;br /&gt;&lt;br /&gt;To delete an registered user:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;!regdelete username_to_delete&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.verlihub-project.org/doku.php?id=managing_your_hub" target="_blank"&gt;Verlihub Project&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5702676893554575383?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5702676893554575383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/add-usersadmin-to-verlihub-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5702676893554575383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5702676893554575383'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/add-usersadmin-to-verlihub-in-ubuntu.html' title='Add users/admin to Verlihub in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-2877069218487130455</id><published>2009-12-17T09:49:00.001-08:00</published><updated>2010-03-04T08:44:25.110-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu desktop'/><title type='text'>Install Ubuntu Desktop 9.10 on Ubuntu Server 9.10</title><content type='html'>Today i wanted to install Ubuntu desktop over the server edition.&lt;br /&gt;&lt;br /&gt;You can install other versions of desktop environments. To see all available desktops packages:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-cache search ubuntu-desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Your list should look something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;edubuntu-desktop - educational desktop for Ubuntu&lt;br /&gt;edubuntu-desktop-kde - educational desktop for Kubuntu&lt;br /&gt;kubuntu-desktop - Kubuntu desktop system&lt;br /&gt;ubuntu-desktop - The Ubuntu desktop system&lt;br /&gt;xubuntu-desktop - Xubuntu desktop system&lt;br /&gt;lubuntu-desktop - Lubuntu Desktop environment&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;So, you can install &lt;a href="http://www.edubuntu.com" target="_blank"&gt;edubuntu&lt;/a&gt; (GNOME desktop), &lt;a href="http://www.kubuntu.org" target="_blank"&gt;kubuntu&lt;/a&gt; (KDE desktop), &lt;a href="http://www.ubuntu.com" target="_blank"&gt;ubuntu&lt;/a&gt; (GNOME desktop), &lt;a href="http://www.xubuntu.org" target="_blank"&gt;xubuntu&lt;/a&gt; (XFCE desktop).&lt;br /&gt;&lt;br /&gt;We are going to install Ubuntu Desktop, but all the installations should be the same:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install ubuntu-desktop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;All packages should be around 400Mb and the installation should take 2000Mb, so everything is around 2400Mb. So we hit "yes" when asked...&lt;br /&gt;&lt;br /&gt;After everything was downloaded, it should unpack and install all packages (i had 911 packages) and should let you with your terminal prompt. Now let's start our new ubuntu desktop environment:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo startx&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You should take care, because with sudo you will enter as root. After you restart Ubuntu desktop, you may login with your username and password.&lt;br /&gt;&lt;br /&gt;To end gnome session and return to terminal (CLI):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/gdm stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;But next time you reboot Ubuntu machine, you will end up in Gnome desktop.&lt;br /&gt;&lt;br /&gt;This post was written from our new Ubuntu Desktop 9.10 installation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;If you want to uninstall Ubuntu desktop 9.10, follow &lt;a href="http://ubuntu-for-humans.blogspot.com/2010/02/how-to-remove-ubuntu-desktop-from.html"&gt;this tutorial&lt;/a&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-2877069218487130455?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/2877069218487130455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/install-ubuntu-desktop-910-on-ubuntu.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2877069218487130455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/2877069218487130455'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/install-ubuntu-desktop-910-on-ubuntu.html' title='Install Ubuntu Desktop 9.10 on Ubuntu Server 9.10'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6356825081899394422</id><published>2009-12-12T23:52:00.001-08:00</published><updated>2009-12-13T00:19:52.098-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><title type='text'>Terminal files and directory commands in Ubuntu</title><content type='html'>&lt;b&gt;1. ls&lt;/b&gt;&lt;br /&gt;will show you the files in your current directory. Used with certain options, you can see sizes of files, when files were made, and permissions of files. Example: "ls ~" will show you the files that are in your home directory.&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ls -l /etc/fstab&lt;/div&gt;&lt;br /&gt;will show &lt;br /&gt;&lt;div id="code"&gt;-rw-r--r-- 1 root root 846 2009-12-08 15:46 /etc/fstab&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-rw-r--r--&lt;/b&gt; are the file rights for the owner/group/others&lt;br /&gt;&lt;b&gt;root&lt;/b&gt; and &lt;b&gt;root&lt;/b&gt; are the owner/group for this file&lt;br /&gt;&lt;b&gt;846&lt;/b&gt; is the size of that file in bytes&lt;br /&gt;&lt;b&gt;2009-12-08 15:46&lt;/b&gt; is the created/modified date&lt;br /&gt;&lt;br /&gt;All the command options for this command are:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Usage: ls [OPTION]... [FILE]...&lt;br /&gt;List information about the FILEs (the current directory by default).&lt;br /&gt;Sort entries alphabetically if none of -cftuvSUX nor --sort.&lt;br /&gt;&lt;br /&gt;Mandatory arguments to long options are mandatory for short options too.&lt;br /&gt;  -a, --all                  do not ignore entries starting with .&lt;br /&gt;  -A, --almost-all           do not list implied . and ..&lt;br /&gt;      --author               with -l, print the author of each file&lt;br /&gt;  -b, --escape               print octal escapes for nongraphic characters&lt;br /&gt;      --block-size=SIZE      use SIZE-byte blocks&lt;br /&gt;  -B, --ignore-backups       do not list implied entries ending with ~&lt;br /&gt;  -c                         with -lt: sort by, and show, ctime (time of last&lt;br /&gt;                               modification of file status information)&lt;br /&gt;                               with -l: show ctime and sort by name&lt;br /&gt;                               otherwise: sort by ctime&lt;br /&gt;  -C                         list entries by columns&lt;br /&gt;      --color[=WHEN]         control whether color is used to distinguish file&lt;br /&gt;                               types.  WHEN may be `never', `always', or `auto'&lt;br /&gt;  -d, --directory            list directory entries instead of contents,&lt;br /&gt;                               and do not dereference symbolic links&lt;br /&gt;  -D, --dired                generate output designed for Emacs' dired mode&lt;br /&gt;  -f                         do not sort, enable -aU, disable -ls --color&lt;br /&gt;  -F, --classify             append indicator (one of */=&gt;@|) to entries&lt;br /&gt;      --file-type            likewise, except do not append `*'&lt;br /&gt;      --format=WORD          across -x, commas -m, horizontal -x, long -l,&lt;br /&gt;                               single-column -1, verbose -l, vertical -C&lt;br /&gt;      --full-time            like -l --time-style=full-iso&lt;br /&gt;  -g                         like -l, but do not list owner&lt;br /&gt;      --group-directories-first&lt;br /&gt;                             group directories before files.&lt;br /&gt;                               augment with a --sort option, but any&lt;br /&gt;                               use of --sort=none (-U) disables grouping&lt;br /&gt;  -G, --no-group             in a long listing, don't print group names&lt;br /&gt;  -h, --human-readable       with -l, print sizes in human readable format&lt;br /&gt;                               (e.g., 1K 234M 2G)&lt;br /&gt;      --si                   likewise, but use powers of 1000 not 1024&lt;br /&gt;  -H, --dereference-command-line&lt;br /&gt;                             follow symbolic links listed on the command line&lt;br /&gt;      --dereference-command-line-symlink-to-dir&lt;br /&gt;                             follow each command line symbolic link&lt;br /&gt;                             that points to a directory&lt;br /&gt;      --hide=PATTERN         do not list implied entries matching shell PATTERN&lt;br /&gt;                               (overridden by -a or -A)&lt;br /&gt;      --indicator-style=WORD  append indicator with style WORD to entry names:&lt;br /&gt;                               none (default), slash (-p),&lt;br /&gt;                               file-type (--file-type), classify (-F)&lt;br /&gt;  -i, --inode                print the index number of each file&lt;br /&gt;  -I, --ignore=PATTERN       do not list implied entries matching shell PATTERN&lt;br /&gt;  -k                         like --block-size=1K&lt;br /&gt;  -l                         use a long listing format&lt;br /&gt;  -L, --dereference          when showing file information for a symbolic&lt;br /&gt;                               link, show information for the file the link&lt;br /&gt;                               references rather than for the link itself&lt;br /&gt;  -m                         fill width with a comma separated list of entries&lt;br /&gt;  -n, --numeric-uid-gid      like -l, but list numeric user and group IDs&lt;br /&gt;  -N, --literal              print raw entry names (don't treat e.g. control&lt;br /&gt;                               characters specially)&lt;br /&gt;  -o                         like -l, but do not list group information&lt;br /&gt;  -p, --indicator-style=slash&lt;br /&gt;                             append / indicator to directories&lt;br /&gt;  -q, --hide-control-chars   print ? instead of non graphic characters&lt;br /&gt;      --show-control-chars   show non graphic characters as-is (default&lt;br /&gt;                             unless program is `ls' and output is a terminal)&lt;br /&gt;  -Q, --quote-name           enclose entry names in double quotes&lt;br /&gt;      --quoting-style=WORD   use quoting style WORD for entry names:&lt;br /&gt;                               literal, locale, shell, shell-always, c, escape&lt;br /&gt;  -r, --reverse              reverse order while sorting&lt;br /&gt;  -R, --recursive            list subdirectories recursively&lt;br /&gt;  -s, --size                 print the allocated size of each file, in blocks&lt;br /&gt;  -S                         sort by file size&lt;br /&gt;      --sort=WORD            sort by WORD instead of name: none -U,&lt;br /&gt;                             extension -X, size -S, time -t, version -v&lt;br /&gt;      --time=WORD            with -l, show time as WORD instead of modification&lt;br /&gt;                             time: atime -u, access -u, use -u, ctime -c,&lt;br /&gt;                             or status -c; use specified time as sort key&lt;br /&gt;                             if --sort=time&lt;br /&gt;      --time-style=STYLE     with -l, show times using style STYLE:&lt;br /&gt;                             full-iso, long-iso, iso, locale, +FORMAT.&lt;br /&gt;                             FORMAT is interpreted like `date'; if FORMAT is&lt;br /&gt;                             FORMAT1&lt;newline&gt;FORMAT2, FORMAT1 applies to&lt;br /&gt;                             non-recent files and FORMAT2 to recent files;&lt;br /&gt;                             if STYLE is prefixed with `posix-', STYLE&lt;br /&gt;                             takes effect only outside the POSIX locale&lt;br /&gt;  -t                         sort by modification time&lt;br /&gt;  -T, --tabsize=COLS         assume tab stops at each COLS instead of 8&lt;br /&gt;  -u                         with -lt: sort by, and show, access time&lt;br /&gt;                               with -l: show access time and sort by name&lt;br /&gt;                               otherwise: sort by access time&lt;br /&gt;  -U                         do not sort; list entries in directory order&lt;br /&gt;  -v                         natural sort of (version) numbers within text&lt;br /&gt;  -w, --width=COLS           assume screen width instead of current value&lt;br /&gt;  -x                         list entries by lines instead of by columns&lt;br /&gt;  -X                         sort alphabetically by entry extension&lt;br /&gt;  -Z, --context              print any SELinux security context of each file&lt;br /&gt;  -1                         list one file per line&lt;br /&gt;      --help     display this help and exit&lt;br /&gt;      --version  output version information and exit&lt;br /&gt;&lt;br /&gt;SIZE may be (or may be an integer optionally followed by) one of following:&lt;br /&gt;kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.&lt;br /&gt;&lt;br /&gt;By default, color is not used to distinguish types of files.  That is&lt;br /&gt;equivalent to using --color=none.  Using the --color option without the&lt;br /&gt;optional WHEN argument is equivalent to using --color=always.  With&lt;br /&gt;--color=auto, color codes are output only if standard output is connected&lt;br /&gt;to a terminal (tty).  The environment variable LS_COLORS can influence the&lt;br /&gt;colors, and can be set easily by the dircolors command.&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. cd&lt;/b&gt;&lt;br /&gt;will allow you to change directories. When you open a terminal you will be in your home directory. To move around the file system you will use cd.&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd/&lt;/div&gt;&lt;br /&gt;navigates into the root directory&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd&lt;/div&gt;&lt;br /&gt;or&lt;br /&gt;&lt;div id="code"&gt;cd~&lt;/div&gt;&lt;br /&gt;navigates into your home directory&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd ..&lt;/div&gt;&lt;br /&gt;navigates up one directory level&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd -&lt;/div&gt;&lt;br /&gt;navigates to the previous directory (or back)&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd /var/www&lt;/div&gt;&lt;br /&gt;navigates through multiple levels of directory at once. This one goes directly to the /www subdirectory of /var/&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. cp&lt;/b&gt;&lt;br /&gt;will make a copy of a file for you&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cp file foo&lt;/div&gt;&lt;br /&gt;will make a exact copy of "file" and name it "foo", but the file "file" will still be there&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cp -r directory foo&lt;/div&gt;&lt;br /&gt;this is for copying a directory (copy recursively)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4. mv&lt;/b&gt;&lt;br /&gt;will move a file to a different location or will rename a file&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;mv file foo&lt;/div&gt;&lt;br /&gt;will rename the file "file" to "foo"&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;mv foo /var/www&lt;/div&gt;&lt;br /&gt;will move the file "foo" to your "/var/www" directory but will not rename it&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5. rm&lt;/b&gt;&lt;br /&gt;remove or delete a file in your directory or a directory&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;rm foo&lt;/div&gt;&lt;br /&gt;will delete foo&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;rm -r /var/www&lt;/div&gt;&lt;br /&gt;will delete "/var/www" directory recursively&lt;br /&gt;&lt;br /&gt;&lt;b&gt;6. rmdir&lt;/b&gt;&lt;br /&gt;will delete an &lt;i&gt;empty&lt;/i&gt; directory&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;rmdir /var/www&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;7. mkdir&lt;/b&gt;&lt;br /&gt;allows you to create directories&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;mkdir music&lt;/div&gt;&lt;br /&gt;will create a directory called "music"&lt;br /&gt;&lt;br /&gt;&lt;b&gt;8. man&lt;/b&gt;&lt;br /&gt;shows you the manual of other commands&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;man man&lt;/div&gt;&lt;br /&gt;will get the man page for man itself&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/UsingTheTerminal" target="_blank"&gt;Ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6356825081899394422?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6356825081899394422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/terminal-files-and-directory-commands.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6356825081899394422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6356825081899394422'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/terminal-files-and-directory-commands.html' title='Terminal files and directory commands in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-333178927874338168</id><published>2009-12-12T23:31:00.000-08:00</published><updated>2009-12-12T23:43:19.476-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hard disc'/><title type='text'>How to see hard disc space in Ubuntu</title><content type='html'>&lt;b&gt;1. Using df command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;df -h&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;As my hard drive is 2Gb, it will look like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/mapper/ubuntu-root&lt;br /&gt;                     1.6G  802M  746M  52% /&lt;br /&gt;udev                  249M  196K  249M   1% /dev&lt;br /&gt;none                  249M     0  249M   0% /dev/shm&lt;br /&gt;none                  249M  244K  249M   1% /var/run&lt;br /&gt;none                  249M     0  249M   0% /var/lock&lt;br /&gt;none                  249M     0  249M   0% /lib/init/rw&lt;br /&gt;/dev/sda5             228M   14M  202M   7% /boot&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Using Discus&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Discus is a GPL text-mode disk space usage program. Discus aims to make df prettier.  Features include color, bar graphs, and smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes). Or choose your own size, along with specifying the number of decimal places.&lt;br /&gt;&lt;br /&gt;If you don't have discus:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install discus&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And we run it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo discus&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;Mount           Total         Used         Avail      Prcnt      Graph&lt;br /&gt;/                1.59 GB     801.8 MB     828.1 MB    49.2%   [*****-----]&lt;br /&gt;/sys                0 KB         0 KB         0 KB     0.0%   [----------]&lt;br /&gt;+onnections         0 KB         0 KB         0 KB     0.0%   [----------]&lt;br /&gt;+rnel/debug         0 KB         0 KB         0 KB     0.0%   [----------]&lt;br /&gt;+l/security         0 KB         0 KB         0 KB     0.0%   [----------]&lt;br /&gt;/dev            248.7 MB       196 KB     248.5 MB     0.1%   [----------]&lt;br /&gt;/dev/shm        248.7 MB         0 KB     248.7 MB     0.0%   [----------]&lt;br /&gt;/var/run        248.7 MB       272 KB     248.4 MB     0.1%   [----------]&lt;br /&gt;/var/lock       248.7 MB         0 KB     248.7 MB     0.0%   [----------]&lt;br /&gt;+ib/init/rw     248.7 MB         0 KB     248.7 MB     0.0%   [----------]&lt;br /&gt;/boot           227.9 MB      13.9 MB     213.9 MB     6.1%   [*---------]&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Discus command lines:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;-h, --help Show summary of options.&lt;br /&gt;&lt;br /&gt;-c Disable color.&lt;br /&gt;&lt;br /&gt;-d Display device names instead of graphs.&lt;br /&gt;&lt;br /&gt;-p Number of digits to right of decimal place.&lt;br /&gt;&lt;br /&gt;-s Do not use smart formatting.&lt;br /&gt;&lt;br /&gt;-t, -g, -m, -k Display sizes in terabytes, gigabytes, megabytes, or kilobytes, respectively.  Assumes -s.&lt;br /&gt;&lt;br /&gt;-v, --version Show version of program.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.debianadmin.com/check-disk-space-usage-on-ubuntu.html" target="_blank"&gt;DebianAdmin.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-333178927874338168?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/333178927874338168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-see-hard-disc-space-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/333178927874338168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/333178927874338168'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-see-hard-disc-space-in-ubuntu.html' title='How to see hard disc space in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1307825784269320040</id><published>2009-12-11T23:26:00.000-08:00</published><updated>2009-12-11T23:40:09.060-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>How to change MySQL root password in Ubuntu</title><content type='html'>Using terminal, type in the following:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mysql -u root -p&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After you login:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;FLUSH PRIVILEGES;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You may quit mysql:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;quit&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MyNewPass&lt;/b&gt; id the new password for MySQL and &lt;b&gt;root&lt;/b&gt; is your current MySQL user.&lt;br /&gt;&lt;br /&gt;The UPDATE statement resets the password for all existing root  accounts, and the FLUSH  statement tells the server to reload the grant tables into memory. &lt;br /&gt;&lt;br /&gt;Resources &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix" target="_blank"&gt;MySQL.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1307825784269320040?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1307825784269320040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-change-mysql-root-password-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1307825784269320040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1307825784269320040'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/how-to-change-mysql-root-password-in.html' title='How to change MySQL root password in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-4158082258068300588</id><published>2009-12-11T22:57:00.000-08:00</published><updated>2009-12-11T23:24:35.765-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='torrent'/><title type='text'>Recover your username and password for Torrentflux in Ubuntu</title><content type='html'>&lt;b&gt;How to recover your admin lost password on torrentflux:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.Using phpMyAdmin:&lt;br /&gt;&lt;br /&gt;-browse the torrentflux database. My table is named "torrentflux"&lt;br /&gt;-browse the users table. Usually named "tf_users"&lt;br /&gt;-on user_id column you can see admin username. If you want to change it, just type in your new admin user. Edit that row and at password field (varchar(34)) on first column (named function) choose MD5. On the third column (named value) write down your new password. After that, press "Go". &lt;br /&gt;You should be able to login now.&lt;br /&gt;&lt;br /&gt;2.Using terminal:&lt;br /&gt;&lt;br /&gt;Assuming that root is your mysql username:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo mysql -u root -p&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After the successful login:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;UPDATE torrentflux.tf_users SET password=MD5('MyNewPass') WHERE user_id='root';&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;&lt;b&gt;torrentflux&lt;/b&gt; is your Torrentflux database. &lt;b&gt;tf_users&lt;/b&gt; is your Torrentflux table where all users are kept. &lt;b&gt;MyNewPass&lt;/b&gt; should be your new password. and &lt;b&gt;root&lt;/b&gt; is your current Torrentflux admin user.&lt;br /&gt;&lt;br /&gt;You should be able to login now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-4158082258068300588?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/4158082258068300588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/recover-your-username-and-password-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4158082258068300588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4158082258068300588'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/recover-your-username-and-password-for.html' title='Recover your username and password for Torrentflux in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6577337240331579157</id><published>2009-12-10T11:02:00.000-08:00</published><updated>2009-12-10T11:38:38.207-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Monitor for system resources and process activity with atop in Ubuntu</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_6scBS6B6cww/SyFIr712Q-I/AAAAAAAAARg/U1BMHeTWYGQ/s1600-h/Untitled-2.jpg"&gt;&lt;img style="float:left; margin:20px 10px 10px 0;width: 200px; height: 93px;" src="http://1.bp.blogspot.com/_6scBS6B6cww/SyFIr712Q-I/AAAAAAAAARg/U1BMHeTWYGQ/s200/Untitled-2.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.atcomputing.nl/Tools/atop/index.html" target="_blank"&gt;&lt;b&gt;Atop&lt;/b&gt;&lt;/a&gt; is an ASCII full-screen terminal performance monitor, similar to the top command, but atop only shows the active system-resources and processes, and only shows the deviations since the previous interval.&lt;br /&gt;At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and it shows for every active process the CPU utilization in system and user mode, the virtual and resident memory growth, priority, username, state, and exit code. &lt;br /&gt;The process level activity is also shown for processes which finished during the last interval, to get a complete overview about the consumers of things such as CPU time.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The main things it can do:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;*Resource consumption by all processes&lt;br /&gt;*Utilization of all relevant resources&lt;br /&gt;*Permanent logging of resource utilization&lt;br /&gt;*Highlight critical resources&lt;br /&gt;*Watch activity only&lt;br /&gt;*Watch deviations only&lt;br /&gt;*Accumulated process activity per user&lt;br /&gt;*Accumulated process activity per program&lt;br /&gt;*Disk and network activity per process&lt;br /&gt;&lt;br /&gt;To install atop:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install atop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After &lt;b&gt;Atop&lt;/b&gt; has started you can press some keys (as shown below) to see different configuration status and command lines:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;&lt;br /&gt;Figures shown for active processes:&lt;br /&gt;        'g' - generic info (default)&lt;br /&gt;        'm' - memory details&lt;br /&gt;        'd' - disk details&lt;br /&gt;        'n' - network details&lt;br /&gt;        's' - scheduling and thread-group info&lt;br /&gt;        'v' - various info (ppid, user/group, date/time, status, exitcode)&lt;br /&gt;        'c' - full command-line per process&lt;br /&gt;&lt;br /&gt;Accumulated figures:&lt;br /&gt;        'u' - total resource consumption per user&lt;br /&gt;        'p' - total resource consumption per program (i.e. same process name)&lt;br /&gt;&lt;br /&gt;Sort list of active processes in order of:&lt;br /&gt;        'C' - cpu activity&lt;br /&gt;        'M' - memory consumption&lt;br /&gt;        'D' - disk activity&lt;br /&gt;        'N' - network activity&lt;br /&gt;        'A' - most active system resource (auto mode)&lt;br /&gt;&lt;br /&gt;Screen-handling:&lt;br /&gt;        ^F  - show next     page in the process-list (forward)&lt;br /&gt;        ^B  - show previous page in the process-list (backward)&lt;br /&gt;&lt;br /&gt;Miscellaneous commands:&lt;br /&gt;        'i' - change interval-timer (0 = only manual trigger)&lt;br /&gt;        't' - manual trigger to finish interval&lt;br /&gt;        'T' - show previous interval again (raw file viewing)&lt;br /&gt;        'r' - reset counters to zero (or rewind for raw file viewing)&lt;br /&gt;&lt;br /&gt;        'U' - focus on specific user name    (regular expression)&lt;br /&gt;        'P' - focus on specific process name (regular expression)&lt;br /&gt;&lt;br /&gt;        'a' - active processes only (default) or all processes (toggle)&lt;br /&gt;        'z' - pause-button to freeze current sample            (toggle)&lt;br /&gt;        'f' - fixate on static range of header-lines           (toggle)&lt;br /&gt;        'x' - use colors to indicate high occupation           (toggle)&lt;br /&gt;        '1' - show average-per-second i.s.o. total values      (toggle)&lt;br /&gt;        'l' - limited lines for per-cpu, disk and interface resources&lt;br /&gt;        'k' - kill a process (i.e. send a signal)&lt;br /&gt;&lt;br /&gt;        'V' - version-information&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Some examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo atopsar -c 5 5&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;With the flag -c in the following example a report is generated about current CPU utilization of the system during 5 minutes (five times with an interval of five seconds):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;ubuntu  2.6.31-14-generic-pae  #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009  i686  2009/12/10&lt;br /&gt;&lt;br /&gt;-------------------------- analysis date: 2009/12/10 --------------------------&lt;br /&gt;&lt;br /&gt;21:20:18  cpu   %usr  %nice   %sys  %irq %softirq   %steal  %wait  %idle  _cpu_&lt;br /&gt;21:20:23  all      1      0      2     0        0        0      0     97&lt;br /&gt;21:20:28  all      0      0      0     0        0        0      0    100&lt;br /&gt;21:20:33  all      1      0      2     0        0        0      0     97&lt;br /&gt;21:20:38  all      0      0      0     0        0        0      0     99&lt;br /&gt;21:20:43  all      0      0      2     0        0        0      0     98&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;With the flag -A in the following example all available reports are generated, starting from 13:00 (optional flag -b) till 13:35 (optional flag -e) reading today's raw file as written by the atop command (default):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo atopsar -A -b 13:00 -e 13:35&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This output will not be listed here as is very large, but you can try it yourself.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.atcomputing.nl/Tools/atop/index.html" target="_blank"&gt;Official Homepage&lt;/a&gt;,  &lt;a href="http://ns2.canonical.com/en/dapper/atop" target="_blank"&gt;Canonical.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6577337240331579157?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6577337240331579157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/monitor-for-system-resources-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6577337240331579157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6577337240331579157'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/monitor-for-system-resources-and.html' title='Monitor for system resources and process activity with atop in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6scBS6B6cww/SyFIr712Q-I/AAAAAAAAARg/U1BMHeTWYGQ/s72-c/Untitled-2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-329830787343007343</id><published>2009-12-07T09:42:00.000-08:00</published><updated>2009-12-17T08:15:11.077-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Protect your Ubuntu SSH server with Denyhosts</title><content type='html'>As you know, SSH is a great way to remotely administer a server. However, there are some security issues to consider. For example brute force attacks to take control of the Ubuntu server machine.&lt;br /&gt;&lt;br /&gt;But first we need to take in consideration the SSH config file sshd_config.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/ssh/sshd_config&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;An easy trick is by moving the listen port from 22 to some other randomly assigned port. Something above 20000 is perfect. This reduces the chance to show up that ssh server is running to port scanning.&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;denyhosts&lt;/b&gt; package is a great python script used to prevent brute force hacking of your SSH server. Full details are available at &lt;a href="http://denyhosts.sourceforge.net" target="_blank"&gt;http://denyhosts.sourceforge.net&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Denyhosts acts as a ideal dynamic blocker for SSH, and also for other services. It relies on the &lt;b&gt;/etc/hosts.deny&lt;/b&gt; and &lt;b&gt;hosts.allow&lt;/b&gt;. It dynamically builds a list of hosts that repeatedly connect to your server. By default the service will block connections from IP sources that are repeated attempting to connect and access your host. The denyhosts process is configured in &lt;b&gt;/etc/denyhosts.conf&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Before we install DenyHosts, make sure we have pythone installed:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo python -V&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should say something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;Python 2.6.4rc2&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If we do not have it, we install it by running:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install python2.6&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install denyhosts&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you are installing it remotely, you will loose conectivity when the service is trying to start. You need to relogin to your ssh server.&lt;br /&gt;&lt;br /&gt;Edit the denyhosts configuration file to suit your needs. You should keep in mind that this is a preconfigured file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/denyhosts.conf&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It should look something like this. These are default denyhosts config file settings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code" style="overflow:scroll; height:450px;"&gt;       ############ THESE SETTINGS ARE REQUIRED ############&lt;br /&gt;&lt;br /&gt;########################################################################&lt;br /&gt;#&lt;br /&gt;# SECURE_LOG: the log file that contains sshd logging info&lt;br /&gt;# if you are not sure, grep "sshd:" /var/log/*&lt;br /&gt;#&lt;br /&gt;# The file to process can be overridden with the --file command line&lt;br /&gt;# argument&lt;br /&gt;#&lt;br /&gt;# Redhat or Fedora Core:&lt;br /&gt;#SECURE_LOG = /var/log/secure&lt;br /&gt;#&lt;br /&gt;# Mandrake, FreeBSD or OpenBSD: &lt;br /&gt;#SECURE_LOG = /var/log/auth.log&lt;br /&gt;#&lt;br /&gt;# SuSE:&lt;br /&gt;#SECURE_LOG = /var/log/messages&lt;br /&gt;#&lt;br /&gt;# Mac OS X (v10.4 or greater - &lt;br /&gt;#   also refer to:   http://www.denyhosts.net/faq.html#macos&lt;br /&gt;#SECURE_LOG = /private/var/log/asl.log&lt;br /&gt;#&lt;br /&gt;# Mac OS X (v10.3 or earlier):&lt;br /&gt;#SECURE_LOG=/private/var/log/system.log&lt;br /&gt;#&lt;br /&gt;# Debian:&lt;br /&gt;SECURE_LOG = /var/log/auth.log&lt;br /&gt;########################################################################&lt;br /&gt;&lt;br /&gt;########################################################################&lt;br /&gt;#&lt;br /&gt;# HOSTS_DENY: the file which contains restricted host access information&lt;br /&gt;#&lt;br /&gt;# Most operating systems:&lt;br /&gt;HOSTS_DENY = /etc/hosts.deny&lt;br /&gt;#&lt;br /&gt;# Some BSD (FreeBSD) Unixes:&lt;br /&gt;#HOSTS_DENY = /etc/hosts.allow&lt;br /&gt;#&lt;br /&gt;# Another possibility (also see the next option):&lt;br /&gt;#HOSTS_DENY = /etc/hosts.evil&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;########################################################################&lt;br /&gt;#&lt;br /&gt;# PURGE_DENY: removed HOSTS_DENY entries that are older than this time&lt;br /&gt;#             when DenyHosts is invoked with the --purge flag&lt;br /&gt;#&lt;br /&gt;#      format is: i[dhwmy]&lt;br /&gt;#      Where 'i' is an integer (eg. 7) &lt;br /&gt;#            'm' = minutes&lt;br /&gt;#            'h' = hours&lt;br /&gt;#            'd' = days&lt;br /&gt;#            'w' = weeks&lt;br /&gt;#            'y' = years&lt;br /&gt;#&lt;br /&gt;# never purge:&lt;br /&gt;PURGE_DENY = &lt;br /&gt;#&lt;br /&gt;# purge entries older than 1 week&lt;br /&gt;#PURGE_DENY = 1w&lt;br /&gt;#&lt;br /&gt;# purge entries older than 5 days&lt;br /&gt;#PURGE_DENY = 5d&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# PURGE_THRESHOLD: defines the maximum times a host will be purged.  &lt;br /&gt;# Once this value has been exceeded then this host will not be purged. &lt;br /&gt;# Setting this parameter to 0 (the default) disables this feature.&lt;br /&gt;#&lt;br /&gt;# default: a denied host can be purged/re-added indefinitely&lt;br /&gt;#PURGE_THRESHOLD = 0&lt;br /&gt;#&lt;br /&gt;# a denied host will be purged at most 2 times. &lt;br /&gt;#PURGE_THRESHOLD = 2 &lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# BLOCK_SERVICE: the service name that should be blocked in HOSTS_DENY&lt;br /&gt;# &lt;br /&gt;# man 5 hosts_access for details&lt;br /&gt;#&lt;br /&gt;# eg.   sshd: 127.0.0.1  # will block sshd logins from 127.0.0.1&lt;br /&gt;#&lt;br /&gt;# To block all services for the offending host:&lt;br /&gt;#BLOCK_SERVICE = ALL&lt;br /&gt;# To block only sshd:&lt;br /&gt;BLOCK_SERVICE  = sshd&lt;br /&gt;# To only record the offending host and nothing else (if using&lt;br /&gt;# an auxilary file to list the hosts).  Refer to: &lt;br /&gt;# http://denyhosts.sourceforge.net/faq.html#aux&lt;br /&gt;#BLOCK_SERVICE =&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DENY_THRESHOLD_INVALID: block each host after the number of failed login &lt;br /&gt;# attempts has exceeded this value.  This value applies to invalid&lt;br /&gt;# user login attempts (eg. non-existent user accounts)&lt;br /&gt;#&lt;br /&gt;DENY_THRESHOLD_INVALID = 5&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DENY_THRESHOLD_VALID: block each host after the number of failed &lt;br /&gt;# login attempts has exceeded this value.  This value applies to valid&lt;br /&gt;# user login attempts (eg. user accounts that exist in /etc/passwd) except&lt;br /&gt;# for the "root" user&lt;br /&gt;#&lt;br /&gt;DENY_THRESHOLD_VALID = 10&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DENY_THRESHOLD_ROOT: block each host after the number of failed &lt;br /&gt;# login attempts has exceeded this value.  This value applies to &lt;br /&gt;# "root" user login attempts only.&lt;br /&gt;#&lt;br /&gt;DENY_THRESHOLD_ROOT = 1&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DENY_THRESHOLD_RESTRICTED: block each host after the number of failed &lt;br /&gt;# login attempts has exceeded this value.  This value applies to &lt;br /&gt;# usernames that appear in the WORK_DIR/restricted-usernames file only.&lt;br /&gt;#&lt;br /&gt;DENY_THRESHOLD_RESTRICTED = 1&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# WORK_DIR: the path that DenyHosts will use for writing data to&lt;br /&gt;# (it will be created if it does not already exist).  &lt;br /&gt;#&lt;br /&gt;# Note: it is recommended that you use an absolute pathname&lt;br /&gt;# for this value (eg. /home/foo/denyhosts/data)&lt;br /&gt;#&lt;br /&gt;WORK_DIR = /var/lib/denyhosts&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS&lt;br /&gt;#&lt;br /&gt;# SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES|NO&lt;br /&gt;# If set to YES, if a suspicious login attempt results from an allowed-host&lt;br /&gt;# then it is considered suspicious.  If this is NO, then suspicious logins &lt;br /&gt;# from allowed-hosts will not be reported.  All suspicious logins from &lt;br /&gt;# ip addresses that are not in allowed-hosts will always be reported.&lt;br /&gt;#&lt;br /&gt;SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# HOSTNAME_LOOKUP&lt;br /&gt;#&lt;br /&gt;# HOSTNAME_LOOKUP=YES|NO&lt;br /&gt;# If set to YES, for each IP address that is reported by Denyhosts,&lt;br /&gt;# the corresponding hostname will be looked up and reported as well&lt;br /&gt;# (if available).&lt;br /&gt;#&lt;br /&gt;HOSTNAME_LOOKUP=YES&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# LOCK_FILE&lt;br /&gt;#&lt;br /&gt;# LOCK_FILE=/path/denyhosts&lt;br /&gt;# If this file exists when DenyHosts is run, then DenyHosts will exit&lt;br /&gt;# immediately.  Otherwise, this file will be created upon invocation&lt;br /&gt;# and deleted upon exit.  This ensures that only one instance is&lt;br /&gt;# running at a time.&lt;br /&gt;#&lt;br /&gt;# Redhat/Fedora:&lt;br /&gt;#LOCK_FILE = /var/lock/subsys/denyhosts&lt;br /&gt;#&lt;br /&gt;# Debian&lt;br /&gt;LOCK_FILE = /var/run/denyhosts.pid&lt;br /&gt;#&lt;br /&gt;# Misc&lt;br /&gt;#LOCK_FILE = /tmp/denyhosts.lock&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       ############ THESE SETTINGS ARE OPTIONAL ############&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# ADMIN_EMAIL: if you would like to receive emails regarding newly&lt;br /&gt;# restricted hosts and suspicious logins, set this address to &lt;br /&gt;# match your email address.  If you do not want to receive these reports&lt;br /&gt;# leave this field blank (or run with the --noemail option)&lt;br /&gt;#&lt;br /&gt;# Multiple email addresses can be delimited by a comma, eg:&lt;br /&gt;# ADMIN_EMAIL = foo@bar.com, bar@foo.com, etc@foobar.com&lt;br /&gt;#&lt;br /&gt;ADMIN_EMAIL = root@localhost&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SMTP_HOST and SMTP_PORT: if DenyHosts is configured to email &lt;br /&gt;# reports (see ADMIN_EMAIL) then these settings specify the &lt;br /&gt;# email server address (SMTP_HOST) and the server port (SMTP_PORT)&lt;br /&gt;# &lt;br /&gt;#&lt;br /&gt;SMTP_HOST = localhost&lt;br /&gt;SMTP_PORT = 25&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;# &lt;br /&gt;# SMTP_USERNAME and SMTP_PASSWORD: set these parameters if your &lt;br /&gt;# smtp email server requires authentication&lt;br /&gt;#&lt;br /&gt;#SMTP_USERNAME=foo&lt;br /&gt;#SMTP_PASSWORD=bar&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SMTP_FROM: you can specify the "From:" address in messages sent&lt;br /&gt;# from DenyHosts when it reports thwarted abuse attempts&lt;br /&gt;#&lt;br /&gt;SMTP_FROM = DenyHosts &lt;nobody@localhost&gt;&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SMTP_SUBJECT: you can specify the "Subject:" of messages sent&lt;br /&gt;# by DenyHosts when it reports thwarted abuse attempts&lt;br /&gt;SMTP_SUBJECT = DenyHosts Report&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# SMTP_DATE_FORMAT: specifies the format used for the "Date:" header&lt;br /&gt;# when sending email messages.&lt;br /&gt;#&lt;br /&gt;# for possible values for this parameter refer to: man strftime&lt;br /&gt;#&lt;br /&gt;# the default:&lt;br /&gt;#&lt;br /&gt;#SMTP_DATE_FORMAT = %a, %d %b %Y %H:%M:%S %z&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# SYSLOG_REPORT&lt;br /&gt;#&lt;br /&gt;# SYSLOG_REPORT=YES|NO&lt;br /&gt;# If set to yes, when denied hosts are recorded the report data&lt;br /&gt;# will be sent to syslog (syslog must be present on your system).&lt;br /&gt;# The default is: NO&lt;br /&gt;#&lt;br /&gt;#SYSLOG_REPORT=NO&lt;br /&gt;#&lt;br /&gt;#SYSLOG_REPORT=YES&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# ALLOWED_HOSTS_HOSTNAME_LOOKUP&lt;br /&gt;#&lt;br /&gt;# ALLOWED_HOSTS_HOSTNAME_LOOKUP=YES|NO&lt;br /&gt;# If set to YES, for each entry in the WORK_DIR/allowed-hosts file,&lt;br /&gt;# the hostname will be looked up.  If your versions of tcp_wrappers&lt;br /&gt;# and sshd sometimes log hostnames in addition to ip addresses&lt;br /&gt;# then you may wish to specify this option.&lt;br /&gt;# &lt;br /&gt;#ALLOWED_HOSTS_HOSTNAME_LOOKUP=NO&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;###################################################################### &lt;br /&gt;# &lt;br /&gt;# AGE_RESET_VALID: Specifies the period of time between failed login&lt;br /&gt;# attempts that, when exceeded will result in the failed count for &lt;br /&gt;# this host to be reset to 0.  This value applies to login attempts &lt;br /&gt;# to all valid users (those within /etc/passwd) with the &lt;br /&gt;# exception of root.  If not defined, this count will never&lt;br /&gt;# be reset.&lt;br /&gt;#&lt;br /&gt;# See the comments in the PURGE_DENY section (above) &lt;br /&gt;# for details on specifying this value or for complete details &lt;br /&gt;# refer to:  http://denyhosts.sourceforge.net/faq.html#timespec&lt;br /&gt;#&lt;br /&gt;AGE_RESET_VALID=5d&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;###################################################################### &lt;br /&gt;# &lt;br /&gt;# AGE_RESET_ROOT: Specifies the period of time between failed login&lt;br /&gt;# attempts that, when exceeded will result in the failed count for &lt;br /&gt;# this host to be reset to 0.  This value applies to all login &lt;br /&gt;# attempts to the "root" user account.  If not defined,&lt;br /&gt;# this count will never be reset.&lt;br /&gt;#&lt;br /&gt;# See the comments in the PURGE_DENY section (above) &lt;br /&gt;# for details on specifying this value or for complete details &lt;br /&gt;# refer to:  http://denyhosts.sourceforge.net/faq.html#timespec&lt;br /&gt;#&lt;br /&gt;AGE_RESET_ROOT=25d&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;###################################################################### &lt;br /&gt;# &lt;br /&gt;# AGE_RESET_RESTRICTED: Specifies the period of time between failed login&lt;br /&gt;# attempts that, when exceeded will result in the failed count for &lt;br /&gt;# this host to be reset to 0.  This value applies to all login &lt;br /&gt;# attempts to entries found in the WORK_DIR/restricted-usernames file.  &lt;br /&gt;# If not defined, the count will never be reset.&lt;br /&gt;#&lt;br /&gt;# See the comments in the PURGE_DENY section (above) &lt;br /&gt;# for details on specifying this value or for complete details &lt;br /&gt;# refer to:  http://denyhosts.sourceforge.net/faq.html#timespec&lt;br /&gt;#&lt;br /&gt;AGE_RESET_RESTRICTED=25d&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;###################################################################### &lt;br /&gt;# &lt;br /&gt;# AGE_RESET_INVALID: Specifies the period of time between failed login&lt;br /&gt;# attempts that, when exceeded will result in the failed count for &lt;br /&gt;# this host to be reset to 0.  This value applies to login attempts &lt;br /&gt;# made to any invalid username (those that do not appear &lt;br /&gt;# in /etc/passwd).  If not defined, count will never be reset.&lt;br /&gt;#&lt;br /&gt;# See the comments in the PURGE_DENY section (above) &lt;br /&gt;# for details on specifying this value or for complete details &lt;br /&gt;# refer to:  http://denyhosts.sourceforge.net/faq.html#timespec&lt;br /&gt;#&lt;br /&gt;AGE_RESET_INVALID=10d&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# RESET_ON_SUCCESS: If this parameter is set to "yes" then the&lt;br /&gt;# failed count for the respective ip address will be reset to 0&lt;br /&gt;# if the login is successful.  &lt;br /&gt;#&lt;br /&gt;# The default is RESET_ON_SUCCESS = no&lt;br /&gt;#&lt;br /&gt;#RESET_ON_SUCCESS = yes&lt;br /&gt;#&lt;br /&gt;#####################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# PLUGIN_DENY: If set, this value should point to an executable&lt;br /&gt;# program that will be invoked when a host is added to the&lt;br /&gt;# HOSTS_DENY file.  This executable will be passed the host&lt;br /&gt;# that will be added as its only argument.&lt;br /&gt;#&lt;br /&gt;#PLUGIN_DENY=/usr/bin/true&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# PLUGIN_PURGE: If set, this value should point to an executable&lt;br /&gt;# program that will be invoked when a host is removed from the&lt;br /&gt;# HOSTS_DENY file.  This executable will be passed the host&lt;br /&gt;# that is to be purged as its only argument.&lt;br /&gt;#&lt;br /&gt;#PLUGIN_PURGE=/usr/bin/true&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;######################################################################&lt;br /&gt;#&lt;br /&gt;# USERDEF_FAILED_ENTRY_REGEX: if set, this value should contain&lt;br /&gt;# a regular expression that can be used to identify additional&lt;br /&gt;# hackers for your particular ssh configuration.  This functionality&lt;br /&gt;# extends the built-in regular expressions that DenyHosts uses.&lt;br /&gt;# This parameter can be specified multiple times.&lt;br /&gt;# See this faq entry for more details:&lt;br /&gt;#    http://denyhosts.sf.net/faq.html#userdef_regex&lt;br /&gt;#&lt;br /&gt;#USERDEF_FAILED_ENTRY_REGEX=&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   ######### THESE SETTINGS ARE SPECIFIC TO DAEMON MODE  ##########&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DAEMON_LOG: when DenyHosts is run in daemon mode (--daemon flag)&lt;br /&gt;# this is the logfile that DenyHosts uses to report its status.&lt;br /&gt;# To disable logging, leave blank.  (default is: /var/log/denyhosts)&lt;br /&gt;#&lt;br /&gt;DAEMON_LOG = /var/log/denyhosts&lt;br /&gt;#&lt;br /&gt;# disable logging:&lt;br /&gt;#DAEMON_LOG = &lt;br /&gt;#&lt;br /&gt;######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;# &lt;br /&gt;# DAEMON_LOG_TIME_FORMAT: when DenyHosts is run in daemon mode &lt;br /&gt;# (--daemon flag) this specifies the timestamp format of &lt;br /&gt;# the DAEMON_LOG messages (default is the ISO8061 format:&lt;br /&gt;# ie. 2005-07-22 10:38:01,745)&lt;br /&gt;#&lt;br /&gt;# for possible values for this parameter refer to: man strftime&lt;br /&gt;#&lt;br /&gt;# Jan 1 13:05:59   &lt;br /&gt;#DAEMON_LOG_TIME_FORMAT = %b %d %H:%M:%S&lt;br /&gt;#&lt;br /&gt;# Jan 1 01:05:59 &lt;br /&gt;#DAEMON_LOG_TIME_FORMAT = %b %d %I:%M:%S&lt;br /&gt;#&lt;br /&gt;###################################################################### &lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;# &lt;br /&gt;# DAEMON_LOG_MESSAGE_FORMAT: when DenyHosts is run in daemon mode &lt;br /&gt;# (--daemon flag) this specifies the message format of each logged&lt;br /&gt;# entry.  By default the following format is used:&lt;br /&gt;#&lt;br /&gt;# %(asctime)s - %(name)-12s: %(levelname)-8s %(message)s&lt;br /&gt;#&lt;br /&gt;# Where the "%(asctime)s" portion is expanded to the format&lt;br /&gt;# defined by DAEMON_LOG_TIME_FORMAT&lt;br /&gt;#&lt;br /&gt;# This string is passed to python's logging.Formatter contstuctor.&lt;br /&gt;# For details on the possible format types please refer to:&lt;br /&gt;# http://docs.python.org/lib/node357.html&lt;br /&gt;#&lt;br /&gt;# This is the default:&lt;br /&gt;#DAEMON_LOG_MESSAGE_FORMAT = %(asctime)s - %(name)-12s: %(levelname)-8s %(message)s&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;###################################################################### &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DAEMON_SLEEP: when DenyHosts is run in daemon mode (--daemon flag)&lt;br /&gt;# this is the amount of time DenyHosts will sleep between polling&lt;br /&gt;# the SECURE_LOG.  See the comments in the PURGE_DENY section (above)&lt;br /&gt;# for details on specifying this value or for complete details&lt;br /&gt;# refer to:    http://denyhosts.sourceforge.net/faq.html#timespec&lt;br /&gt;# &lt;br /&gt;#&lt;br /&gt;DAEMON_SLEEP = 30s&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# DAEMON_PURGE: How often should DenyHosts, when run in daemon mode,&lt;br /&gt;# run the purge mechanism to expire old entries in HOSTS_DENY&lt;br /&gt;# This has no effect if PURGE_DENY is blank.&lt;br /&gt;#&lt;br /&gt;DAEMON_PURGE = 1h&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   #########   THESE SETTINGS ARE SPECIFIC TO     ##########&lt;br /&gt;   #########       DAEMON SYNCHRONIZATION         ##########&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# Synchronization mode allows the DenyHosts daemon the ability&lt;br /&gt;# to periodically send and receive denied host data such that &lt;br /&gt;# DenyHosts daemons worldwide can automatically inform one&lt;br /&gt;# another regarding banned hosts.   This mode is disabled by&lt;br /&gt;# default, you must uncomment SYNC_SERVER to enable this mode.&lt;br /&gt;#&lt;br /&gt;# for more information, please refer to: &lt;br /&gt;#        http:/denyhosts.sourceforge.net/faq.html#sync &lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_SERVER: The central server that communicates with DenyHost&lt;br /&gt;# daemons.  Currently, denyhosts.net is the only available server&lt;br /&gt;# however, in the future, it may be possible for organizations to&lt;br /&gt;# install their own server for internal network synchronization&lt;br /&gt;#&lt;br /&gt;# To disable synchronization (the default), do nothing. &lt;br /&gt;#&lt;br /&gt;# To enable synchronization, you must uncomment the following line:&lt;br /&gt;#SYNC_SERVER = http://xmlrpc.denyhosts.net:9911&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_INTERVAL: the interval of time to perform synchronizations if&lt;br /&gt;# SYNC_SERVER has been uncommented.  The default is 1 hour.&lt;br /&gt;# &lt;br /&gt;#SYNC_INTERVAL = 1h&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_UPLOAD: allow your DenyHosts daemon to transmit hosts that have&lt;br /&gt;# been denied?  This option only applies if SYNC_SERVER has&lt;br /&gt;# been uncommented.&lt;br /&gt;# The default is SYNC_UPLOAD = yes&lt;br /&gt;#&lt;br /&gt;#SYNC_UPLOAD = no&lt;br /&gt;#SYNC_UPLOAD = yes&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_DOWNLOAD: allow your DenyHosts daemon to receive hosts that have&lt;br /&gt;# been denied by others?  This option only applies if SYNC_SERVER has&lt;br /&gt;# been uncommented.&lt;br /&gt;# The default is SYNC_DOWNLOAD = yes&lt;br /&gt;#&lt;br /&gt;#SYNC_DOWNLOAD = no&lt;br /&gt;#SYNC_DOWNLOAD = yes&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_DOWNLOAD_THRESHOLD: If SYNC_DOWNLOAD is enabled this parameter&lt;br /&gt;# filters the returned hosts to those that have been blocked this many&lt;br /&gt;# times by others.  That is, if set to 1, then if a single DenyHosts&lt;br /&gt;# server has denied an ip address then you will receive the denied host.&lt;br /&gt;# &lt;br /&gt;# See also SYNC_DOWNLOAD_RESILIENCY&lt;br /&gt;#&lt;br /&gt;#SYNC_DOWNLOAD_THRESHOLD = 10&lt;br /&gt;#&lt;br /&gt;# The default is SYNC_DOWNLOAD_THRESHOLD = 3 &lt;br /&gt;#&lt;br /&gt;#SYNC_DOWNLOAD_THRESHOLD = 3&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;#&lt;br /&gt;# SYNC_DOWNLOAD_RESILIENCY:  If SYNC_DOWNLOAD is enabled then the&lt;br /&gt;# value specified for this option limits the downloaded data&lt;br /&gt;# to this resiliency period or greater.&lt;br /&gt;#&lt;br /&gt;# Resiliency is defined as the timespan between a hackers first known &lt;br /&gt;# attack and its most recent attack.  Example:&lt;br /&gt;# &lt;br /&gt;# If the centralized   denyhosts.net server records an attack at 2 PM &lt;br /&gt;# and then again at 5 PM, specifying a SYNC_DOWNLOAD_RESILIENCY = 4h &lt;br /&gt;# will not download this ip address.&lt;br /&gt;#&lt;br /&gt;# However, if the attacker is recorded again at 6:15 PM then the &lt;br /&gt;# ip address will be downloaded by your DenyHosts instance.  &lt;br /&gt;#&lt;br /&gt;# This value is used in conjunction with the SYNC_DOWNLOAD_THRESHOLD &lt;br /&gt;# and only hosts that satisfy both values will be downloaded.  &lt;br /&gt;# This value has no effect if SYNC_DOWNLOAD_THRESHOLD = 1 &lt;br /&gt;#&lt;br /&gt;# The default is SYNC_DOWNLOAD_RESILIENCY = 5h (5 hours)&lt;br /&gt;#&lt;br /&gt;# Only obtain hackers that have been at it for 2 days or more:&lt;br /&gt;#SYNC_DOWNLOAD_RESILIENCY = 2d&lt;br /&gt;#&lt;br /&gt;# Only obtain hackers that have been at it for 5 hours or more:&lt;br /&gt;#SYNC_DOWNLOAD_RESILIENCY = 5h&lt;br /&gt;#&lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I recommend to restart Denyhosts after making any changes:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/denyhosts restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After i have installed it, i already saw some ips which where trying to access ssh with root user (and other) in my "/var/log/auth.log" file.&lt;br /&gt;&lt;br /&gt;You should take a look at this file, it easy to configure as every step is well documented.&lt;br /&gt;&lt;br /&gt;The files to see the results are these:&lt;br /&gt;&lt;br /&gt;The log for all authentifications:&lt;br /&gt;&lt;div id="code"&gt;sudo nano /var/log/auth.log&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The log with all deny ips:&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/hosts.deny&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;List of hosts that are allowed to access the system:&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/hosts.allow&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.ubuntugeek.com/securing-ssh.html" target="_blank"&gt;Ubuntugeek&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/showthread.php?t=254149" target="_blank"&gt;Ubuntu forums 1&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/showthread.php?t=450853" target="_blank"&gt;Ubuntu Forums 2&lt;/a&gt;, &lt;a href="http://www.howtoforge.com/preventing_ssh_dictionary_attacks_with_denyhosts" target="_blank"&gt;HowToForge&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-329830787343007343?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/329830787343007343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/protect-your-ubuntu-ssh-server-with.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/329830787343007343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/329830787343007343'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/protect-your-ubuntu-ssh-server-with.html' title='Protect your Ubuntu SSH server with Denyhosts'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-1521220942772491632</id><published>2009-12-06T07:59:00.000-08:00</published><updated>2010-10-22T23:30:18.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Using Crontab in Ubuntu</title><content type='html'>Crontab can run scripts at regular intervals and perform various tasks. Those intervals can be from 1 minute to 1 year, repeatedly.&lt;br /&gt;&lt;br /&gt;To list current crontabs:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -l&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can create a crontab file by entering the following terminal command:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -e&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;A crontab file has six fields for specifying minute, hour, day of month, month, day of week and the command to be run at that interval:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;&lt;pre&gt;*     *     *     *     *  command to be executed&lt;br /&gt;-     -     -     -     -&lt;br /&gt;|     |     |     |     |&lt;br /&gt;|     |     |     |     +----- day of week (0 - 6) (Sunday=0)&lt;br /&gt;|     |     |     +------- month (1 - 12)&lt;br /&gt;|     |     +--------- day of month (1 - 31)&lt;br /&gt;|     +----------- hour (0 - 23)&lt;br /&gt;+------------- min (0 - 59)&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Some examples:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;* * * * * &lt;command&gt; #Runs every minute&lt;br /&gt;*/5 * * * * &lt;command&gt; #Runs at every 5 minutes&lt;br /&gt;30 * * * * &lt;command&gt; #Runs at 30 minutes past the hour&lt;br /&gt;45 6 * * * &lt;command&gt; #Runs at 6:45 am every day&lt;br /&gt;45 18 * * * &lt;command&gt; #Runs at 6:45 pm every day&lt;br /&gt;00 1 * * 0 &lt;command&gt; #Runs at 1:00 am every Sunday&lt;br /&gt;00 1 * * 7 &lt;command&gt; #Runs at 1:00 am every Sunday&lt;br /&gt;00 1 * * Sun &lt;command&gt; #Runs at 1:00 am every Sunday&lt;br /&gt;30 8 1 * * &lt;command&gt; #Runs at 8:30 am on the first day of every month&lt;br /&gt;00 0-23/2 02 07 * &lt;command&gt; #Runs every other hour on the 2nd of July&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can also use some special strings:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;@reboot &lt;command&gt; #Runs at boot&lt;br /&gt;@yearly &lt;command&gt; #Runs once a year [0 0 1 1 *]&lt;br /&gt;@annually &lt;command&gt; #Runs once a year [0 0 1 1 *]&lt;br /&gt;@monthly &lt;command&gt; #Runs once a month [0 0 1 * *]&lt;br /&gt;@weekly &lt;command&gt; #Runs once a week [0 0 * * 0]&lt;br /&gt;@daily &lt;command&gt; #Runs once a day [0 0 * * *]&lt;br /&gt;@midnight &lt;command&gt; #Runs once a day [0 0 * * *]&lt;br /&gt;@hourly &lt;command&gt; #Runs once an hour [0 * * * *]&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can use multiple commands for the same crontab:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;@daily &amp;lt;command_01&amp;gt; &amp;&amp; &amp;lt;command_02&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Specifying a crontab file to use&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -u &lt;username&gt; &lt;crontab file&gt;&lt;/div&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -u tux ~/crontab&lt;/div&gt;&lt;br /&gt;-would set Tux's crontab file to that of the file named "crontab" residing in Tux's home directory.&lt;br /&gt;&lt;br /&gt;To remove a crontab file for current user:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo crontab -r&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/CronHowto" target="_blank"&gt;Ubuntu.com&lt;/a&gt;, &lt;a href="http://crunchbang.org/archives/2007/10/26/howto-setup-a-crontab-file/" target="_blank"&gt;Crunchbang&lt;/a&gt;, &lt;a href="http://articles.sitepoint.com/article/introducing-cron" target="_blank"&gt;PHP cronfile Sitepoint&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-1521220942772491632?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/1521220942772491632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/using-crontab-in-ubuntu.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1521220942772491632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/1521220942772491632'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/12/using-crontab-in-ubuntu.html' title='Using Crontab in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-7458798166417949405</id><published>2009-11-29T00:44:00.000-08:00</published><updated>2009-12-07T11:08:20.314-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Configure start-up script to configure network (ICS, setting up NIC, etc)</title><content type='html'>&lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-network-interfaces-in-ubuntu.html"&gt;Setting up a network interface&lt;/a&gt; and ICS are easy tasks. But as an alternative you can do it without modifying those config files, by running some start-up scripts.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.Let's say we want to set up a network interface, we would have:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Make a start-up script:&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/startup&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We paste this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/sh&lt;br /&gt;sudo ifconfig eth0 192.168.0.1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/startup&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we add it to system start-up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d startup defaults&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now, every time your system boots Ubuntu, you would have your network interface configured automatically.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.It's quite the same with ICS (&lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-internet-connection-sharing.html"&gt;Internet connection sharing&lt;/a&gt;):&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Assuming that your &lt;i&gt;&lt;b&gt;eth0&lt;/b&gt;&lt;/i&gt; nic is the local area network and &lt;i&gt;&lt;b&gt;eth1&lt;/b&gt;&lt;/i&gt; is the wide area network (internet), we add this lines in our "/etc/init.d/startup" file made above:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -A FORWARD -i eth1 -o eth0 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT&lt;br /&gt;sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;sudo iptables -A POSTROUTING -t nat -j MASQUERADE&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-7458798166417949405?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/7458798166417949405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-start-up-script-to-configure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7458798166417949405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/7458798166417949405'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-start-up-script-to-configure.html' title='Configure start-up script to configure network (ICS, setting up NIC, etc)'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6833896106538137262</id><published>2009-11-28T06:38:00.002-08:00</published><updated>2009-12-06T08:14:51.539-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>All parameters options for users and groups managing commands in Ubuntu</title><content type='html'>Ubuntu is a multi-user operating system. This means that more than one user can be actively logged and using the system at any one time. Obviously, it makes sense for each user to have their own user account and home directory, and for different users to have different privileges.&lt;br /&gt;&lt;br /&gt;The commands used here are: "&lt;b&gt;useradd&lt;/b&gt;, &lt;b&gt;usermod&lt;/b&gt;, &lt;b&gt;userdel&lt;/b&gt;, &lt;b&gt;groupadd&lt;/b&gt;, &lt;b&gt;groupmod&lt;/b&gt;, &lt;b&gt;groupdel&lt;/b&gt;".&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Useradd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: useradd [options] LOGIN&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;table style="margin: 0px;" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="170"&gt;-b, --base-dir BASE_DIR&lt;/td&gt;&lt;td&gt;base directory for the new user account home directory&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-c, --comment COMMENT&lt;/td&gt;&lt;td&gt;set the GECOS field for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-D, --defaults&lt;/td&gt;&lt;td&gt;print or save modified default useradd configuration&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-e, --expiredate EXPIRE_DATE&lt;/td&gt;&lt;td&gt;set account expiration date to EXPIRE_DATE&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-f, --inactive INACTIVE&lt;/td&gt;&lt;td&gt;set password inactive after expiration to INACTIVE&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-g, --gid GROUP&lt;/td&gt;&lt;td&gt;force use GROUP for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-G, --groups GROUPS&lt;/td&gt;&lt;td&gt;list of supplementary groups for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-h, --help&lt;/td&gt;&lt;td&gt;display this help message and exit&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-k, --skel SKEL_DIR&lt;/td&gt;&lt;td&gt;specify an alternative skel directory&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-K, --key KEY=VALUE&lt;/td&gt;&lt;td&gt;overrides /etc/login.defs defaults&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-l, --no-log-init&lt;/td&gt;&lt;td&gt;do not add the user to the lastlog and faillog databases&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-m, --create-home&lt;/td&gt;&lt;td&gt;create home directory for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-M, --no-create-home&lt;/td&gt;&lt;td&gt;do not create user's home directory (overrides /etc/login.defs)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-N, --no-user-group&lt;/td&gt;&lt;td&gt;do not create a group with the same name as the user&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-o, --non-unique&lt;/td&gt;&lt;td&gt;allow create user with duplicate (non-unique) UID&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-p, --password PASSWORD&lt;/td&gt;&lt;td&gt;use encrypted password for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-r, --system&lt;/td&gt;&lt;td&gt;create a system account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-s, --shell SHELL&lt;/td&gt;&lt;td&gt;the login shell for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-u, --uid UID&lt;/td&gt;&lt;td&gt;force use the UID for the new user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-U, --user-group&lt;/td&gt;&lt;td&gt;create a group with the same name as the user&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-Z, --selinux-user SEUSER&lt;/td&gt;&lt;td&gt;use a specific SEUSER for the SELinux user mapping&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usermod&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: usermod [options] LOGIN&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;table style="margin: 0px;" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="170"&gt;-c, --comment COMMENT&lt;/td&gt;&lt;td&gt;new value of the GECOS field&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-d, --home HOME_DIR&lt;/td&gt;&lt;td&gt;new home directory for the user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-e, --expiredate EXPIRE_DATE&lt;/td&gt;&lt;td&gt;set account expiration date to EXPIRE_DATE&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-f, --inactive INACTIVE&lt;/td&gt;&lt;td&gt;set password inactive after expiration to INACTIVE&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-g, --gid GROUP&lt;/td&gt;&lt;td&gt;force use GROUP as new primary group&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-G, --groups GROUPS&lt;/td&gt;&lt;td&gt;new list of supplementary GROUPS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-a, --append&lt;/td&gt;&lt;td&gt;append the user to the supplemental GROUPS mentioned by the -G option without removing him/her from other groups&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-h, --help&lt;/td&gt;&lt;td&gt;display this help message and exit&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-l, --login NEW_LOGIN&lt;/td&gt;&lt;td&gt;new value of the login name&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-L, --lock&lt;/td&gt;&lt;td&gt;lock the user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-m, --move-home&lt;/td&gt;&lt;td&gt;move contents of the home directory to the new location (use only with -d)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-o, --non-unique&lt;/td&gt;&lt;td&gt;allow using duplicate (non-unique) UID&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-p, --password PASSWORD&lt;/td&gt;&lt;td&gt;use encrypted password for the new password&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-s, --shell SHELL&lt;/td&gt;&lt;td&gt;new login shell for the user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-u, --uid UID&lt;/td&gt;&lt;td&gt;new UID for the user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-U, --unlock&lt;/td&gt;&lt;td&gt;unlock the user account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-Z, --selinux-user&lt;/td&gt;&lt;td&gt;new SELinux user mapping for the user account&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Userdel&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: userdel [options] LOGIN&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;table style="margin: 0px;" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="170"&gt;-f, --force&lt;/td&gt;&lt;td&gt;force removal of files, even if not owned by user&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-h, --help&lt;/td&gt;&lt;td&gt;display this help message and exit&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-r, --remove&lt;/td&gt;&lt;td&gt;remove home directory and mail spool&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;groupadd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: groupadd [options] GROUP&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;table style="margin: 0px;" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="170"&gt;-f, --force&lt;/td&gt;&lt;td&gt;force exit with success status if the specified group already exists&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-g, --gid GID&lt;/td&gt;&lt;td&gt;use GID for the new group&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-h, --help&lt;/td&gt;&lt;td&gt;display this help message and exit&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-K, --key KEY=VALUE&lt;/td&gt;&lt;td&gt;overrides /etc/login.defs defaults&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-o, --non-unique&lt;/td&gt;&lt;td&gt;allow create group with duplicate (non-unique) GID&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-p, --password PASSWORD&lt;/td&gt;&lt;td&gt;use encrypted password for the new group&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-r, --system&lt;/td&gt;&lt;td&gt;create a system account&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;groupmod&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: groupmod [options] GROUP&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&lt;table style="margin: 0px;" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="170"&gt;-g, --gid GID&lt;/td&gt;&lt;td&gt;force use new GID by GROUP&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-h, --help&lt;/td&gt;&lt;td&gt;display this help message and exit&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-n, --new-name NEW_GROUP&lt;/td&gt;&lt;td&gt;force use NEW_GROUP name by GROUP&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-o, --non-unique&lt;/td&gt;&lt;td&gt;allow using duplicate (non-unique) GID by GROUP&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-p, --password PASSWORD&lt;/td&gt;&lt;td&gt;use encrypted password for the new password&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;groupdel&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usage: groupdel group&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.techotopia.com/index.php/Managing_Ubuntu_Linux_Users_and_Groups" target="_blank"&gt;techotopia.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6833896106538137262?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6833896106538137262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/all-parameters-options-for-users-and_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6833896106538137262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6833896106538137262'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/all-parameters-options-for-users-and_28.html' title='All parameters options for users and groups managing commands in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-8327729778367942255</id><published>2009-11-26T13:13:00.000-08:00</published><updated>2009-11-26T13:22:29.833-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openfire'/><title type='text'>Uninstall OpenFire from Ubuntu system</title><content type='html'>This tutorial is usefull if you have installed OpenFire as described &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/install-openfire-on-ubuntu.html" target="_blank"&gt;here&lt;/a&gt;. I've not tested other methods.&lt;br /&gt;&lt;br /&gt;Terminate the running application:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/openfire stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Remove it from services:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d -f openfire remove&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Remove the start-up file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo rm /etc/init.d/openfire&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Delete all the files located at /opt/openfire :&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo rm -rf /opt/openfire&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And finally, if you have used a mysql database for the application, you can remove the table used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-8327729778367942255?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/8327729778367942255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/uninstall-openfire-from-ubuntu-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8327729778367942255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/8327729778367942255'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/uninstall-openfire-from-ubuntu-system.html' title='Uninstall OpenFire from Ubuntu system'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5473195129410261984</id><published>2009-11-26T07:42:00.001-08:00</published><updated>2009-12-06T08:15:11.498-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Install Webmin on Ubuntu server</title><content type='html'>&lt;a href="http://www.webmin.com" target="_blank"&gt;Webmin&lt;/a&gt; is a web interface for configuring your linux box. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more, and all can be done remotely.&lt;br /&gt;&lt;br /&gt;You need to install first some perl-related libraries required by webmin:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we can download the latest webmin archive (this might change in time). We choose debian package .deb.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;wget http://www.webmin.com/download/deb/webmin-current.deb&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We install it by typing:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo dpkg -i webmin_1.490_all.deb&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Note: your downloaded version may differ. Just use the deb package you’ve just downloaded. You can see the files of your current location by typing:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;dir&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now you can access webmin by putting this adress into your browser:&lt;br /&gt;&lt;br /&gt;https://[serverIP]:10000&lt;br /&gt;&lt;br /&gt;Screenshots:&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://4.bp.blogspot.com/_6scBS6B6cww/Sw6kl1CY-aI/AAAAAAAAAPo/Zs-E9wMbyMY/s1600/2009-10-29_1622.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;width: 200px; height: 138px;" src="http://4.bp.blogspot.com/_6scBS6B6cww/Sw6kl1CY-aI/AAAAAAAAAPo/Zs-E9wMbyMY/s200/2009-10-29_1622.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/_6scBS6B6cww/Sw6kweSkwhI/AAAAAAAAAPw/XK8nG7O4gS8/s1600/2009-10-29_1623.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;width: 200px; height: 138px;" src="http://2.bp.blogspot.com/_6scBS6B6cww/Sw6kweSkwhI/AAAAAAAAAPw/XK8nG7O4gS8/s200/2009-10-29_1623.png" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://www.webxpert.ro/andrei/2009/10/29/install-webmin-on-ubuntu-server-or-desktop-9-10-karmic-koala/" target="_blank"&gt;Webxpert&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5473195129410261984?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5473195129410261984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/install-webmin-on-ubuntu-server.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5473195129410261984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5473195129410261984'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/install-webmin-on-ubuntu-server.html' title='Install Webmin on Ubuntu server'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_6scBS6B6cww/Sw6kl1CY-aI/AAAAAAAAAPo/Zs-E9wMbyMY/s72-c/2009-10-29_1622.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-4341409059261014835</id><published>2009-11-25T11:52:00.000-08:00</published><updated>2009-11-26T08:13:41.440-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><title type='text'>Terminal clock in Ubuntu</title><content type='html'>&lt;b&gt;Live clock:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;watch -n 1 echo ""&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;or&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;while true; do date; echo -ne "\033[1F"; sleep 1; done&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;or make an executable&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;make a file&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/liveclock&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;enter this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/bash&lt;br /&gt;# clock - A bash clock that can run in your terminal window. &lt;br /&gt;while true;do clear;date +"%r";sleep 1;done&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/liveclock&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-4341409059261014835?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/4341409059261014835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/terminal-clock-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4341409059261014835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4341409059261014835'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/terminal-clock-in-ubuntu.html' title='Terminal clock in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5241373939785979196</id><published>2009-11-25T11:36:00.001-08:00</published><updated>2009-12-07T10:33:20.000-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Configure internet connection sharing in Ubuntu</title><content type='html'>Before we continue the following tutorial, you have to make sure that you have &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-network-interfaces-in-ubuntu.html"&gt;configured network interfaces&lt;/a&gt; and that you are having a working internet connection. In our example we are going to use &lt;b&gt;&lt;i&gt;eth0&lt;/i&gt;&lt;/b&gt; as local area network (ip 192.168.0.1) and &lt;b&gt;&lt;i&gt;eth1&lt;/i&gt;&lt;/b&gt; as wide are network.&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -A FORWARD -i eth1 -o eth0 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT&lt;/div&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Finally we made NAT:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo iptables -A POSTROUTING -t nat -j MASQUERADE&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Configure the gateway for routing between two interfaces by enabling IP forwarding: &lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo sh -c "echo 1 &gt; /proc/sys/net/ipv4/ip_forward"&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Edit /etc/sysctl.conf and add these lines or uncomment by removing # or ; in front of them if they are commented:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;net.ipv4.conf.default.forwarding=1&lt;br /&gt;net.ipv4.conf.all.forwarding=1&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To be able to have this configuration at every start-up, you should do something like &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/configure-start-up-script-to-configure.html"&gt;this example&lt;/a&gt;. Please note that this is just an example. There are many ways to configure ics to run at boot. I found this easier.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/Internet/ConnectionSharing" target="_blank"&gt;Ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5241373939785979196?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5241373939785979196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-internet-connection-sharing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5241373939785979196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5241373939785979196'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-internet-connection-sharing.html' title='Configure internet connection sharing in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-97927035457736049</id><published>2009-11-25T11:33:00.001-08:00</published><updated>2009-12-30T09:05:48.610-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Start, stop and remove AppArmor in Ubuntu</title><content type='html'>AppArmor is a security extension (similar to SELinux) that should provide extended security, which usually causes more problems than advantages.&lt;br /&gt;AppArmor was first made available to Ubuntu in Ubuntu 7.04 in Universe. AppArmor is usually installed and loaded by default.&lt;br /&gt;&lt;br /&gt;Stop AppArmor:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/apparmor stop&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Start AppArmor:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/apparmor start&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Reloading AppArmor profiles:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/apparmor reload&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Remove from services (it doesn't load anymore at system start-up). First you need to stop it as shown above:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d -f apparmor remove&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Install the AppArmor service:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d apparmor defaults&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To see the status of service:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apparmor_status&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After reboot i have noticed that apparmor is still running even after being removed from system start-up. So, i have uninstalled it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get remove apparmor&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/AppArmor" target="_blank"&gt;Ubuntu.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-97927035457736049?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/97927035457736049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/start-stop-and-remove-apparmor-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/97927035457736049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/97927035457736049'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/start-stop-and-remove-apparmor-in.html' title='Start, stop and remove AppArmor in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-5950539285302494558</id><published>2009-11-25T11:13:00.001-08:00</published><updated>2009-11-25T12:25:13.066-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Configure the network interfaces in Ubuntu</title><content type='html'>Short explanation for the following: The &lt;i&gt;&lt;b&gt;eth0&lt;/b&gt;&lt;/i&gt; is your first network adapter, &lt;i&gt;&lt;b&gt;eth1&lt;/b&gt;&lt;/i&gt; is the second, and so on. The &lt;i&gt;&lt;b&gt;lo&lt;/b&gt;&lt;/i&gt; is the loopback adapter that has the local adress 127.0.0.1, and you should not chance it.&lt;br /&gt;&lt;br /&gt;See the status of your network cards:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ifconfig&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To see the status of a particular NIC:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ifconfig eth0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To set a static ip adress to &lt;i&gt;eth0&lt;/i&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ifconfig eth0 192.168.0.1 netmask 255.255.255.0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Shutting down &lt;i&gt;eth0&lt;/i&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ifconfig eth0 down&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Bring up &lt;i&gt;eth0&lt;/i&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo ifconfig eth0 up&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Edit Network configuration file&lt;/b&gt; /etc/network/interfaces and adjust it to your needs:&lt;br /&gt;&lt;br /&gt;But first make a backup of it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo cp /etc/network/interfaces /etc/network/interfaces.bak&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;and then&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/network/interfaces&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The file should look something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;# This file describes the network interfaces available on your system&lt;br /&gt;# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;&lt;br /&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet static&lt;br /&gt;        address 192.168.0.101&lt;br /&gt;        netmask 255.255.255.0&lt;br /&gt;        network 192.168.0.0&lt;br /&gt;        broadcast 192.168.0.255&lt;br /&gt;        gateway 192.168.0.1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The configuration above has the &lt;i&gt;eth0&lt;/i&gt; adapter as static adress with ip 192.168.0.101, netmask 255.255.255.0, gateway 192.168.0.1, etc.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Examples of static and automatic ip adress configuration:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.Configure automatic ip adress for &lt;i&gt;eth0&lt;/i&gt; (if exists a DHCP server):&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2.Configure &lt;i&gt;eth0&lt;/i&gt; static ip adress:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;iface eth0 inet static&lt;br /&gt; address 192.168.0.2&lt;br /&gt; netmask 255.255.255.0&lt;br /&gt; gateway 192.168.0.1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;After you have made any changes, restart networking:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/networking restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Testing the connectivity:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ping -c 3 -W 10 ubuntu.com&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You should see something like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;PING ubuntu.com (82.211.81.166) 56(84) bytes of data.&lt;br /&gt;64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=1 ttl=43 time=99.9 ms&lt;br /&gt;64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=2 ttl=43 time=109 ms&lt;br /&gt;64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=3 ttl=43 time=100 ms&lt;br /&gt;&lt;br /&gt;--- ubuntu.com ping statistics ---&lt;br /&gt;3 packets transmitted, 3 received, 0% packet loss, time 2001ms&lt;br /&gt;rtt min/avg/max/mdev = 99.982/103.450/109.419/4.254 ms&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/8.10/serverguide/C/network-configuration.html" target="_blank"&gt;Ubuntu.com 1&lt;/a&gt; and &lt;a href="https://help.ubuntu.com/community/Router" target="_blank"&gt;Ubuntu.com 2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-5950539285302494558?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/5950539285302494558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-network-interfaces-in-ubuntu.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5950539285302494558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/5950539285302494558'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/configure-network-interfaces-in-ubuntu.html' title='Configure the network interfaces in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-3791430433595821247</id><published>2009-11-21T02:19:00.000-08:00</published><updated>2009-11-21T02:37:56.273-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><title type='text'>Installing and using terminal editor Nano in Ubuntu</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/SwfARsVXNsI/AAAAAAAAAPI/QTd2Zi7nTzU/s1600/nano.jpg"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;" src="http://3.bp.blogspot.com/_6scBS6B6cww/SwfARsVXNsI/AAAAAAAAAPI/QTd2Zi7nTzU/s200/nano.jpg" alt="ubuntu nano editor" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To install the Nano editor:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install nano&lt;/div&gt;&lt;br /&gt;&lt;br clear="left" /&gt;&lt;br /&gt;Editing or making a new file has the same command from terminal, because if it doesn't find a file, is creating it:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano the_file_we_want&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Using keyboard:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CTRL+R&lt;/b&gt; - opens a file with the read file command. The Read File command inserts a file from disk at the current cursor location.&lt;br /&gt;&lt;b&gt;CTRL+O&lt;/b&gt; - Save and Save As are both accomplished with the Write Out command. When prompted, press enter to accept the existing file name. To save as another file name, type in the new name and press Enter, or use the Ctrl-T key combination to use nano's built-in file browser.&lt;br /&gt;&lt;b&gt;CTRL+X&lt;/b&gt; - Closes the file and exits the editor. Type y to save the file, or n to exit nano without saving the file.&lt;br /&gt;&lt;b&gt;CTRL+K&lt;/b&gt; - If no text is marked, it cuts the entire line of text in the "cut buffer".&lt;br /&gt;&lt;b&gt;CTRL+U&lt;/b&gt; - pastes the text in the "cut buffer" into the file.&lt;br /&gt;&lt;b&gt;ALT+A&lt;/b&gt; - is to select a text. Move your cursor at the start of the text you want to select, press the Alt-A and move cursor to the end of the section you want to select.&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/Nano" target="_blank"&gt;Nano Editor&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-3791430433595821247?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/3791430433595821247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/installing-and-using-terminal-editor.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3791430433595821247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/3791430433595821247'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/installing-and-using-terminal-editor.html' title='Installing and using terminal editor Nano in Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6scBS6B6cww/SwfARsVXNsI/AAAAAAAAAPI/QTd2Zi7nTzU/s72-c/nano.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6876612428839707693</id><published>2009-11-21T02:05:00.000-08:00</published><updated>2009-11-21T02:16:48.472-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='verlihub'/><title type='text'>Starting Verlihub on system start-up Ubuntu</title><content type='html'>A little explanation about how to add/remove a program at/from system start-up &lt;a href="http://ubuntu-for-humans.blogspot.com/2009/11/adding-and-removing-service-at-system.html"&gt;can be found here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;We need to make a script which will run at every system start-up. Let's make our script:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/verlihub&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We add these lines in our new file:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/sh&lt;br /&gt;sudo vh_runhub&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Exit the editor and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/verlihub&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we add it to system start-up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d verlihub defaults&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://ubuntuforums.org/showthread.php?t=200443&amp;highlight=verlihub" target="_blank"&gt;Ubuntu Forums 1&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/showthread.php?t=206628" target="_blank"&gt;Ubuntu Forums 2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6876612428839707693?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6876612428839707693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/starting-verlihub-on-system-start-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6876612428839707693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6876612428839707693'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/starting-verlihub-on-system-start-up.html' title='Starting Verlihub on system start-up Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-4244231465557646963</id><published>2009-11-21T01:41:00.000-08:00</published><updated>2009-11-21T02:07:04.278-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='basic commands'/><title type='text'>Adding and removing service at system start-up Ubuntu</title><content type='html'>Adding and removing a script at system start-up is quite easy.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Adding a script at system start-up:&lt;/b&gt;&lt;br /&gt;You need first to have a script. We make one by adding a file at /etc/init.d/&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/init.d/our_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now add this lines:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;#!/bin/sh&lt;br /&gt;sudo /usr/local/bin/your_program&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Exit editor and make it executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod +x /etc/init.d/our_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we adding it to system services:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d our_script defaults&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Removing the script from system start-up:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We make our script non-executable:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo chmod -x /etc/init.d/our_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we can delete the file if we don't plan of using it anymore:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo rm /etc/init.d/our_script&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And remove it from system start-up:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo update-rc.d -f our_script remove&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="https://help.ubuntu.com/community/UbuntuBootupHowto" target="_blank"&gt;UbuntuBootupHowto&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-4244231465557646963?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/4244231465557646963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/adding-and-removing-service-at-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4244231465557646963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/4244231465557646963'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/adding-and-removing-service-at-system.html' title='Adding and removing service at system start-up Ubuntu'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1561229407849662174.post-6555384459271309162</id><published>2009-11-20T12:34:00.000-08:00</published><updated>2009-12-07T07:01:49.840-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><title type='text'>Install FTP server on Ubuntu (proftpd)</title><content type='html'>The first step is to install ProFTP on the server &lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo apt-get install proftpd&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_6scBS6B6cww/Swb-LowYNTI/AAAAAAAAAPA/cECVFNxg7N4/s1600/proftpd.jpg"&gt;&lt;img style="float:left; margin:10px 10px 10px 0;width: 200px; height: 119px;" src="http://3.bp.blogspot.com/_6scBS6B6cww/Swb-LowYNTI/AAAAAAAAAPA/cECVFNxg7N4/s200/proftpd.jpg" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is preferable to continue the installation in standalone, this way the FTP server will always be receptive. If you choose inetd, the FTP server will only be launched when a connexion is initialized. &lt;br /&gt;&lt;br clear="left" /&gt;&lt;br /&gt;&lt;br /&gt;Parameters:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/shells&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And add a line "/bin/false" at the end of the file.&lt;br /&gt;&lt;br /&gt;Now let's create ftp folders and the upload and download, with 'read only' rights on download and 'read/write' for upload, so that users can upload files.&lt;br /&gt;&lt;br /&gt;Create both folders:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd /home/ftp/&lt;br /&gt;sudo mkdir download upload&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make "download" read-only and "upload" read/write:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;cd /home&lt;br /&gt;sudo chmod 755 ftp&lt;br /&gt;cd ftp&lt;br /&gt;sudo chmod 755 download&lt;br /&gt;sudo chmod 777 upload&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now it time to create an account, which will have access to the FTP&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo useradd user_of_your_choise -p password_of_your_choise -d /home/ftp -s /bin/false&lt;br /&gt;sudo passwd user_of_your_choise&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now all that's left is to edit the configuration file to modify your server configuration (port address, server name, number of people who can connect)&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo nano /etc/proftpd/proftpd.conf&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;ServerName "Ubuntu"&lt;/div&gt;&lt;br /&gt; - is used when users logon&lt;br /&gt;&lt;div id="code"&gt;ServerType standalone&lt;/div&gt;&lt;br /&gt; - is the type of server we want. "standalone" for a few users, if we want more, we use "inetd" (no quotes)&lt;br /&gt;&lt;div id="code"&gt;DefaultRoot ~&lt;/div&gt;&lt;br /&gt; - this is the important part, when users are jailed to their root folder, not being able to walk around your files on the server.&lt;br /&gt;&lt;div id="code"&gt;Port 21&lt;/div&gt;&lt;br /&gt; - the port where users will connect to this server. Usually this is 21.&lt;br /&gt;&lt;div id="code"&gt;MaxInstances 30&lt;/div&gt;&lt;br /&gt; - this is maxium of concurrent connections to your computer.&lt;br /&gt;&lt;div id="code"&gt;SystemLog /var/log/proftpd/proftpd.log&lt;/div&gt;&lt;br /&gt; - this is the log file&lt;br /&gt;&lt;br /&gt;After that we need to restart proftpd to make changes available:&lt;br /&gt;&lt;br /&gt;&lt;div id="code"&gt;sudo /etc/init.d/proftpd restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Resources: &lt;a href="http://wiki.gandi.net/en/hosting/using-linux/tutorials/ubuntu/ftp" target="_blank"&gt;Gandi.Net&lt;/a&gt;, &lt;a href="http://www.howtoforge.org/virtual-hosting-with-proftpd-and-mysql-ubuntu-9.04" target="_blank"&gt;Howtoforge.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1561229407849662174-6555384459271309162?l=ubuntu-for-humans.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-for-humans.blogspot.com/feeds/6555384459271309162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/install-ftp-server-on-ubuntu-proftpd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6555384459271309162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1561229407849662174/posts/default/6555384459271309162'/><link rel='alternate' type='text/html' href='http://ubuntu-for-humans.blogspot.com/2009/11/install-ftp-server-on-ubuntu-proftpd.html' title='Install FTP server on Ubuntu (proftpd)'/><author><name>Speedy Gonzales</name><uri>http://www.blogger.com/profile/07570907524117766733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_6scBS6B6cww/SvhJAqTpzmI/AAAAAAAAAN4/tyPf97_-wHc/S220/speedy_gonzales.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6scBS6B6cww/Swb-LowYNTI/AAAAAAAAAPA/cECVFNxg7N4/s72-c/proftpd.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
