<?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:blogger='http://schemas.google.com/blogger/2008' 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-8633834210211605380</id><updated>2024-08-28T17:25:07.518-07:00</updated><category term="Tips and News"/><category term="Ubuntu"/><category term="Utorrent"/><title type='text'>Ubuntu Linux Tutorials, Tips &amp;amp; News</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-7591281238763539167</id><published>2014-07-09T11:11:00.001-07:00</published><updated>2014-07-09T11:57:34.347-07:00</updated><title type='text'>How to download an MP3 track from a YouTube video</title><content type='html'>Install youtube-dl from the official repository in Ubuntu:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install youtube-dl&lt;br /&gt;
&lt;br /&gt;
To download a video execute the following:&lt;br /&gt;
&lt;br /&gt;
youtube-dl &amp;lt;url&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g&lt;br /&gt;
&lt;br /&gt;
youtube-dl http://www.youtube.com/watch?v=_z-hEyVQDRA&lt;br /&gt;
&lt;br /&gt;
You can also specify other options&lt;br /&gt;
&lt;br /&gt;
-b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best quality&lt;br /&gt;
-m&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mobile version&lt;br /&gt;
-d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; High Definition&lt;br /&gt;
-g&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Don’t download, just show the url&lt;br /&gt;
-c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resume download of a video which was interrupted before&lt;br /&gt;
-w&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Don’t overwrite existing file&lt;br /&gt;
&lt;br /&gt;
For complete list of switches execute man youtube-dl in terminal.&lt;br /&gt;
&lt;br /&gt;
Information from http://www.absolutelytech.com/2010/06/26/howto-download-youtube-video-from-command-line-ubuntu/&lt;br /&gt;
Converting to mp3&lt;br /&gt;
&lt;br /&gt;
Now install ffmpeg from the official repo.&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install ffmpeg&lt;br /&gt;
&lt;br /&gt;
Next have a look to make sure the flv file has downloaded from youtube by typing&lt;br /&gt;
&lt;br /&gt;
ls *flv&lt;br /&gt;
&lt;br /&gt;
This will list all the flv files you have. What you should see is a flv file with the same name as the &#39;v&#39; component of the youtube url you downloaded.&lt;br /&gt;
&lt;br /&gt;
E.g if you downloaded http://www.youtube.com/watch?v=_z-hEyVQDRA then you should have a file called _z-hEyVQDRA.flv&lt;br /&gt;
&lt;br /&gt;
Next you need to copy that file name and then put it in an ffmpg command like&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i &amp;lt;file name&amp;gt;.flv -acodec liblamemp3 &amp;lt;song name&amp;gt;.mp3&lt;br /&gt;
&lt;br /&gt;
So for this example you would type&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i _z-hEyVQDRA.flv -acodec liblamemp3 MasterOfPuppets.mp3&lt;br /&gt;
&lt;br /&gt;
Once this has successfully completed you will now have the mp3 file you were after.&lt;br /&gt;
&lt;br /&gt;
Note For cleanup you may want to type rm _z-hEyVQDRA.flv to get rid of the flv file that you no longer need.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;You can also download the mp3 directly from youtube without converting using ffmpeg&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
youtube-dl --extract-audio --audio-format mp3 &amp;lt;video URL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Playlist &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
youtube-dl -cit --max-quality FORMAT --extract-audio --audio-format mp3 http://www.youtube.com/playlist?list=XXXXXXXXXXX&lt;br /&gt;
&lt;br /&gt;
From the online help:&lt;br /&gt;
&lt;br /&gt;
-x, --extract-audio&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; convert video files to audio-only files (requires&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ffmpeg or avconv and ffprobe or avprobe)&lt;br /&gt;
&lt;br /&gt;
Bear in mind as well that youtube-dl defaults to using avconv so you should consider specifying either avconv or FFmpeg at the commandline. From the online help:&lt;br /&gt;
&lt;br /&gt;
--prefer-avconv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prefer avconv over ffmpeg for running the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postprocessors (default)&lt;br /&gt;
--prefer-ffmpeg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prefer ffmpeg over avconv for running the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postprocessors&lt;br /&gt;
&lt;br /&gt;
Further options for keeping the original video, adjusting the bitrate or quality of the audio and a few others can be seen by looking at youtube -h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/rg3/youtube-dl&quot; target=&quot;_blank&quot;&gt;https://github.com/rg3/youtube-dl &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/7591281238763539167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2014/07/how-to-download-mp3-track-from-youtube.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7591281238763539167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7591281238763539167'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2014/07/how-to-download-mp3-track-from-youtube.html' title='How to download an MP3 track from a YouTube video'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-6150192047335393075</id><published>2013-10-20T06:34:00.002-07:00</published><updated>2013-10-20T06:34:38.528-07:00</updated><title type='text'>Clean up your Linux computer</title><content type='html'>No matter how careful or fastidious you are, over time a lot of cruft builds up on your computer. Things like cached files, cookies, temporary files, packages, log files, and a whole lot more. All of this builds up and takes up a tens or hundreds of megabytes of disk space.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BleachBit for Linux&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
BleachBit has many useful features designed to help you easily clean your computer to free space and maintain privacy.&lt;br /&gt;
&lt;a href=&quot;http://draft.blogger.com/goog_639979753&quot;&gt;&lt;br /&gt;&lt;/a&gt;
&lt;a href=&quot;http://bleachbit.sourceforge.net/&quot;&gt;http://bleachbit.sourceforge.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ubuntu Tweak&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ubuntu Tweak is an application to config Ubuntu easier for everyone.&amp;nbsp; It provides many useful desktop and system options that the default desktop environment doesn&#39;t provide.&amp;nbsp; With its help, you will enjoy with the experience of Ubuntu!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntu-tweak.com/&quot;&gt;http://ubuntu-tweak.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/6150192047335393075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2013/10/clean-up-your-linux-computer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/6150192047335393075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/6150192047335393075'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2013/10/clean-up-your-linux-computer.html' title='Clean up your Linux computer'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-129068298892315454</id><published>2013-09-16T09:36:00.002-07:00</published><updated>2013-09-16T09:38:11.266-07:00</updated><title type='text'>Server and Hosting Management</title><content type='html'>&lt;b&gt;Ajenti&lt;/b&gt; is a server administration panel for Linux distributions and FreeBSD. It is similar to cPanel, ISPConfig and others like them, but kinda light in features. It is a Free Software application whose development is spear-headed by Eugene Pankov.Besides being a server administration panel, Ajenti may also be used by developers as a rapid-development platform to create Web frontends, and by hardware vendors to create Web interfaces.&lt;br /&gt;
&lt;a href=&quot;http://ajenti.org/&quot;&gt;http://ajenti.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Virtualmin&lt;/b&gt; is a powerful and flexible web hosting control panel for Linux and UNIX systems based on the well-known Open Source web-based systems management GUI, Webmin. Manage your virtual domains, mailboxes, databases, applications, and the entire server, from one comprehensive and friendly interface.

&lt;a href=&quot;http://www.virtualmin.com/&quot;&gt;http://www.virtualmin.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/129068298892315454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2013/09/serverhosting-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/129068298892315454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/129068298892315454'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2013/09/serverhosting-management.html' title='Server and Hosting Management'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-7733044006472029687</id><published>2013-03-08T04:16:00.001-08:00</published><updated>2013-03-08T04:16:14.666-08:00</updated><title type='text'>Setting up a Wifi Hotspot on Ubuntu</title><content type='html'>The first thing I wanted to do after installing Ubuntu 12.04 is setup
 a wifi hotspot. I have a Samsung Netbook N130. I use a usb-modem to 
connect to the internet. I have a single data contract with Vodacom and I
 want all my devices to use this data at the same time.&lt;br /&gt;

&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;Gathering information:&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
Opening a terminal and typing the following command :&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#lspci&lt;/span&gt;&lt;br /&gt;

Showed me that I have a :&lt;br /&gt;

&lt;span style=&quot;color: purple;&quot;&gt;&amp;nbsp;Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express)&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#lsmod&lt;/span&gt;&lt;br /&gt;

Shows that it uses the ath9k drivers (this information may help you to google for setup information specific to your machine.)&lt;br /&gt;

Also&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#iwconfig&lt;/span&gt;&lt;br /&gt;

will give you the name of your wireless adapter name for example:&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;“wlan0 “or “wlan1&lt;/span&gt;” (&lt;em&gt;note that the “0″ and “1″ are numbers not letters&lt;/em&gt;)&lt;br /&gt;

&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;Installing Programs&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
I then installed 2 programs via apt. In a terminal enter the following command:&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#sudo apt-get install dhcp3-server&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#sudo apt-get install hostapd&lt;/span&gt;&lt;br /&gt;

&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;Editing Configuration Files&lt;/span&gt;&lt;/h2&gt;
In a terminal:&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;#sudo gedit&lt;/span&gt;&lt;br /&gt;

This will bring up the editor with root privileges so that you can edit system files. (&lt;strong&gt;&lt;em&gt;WARNING&lt;/em&gt;&lt;/strong&gt; – editing system files can damage your system. Please do not edit system files unless you have made a backup of them first)&lt;br /&gt;

Open / Create the following files editing:&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;1. /etc/hostapd/hostapd.conf&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;interface=wlan0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;driver=nl80211&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;ssid=my_hotspot&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;channel=1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;hw_mode=g&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;auth_algs=1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;wpa=3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;wpa_passphrase=1234567890&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;wpa_key_mgmt=WPA-PSK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;wpa_pairwise=TKIP CCMP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;rsn_pairwise=CCMP&lt;/span&gt;&lt;br /&gt;

&lt;strong&gt;Please note&lt;/strong&gt;: the “ssid” in this case “my_hotspot” is
 the name of the network that will show up on the device or laptop that 
will connect to the hotspot. The passphrase is a password – you can 
change this to any other 10 digit number. The device / laptop that wants
 to connect will have to enter this password.&lt;br /&gt;

&lt;em&gt;Save the file.&lt;/em&gt;&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;2. /etc/default/isc-dhcp-server&lt;/span&gt;&lt;br /&gt;

Edit the line that says&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;INTERFACES=”&quot;&lt;/span&gt;&lt;br /&gt;

To&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;INTERFACES=”wlan0″&lt;/span&gt;&lt;br /&gt;

Or change the “wlan0″ to “wlan1″ or whatever the wireless adapter name you have (see above section on gathering information.)&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;3. /etc/dhcp/dhcpd.conf&lt;/span&gt;&lt;br /&gt;

Make sure the follow lines are&lt;em&gt; Commented out&lt;/em&gt; ( put a hash “#”&amp;nbsp; sign at the beginning of the line ) the following lines:&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;# option definitions common to all supported networks…&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;#option domain-name “example.org”;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;#option domain-name-servers ns1.example.org, ns2.example.org;&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;#default-lease-time 600;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;#max-lease-time 7200;&lt;/span&gt;&lt;br /&gt;

Add the following lines to the file (copy and paste)&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;subnet 10.10.0.0 netmask 255.255.255.0 {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; range 10.10.0.2 10.10.0.16;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option domain-name-servers 8.8.4.4, 208.67.222.222;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option routers 10.10.0.1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;

(Note: the only other line in this whole config file that is uncommented is :&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;ddns-update-style none;)&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;4. /etc/default/hostapd&lt;/span&gt;&lt;br /&gt;

Add the following lines to the bottom of the file. Make sure similar lines are commented.&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;RUN_DAEMON=”yes”&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;DAEMON_CONF=”/etc/hostapd/hostapd.conf”&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;DAEMON_OPTS=”-dd”&lt;/span&gt;&lt;br /&gt;

&lt;em&gt;(Note: This file makes sure hostapd program starts on bootup with your edited configuration files loaded)&lt;/em&gt;&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;5. /etc/network/interfaces&lt;/span&gt;&lt;br /&gt;

This is how my interfaces file looks:&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;auto lo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;iface lo inet loopback&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;auto wlan0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;iface wlan0 inet static&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;&amp;nbsp;address 10.10.0.1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666699;&quot;&gt;&amp;nbsp;netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;

(Note: Again you must change every “wlan0″ to the name of your 
adapter. This file may have more entries for other network adapters. 
Just make sure you edit the section of the wireless adapter you want to 
use. This file will automatically configure the wireless network 
adapter’s network address at bootup time.)&lt;br /&gt;

&lt;span style=&quot;color: red;&quot;&gt;At this stage you can reboot. And 
hopefully any device / laptop should connect to your wifi hotspots 
network via the network manager applet. On these devices search for the 
network “my_hotspot” and type in the password.&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: red;&quot;&gt;At this stage however you cannot access the Internet. Which brings us to another important step:&lt;/span&gt;&lt;br /&gt;

&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;Internet connection Sharing.&lt;/span&gt;&lt;/h2&gt;
You will need to ask yourself the following information. How do I 
connect to the internet on my ubuntu computer / laptop? In my case I use
 a usb 3G modem. You need to know the name of the network adapter that 
you connect to the internet on. &amp;gt; This must be different from the 
network adapter you configured above. (ie wlan0)&lt;br /&gt;

Connect to the internet, and in a terminal type:&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;#ifconfig&lt;/span&gt;&lt;br /&gt;

On my netbook, one of the entries is for adapter “ppp0″ this is the 
network adapter for my usb modem and the connection to the internet. The
 following steps use “ppp0″ however you can swap it for your adapter 
name:&lt;br /&gt;

To share the internet connection we have to do a thing called “ip masquerading”.&lt;br /&gt;

First we have to allow ip forwarding:&lt;br /&gt;

#sudo gedit&lt;br /&gt;

edit /etc/sysctl.conf&lt;br /&gt;

Make sure the following line is uncommented and reads&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;net.ipv4.ip_forward=1&lt;/span&gt;&lt;br /&gt;

Save and close gedit. (reboot)&lt;br /&gt;

After reboot: Connect to the Internet and In a terminal type:&lt;br /&gt;

# sudo iptables -t nat -A POSTROUTING -s 10.10.0.0/16 -o ppp0 -j MASQUERADE&lt;br /&gt;

(Note the “ppp0″ adapter name in the above line. The 10.10.0.0 is the
 ip address of your network that you configured in steps 3 and 5 above. 
Your wifi hotspot will thus share the internet with up to 15 machines 
that are given the ip addresses 10.10.0.2 to 10.10.0.16)&lt;br /&gt;

All devices and laptops should now be able to browse the internet and
 download email. If this works we have to make this permanent:&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;#sudo gedit&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: navy;&quot;&gt;edit /etc/rc.local&lt;/span&gt;&lt;br /&gt;

add this line just before &lt;span style=&quot;color: grey;&quot;&gt;“&lt;span style=&quot;color: #666699;&quot;&gt;exit 0″&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: #666699;&quot;&gt;iptables -t nat -A POSTROUTING -s 10.10.0.0/16 -o ppp0 -j MASQUERADE&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;color: blue;&quot;&gt;Reboot / Connect to the internet and Enjoy your wifi hotspot.&lt;/span&gt;&lt;br /&gt;

&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;Acknowledgements&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
When configuring and setting up mine I used and adapted the following&amp;nbsp; Howto’s and forums:&lt;br /&gt;

&lt;a href=&quot;http://exain.wordpress.com/2011/03/31/making-a-wifi-hotspot-access-point-using-linux-wifi-lan-cardusb-adapter/&quot; target=&quot;_blank&quot; title=&quot;Wifi hotspot&quot;&gt;http://exain.wordpress.com/2011/03/31/making-a-wifi-hotspot-access-point-using-linux-wifi-lan-cardusb-adapter/&lt;/a&gt;&lt;br /&gt;

&lt;a href=&quot;http://ubuntuforums.org/showthread.php?p=11890695#post11890695&quot; target=&quot;_blank&quot; title=&quot;/etc/network/Interfaces File&quot;&gt;http://ubuntuforums.org/showthread.php?p=11890695#post11890695&lt;/a&gt;&lt;br /&gt;

&lt;a href=&quot;http://ubuntuforums.org/showthread.php?p=11890408#post11890408&quot; target=&quot;_blank&quot; title=&quot;Make ip masquerading permanent&quot;&gt;http://ubuntuforums.org/showthread.php?p=11890408#post11890408&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a href=&quot;https://thenewbieblog.wordpress.com/2012/05/01/wifi-hotspot-setup-on-ubuntu&quot; target=&quot;_blank&quot;&gt;https://thenewbieblog.wordpress.com/2012/05/01/wifi-hotspot-setup-on-ubuntu &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/7733044006472029687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2013/03/setting-up-wifi-hotspot-on-ubuntu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7733044006472029687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7733044006472029687'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2013/03/setting-up-wifi-hotspot-on-ubuntu.html' title='Setting up a Wifi Hotspot on Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-1917838991145019241</id><published>2012-12-12T02:28:00.004-08:00</published><updated>2012-12-12T02:28:49.794-08:00</updated><title type='text'>Recovering grub after installing windows 7 on Ubuntu</title><content type='html'>To recover grub:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
open the live version&lt;/li&gt;
&lt;li&gt;
open the terminal and run &lt;code&gt;sudo fdisk -l&lt;/code&gt; to see where Linux is installed&lt;/li&gt;
&lt;li&gt;
run &lt;code&gt;sudo mount /dev/sdaX /mnt&lt;/code&gt; where x is the number you have found Linux word in&lt;/li&gt;
&lt;li&gt;
run &lt;code&gt;sudo grub-install --root-directory=/mnt /dev/sda&lt;/code&gt; to install grub&lt;/li&gt;
&lt;li&gt;
run &lt;code&gt;sudo update-grub&lt;/code&gt; to update grub and if this command didn&#39;t work run it after rebooting&lt;/li&gt;
&lt;li&gt;
reboot&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7&quot; target=&quot;_blank&quot;&gt;http://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7 &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/1917838991145019241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/12/recovering-grub-after-installing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/1917838991145019241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/1917838991145019241'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/12/recovering-grub-after-installing.html' title='Recovering grub after installing windows 7 on Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-7459177181758532738</id><published>2012-12-08T00:27:00.000-08:00</published><updated>2012-12-10T08:59:39.415-08:00</updated><title type='text'>How to add https to localhost</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;section&quot; id=&quot;sph_use-a-self-signed-ssl-certificate-with-apache&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a class=&quot;toc-backref&quot; href=&quot;http://library.linode.com/web-servers/apache/ssl-guides/ubuntu-12.04-precise-pangolin#sph_id1&quot;&gt;Use a Self-Signed SSL Certificate with Apache&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;These instructions will help you generate a generic self-signed
certificate, which may be used to provide SSL service for all
name-based hosts on your VPS. Please note that self-signed
certificates will generate warnings in a visitor&#39;s browser;
proceed to &quot;Installing a Commercial SSL Certificate&quot; if you need to
set up SSL on a domain using a certificate signed by a commercial SSL
provider.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;section&quot; id=&quot;sph_generate-a-self-signed-certificate&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a class=&quot;toc-backref&quot; href=&quot;http://library.linode.com/web-servers/apache/ssl-guides/ubuntu-12.04-precise-pangolin#sph_id2&quot;&gt;Generate a Self-Signed Certificate&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;At the shell prompt, issue the following commands to enable SSL for
Apache and generate a certificate:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;literal-block&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;a2enmod ssl
mkdir /etc/apache2/ssl
openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.key
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You will be asked for several configuration values. Enter values
appropriate for your organization and server, as shown here. This
example will create a certificate valid for 365 days; you may wish to
increase this value. We&#39;ve specified the FQDN (fully qualified domain
name) of the VPS for the &quot;Common Name&quot; entry, as this certificate will
be used for generic SSL service.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;literal-block&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Generating a 1024 bit RSA private key
...................................++++++
..............................++++++
writing new private key to &#39;/etc/apache2/ssl/apache.pem&#39;
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter &#39;.&#39;, the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:New Jersey
Locality Name (eg, city) []:Absecon
Organization Name (eg, company) [Internet Widgits Pty Ltd]:SoftwareDev, LLC
Organizational Unit Name (eg, section) []:Web Services
Common Name (eg, YOUR name) []:archimedes.mydomain.com
Email Address []:support@mydomain.com
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;sph_configure-apache-to-use-the-self-signed-certificate&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a class=&quot;toc-backref&quot; href=&quot;http://library.linode.com/web-servers/apache/ssl-guides/ubuntu-12.04-precise-pangolin#sph_id3&quot;&gt;Configure Apache to use the Self-Signed Certificate&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Since SSL name-based virtual hosts are still not supported in
&lt;span class=&quot;docutils literal&quot;&gt;/etc/apache2/ports.conf&lt;/span&gt;, we&#39;ll need to add an entry for a specific
IP address on your VPS as follows. You may use a single IP to provide
self-signed SSL service for multiple vhosts, and the same IP may also
be used for multiple non-SSL vhosts (HTTPS uses port 443, while HTTP uses port 80).&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;file-excerpt&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;File excerpt:&lt;/b&gt;&lt;i&gt;/etc/apache2/ports.conf&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background: #f8f8f8;&quot;&gt;
&lt;div style=&quot;line-height: 125%;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;NameVirtualHost&lt;/span&gt; &lt;span style=&quot;color: #666666;&quot;&gt;12.34.56.78&lt;/span&gt;:443
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Replace &quot;12.34.56.78&quot; with your Linode&#39;s IP address. Next, edit the
virtual host configuration files for sites which you would like to
enable SSL on. For each virtual host, you must add the following
stanza (change the values as appropriate for each site). Note that
this example essentially reproduces the configuration for a non-SSL site,
with the addition of three lines for SSL.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;file-excerpt&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;File excerpt:&lt;/b&gt;&lt;i&gt;Apache virtual hosting file&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;file-excerpt&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background: #f8f8f8;&quot;&gt;
&lt;div style=&quot;line-height: 125%;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&amp;lt;VirtualHost&lt;/span&gt; &lt;span style=&quot;color: #ba2121;&quot;&gt;12.34.56.78:443&lt;/span&gt;&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: green;&quot;&gt;SSLEngine&lt;/span&gt; &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;On&lt;/span&gt;
     &lt;span style=&quot;color: green;&quot;&gt;SSLCertificateFile&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;/etc/apache2/ssl/apache.pem&lt;/span&gt;
     &lt;span style=&quot;color: green;&quot;&gt;SSLCertificateKeyFile&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;/etc/apache2/ssl/apache.key&lt;/span&gt;

     &lt;span style=&quot;color: green;&quot;&gt;ServerAdmin&lt;/span&gt; &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;info&lt;/span&gt;@mydomain.com
     &lt;span style=&quot;color: green;&quot;&gt;ServerName&lt;/span&gt; www.mydomain.com
     &lt;span style=&quot;color: green;&quot;&gt;DocumentRoot&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;/var/www/mydomain.com/public_html/&lt;/span&gt;
     &lt;span style=&quot;color: green;&quot;&gt;ErrorLog&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;/var/www/mydomain.com/logs/error.log&lt;/span&gt;
     &lt;span style=&quot;color: green;&quot;&gt;CustomLog&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;/var/www/mydomain.com/logs/access.log&lt;/span&gt; combined
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Restart Apache:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;literal-block&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;service apache2 restart
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You should now be able to visit your site with SSL enabled (after
accepting your browser&#39;s warnings about the certificate).&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://library.linode.com/web-servers/apache/ssl-guides&quot;&gt;http://library.linode.com/web-servers/apache/ssl-guides&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04&quot;&gt;https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://askubuntu.com/questions/49196/how-do-i-create-a-self-signed-ssl-certificate&quot;&gt;http://askubuntu.com/questions/49196/how-do-i-create-a-self-signed-ssl-certificate&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=953607&quot;&gt;http://ubuntuforums.org/showthread.php?t=953607&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: large; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;Virtual hosts overlap on 443, first has&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;precedence&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;sudo gedit /etc/apache2/&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;ports.conf&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: large; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Change it to&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: large; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: large; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;    NameVirtualHost *:443&lt;br /&gt;    Listen 443&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; display: inline ! important; float: none; font-size: large; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://blog.breidert.net/virtual-hosts-overlap-443-first-has-precendence/&quot;&gt;http://blog.breidert.net/virtual-hosts-overlap-443-first-has-precendence/&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/7459177181758532738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/12/how-to-add-https-to-localhost.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7459177181758532738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7459177181758532738'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/12/how-to-add-https-to-localhost.html' title='How to add https to localhost'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-8718130532057667699</id><published>2012-11-11T05:22:00.000-08:00</published><updated>2012-11-11T05:22:09.828-08:00</updated><title type='text'>apt-get update fails to fetch files,&quot;Temporary failure resolving …&quot; error</title><content type='html'>&lt;h2 style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 20px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 17px; margin: 0px 0px 7px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
overview&lt;/h2&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
There are two parts to your question:&lt;/div&gt;
&lt;ul style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; list-style: disc; margin: 0px 0px 1em 30px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;fixing&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: transparent; border: 0px; font-size: 14px; font-style: italic; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;temporary resolve&lt;/em&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;messages&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;fixing the package management issues&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 17px; margin: 0px 0px 5px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Temporary resolve&lt;/h3&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
It is likely that this issue is either:&lt;/div&gt;
&lt;ul style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; list-style: disc; margin: 0px 0px 1em 30px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;temporary due to your Internet Service Provider not correctly forwarding internet naming (DNS) to either its or external DNS servers, or&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; font-size: 14px; line-height: 16px; margin: 10px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;due to a change in your network has similarly blocked this naming - for example, new router/modem, reconfiguring a switch with a new configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Lets look at the possible DNS resolving issues.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
First, temporarily add a known DNS server to your system.&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 10px; max-height: 600px; orphans: 2; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; width: auto; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo &quot;nameserver 8.8.8.8&quot; | sudo tee /etc/resolv.conf &amp;gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Then run&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;sudo apt-get update&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
If this fixes your&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: transparent; border: 0px; font-size: 14px; font-style: italic; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;temporary resolving&lt;/em&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 10px; max-height: 600px; orphans: 2; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; width: auto; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo &quot;nameserver 8.8.8.8&quot; | sudo tee /etc/resolvconf/resolv.conf.d/base &amp;gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;8.8.8.8&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;is Google&#39;s own DNS server.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;https://answers.launchpad.net/ubuntu/+source/apt/+question/197664&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; font-size: 14px; margin: 0px; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot;&gt;source&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Another example DNS server you could use is&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: transparent; border: 0px; font-size: 14px; font-style: italic; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://www.opendns.com/opendns-ip-addresses/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; font-size: 14px; margin: 0px; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot;&gt;OpenDNS&lt;/a&gt;&lt;/em&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;- for example:&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 10px; max-height: 600px; orphans: 2; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; width: auto; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo &quot;nameserver 208.67.222.222&quot; | sudo tee /etc/resolvconf/resolv.conf.d/base &amp;gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 17px; margin: 0px 0px 5px; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
package-management issues&lt;/h3&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
In addition to the&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: transparent; border: 0px; font-size: 14px; font-style: italic; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;temporary resolve&lt;/em&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;issues - you have a few package management issues that need to be corrected - I&#39;m assuming you have tried recently to upgrade from one Ubuntu version to the next recommended version - in your case from Natty (11.04) to Oneiric (11.10)&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Open a terminal and type&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 10px; max-height: 600px; orphans: 2; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; width: auto; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sudo nano /etc/apt/sources.list
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Look for lines that have your a different distribution name in the list than you were expecting - in your case - you have upgraded to&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;oneiric&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;but you have another release name&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;natty&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
For example, look for lines that look like&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;deb http:/archive.canonical.com/ natty backports&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Add a&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;#&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;to the beginning of the line to comment it out - for example&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;#deb http:/archive.canonical.com/ natty backports&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
Save and re-run:&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 10px; max-height: 600px; orphans: 2; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; width: auto; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
You should not have any more release naming errors.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&amp;nbsp;At the time of writing this, possible common&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://wiki.ubuntu.com/DevelopmentCodeNames&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; border: 0px; color: #962d0c; cursor: pointer; font-size: 14px; margin: 0px; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot;&gt;release names&lt;/a&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;include&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;lucid&lt;/code&gt;,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;maverick&lt;/code&gt;,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;natty&lt;/code&gt;,&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;oneiric&lt;/code&gt;,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;precise&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;and&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;quantal&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f7f7f7; border: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; margin: 0px 0px 1em; orphans: 2; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;http://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error&quot;&gt;http://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error&lt;/a&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/8718130532057667699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/apt-get-update-fails-to-fetch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8718130532057667699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8718130532057667699'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/apt-get-update-fails-to-fetch.html' title='apt-get update fails to fetch files,&quot;Temporary failure resolving …&quot; error'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-9086949981962024823</id><published>2012-11-03T18:36:00.004-07:00</published><updated>2012-11-03T18:36:54.463-07:00</updated><title type='text'>Speed up Firefox by moving cache into RAM in Ubuntu</title><content type='html'>By default &lt;em&gt;Firefox&lt;/em&gt; puts its cache in your home partition.You
 can speed up Firefox and reduce disk writes by moving this cache into 
RAM if you have 1GB RAM or more.&lt;br /&gt;
&lt;br /&gt;

&lt;strong&gt;1.&lt;/strong&gt;Edit /etc/fstab,open terminal from Applications-&amp;gt;Accessories menu and type:&lt;br /&gt;

&lt;blockquote&gt;
sudo gedit /etc/fstab&lt;/blockquote&gt;
Add following into this file and close it.&lt;br /&gt;

&lt;blockquote&gt;
tmpfs /tmp tmpfs noexec,defaults,noatime 0 0&lt;br /&gt;
tmpfs /var/tmp tmpfs noexec,defaults,noatime 0 0&lt;/blockquote&gt;
&lt;strong&gt;2.&lt;/strong&gt;Edit /etc/sysctl.conf:&lt;br /&gt;

&lt;blockquote&gt;
sudo gedit /etc/sysctl.conf&lt;/blockquote&gt;
add this line and save it:&lt;br /&gt;

&lt;blockquote&gt;
vm.swappiness=1&lt;/blockquote&gt;
&lt;strong&gt;3.&lt;/strong&gt;
Type &lt;code&gt;about:config&lt;/code&gt; in firefox address bar and click &lt;code&gt;I&#39;ll be careful,I promise!&lt;/code&gt;.Right click on blank area and create a new string value called&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;browser.cache.disk.parent_directory&lt;/strong&gt;,set its value to &lt;strong&gt;/tmp&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;

Now,reboot your system and experience the performance.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntuguide.net/speed-up-firefox-by-moving-cache-into-ram-in-ubuntu&quot; target=&quot;_blank&quot;&gt;http://ubuntuguide.net/speed-up-firefox-by-moving-cache-into-ram-in-ubuntu &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/9086949981962024823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/speed-up-firefox-by-moving-cache-into.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/9086949981962024823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/9086949981962024823'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/speed-up-firefox-by-moving-cache-into.html' title='Speed up Firefox by moving cache into RAM in Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-8611602597904610163</id><published>2012-11-03T18:18:00.000-07:00</published><updated>2012-11-03T18:18:43.886-07:00</updated><title type='text'>Linux memory cache</title><content type='html'>&lt;div class=&quot;post-text&quot;&gt;
&lt;blockquote&gt;
  &lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;Note:&lt;/strong&gt; Linux is NOT &quot;eating&quot; your RAM! Please take a look at Geirha&#39;s &lt;a href=&quot;http://askubuntu.com/a/155771/58612&quot;&gt;excellent answer&lt;/a&gt; below to understand why...&lt;/div&gt;
&lt;/blockquote&gt;
After the above note, if you still feel &quot;cleaning&quot; the cache could 
help, you can certainly try: it&#39;s a one-liner from the terminal:&lt;br /&gt;


&lt;pre class=&quot;lang-bsh prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;sync &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; echo &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; sudo tee &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;proc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;sys&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;vm&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;drop_caches&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
There&#39;s no easy way to &lt;em&gt;disable&lt;/em&gt; the cache, but you can achieve the same effect by cleaning it as often as &lt;em&gt;every minute&lt;/em&gt;, if you want to:&lt;br /&gt;


&lt;ul&gt;
&lt;li&gt;Make it a &lt;em&gt;cron-job&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Press &lt;code&gt;Alt-F2&lt;/code&gt;, type &lt;code&gt;gksudo gedit /etc/crontab&lt;/code&gt;, and add this line near the bottom:&lt;br /&gt;


&lt;code&gt;*/15 *    * * *   root    sync &amp;amp;&amp;amp; echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;This cleans every 15 minutes. You can set to 1 or 5 minutes &lt;em&gt;if you really want to&lt;/em&gt;  by changing the first parameter to &lt;code&gt;*&lt;/code&gt; or &lt;code&gt;*/5&lt;/code&gt; instead of &lt;code&gt;*/15&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
One liner to know REAL free RAM, excepting cache&lt;/h3&gt;
Geirha&#39;s answer explains the details, but in short, you get the number of free megabytes with:&lt;br /&gt;


&lt;pre class=&quot;lang-bsh prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;free &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;m &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; sed &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;n &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;3p&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grep &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Po&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;\d+$&quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
which on my 2GB command-line server returns an extremely health &lt;code&gt;1835&lt;/code&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/155768/how-do-i-clean-or-disable-the-memory-cache&quot;&gt;http://askubuntu.com/questions/155768/how-do-i-clean-or-disable-the-memory-cache&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.linuxatemyram.com/&quot;&gt;http://www.linuxatemyram.com/&lt;/a&gt;&lt;br /&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/8611602597904610163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/linux-memory-cache.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8611602597904610163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8611602597904610163'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/11/linux-memory-cache.html' title='Linux memory cache'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-3306228158588878074</id><published>2012-10-29T23:58:00.003-07:00</published><updated>2012-10-30T00:13:07.813-07:00</updated><title type='text'>DNS stuff</title><content type='html'>&lt;b&gt;Flush DNS Cache in Ubuntu 12.04 (Precise Pangolin)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To flush your system DNS Cache Resolver in Ubuntu 12.04, press Ctrl – Alt – T on your keyboard to open Terminal. When terminal opens, run the commands below to clear it.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo /etc/init.d/dns-clean&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;http://www.liberiangeek.net/2012/05/windows-7-vs-ubuntu-12-04-how-to-flush-your-system-dns-cache/&quot; target=&quot;_blank&quot;&gt;http://www.liberiangeek.net/2012/05/windows-7-vs-ubuntu-12-04-how-to-flush-your-system-dns-cache/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Add custom DNS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;step_text&quot;&gt;
To avoid having 
your settings get revoked after reboots, or after periods of inactivity,
 you may need to make the following changes via the command line: &lt;br /&gt;
&lt;blockquote style=&quot;font-family: monospace;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto&lt;br /&gt;NOTE: The dhclient.conf location may vary depending on you linux distribution.&lt;br /&gt;&lt;br /&gt;To locate the correct file you can use:&lt;br /&gt;$ sudo find /etc -name dhclient.conf&lt;br /&gt;&lt;br /&gt;$ gksudo gedit /etc/dhcp3/dhclient.conf&lt;br /&gt; # add the following line to the document before the &#39;return subnet-mask&#39; command&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;supersede domain-name-servers 208.67.222.222,208.67.220.220;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# save and exit&lt;br /&gt; $ sudo ifdown eth0 &amp;amp;&amp;amp; sudo ifup eth0 &lt;/span&gt;&lt;/blockquote&gt;
You may be required to change eth0 to your own network device&#39;s name if it uses a non-standard name.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://store.opendns.com/setup/device/ubuntu/&quot;&gt;https://store.opendns.com/setup/device/ubuntu/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Check domain with custom DNS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
DNS records are likely cached by your provider&#39;s DNS servers so if you want to check if the DNS changes you made were successful you can interrogate a DNS server from your domain hosting service with dig:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dig -t a ns1.myhostingcompany.com @domain_registrar_dns_server&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
It you want Ubuntu to start caching dns I recommend installing &lt;b&gt;pdnsd&lt;/b&gt; together with &lt;b&gt;resolvconf&lt;/b&gt;. &lt;b&gt;nscd&lt;/b&gt; is buggy and not advisable.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dig -t a @8.8.8.8 example.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/2219/how-do-i-clear-the-dns-cache&quot;&gt;http://askubuntu.com/questions/2219/how-do-i-clear-the-dns-cache&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Check your PC DNS in command-line&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;nm-tool&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;http://askubuntu.com/questions/152593/command-line-to-list-dns-servers&quot; target=&quot;_blank&quot;&gt;http://askubuntu.com/questions/152593/command-line-to-list-dns-servers&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Check DNS related stuff online&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;http://www.iptools.com/&quot; target=&quot;_blank&quot;&gt;http://www.iptools.com/ &lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/3306228158588878074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/10/dns-stuff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3306228158588878074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3306228158588878074'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/10/dns-stuff.html' title='DNS stuff'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-188493270664124204</id><published>2012-09-10T19:17:00.002-07:00</published><updated>2012-09-10T19:17:45.001-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tips and News"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Linux alternative/equivalent for AcDsee</title><content type='html'>&lt;h3&gt;
digiKam&lt;/h3&gt;
digiKam is an advanced digital photo management application for Linux, Windows, and Mac-OSX.&amp;nbsp; The people who inspired digiKam&#39;s design are the photographers like you who want to view, manage, edit, enhance, organize, tag, and share photographs under Linux systems.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.digikam.org/&quot;&gt;http://www.digikam.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
darktable&lt;/h3&gt;
darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.darktable.org/&quot;&gt;http://www.darktable.org&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/188493270664124204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/09/linux-alternativeequivalent-for-acdsee.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/188493270664124204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/188493270664124204'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/09/linux-alternativeequivalent-for-acdsee.html' title='Linux alternative/equivalent for AcDsee'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-3651245269455078946</id><published>2012-09-10T18:01:00.002-07:00</published><updated>2012-09-10T18:01:33.229-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tips and News"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Shutter - Screenshot tool</title><content type='html'>Shutter is a feature-rich screenshot program. You can take a screenshot 
of a specific area, window, your whole screen, or even of a website – 
apply different effects to it, draw on it to highlight points, and then 
upload to an image hosting site, all within one window. Shutter is &lt;abbr title=&quot;Shutter is available for free download, and you are welcome to look and modify it&#39;s source code. You&#39;re also more than welcome to share it!&quot;&gt;free&lt;/abbr&gt;, &lt;a href=&quot;http://www.opensource.org/docs/definition.php&quot;&gt;open-source&lt;/a&gt;, and licensed under &lt;a href=&quot;http://www.gnu.org/licenses/gpl-3.0.html&quot;&gt;GPL v3&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://shutter-project.org/&quot; target=&quot;_blank&quot;&gt;http://shutter-project.org&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/3651245269455078946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/09/shutter-screenshot-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3651245269455078946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3651245269455078946'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/09/shutter-screenshot-tool.html' title='Shutter - Screenshot tool'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-7068708003415487701</id><published>2012-08-06T02:19:00.002-07:00</published><updated>2012-08-06T02:19:57.886-07:00</updated><title type='text'>Read &amp; Remove EXIF Data From the Command Line</title><content type='html'>Most digital cameras will insert metadata into images.  This metadata is stored using the &lt;a href=&quot;http://en.wikipedia.org/wiki/Exchangeable_image_file_format&quot; title=&quot;EXIF&quot;&gt;exchangeable image file format&lt;/a&gt;
 (EXIF) and can contain camera specifications, exposure settings, 
thumbnails, GPS coordinates and more.  This article outlines some Linux 
command line tools you can use for reading, editing and removing EXIF 
metadata from images.&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://hacktux.com/read/remove/exif#exiftool&quot;&gt;Reading and Editing EXIF Metadata with ExifTool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://hacktux.com/read/remove/exif#jhead&quot;&gt;Reading EXIF Metadata with Jhead&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://hacktux.com/read/remove/exif#imagemagick&quot;&gt;Removing EXIF Metadata with ImageMagick&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;&lt;a href=&quot;http://draft.blogger.com/blogger.g?blogID=8633834210211605380&quot; name=&quot;exiftool&quot;&gt;&lt;/a&gt;Reading and Editing EXIF Metadata with ExifTool&lt;/strong&gt;&lt;br /&gt;

&lt;a href=&quot;http://www.sno.phy.queensu.ca/%7Ephil/exiftool/&quot; title=&quot;ExifTool&quot;&gt;ExifTool&lt;/a&gt; is powerful a &lt;a href=&quot;http://www.perl.org/&quot; title=&quot;Perl&quot;&gt;Perl&lt;/a&gt; program that can be used to read and edit EXIF metadata in images.  To install ExifTool as &lt;em&gt;/usr/bin/exiftool&lt;/em&gt; on &lt;a href=&quot;http://fedoraproject.org/&quot; title=&quot;Fedora&quot;&gt;Fedora&lt;/a&gt;, install the &lt;em&gt;perl-Image-ExifTool&lt;/em&gt; package:&lt;br /&gt;

&lt;code&gt;su -c &#39;yum install perl-Image-ExifTool&#39;&lt;/code&gt;&lt;br /&gt;

Alternatively, you can use &lt;a href=&quot;http://www.cpan.org/&quot; title=&quot;CPAN&quot;&gt;CPAN&lt;/a&gt; to install ExifTool in &lt;em&gt;/usr/local/bin/exiftool&lt;/em&gt;.&lt;br /&gt;

&lt;code&gt;su -c &quot;perl -MCPAN -e&#39;install Image::ExifTool&#39;&quot;&lt;/code&gt;&lt;br /&gt;

After installation, you will have the &lt;em&gt;exiftool&lt;/em&gt; command available in &lt;em&gt;/usr/bin&lt;/em&gt; or &lt;em&gt;/usr/local/bin&lt;/em&gt;.  To view the EXIF metadata in an image, just past the image as an argument to &lt;em&gt;exiftool&lt;/em&gt;.&lt;br /&gt;

&lt;code&gt;exiftool dsc_0790.jpg&lt;/code&gt;&lt;br /&gt;

Here is a snippet of the output from the above command:&lt;br /&gt;

&lt;code&gt;ExifTool Version Number         : 7.60&lt;br /&gt;
File Name                       : dsc_0790.jpg&lt;br /&gt;
Directory                       : .&lt;br /&gt;
File Size                       : 4.4 MB&lt;br /&gt;
File Modification Date/Time     : 2008:07:16 09:45:20-07:00&lt;br /&gt;
File Type                       : JPEG&lt;br /&gt;
MIME Type                       : image/jpeg&lt;br /&gt;
Exif Byte Order                 : Big-endian (Motorola, MM)&lt;br /&gt;
Make                            : NIKON CORPORATION&lt;br /&gt;
Camera Model Name               : NIKON D200&lt;br /&gt;
Orientation                     : Horizontal (normal)&lt;br /&gt;
X Resolution                    : 300&lt;br /&gt;
Y Resolution                    : 300&lt;br /&gt;
Resolution Unit                 : inches&lt;br /&gt;
Software                        : Bibble 4.10a&lt;br /&gt;
Modify Date                     : 2007:06:23 22:00:14&lt;br /&gt;
Exposure Time                   : 1/40&lt;br /&gt;
F Number                        : 2.0&lt;br /&gt;
Exposure Program                : Aperture-priority AE&lt;br /&gt;
ISO                             : 100&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/code&gt;&lt;br /&gt;

ExifTool has many options for editing and removing EXIF metadata in images.  To see the available options, use the &lt;em&gt;--help&lt;/em&gt; switch or read the &lt;a href=&quot;http://www.sno.phy.queensu.ca/%7Ephil/exiftool/exiftool_pod.html&quot; title=&quot;ExifTool Documentation&quot;&gt;ExifTool documentation&lt;/a&gt;.&lt;br /&gt;

&lt;code&gt;exiftool --help&lt;/code&gt;&lt;br /&gt;

&lt;strong&gt;&lt;a href=&quot;http://draft.blogger.com/blogger.g?blogID=8633834210211605380&quot; name=&quot;jhead&quot;&gt;&lt;/a&gt;Reading EXIF Metadata with Jhead&lt;/strong&gt;&lt;br /&gt;

&lt;a href=&quot;http://www.sentex.net/%7Emwandel/jhead/&quot; title=&quot;Jhead&quot;&gt;Jhead&lt;/a&gt; is a command line tool for displaying EXIF data embedded in JPEG images. On Fedora, use Yum to install Jhead:  &lt;br /&gt;

&lt;code&gt;su -c &#39;yum install jhead&#39;&lt;/code&gt;&lt;br /&gt;

Now, use &lt;em&gt;/usr/bin/jhead&lt;/em&gt; to read EXIF metadata:&lt;br /&gt;

&lt;code&gt;jhead dsc_0790.jpg&lt;/code&gt;&lt;br /&gt;

Here is an example of the output produced by the &lt;em&gt;jhead&lt;/em&gt; command:&lt;br /&gt;

&lt;code&gt;File name    : dsc_0790.jpg&lt;br /&gt;
File size    : 4654488 bytes&lt;br /&gt;
File date    : 2008:07:16 09:45:20&lt;br /&gt;
Camera make  : NIKON CORPORATION&lt;br /&gt;
Camera model : NIKON D200&lt;br /&gt;
Date/Time    : 2007:06:23 22:00:14&lt;br /&gt;
Resolution   : 3880 x 2608&lt;br /&gt;
Flash used   : No&lt;br /&gt;
Focal length : 50.0mm  (35mm equivalent: 75mm)&lt;br /&gt;
Exposure time: 0.025 s  (1/40)&lt;br /&gt;
Aperture     : f/2.0&lt;br /&gt;
ISO equiv.   : 100&lt;br /&gt;
Exposure bias: 1.00&lt;br /&gt;
Whitebalance : Auto&lt;br /&gt;
Exposure     : aperture priority (semi-auto)&lt;br /&gt;
GPS Latitude : ? ?&lt;br /&gt;
GPS Longitude: ? ?&lt;br /&gt;
======= IPTC data: =======&lt;br /&gt;
(C)Flag       : 0&lt;br /&gt;
DateCreated   : 20070623&lt;br /&gt;
Time Created  : 220014&lt;br /&gt;
Record vers.  : 4&lt;/code&gt;&lt;br /&gt;

&lt;strong&gt;&lt;a href=&quot;http://draft.blogger.com/blogger.g?blogID=8633834210211605380&quot; name=&quot;imagemagick&quot;&gt;&lt;/a&gt;Removing EXIF Metadata with ImageMagick&lt;/strong&gt;&lt;br /&gt;

If you need to strip the EXIF metadata from images, use &lt;a href=&quot;http://www.imagemagick.org/&quot; title=&quot;ImageMagick&quot;&gt;ImageMagick&#39;s&lt;/a&gt; &lt;em&gt;mogrify&lt;/em&gt; command.  To install ImageMagick on Fedora, use Yum:&lt;br /&gt;

&lt;code&gt;su -c &#39;yum install ImageMagick&#39;&lt;/code&gt;&lt;br /&gt;

After ImageMagick is installed, you will have &lt;em&gt;/usr/bin/mogrify&lt;/em&gt; available.  The &lt;em&gt;mogrify&lt;/em&gt; command can be used to strip Exif data from images.&lt;br /&gt;

&lt;code&gt;mogrify -strip imagename.jpg&lt;/code&gt;&lt;br /&gt;

If you need to process a large number of files, use find and xargs:&lt;br /&gt;

&lt;code&gt;find ./folder_of_images -name &#39;*.jpg&#39; | xargs mogrify -strip&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;a href=&quot;http://hacktux.com/read/remove/exif&quot; target=&quot;_blank&quot;&gt;http://hacktux.com/read/remove/exif &lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/7068708003415487701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/08/read-remove-exif-data-from-command-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7068708003415487701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7068708003415487701'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/08/read-remove-exif-data-from-command-line.html' title='Read &amp; Remove EXIF Data From the Command Line'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-1623023413721040179</id><published>2012-07-28T11:02:00.000-07:00</published><updated>2012-07-28T11:02:11.697-07:00</updated><title type='text'>How to enable/disable mobile broadband from terminal?</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Example,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 17px; margin: 0px; padding: 1px 5px; text-align: left; vertical-align: baseline;&quot;&gt;nmcli con up id &amp;lt;id&amp;gt; &amp;amp;&lt;/code&gt;&lt;span style=&quot;background-color: #f7f7f7; color: #444444; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #e0e0e0; border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 17px; margin: 0px; padding: 1px 5px; text-align: left; vertical-align: baseline;&quot;&gt;nmcli con up uuid &amp;lt;uuid&amp;gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ffffcc; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 5px; color: #515756; font-family: &#39;Courier News&#39;, monospace; font-size: 12px; line-height: 1.5; margin-bottom: 15px; margin-top: 5px; padding: 10px 15px;&quot;&gt;&#39;nmcli con list id|uuid &amp;lt;name&amp;gt;&#39;&lt;/pre&gt;
&lt;span style=&quot;background-color: #ffffcc; color: #515756; font-family: &#39;Courier News&#39;, monospace; font-size: 12px; line-height: 1.5;&quot;&gt;&amp;nbsp; &#39;nmcli dev list&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.sakoman.com/GNOME/how-to-control-networkmanger-from-the-command-line.html&quot;&gt;http://www.sakoman.com/GNOME/how-to-control-networkmanger-from-the-command-line.html&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://manpages.ubuntu.com/manpages/oneiric/en/man1/nmcli.1.html&quot;&gt;http://manpages.ubuntu.com/manpages/oneiric/en/man1/nmcli.1.html&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/137815/how-to-enable-disable-mobile-broadband-from-terminal&quot;&gt;http://askubuntu.com/questions/137815/how-to-enable-disable-mobile-broadband-from-terminal&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/1623023413721040179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/how-to-enabledisable-mobile-broadband.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/1623023413721040179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/1623023413721040179'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/how-to-enabledisable-mobile-broadband.html' title='How to enable/disable mobile broadband from terminal?'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-4110210682718801305</id><published>2012-07-16T19:19:00.001-07:00</published><updated>2012-10-17T19:53:32.421-07:00</updated><title type='text'>Important Tweaks/Things to do After install of Ubuntu 12.04 Precise Pangolin</title><content type='html'>&lt;a href=&quot;http://www.noobslab.com/2012/04/important-things-to-do-after-install_26.html&quot;&gt;http://www.noobslab.com/2012/04/important-things-to-do-after-install_26.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html&quot; target=&quot;_blank&quot;&gt;http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.techdrivein.com/2012/06/25-things-i-did-after-installing-ubuntu.html&quot;&gt;http://www.techdrivein.com/2012/06/25-things-i-did-after-installing-ubuntu.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.omgubuntu.co.uk/2012/04/10-things-to-do-after-installing-ubuntu-12-04&quot;&gt;http://www.omgubuntu.co.uk/2012/04/10-things-to-do-after-installing-ubuntu-12-04&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://howtoubuntu.org/things-to-do-after-installing-ubuntu-12-04-precise-pangolin/&quot; target=&quot;_blank&quot;&gt;http://howtoubuntu.org/things-to-do-after-installing-ubuntu-12-04-precise-pangolin/ &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/4110210682718801305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/important-tweaksthings-to-do-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/4110210682718801305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/4110210682718801305'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/important-tweaksthings-to-do-after.html' title='Important Tweaks/Things to do After install of Ubuntu 12.04 Precise Pangolin'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-7352686626996004831</id><published>2012-07-16T08:17:00.004-07:00</published><updated>2012-08-16T06:44:22.977-07:00</updated><title type='text'>Intel GM45 driver installation</title><content type='html'>&lt;a href=&quot;https://launchpad.net/%7Exorg-edgers/+archive/ppa&quot;&gt;https://launchpad.net/~xorg-edgers/+archive/ppa&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/85318/how-can-i-get-my-intel-integrated-graphics-to-be-recognized-in-system-info%20&quot; target=&quot;_blank&quot;&gt;http://askubuntu.com/questions/85318/how-can-i-get-my-intel-integrated-graphics-to-be-recognized-in-system-info&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/129227/how-do-i-install-intel-hd-graphics-driver-on-ubuntu-12-04&quot;&gt;http://askubuntu.com/questions/129227/how-do-i-install-intel-hd-graphics-driver-on-ubuntu-12-04&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://intellinuxgraphics.org/index.html&quot; target=&quot;_blank&quot;&gt;http://intellinuxgraphics.org/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
&lt;br /&gt;
Downgrade Mesa libraries,&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install libgl1-mesa-dri=8.0.2-0ubuntu3 mesa-common-dev=8.0.2-0ubuntu3&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;a href=&quot;http://askubuntu.com/questions/164427/invisible-launcher-icons-asus-zenbook-ux32vd-ubuntu-12-04&quot; target=&quot;_blank&quot;&gt;Link&lt;/a&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
&lt;code&gt;CompizConfig&lt;/code&gt;&lt;/h3&gt;
&lt;code&gt;&lt;/code&gt;&lt;code&gt;Delete .Xauthority in my home&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;rm -rf .compiz-1&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;rm -rf ~/.config/compiz-1/compizconfig/*&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get purge compizconfig-settings-manager&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install compizconfig-settings-manager compiz-fusion-plugins-extra&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;unity --reset&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;a href=&quot;http://www.webupd8.org/2011/04/how-to-reset-unity-launcher-icons-or.html&quot; target=&quot;_blank&quot;&gt;Link&lt;/a&gt;&amp;nbsp;&lt;/code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;VAAPI driver for Intel G45 &amp;amp; HD Graphics family&lt;/b&gt;&lt;code&gt;&lt;b&gt; &lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;a href=&quot;https://launchpad.net/ubuntu/+source/intel-vaapi-driver/&quot; target=&quot;_blank&quot;&gt;&lt;code&gt;https://launchpad.net/ubuntu/+source/intel-vaapi-driver/&lt;/code&gt;&lt;/a&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/7352686626996004831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/intel-gm45-driver-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7352686626996004831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/7352686626996004831'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/intel-gm45-driver-installation.html' title='Intel GM45 driver installation'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-3019432133838905044</id><published>2012-07-05T06:04:00.002-07:00</published><updated>2012-08-03T18:01:19.049-07:00</updated><title type='text'>How to Install New Kernel on Ubuntu</title><content type='html'>How to install Linux Kernel 3.4 in Ubuntu 12.04. WARNING This isn&#39;t 
worth doing unless you&#39;re having problems with the old kernel or you&#39;re 
adding new hardware which is unsupported in old Kernel 3.2, such as 
nVidia Kepler (600 series) or AMD HD 7000 series Graphics cards.&lt;br /&gt;
&lt;br /&gt;
Improvements in Kernel 3.4:&lt;br /&gt;
Reduced Power Usage&lt;br /&gt;
Speed improvements for BTRFS file systems&lt;br /&gt;
More wireless network drivers from Ralink and Broadcom added&lt;br /&gt;
Support for nVidia Kepler chipsets (600 series)&lt;br /&gt;
Support for AMD Southern Islands GPUs (HD 7000 series)&lt;br /&gt;
Support for AMD Trinity Processors&lt;br /&gt;
&lt;br /&gt;
Ubuntu Kernel Website: &lt;a class=&quot;yt-uix-redirect-link&quot; dir=&quot;ltr&quot; href=&quot;http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;http://kernel.ubuntu.com/~kernel-ppa/mainline/&quot;&gt;http://kernel.ubuntu.com/~kernel-ppa/mainline/&lt;/a&gt;&lt;br /&gt;
Look for the latest Kernel&lt;br /&gt;
Download linux-headers-3.4.x-xxx-all.deb, plus the headers and image for your system architecture.&lt;br /&gt;
e.g. linux-headers-3.4.x-xxx-i386.deb, and linux-image-3.4.x-xxx-generic-i386.deb for 32bit systems.&lt;br /&gt;
&lt;br /&gt;
Open Terminal&lt;br /&gt;
cd ~/Downloads&lt;br /&gt;
sudo dpkg -i linux*.deb&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
Check the new kernel is running with either System Monitor or &quot;uname -r&quot;&lt;br /&gt;
&lt;br /&gt;
If
 you have any problems with the new kernel reboot and select &quot;Previous 
Versions&quot; on the Grub Menu (hold down Shift key if Grub doesn&#39;t show by 
default)&lt;br /&gt;
&lt;br /&gt;
Remove auto updating old Kernel:&lt;br /&gt;
In Synaptic remove: linux-generic, linux-headers-generic, linux-image-generic&lt;br /&gt;
You can also remove any older kernels to free up some harddrive space.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.youtube.com/watch?v=traegZveTKo&quot; target=&quot;_blank&quot;&gt;http://www.youtube.com/watch?v=traegZveTKo&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/142192/can-i-install-linux-kernel-3-4-in-ubuntu-and-kubuntu-12-04&quot; target=&quot;_blank&quot;&gt;http://askubuntu.com/questions/142192/can-i-install-linux-kernel-3-4-in-ubuntu-and-kubuntu-12-04 &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/3019432133838905044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/how-to-install-new-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3019432133838905044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/3019432133838905044'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/07/how-to-install-new-on-ubuntu.html' title='How to Install New Kernel on Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-8477425357386445595</id><published>2012-06-01T02:36:00.001-07:00</published><updated>2012-07-01T11:03:36.623-07:00</updated><title type='text'>How to Back Up and Restore a MySQL Database</title><content type='html'>&lt;table style=&quot;width: 800px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;article&quot; valign=&quot;top&quot; width=&quot;640&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;article&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;If
 you&#39;re storing&amp;nbsp;anything in MySQL databases that you do not want to 
lose, it is very important to make regular backups of your data to 
protect it from loss. This tutorial will show you two easy ways to 
backup and restore the data in your MySQL database. You can also use 
this process to move your data to a new web server.&lt;br /&gt;
&lt;ul class=&quot;square&quot;&gt;
&lt;li&gt;&lt;a class=&quot;related&quot; href=&quot;http://webcheatsheet.com/sql/mysql_backup_restore.php#mysqldump&quot;&gt;Back up From the Command Line (using mysqldump)&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;related&quot; href=&quot;http://webcheatsheet.com/sql/mysql_backup_restore.php#compress&quot;&gt;Back up your MySQL Database with Compress&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;related&quot; href=&quot;http://webcheatsheet.com/sql/mysql_backup_restore.php#restore&quot;&gt;Restoring your MySQL Database&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;related&quot; href=&quot;http://webcheatsheet.com/sql/mysql_backup_restore.php#phpmyadmin&quot;&gt;Backing Up and Restoring using PHPMyAdmin&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;articleheader&quot;&gt;
&lt;a href=&quot;http://draft.blogger.com/blogger.g?blogID=8633834210211605380&quot; name=&quot;mysqldump&quot;&gt;&lt;/a&gt;Back up From the Command Line (using mysqldump)&lt;/div&gt;
If you have shell or telnet access to your web server, you can backup
 your MySQL data by using the mysqldump command. This&amp;nbsp;command connects 
to the MySQL server and creates an SQL dump file. The dump file contains
 the SQL statements necessary to re-create the database. Here is the 
proper syntax: &lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump --opt -u [uname] -p[pass] [dbname] &amp;gt; [backupfile.sql]&lt;/div&gt;
&lt;ul class=&quot;square&quot;&gt;
&lt;li&gt;&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;[uname]&lt;/b&gt;&lt;/span&gt; Your database username 
&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;[pass]&lt;/b&gt;&lt;/span&gt; The password for your database (note there is no space between -p and the password) 
&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;[dbname]&lt;/b&gt;&lt;/span&gt; The name of your database 
&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;[backupfile.sql]&lt;/b&gt;&lt;/span&gt; The filename for your database backup 
&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;[--opt]&lt;/b&gt;&lt;/span&gt; The mysqldump option &lt;/li&gt;
&lt;/ul&gt;
For example, to backup a database named &#39;Tutorials&#39; with the username
 &#39;root&#39; and&amp;nbsp;with no password&amp;nbsp;to a file tut_backup.sql, you should 
accomplish this command:&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump&amp;nbsp;-u root -p Tutorials &amp;gt; tut_backup.sql&lt;/div&gt;
&lt;br /&gt;
This command will backup the &#39;Tutorials&#39; database into a file called 
tut_backup.sql which will contain all the SQL statements needed to 
re-create the database. &lt;br /&gt;
With mysqldump command you can specify certain tables of your 
database you want to backup. For example, to back up only&amp;nbsp;php_tutorials 
and&amp;nbsp;asp_tutorials tables from the &#39;Tutorials&#39; database accomplish the 
command below.&amp;nbsp;Each table name has to be separated by space.&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump&amp;nbsp;-u root -p Tutorials php_tutorials asp_tutorials &amp;gt; tut_backup.sql&lt;/div&gt;
&lt;br /&gt;
Sometimes it is necessary to back up more that one database at once. 
In this case you can use the --database option followed by the list of 
databases you would like to backup. Each database name has to be 
separated by space.&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump -u root -p --databases&amp;nbsp;Tutorials&amp;nbsp;Articles Comments &amp;gt; content_backup.sql &lt;/div&gt;
&lt;br /&gt;
If you want to&amp;nbsp;back up all the databases in the server at&amp;nbsp;one 
time&amp;nbsp;you should use the --all-databases option. It tells MySQL to dump 
all the databases it has in storage.&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump -u root -p --all-databases &amp;gt; alldb_backup.sql &lt;/div&gt;
&lt;br /&gt;
The mysqldump&amp;nbsp;command has also some&amp;nbsp;other useful options:&lt;br /&gt;
&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;--add-drop-table:&lt;/b&gt;&lt;/span&gt; Tells MySQL to add a DROP TABLE statement before each CREATE TABLE in the dump.&lt;br /&gt;
&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;--no-data:&lt;/b&gt;&lt;/span&gt; Dumps only the database structure, not the contents. &lt;br /&gt;
&lt;span class=&quot;smallfont&quot;&gt;&lt;b&gt;--add-locks:&lt;/b&gt;&lt;/span&gt; Adds the LOCK TABLES and UNLOCK TABLES statements you can see in the dump file.&lt;br /&gt;
The mysqldump command has advantages and disadvantages. The 
advantages of using mysqldump are that it is simple to use and it takes 
care of table locking issues for you. The disadvantage is that the 
command locks tables. If the size of your tables is very 
big&amp;nbsp;mysqldump&amp;nbsp;can lock out users for a long period of time.&lt;br /&gt;
&lt;div class=&quot;articleheader&quot;&gt;
&lt;a href=&quot;http://draft.blogger.com/blogger.g?blogID=8633834210211605380&quot; name=&quot;compress&quot;&gt;&lt;/a&gt;Back up your MySQL Database with Compress&lt;/div&gt;
If your mysql database is very big, you might want to compress the 
output of mysqldump. Just use the mysql backup command below and pipe 
the output to gzip, then you will get&lt;br /&gt;
the output as gzip file.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysqldump -u [uname]&amp;nbsp;-p[pass] [dbname] | gzip -9 &amp;gt; [backupfile.sql.gz]&lt;/div&gt;
&lt;br /&gt;
If you want to extract the .gz file, use the command below:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ gunzip [backupfile.sql.gz]&lt;/div&gt;
&lt;div class=&quot;articleheader&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;articleheader&quot;&gt;
Restoring your MySQL Database&lt;/div&gt;
Above we backup the Tutorials database into tut_backup.sql file.&amp;nbsp;To 
re-create the Tutorials database you should follow two steps:&lt;br /&gt;
&lt;ul class=&quot;square&quot;&gt;
&lt;li&gt;Create an appropriately named database on the target machine 
&lt;/li&gt;
&lt;li&gt;Load the file using the mysql command:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysql -u [uname] -p[pass] [db_to_restore] &amp;lt; [backupfile.sql]&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
Have a look how you can restore your tut_backup.sql file to the Tutorials database.&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
$ mysql -u&amp;nbsp;root -p Tutorials &amp;lt; tut_backup.sql&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
To restore compressed backup files you can do the following:&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
gunzip &amp;lt; [backupfile.sql.gz] | mysql -u&amp;nbsp;[uname] -p[pass] [dbname]&lt;/div&gt;
&lt;div class=&quot;plaincode&quot;&gt;
&lt;/div&gt;
If you need to restore a database that already exists, you&#39;ll need to
 use mysqlimport command. The syntax for mysqlimport is as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;plaincode&quot;&gt;
mysqlimport -u [uname] -p[pass] [dbname] [backupfile.sql]&lt;/div&gt;
&lt;div class=&quot;articleheader&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;articleheader&quot;&gt;
Backing Up and Restoring using PHPMyAdmin&lt;/div&gt;
It is assumed that you have &lt;a href=&quot;http://www.phpmyadmin.net/&quot;&gt;phpMyAdmin&lt;/a&gt;
 installed since a lot of web service providers use it. To backup your 
MySQL database using PHPMyAdmin just follow a couple of steps:&lt;br /&gt;
&lt;ul class=&quot;square&quot;&gt;
&lt;li&gt;Open phpMyAdmin. 
&lt;/li&gt;
&lt;li&gt;Select your database by clicking the database name in the list on the left of the screen. 
&lt;/li&gt;
&lt;li&gt;Click the Export link. This should bring up a new screen that says View dump of database (or something similar). 
&lt;/li&gt;
&lt;li&gt;In the Export area, click the Select All link to choose all of the tables in your database. 
&lt;/li&gt;
&lt;li&gt;In the SQL options area, click the right options. 
&lt;/li&gt;
&lt;li&gt;Click on the Save as file option and the corresponding 
compression option and then click the &#39;Go&#39; button. A dialog box should 
appear prompting you to save the file locally.&lt;/li&gt;
&lt;/ul&gt;
Restoring your database is&amp;nbsp;easy as well as backing it up. Make the following:&lt;br /&gt;
&lt;ul class=&quot;square&quot;&gt;
&lt;li&gt;Open phpMyAdmin. 
&lt;/li&gt;
&lt;li&gt;Create an appropriately named database and select&amp;nbsp;it by 
clicking the database name in the list on the left of the screen. If you
 would like to rewrite the backup over an existing database then click 
on the database name,&amp;nbsp;select all the check boxes next to the table names
 and select Drop to delete all existing tables in the database. 
&lt;/li&gt;
&lt;li&gt;Click the SQL link. This should bring up a new screen where you can either type in SQL commands, or upload your SQL file. 
&lt;/li&gt;
&lt;li&gt;Use the browse button to find the database file. 
&lt;/li&gt;
&lt;li&gt;Click Go button. This will upload the backup, execute the SQL commands and re-create your database.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;a href=&quot;http://webcheatsheet.com/sql/mysql_backup_restore.php&quot; target=&quot;_blank&quot;&gt;http://webcheatsheet.com/sql/mysql_backup_restore.php &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/&quot; target=&quot;_blank&quot;&gt;http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.supportfacility.com/blog/mysql/how-to-repair-mysql-table-from-ssh/&quot; target=&quot;_blank&quot;&gt;http://www.supportfacility.com/blog/mysql/how-to-repair-mysql-table-from-ssh/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://viralpatel.net/blogs/mysql-database-backup-mysql-mysqldump-backup-command/&quot;&gt;http://viralpatel.net/blogs/mysql-database-backup-mysql-mysqldump-backup-command/&lt;/a&gt;&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
&lt;td style=&quot;padding-left: 50px;&quot; valign=&quot;top&quot; width=&quot;1&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/8477425357386445595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/06/how-to-back-up-and-restore-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8477425357386445595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8477425357386445595'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/06/how-to-back-up-and-restore-mysql.html' title='How to Back Up and Restore a MySQL Database'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-2001914528087530279</id><published>2012-05-31T11:37:00.004-07:00</published><updated>2012-05-31T11:37:57.136-07:00</updated><title type='text'>How to Fix Screen Brightness Resets To Lowest Level On Ubuntu</title><content type='html'>type in the terminal:&lt;br /&gt;
&lt;br /&gt;
sudo sed &quot;s/\(GRUB_CMDLINE_LINUX=\)\&quot;\&quot;/\1\&quot;acpi_osi=Linux acpi_backlight=vendor\&quot;/&quot; /etc/default/grub -i &lt;br /&gt;
then type:&lt;br /&gt;
&lt;br /&gt;
sudo update-grub&lt;br /&gt;
&lt;br /&gt;
then type:&lt;br /&gt;
&lt;br /&gt;
sudo reboot&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1972303&quot; target=&quot;_blank&quot;&gt;http://ubuntuforums.org/showthread.php?t=1972303&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://keyable.blogspot.com/2012/04/fix-screen-brightness-resets-to-lowest.html&quot; target=&quot;_blank&quot;&gt;http://keyable.blogspot.com/2012/04/fix-screen-brightness-resets-to-lowest.html &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/2001914528087530279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/how-to-fix-screen-brightness-resets-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/2001914528087530279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/2001914528087530279'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/how-to-fix-screen-brightness-resets-to.html' title='How to Fix Screen Brightness Resets To Lowest Level On Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-4929179033318165881</id><published>2012-05-25T00:26:00.003-07:00</published><updated>2012-05-25T00:26:42.197-07:00</updated><title type='text'>How to create a tar.gz archive</title><content type='html'>&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;tar -pczf name_of_your_archive.tar.gz /path/to/directory&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/4929179033318165881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/how-to-create-targz-archive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/4929179033318165881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/4929179033318165881'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/how-to-create-targz-archive.html' title='How to create a tar.gz archive'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-8066509253177068484</id><published>2012-05-16T19:02:00.004-07:00</published><updated>2012-05-16T19:02:35.605-07:00</updated><title type='text'>Fix Broken package on Ubuntu</title><content type='html'>&lt;a href=&quot;http://itechlog.com/linux/2008/12/18/fix-broken-package-ubuntu/&quot;&gt;http://itechlog.com/linux/2008/12/18/fix-broken-package-ubuntu/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.thepowerbase.com/2012/04/how-to-fix-broken-packages-in-ubuntu-or-debian/&quot; target=&quot;_blank&quot;&gt;http://www.thepowerbase.com/2012/04/how-to-fix-broken-packages-in-ubuntu-or-debian/ &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.bodhizazen.net/linux/apt-get-how-to-fix-very-broken-packages/&quot;&gt;http://blog.bodhizazen.net/linux/apt-get-how-to-fix-very-broken-packages/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/8066509253177068484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/fix-broken-package-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8066509253177068484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8066509253177068484'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/fix-broken-package-on-ubuntu.html' title='Fix Broken package on Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-255512716974725670</id><published>2012-05-16T19:01:00.000-07:00</published><updated>2012-05-16T19:01:16.515-07:00</updated><title type='text'>Ubuntu Sources List Generator</title><content type='html'>&lt;a href=&quot;http://repogen.simplylinux.ch/&quot;&gt;http://repogen.simplylinux.ch&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The way to use the sources.list generator is to select your country 
(Americans, please note – United States is in the U section (of 
course)).  Then you select your version, for instance Natty.  Then you 
check the Ubuntu repositories you require, and lastly, you select third 
party repositories.
&lt;br /&gt;
There are a good many repositories already available for Natty.  
Among them are the Medibuntu, Ubuntu Tweak and Google repositories.  Of 
course, more will be added.&lt;br /&gt;

Please note that for third party repositories, the result text lists how to store the gpg key for each repository.</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/255512716974725670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/ubuntu-sources-list-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/255512716974725670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/255512716974725670'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/ubuntu-sources-list-generator.html' title='Ubuntu Sources List Generator'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-564089231520409888</id><published>2012-05-04T02:13:00.001-07:00</published><updated>2012-05-04T02:13:25.521-07:00</updated><title type='text'>Ubuntu USB 3G modem issue solved</title><content type='html'>Open up a terminal from Applications -&amp;gt; Accessories. Type:&lt;br /&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo gedit /etc/modules&lt;/blockquote&gt;
&lt;br /&gt;At the bottom of the file, make two new lines, like this:&lt;br /&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; usbserial&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; option&lt;/blockquote&gt;
&lt;br /&gt;Then close the editor program and save it. Reboot the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: http://blog.christophersmart.com/2010/05/25/ubuntu-lucid-usb-3g-modem-issue-solved/</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/564089231520409888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/ubuntu-usb-3g-modem-issue-solved.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/564089231520409888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/564089231520409888'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/05/ubuntu-usb-3g-modem-issue-solved.html' title='Ubuntu USB 3G modem issue solved'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-5338649095226769511</id><published>2012-03-07T18:51:00.000-08:00</published><updated>2012-07-16T06:15:26.388-07:00</updated><title type='text'>Running Photoshop CS4 - CS5 with Wine on Ubuntu</title><content type='html'>You need ms fonts installed first&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;br /&gt;
sudo apt-get install ttf-mscorefonts-installer&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;From Nautilus - View -Show Hidden&lt;br /&gt;&lt;br /&gt;then go to /home/username/.wine/&lt;br /&gt;&lt;br /&gt;edit user.reg&lt;br /&gt;&lt;br /&gt;find this &quot;UserPreferenceMask&quot;=hex:10,00,02,80&lt;br /&gt;&lt;br /&gt;and replace from this line and above with this&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
WINE REGISTRY Version 2&lt;br /&gt;
;; All keys relative to \\User\\S-1-5-4&lt;br /&gt;
&lt;br /&gt;
[AppEvents\\Schemes\\Apps\\Explorer\\Navigating\\.Current] 1249917684&lt;br /&gt;
@=&quot;&quot;&lt;br /&gt;
&lt;br /&gt;
[Console] 1252956930&lt;br /&gt;
&quot;CursorSize&quot;=dword:00000019&lt;br /&gt;
&quot;CursorVisible&quot;=dword:00000001&lt;br /&gt;
&quot;EditionMode&quot;=dword:00000000&lt;br /&gt;
&quot;ExitOnDie&quot;=dword:00000001&lt;br /&gt;
&quot;FaceName&quot;=&quot;Courier\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0&quot;&lt;br /&gt;
&quot;FontSize&quot;=dword:000d0008&lt;br /&gt;
&quot;FontWeight&quot;=dword:00000000&lt;br /&gt;
&quot;HistoryBufferSize&quot;=dword:00000032&lt;br /&gt;
&quot;HistoryNoDup&quot;=dword:00000000&lt;br /&gt;
&quot;MenuMask&quot;=dword:00000000&lt;br /&gt;
&quot;QuickEdit&quot;=dword:00000000&lt;br /&gt;
&quot;ScreenBufferSize&quot;=dword:00190050&lt;br /&gt;
&quot;ScreenColors&quot;=dword:0000000f&lt;br /&gt;
&quot;WindowSize&quot;=dword:00190050&lt;br /&gt;
&lt;br /&gt;
[Control Panel\\Colors] 1254317519&lt;br /&gt;
&quot;ActiveBorder&quot;=&quot;212 208 200&quot;&lt;br /&gt;
&quot;ActiveTitle&quot;=&quot;94 129 188&quot;&lt;br /&gt;
&quot;AppWorkSpace&quot;=&quot;128 128 128&quot;&lt;br /&gt;
&quot;Background&quot;=&quot;16 26 38&quot;&lt;br /&gt;
&quot;ButtonAlternateFace&quot;=&quot;181 181 181&quot;&lt;br /&gt;
&quot;ButtonDkShadow&quot;=&quot;133 135 140&quot;&lt;br /&gt;
&quot;ButtonFace&quot;=&quot;235 233 237&quot;&lt;br /&gt;
&quot;ButtonHilight&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;ButtonLight&quot;=&quot;220 223 228&quot;&lt;br /&gt;
&quot;ButtonShadow&quot;=&quot;167 166 170&quot;&lt;br /&gt;
&quot;ButtonText&quot;=&quot;0 0 0&quot;&lt;br /&gt;
&quot;GradientActiveTitle&quot;=&quot;112 177 235&quot;&lt;br /&gt;
&quot;GradientInactiveTitle&quot;=&quot;131 183 227&quot;&lt;br /&gt;
&quot;GrayText&quot;=&quot;167 166 170&quot;&lt;br /&gt;
&quot;Hilight&quot;=&quot;94 129 188&quot;&lt;br /&gt;
&quot;HilightText&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;HotTrackingColor&quot;=&quot;0 0 128&quot;&lt;br /&gt;
&quot;InactiveBorder&quot;=&quot;212 208 200&quot;&lt;br /&gt;
&quot;InactiveTitle&quot;=&quot;111 161 217&quot;&lt;br /&gt;
&quot;InactiveTitleText&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;InfoText&quot;=&quot;0 0 0&quot;&lt;br /&gt;
&quot;InfoWindow&quot;=&quot;255 255 225&quot;&lt;br /&gt;
&quot;Menu&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;MenuBar&quot;=&quot;235 233 237&quot;&lt;br /&gt;
&quot;MenuHilight&quot;=&quot;94 129 188&quot;&lt;br /&gt;
&quot;MenuText&quot;=&quot;0 0 0&quot;&lt;br /&gt;
&quot;Scrollbar&quot;=&quot;212 208 200&quot;&lt;br /&gt;
&quot;TitleText&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;Window&quot;=&quot;255 255 255&quot;&lt;br /&gt;
&quot;WindowFrame&quot;=&quot;0 0 0&quot;&lt;br /&gt;
&quot;WindowText&quot;=&quot;0 0 0&quot;&lt;br /&gt;
&lt;br /&gt;
[Control Panel\\Desktop] 1254316497&lt;br /&gt;
&quot;DragFullWindows&quot;=&quot;0&quot;&lt;br /&gt;
&quot;FontSmoothing&quot;=&quot;2&quot;&lt;br /&gt;
&quot;FontSmoothingGamma&quot;=dword:00000578&lt;br /&gt;
&quot;FontSmoothingOrientation&quot;=dword:00000001&lt;br /&gt;
&quot;FontSmoothingType&quot;=dword:00000002&lt;br /&gt;
&quot;LowPowerActive&quot;=&quot;0&quot;&lt;br /&gt;
&quot;MenuShowDelay&quot;=&quot;400&quot;&lt;br /&gt;
&quot;SmoothScroll&quot;=hex:00,00,00,00&lt;br /&gt;
&quot;UserPreferenceMask&quot;=hex:10,00,02,80&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Save and close.&lt;br /&gt;
&lt;br /&gt;
now  you have antialiasing on menu and some other boxes only!&lt;br /&gt;
&lt;br /&gt;
lets fix it all!!!&lt;br /&gt;
&lt;br /&gt;
You have to &lt;a href=&quot;http://rapidshare.com/files/286916288/Tahome.rar&quot;&gt;download&lt;/a&gt; Tahoma fonts from &lt;a href=&quot;http://rapidshare.com/files/286916288/Tahome.rar&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Unzip and copy the to font files to /home/username/.wine/drive_c/windows/Fonts&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://rapidshare.com/files/269401723/Adobe.PS.CS4.Portable.rar&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://rapidshare.com/files/269401723/Adobe.PS.CS4.Portable.rar&quot; target=&quot;_blank&quot;&gt;Photoshop CS4 Portable&lt;/a&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://d01.megashares.com/?d01=CPNZ5My&quot;&gt;Photoshop CS5 Portable&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unrar it where ever you want to run, it runs direct without install.&lt;br /&gt;
&lt;br /&gt;
then &lt;a href=&quot;http://www.dll-files.com/dllindex/dll-files.shtml?gdiplus&quot;&gt;download&lt;/a&gt; from &lt;a href=&quot;http://www.dll-files.com/dllindex/dll-files.shtml?gdiplus&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
gdiplus.dll
 and copy it to system32 folder as root (in terminal : sudo nautilus) 
and go to home/yourusername/.wine/dosdevices/c:/windows/system32&lt;br /&gt;
&lt;br /&gt;
Download fix for Type tool from &lt;a href=&quot;http://rapidshare.com/files/289713923/5.1.2.225__atmlib.zip&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
and copy it to system32 this one too!&lt;br /&gt;
&lt;br /&gt;
then
 from Application-Wine-Configure Wine go Applications and add the exe 
file of photoshop, then select it go to Libraries and select 
gdiplus.dll, when you select it press Add and Ok.&lt;br /&gt;
&lt;br /&gt;
you are ready .. execute Photoshop.exe from unziped folder and work!!&lt;br /&gt;
&lt;br /&gt;
ps. Always need latest wine version! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 class=&quot;post-title&quot;&gt;


&lt;a href=&quot;http://ubuntudoitall.blogspot.com/2010/05/adobe-photoshop-cs5-and-1004.html&quot;&gt;Adobe Photoshop CS5 and 10.04:)&lt;/a&gt;
&lt;/h3&gt;
&lt;div style=&quot;float: right;&quot;&gt;
&lt;ins style=&quot;border: none; display: inline-table; height: nullpx; margin: 0; padding: 0; position: relative; visibility: visible; width: nullpx;&quot;&gt;&lt;/ins&gt;&lt;br /&gt;
&lt;ins id=&quot;aswift_1_anchor&quot; style=&quot;border: none; display: block; height: nullpx; margin: 0; padding: 0; position: relative; visibility: visible; width: nullpx;&quot;&gt;&lt;/ins&gt;&lt;br /&gt;

&lt;/div&gt;
Ok, its easy with portable again!! always with latest wine!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://d01.megashares.com/?d01=CPNZ5My&quot;&gt;Download From here CS5 portable &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you have error when execute the file , right click - properties - pemissions Tab&lt;br /&gt;
and click Execute - Allow Executing file as program&lt;br /&gt;
&lt;br /&gt;
double click to execute now.&lt;br /&gt;
&lt;br /&gt;
follow the installation instructions and install it on c:\program files\&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
you have to  add in .wine\drive_c\windows\system32 this&lt;a href=&quot;http://rapidshare.com/files/289713923/5.1.2.225__atmlib.zip&quot;&gt; fix file for type tool &lt;/a&gt;like CS4 :)&lt;br /&gt;
&lt;br /&gt;
This version doesnt need to accept the license agreement runs directly!&lt;br /&gt;
&lt;br /&gt;
Gdiplus.dll no more needed with latest wine.&lt;br /&gt;
&lt;br /&gt;
Enjoy latest Photoshop:)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sources:&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://ubuntudoitall.blogspot.com/2009/09/running-photoshop-cs4-with-wine-finally.html&quot;&gt;http://ubuntudoitall.blogspot.com/2009/09/running-photoshop-cs4-with-wine-finally.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntudoitall.blogspot.com/2009/09/wine-with-full-antialiasing.html&quot;&gt;http://ubuntudoitall.blogspot.com/2009/09/wine-with-full-antialiasing.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntudoitall.blogspot.com/2010/05/adobe-photoshop-cs5-and-1004.html%20&quot; target=&quot;_blank&quot;&gt;http://ubuntudoitall.blogspot.com/2010/05/adobe-photoshop-cs5-and-1004.html&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Perfect guide on wine&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20158&amp;amp;iTestingId=71572&quot;&gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20158&amp;amp;iTestingId=71572&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/5338649095226769511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/03/running-photoshop-cs4-cs5-with-wine-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/5338649095226769511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/5338649095226769511'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/03/running-photoshop-cs4-cs5-with-wine-on.html' title='Running Photoshop CS4 - CS5 with Wine on Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8633834210211605380.post-8483480191167783229</id><published>2012-03-03T15:39:00.000-08:00</published><updated>2012-03-03T15:39:19.979-08:00</updated><title type='text'>Boot to text mode in Ubuntu</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Installing the GUI will probably cause it to start automatically, but it&#39;s very easy to boot to text mode in Ubuntu. Just open&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;&quot;&gt;/etc/default/grub&lt;/code&gt;&amp;nbsp;as root and add&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;&quot;&gt;text&lt;/code&gt;&amp;nbsp;to the&lt;/div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;GRUB_CMDLINE_LINUX_DEFAULT=
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
line. Then run:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;sudo update-grub
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Your system will then always boot to text mode.&lt;/div&gt;
&lt;div style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
If you want to boot to the GUI, just press&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;&quot;&gt;e&lt;/code&gt;&amp;nbsp;in the boot menu and remove&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;&quot;&gt;text&lt;/code&gt;&amp;nbsp;from the&amp;nbsp;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;&quot;&gt;kernel&lt;/code&gt;&amp;nbsp;line.&lt;/div&gt;
&lt;div style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #333333; font-family: &#39;Ubuntu Beta&#39;, UbuntuBeta, Ubuntu, &#39;Bitstream Vera Sans&#39;, &#39;DejaVu Sans&#39;, Tahoma, sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
If you want to start the GUI after boot, just run:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 17px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-color: #e0e0e0; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;sudo /etc/init.d/lightdm start&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Source: &lt;a href=&quot;http://askubuntu.com/questions/74645/possible-to-install-ubuntu-desktop-and-then-boot-to-no-gui&quot; style=&quot;background-color: transparent;&quot;&gt;http://askubuntu.com/questions/74645/possible-to-install-ubuntu-desktop-and-then-boot-to-no-gui&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntumind.blogspot.com/feeds/8483480191167783229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntumind.blogspot.com/2012/03/boot-to-text-mode-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8483480191167783229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8633834210211605380/posts/default/8483480191167783229'/><link rel='alternate' type='text/html' href='http://ubuntumind.blogspot.com/2012/03/boot-to-text-mode-in-ubuntu.html' title='Boot to text mode in Ubuntu'/><author><name>Maduka Jayalath</name><uri>http://www.blogger.com/profile/06981967263636030506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>