<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ubuntu Linux, ubuntu desktop, Linux operating system, ubuntu guide</title>
	<atom:link href="http://ubuntulinux.co.in/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntulinux.co.in/blog</link>
	<description>How to fix the Technical issue in Ubuntu linux</description>
	<lastBuildDate>Thu, 17 May 2012 13:12:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Gmail Tricks</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/gmail-tricks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gmail-tricks</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/gmail-tricks/#comments</comments>
		<pubDate>Thu, 17 May 2012 13:12:03 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Gmail Tricks]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=521</guid>
		<description><![CDATA[Whether you use Google&#8217;s Gmail service at work or for personal purposes, you probably have a good handle on the basics: organizing your contacts, sending emails, setting up folders and more.]]></description>
			<content:encoded><![CDATA[<p>Whether you use Google&#8217;s Gmail service at work or for personal purposes, you probably have a good handle on the basics: organizing your contacts, sending emails, setting up folders and more.</p>
<p>But if you&#8217;ve mastered the basics and are looking to increase your Gmail prowess and productivity, here&#8217;s a look at five tips and tricks that will take you to the next level.</p>
<h3>1. How to Set Up Desktop Notifications</h3>
<p>If you&#8217;re expecting an important email, there&#8217;s no need to constantly refresh or monitor your inbox. Instead, download an add-on for the Google Chrome browser that enables a popup that lets you know when you have a new email or chat message.</p>
<p>Chat notifications are enabled by default, but you can disable them in your Gmail settings. To enable email or chat notifications, here&#8217;s what to do:</p>
<p>First, click the gear icon in the upper right of your Gmail and select &#8220;Settings.&#8221; On the &#8220;General&#8221; tab, select the option you&#8217;d like in the &#8220;Desktop Notifications&#8221; section. Here, you can turn Chat notifications on or off, or receive notifications for all incoming email or only those Gmail marks &#8220;Important.&#8221; When you&#8217;ve made your selections, click &#8220;Save.&#8221; Right now, this feature works only for Chrome browsers.</p>
<h3>2. How to Quickly Add Multiple Attachments to an Email</h3>
<p>If an email you&#8217;re sending requires you to add multiple attachments, there&#8217;s an easier way than selecting and uploading files one-by-one.</p>
<div><img title="Extended Info's example of additional fields." src="http://www.cio.com/images/content/articles/body/2012/05/gmailtip4.jpg" alt="" /></div>
<p>&nbsp;</p>
<p>If you want to send multiple files from the same folder, hold down the Ctrl key (or Command key on Macs) and click on each file you want to attach to your message. Or, you can also hold down the Shift key to select a continuous group of files.</p>
<p>Another option is to click and drag file icons from a folder or your desktop directly to the &#8220;Attach a file&#8221; section. When you do, the area will change to white and display this message: &#8220;Drop files here to add them as attachments.&#8221;</p>
<h3>3. How to Send an Automatic Vacation Response</h3>
<p>The vacation response feature will automatically send a reply with a message to anyone who emails you, except for messages classified as spam and messages addressed to a mailing list you subscribe to. These groups will not receive a notification. If a person contacts you again after four days, Gmail will send another vacation response to remind the person youre away.</p>
<p>To set up a vacation response, click the gear icon in the upper right of your Gmail and select &#8220;Settings.&#8221; From the &#8220;General&#8221; tab, select &#8220;Vacation Responder on&#8221; in the &#8220;Vacation responder&#8221; section. Next, enter the subject and body of your message in the appropriate fields, then check the box next to &#8220;Only send a response to people in my Contacts&#8221; if you don&#8217;t want everyone who emails you to know you&#8217;re away.</p>
<p>If you use Google Apps, you&#8217;ll also see an option to send a response only to people from your domain. If you check both of these boxes, only people who are in your contacts and your domain will receive the automatic response. When you&#8217;re done, click &#8220;Save Changes.&#8221;</p>
<p>When you&#8217;re back from vacation, click &#8220;end now&#8221; in the banner that runs across the top of your Gmail page.</p>
<h3>4. How to Learn More About Your Contacts</h3>
<p>Gmail&#8217;s people widget, located on the right-hand side of your messages, shows you contextual information about the people you&#8217;re interacting with in Gmail.</p>
<div><img title="Extended Info's example of additional fields." src="http://www.cio.com/images/content/articles/body/2012/05/gmailtip3.jpg" alt="" /></div>
<p>&nbsp;</p>
<p>Click on the contact&#8217;s name on the right side to see information such as their name, email address or occupation; recent Google+ posts your contact has made visible to you, which you can +1 directly in Gmail; recent emails your contact has sent you; Google Calendar events if your contact&#8217;s Calendar is shared with you; and Google docs, shared with both you and the contact.</p>
<p>If you have several contacts on an email thread, the contact with the first unread message in the conversation will have the above information shown in the people widget. You can find more information about others in the conversation by clicking the more link at the top of the people widget.</p>
<p>To disable the people widget, click the gear icon in the upper right and select &#8220;Settings.&#8221; On the &#8220;General&#8221; tab, select &#8220;Hide the people widget&#8221; button. Then click &#8220;Save Changes&#8221; at the bottom of the page.</p>
<h3>5. How to Sign Out of Gmail Remotely</h3>
<p>If you use multiple computers or devices to sign into Gmail and think you forgot to log out, you can do so remotely. Scroll to the bottom of your inbox: You&#8217;ll see information about the time and location of the last activity on your account. Click &#8220;Details&#8221; to see whether your account is still open in another location.</p>
<div>
<p>The page that pops up shows you if your account is open in another location, recent activity,(which includes whether it was accessed by browser, mobile, POP3 and so on) the IP address; and the date and time. You can also log out of all other sessions from here.</p>
<div></div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/gmail-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 8 Tablets Due in November</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/windows-8-tablets-due-in-november/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-8-tablets-due-in-november</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/windows-8-tablets-due-in-november/#comments</comments>
		<pubDate>Wed, 16 May 2012 18:08:48 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows 8 Tablets]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=518</guid>
		<description><![CDATA[Windows 8 tablets and tablet/laptop hybrids built on Intel architecture will be in retail stores in November, according to a CNET storythat cites a source close to Windows 8 device makers.]]></description>
			<content:encoded><![CDATA[<p>Windows 8 tablets and tablet/laptop hybrids built on Intel architecture will be in retail stores in November, according to a CNET storythat cites a source close to Windows 8 device makers.</p>
<p>These devices will be using Intel&#8217;s newest Atom chips, named Clover Trail, which are the chip-maker&#8217;s first dual-core Atom design based on 32-nanometer processing. Windows 8 devices will be powered by chips from both Intel and AMD and will be able to run older &#8220;legacy&#8221; applications.</p>
<p><a href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/05/windows8.jpg"><img class="aligncenter size-medium wp-image-519" title="windows8" src="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/05/windows8-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It&#8217;s been a foregone conclusion that Windows 8 will arrive in the fall. October has been the assumed month. So CNET&#8217;s source calling for November Windows 8 tablets is consistent, though some analysts are saying that November may be too late.</p>
<p>The CNET source said that half of the Intel chip-based Windows 8 tablet devices will be hybrids. As someone sitting on the fence between laptop and tablet use, I&#8217;m intrigued by the idea of a Windows 8 hybrid model where an ultrabook with a traditional physical keyboard folds seamlessly into a touch-screen tablet.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/windows-8-tablets-due-in-november/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desura game platform launched on Linux</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/desura-game-platform-launched-on-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=desura-game-platform-launched-on-linux</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/desura-game-platform-launched-on-linux/#comments</comments>
		<pubDate>Sun, 13 May 2012 08:41:02 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Desura game platform launched on Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux free games]]></category>
		<category><![CDATA[Linux Games]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=514</guid>
		<description><![CDATA[Linux client for the independent Desura game platform has now been released. The new release is an application that makes it easy to install, patch and play games on all Linux and Windows distribution according to developers.]]></description>
			<content:encoded><![CDATA[<p>Linux client for the independent Desura game platform has now been released. The new release is an application that makes it easy to install, patch and play games on all Linux and Windows distribution according to developers.</p>
<p><a href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/05/desura.jpg"><img class="aligncenter size-medium wp-image-515" title="desura" src="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/05/desura-300x211.jpg" alt="" width="300" height="211" /></a>You are required to first signup with a valid email address in order to use the service and get games. At present 65 games in various genres have been available for Linux.</p>
<p>There are also a few free games. The list includes the turned-based strategy game Triple A free now.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/desura-game-platform-launched-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenStack &#8211; Installing OpenStack Essex (2012.1) on Ubuntu 12.04</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/openstack-installing-openstack-essex-2012-1-on-ubuntu-12-04/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=openstack-installing-openstack-essex-2012-1-on-ubuntu-12-04</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/openstack-installing-openstack-essex-2012-1-on-ubuntu-12-04/#comments</comments>
		<pubDate>Wed, 09 May 2012 18:38:05 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ububtu 12.04]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[openstack]]></category>
		<category><![CDATA[OpenStack - Installing OpenStack Essex (2012.1) on Ubuntu 12.04]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=510</guid>
		<description><![CDATA[What is OpenStack]]></description>
			<content:encoded><![CDATA[<p>What is OpenStack</p>
<p><strong>OpenStack</strong> OpenStack is a global collaboration of developers and cloud computing technologists producing the ubiquitous open source cloud computing platform for public and private clouds. The project aims to deliver solutions for all types of clouds by being simple to implement, massively scalable, and feature rich. The technology consists of a series of interrelated projects delivering various components for a cloud infrastructure solution.</p>
<p><strong><span style="text-decoration: underline;">Installing OpenStack Essex (2012.1) on Ubuntu 12.04 (&#8220;Precise Pangolin&#8221;)<a href="http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin">:</a></span></strong></p>
<p>Install NTP by issuing this command on the command line:</p>
<p><code>apt-get install ntp</code></p>
<p>Then, open <em>/etc/ntp.conf</em> in your favourite editor and add these lines:</p>
<p><code>server ntp.ubuntu.com iburst<br />
server 127.127.1.0<br />
fudge 127.127.1.0 stratum 10</code></p>
<p>Restart NTP by issuing the command</p>
<p><code>service ntp restart</code></p>
<p>to finish this part of the installation. Next, install the tgt target, which features an iscsi target (we&#8217;ll need it for nova-volume):</p>
<p><code>apt-get install tgt</code></p>
<p>Then start it with</p>
<p><code>service tgt start</code></p>
<p>Given that we&#8217;ll be running nova-compute on this machine as well, we&#8217;ll also need the openiscsi-client. Install it with:</p>
<p><code>apt-get install open-iscsi open-iscsi-utils</code></p>
<p>Next, we need to make sure that our network is working as expected. As pointed out earlier, the machine we&#8217;re doing this on has two network interfaces, <em>eth0</em> and <em>eth1</em>. <em>eth0</em> is the machine&#8217;s link to the outside world, <em>eth1</em> is the interface we&#8217;ll be using for our virtual machines. We&#8217;ll also make nova bridge clients via <em>eth0</em> into the internet. To achieve this kind of setup, first create the according network configuration in <em>/etc/network/interfaces</em> (assuming that you are not using NetworkManager). An example could look like this:</p>
<p><code>auto lo<br />
iface lo inet loopback</code></p>
<p><code>auto eth0<br />
iface eth0 inet static<br />
address 10.42.0.6<br />
network 10.42.0.0<br />
netmask 255.255.255.0<br />
broadcast 10.42.0.255<br />
gateway 10.42.0.1</code></p>
<p><code>auto eth1<br />
iface eth1 inet static<br />
address 192.168.22.1<br />
network 192.168.22.0<br />
netmask 255.255.255.0<br />
broadcast 192.168.22.255</code></p>
<p>As you can see, the &#8220;public&#8221; network here is 10.42.0.0/24 while the &#8220;private&#8221; network (within which our VMs will be residing) is 192.168.22.0/24. This machine&#8217;s IP address in the public network is 10.42.0.6 and we&#8217;ll be using this IP in configuration files later on (except for when connecting to MySQL, which we&#8217;ll by connecting to 127.0.0.1). After changing your network interfaces definition accordingly, make sure that the <em>bridge-utils</em> package is installed. Should it be missing on your system, install it with</p>
<pre>apt-get install bridge-utils</pre>
<p>Then, restart your network with</p>
<p><code>/etc/init.d/networking restart</code></p>
<p>We&#8217;ll also need RabbitMQ, an AMQP-implementation, as that is what all OpenStack components use to communicate with eath other, and memcached.</p>
<pre>apt-get install rabbitmq-server memcached python-memcache</pre>
<div>As we&#8217;ll also want to run KVM virtual machines on this very same host, we&#8217;ll need KVM and libvirt, which OpenStack uses to control virtual machines. Install these packages with:</div>
<div>
<pre>apt-get install kvm libvirt-bin</pre>
</div>
<div>Last but not least, make sure you have an LVM volume group called nova-volumes; the nova-volume service will need such a VG later on.</div>
<div></div>
<div>
<h1>Install MySQL and create the necessary databases and users</h1>
<p>Nova and glance will use MySQL to store their runtime data. To make sure they can do that, we&#8217;ll install and set up MySQL. Do this:</p>
<p><code>apt-get install -y mysql-server python-mysqldb</code></p>
<p>When the package installation is done and you want other machines (read: OpenStack computing nodes) to be able to talk to that MySQL database, too, open up <em>/etc/mysql/my.cnf</em> in your favourite editor and change this line:</p>
<p><code>bind-address = 127.0.0.1</code></p>
<p>to look like this:</p>
<p><code>bind-address = 0.0.0.0</code></p>
<p>Then, restart MySQL:</p>
<p><code>service mysql restart</code></p>
<p>Now create the user accounts in mysql and grant them access on the according databases, which you need to create, too:</p>
<pre>mysql -u root &lt;&lt;EOF
CREATE DATABASE nova;
GRANT ALL PRIVILEGES ON nova.* TO 'novadbadmin'@'%'
  IDENTIFIED BY 'dieD9Mie';
EOF</pre>
<pre>mysql -u root &lt;&lt;EOF
CREATE DATABASE glance;
GRANT ALL PRIVILEGES ON glance.* TO 'glancedbadmin'@'%'
  IDENTIFIED BY 'ohC3teiv';
EOF
</pre>
<h1>Install and configure Keystone</h1>
<p>We can finally get to OpenStack now and we&#8217;ll start by installing the Identity component, codenamed Keystone. Install the according packages:</p>
<p><code>apt-get install keystone python-keystone python-keystoneclient</code></p>
<p>Then, open <em>/etc/keystone/keystone.conf</em> in an editor and make sure to set a value for <em>admin_token</em>. We&#8217;ll use &#8220;hastexo&#8221; in this example.</p>
<p>Scroll down to the section starting with <em>[catalog]</em>. This section defines where Keystone finds its endpoint defintions. In earlier versions of Keystone, endpoints had to be manually defined with <em>keystone-manage,</em> but in newer Keystone versions, we can just use a template for that. Ubuntu&#8217;s default configuration uses such an endpoint catalog stored in MySQL. However, according to the OpenStack developers, this isn&#8217;t the recommended method for Essex. Change the<em> [catalog]</em> section to look like this:</p>
<p><code>[catalog]<br />
driver = keystone.catalog.backends.templated.TemplatedCatalog<br />
template_file = /etc/keystone/default_catalog.templates</code></p>
<p>After you have conduced these changes, restart Keystone by issuing this command:</p>
<p><code>service keystone restart</code></p>
<div>The next step is to fill Keystone with actual data. You can use the script attached to this blog entry entitled <em>keystone_data.sh_.txt.</em><em> </em>It&#8217;s courtesy of the Devstack project with some adaptions. Rename the file to <em>keystone_data.sh.</em> Be sure to replace the admin password (<em>ADMIN_PASSWORD</em> variable) and the value for SERVICE_TOKEN with the entry you specified in keystone.conf for <em>admin_token</em> earlier. Then just make the script executable and call it; if everything goes well, it should deliver a return code of 0 and your keystone is ready to go.</div>
</div>
<div></div>
<div>Download the<a title="Keystone" href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/05/keystone_data.sh_.txt"> file</a></div>
<div></div>
<div>
<h1 class="title">Install and configure Glance</h1>
<p>The next step on our way to OpenStack is its Image Service, codenamed Glance. First, install the packages necessary for it:</p>
<div>
<p><code>apt-get install glance glance-api glance-client glance-common glance-registry python-glance</code></p>
</div>
<div>When that is done, open <em>/etc/glance/glance-api-paste.ini</em> in an editor and scroll down to the end of the document. You&#8217;ll see these three lines at its very end:</div>
<pre>admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%</pre>
<div>
<div>Fill in values here appropriate for your setup. If you used the <em>keystone_data.sh</em> script from this site, then your <em>admin_tenant_name</em> will be <em>admin</em> and your <em>admin_user</em> will be <em>admin</em>, too. <em>admin_password</em> is the password you defined for ADMIN_PASSWORD in <em>keystone_data.sh</em>, so use the same value here, too. In this example, we&#8217;ll use <em>hastexo</em>.</p>
</div>
</div>
<div>After this, open <em>/etc/glance/glance-registry-paste.ini</em> and scroll to that file&#8217;s end, too. Adapt it in the same way you adapted <em>/etc/glance/glance-api-paste.ini</em> earlier.</p>
</div>
<div>Please open <em>/etc/glance/glance-registry.conf</em> now and scroll down to the line starting with <em>sql_connection</em>. This is where we tell Glance to use MySQL; according to the MySQL configuration we created earlier, the <em>sql_connection</em>-line for this example would look like this:</div>
<div>
<pre>sql_connection = mysql://glancedbadmin:ohC3teiv@<strong>10.42.0.6</strong>/glance</pre>
</div>
<div>It&#8217;s important to use the machine&#8217;s actual IP in this example and <em>not</em> 127.0.0.1! After this, scroll down until the end of the document and add these two lines:</div>
<pre>[paste_deploy]
flavor = keystone</pre>
<div>These two lines instruct the Glance Registry to use Keystone for authentication, which is what we want. Now we need to do the same for the Glance API. Open <em>/etc/glance/glance-api.conf</em> and add these two lines at the end of the document:</div>
<div>
<pre>[paste_deploy]
flavor = keystone</pre>
</div>
<div>Afterwards, you need to initially synchronize the Glance database by running these commands:</div>
<pre>glance-manage version_control 0
glance-manage db_sync</pre>
<div>It&#8217;s time to restart Glance now:</div>
<pre>service glance-api restart &amp;&amp; service glance-registry restart</pre>
<div>Now what&#8217;s the best method to verify that Glance is working as expected? The <em>glance </em>command line utilty can do that for us, but to work properly, it needs to know how we want to authenticate ourselves to Glance (and keystone, subsequently). This is a very good moment to define four environmental variables that we&#8217;ll need continously when working with OpenStack: OS_TENANT_NAME, OS_USERNAME, OS_PASSWORD and OS_AUTH_URL.  Here&#8217;s what they should look like in our example scenario:</div>
<pre>export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=hastexo
export OS_AUTH_URL="http://localhost:5000/v2.0/"</pre>
<div>The first three entries are identical with what you inserted into Glance&#8217;s API configuration files earlier and the entry for OS_AUTH_URL is mostly generic and should just work. After exporting these variables, you should be able to do</div>
<pre>glance index</pre>
<p>and get no output at all in return (but the return code will be 0; check with <em>echo $?</em>). If that&#8217;s the case, Glance is setup correctly and properly connects with Keystone. Now let&#8217;s add our first image!</p>
<p>We&#8217;ll be using a Ubuntu UEC image for this. Download one:</p>
<pre>wget http://uec-images.ubuntu.com/releases/11.10/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img</pre>
<div>Then add this image to Glance:</div>
<pre>glance add name="Ubuntu 11.10 cloudimg amd64" is_public=true container_format=ovf disk_format=qcow2 &lt; ubuntu-11.10-server-cloudimg-amd64-disk1.img</pre>
<div>After this, if you do</div>
<pre>glance index</pre>
<div>once more, you should be seeing the freshly added image.</div>
</div>
<div></div>
<div>
<h1 class="title">Install and configure Nova</h1>
<p>OpenStack Compute, codenamed Nova, is by far the most important and the most substantial openstack component. Whatever you do when it comes to managing VMs will be done by Nova in the background. The good news is: Nova is basically controlled by one configuration file, <em>/etc/nova/nova.conf</em>. Get started by installing all nova-related components:</p>
<pre>apt-get install nova-api nova-cert nova-common nova-compute nova-compute-kvm nova-doc nova-network nova-objectstore nova-scheduler nova-vncproxy nova-volume python-nova python-novaclient</pre>
<div>Then, open <em>/etc/nova/nova.conf</em> and replace everything in there with these lines:</div>
<div>
<pre>--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=10.42.0.6
--ec2_host=10.42.0.6
--rabbit_host=10.42.0.6
--cc_host=10.42.0.6
--nova_url=http://10.42.0.6:8774/v1.1/
--routing_source_ip=10.42.0.6
--glance_api_servers=10.42.0.6:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.22
--sql_connection=mysql://novadbadmin:dieD9Mie@10.42.0.6/nova
--ec2_url=http://10.42.0.6:8773/services/Cloud
--keystone_ec2_url=http://10.42.0.6:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--vnc_enabled=true
--vncproxy_url=http://10.42.0.6:6080
--vnc_console_proxy_url=http://10.42.0.6:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.22.32/27
--floating_range=10.42.0.32/27 
--network_size=32
--flat_network_dhcp_start=192.168.22.33
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose</pre>
</div>
<p>As you can see, many of the entries in this file are self-explanatory; the trickiest bit to get done right is the network configuration part, which you can see at the end of the file. We&#8217;re using Nova&#8217;s FlatDHCP network mode; 192.168.22.32/27 is the fixed range from which our future VMs will get their IP adresses, starting with 192.168.22.33. Our flat interface is eth1 (nova-network will bridge this into a bridge named <em>br100</em>), our public interface is eth0. An additional floating range is defined at 10.42.0.32/27 (for those VMs that we want to have a &#8216;public IP&#8217;).</p>
<p><strong>Attention</strong>: Every occurance of <em>10.42.0.6</em> in this file refers to the IP of the machine I used for writing this guide. You need to <strong>replace</strong> it with the actual <strong>machine IP</strong> of the box you are running  this on. For example, if your machine has the local IP address <em>192.168.0.1</em>, then use this IP instead of <em>10.42.0.6</em>.</p>
<p>After saving <em>nova.conf</em>, <strong>open <em>/etc/nova/api-paste.ini</em></strong> in an editor and scroll down to the end of the file. <strong>Adapt it</strong> according to the changes you conducted in Glance&#8217;s paste-files in step 3.</p>
<p>Then, restart all nova services to make the configuration file changes take effect:</p>
<pre>for a in libvirt-bin nova-network nova-compute nova-api nova-objectstore nova-scheduler nova-volume nova-vncproxy; do service "$a" stop; done</pre>
<pre>for a in libvirt-bin nova-network nova-compute nova-api nova-objectstore nova-scheduler nova-volume nova-vncproxy; do service "$a" start; done</pre>
<p>The next step will create all databases Nova needs in MySQL. While we are at it, we can also create the network we want to use for our VMs in the Nova databases. Do this:</p>
<pre>nova-manage db sync</pre>
<pre>nova-manage network create private --fixed_range_v4=192.168.22.32/27 --num_networks=1 --bridge=br100 --bridge_interface=eth1 --network_size=32</pre>
<div>Also, make sure that all files in /etc/nova belong to the nova user and the nova group:</div>
<pre>chown -R nova:nova /etc/nova</pre>
<div>Then, restart all nova-related services again:</div>
<pre>for a in libvirt-bin nova-network nova-compute nova-api nova-objectstore nova-scheduler nova-volume nova-vncproxy; do service "$a" stop; done</pre>
<pre>for a in libvirt-bin nova-network nova-compute nova-api nova-objectstore nova-scheduler nova-volume nova-vncproxy; do service "$a" start; done</pre>
<div>You should now see all these nova-* processes when doing <em>ps auxw</em>. And you should be able to use the numerous nova commands. For example,</div>
<pre>nova list</pre>
<div>should give you a list of all currently running VMs (none, the list should be empty). And</div>
<pre>nova image-list</pre>
<div>should show a list of the image you uploaded to Glance in the step before. If that&#8217;s the case, Nova is working as expected and you can carry on with starting your first VM.</div>
</div>
<div></div>
<div>
<h1 class="title">Your first VM</h1>
<p>Once Nova works as desired, starting your first own cloud VM is easy. As we&#8217;re using a Ubuntu image for this example which allows for SSH-key based login only, we first need to store a public SSH key for our <em>admin</em> user in the OpenStack database. Upload the file containing your SSH public key onto the server (i&#8217;ll assume the file is called id_dsa.pub) and do this:</p>
<pre>nova keypair-add --pub_key id_rsa.pub key1</pre>
<div>This will add the key to OpenStack Nova and store it with the name &#8220;key1&#8243;. The only thing left to do after this is firing up your VM. Find out what ID your Ubuntu image has, you can do this with:</div>
<pre>nova image-list</pre>
<div>When starting a VM, you also need to define the flavor it is supposed to use. Flavors are pre-defined hardware schemes in OpenStack with which you can define what resources your newly created VM has. OpenStack comes with five pre-defined flavors; you can get an overview over the existing flavors with</div>
<pre>nova flavor-list</pre>
<div>Flavors are referenced by their ID, not by  their name. That&#8217;s important for the actual command to execute to start your VM. That command&#8217;s syntax basically is this:</div>
<pre>nova boot --flavor <em>ID</em> --image <em>Image-UUID</em> --key_name <em>key-name vm_name</em></pre>
<div>So let&#8217;s assume you want to start a VM with the <em>m1.tiny</em> flavor, which has the ID 1. Let&#8217;s further assume that your image&#8217;s UUID in Glance is <em>9bab7ce7-7523-4d37-831f-c18fbc5cb543</em> and that you want to use the SSH key <em>key1</em>. Last but nut least, you want your new VM to have the name <em>superfrobnicator</em>. Here&#8217;s the command you would need to start that particular VM:</div>
<pre>nova boot --flavor 1 --image <em>9bab7ce7-7523-4d37-831f-c18fbc5cb543</em> --key_name key1 superfrobnicator</pre>
<div>After hitting the Enter key, Nova will show you a summary with all important details concerning the new VM. After some seconds, issue the command</div>
<pre>nova show superfrobnicator</pre>
<div>In the line with the <em>private_network</em> keyword, you&#8217;ll see the IP address that Nova has assigned this particular VM. As soon as the VMs status is <em>ACTIVE</em>, you should be able to log into that VM by issuing</div>
<pre>ssh -i <em>Private-Key</em> ubuntu@<em>IP</em></pre>
<div>Of course <em>Private-Key</em> needs to be replaced with the path to your SSH private key and <em>IP</em> needs to be replaced with the VMs actual IP. If you&#8217;re using SSH agent forwarding, you can leave out the &#8220;-i&#8221;-parameter altogether.</div>
</div>
<div></div>
<div>
<h1 class="title">The OpenStack Dashboard</h1>
<p>We can use Nova to start and stop virtual machines now, but up to this point, we can only do it on the command line. That&#8217;s not good, because typically, we&#8217;ll want users without high-level administrator skills to be able to start new VMs. There&#8217;s a solution for this on the OpenStack ecosystem called Dashboard, codename Horizon. Horizon is OpenStack&#8217;s main configuration interface. It&#8217;s django-based.</p>
<div>Let&#8217;s get going with it:</div>
<pre>apt-get install libapache2-mod-wsgi openstack-dashboard</pre>
<p>Make sure that you install at least the version <em>2012.1~rc2-0ubuntu1</em> of the <em>openstack-dashboard</em> package as this version contains some important fixes that are necessary for Horizon to work properly.</p>
<p>Then, open <em>/etc/openstack-dashboard/local_settings.py</em> in an editor. Go to the line starting with <em>CACHE_BACKEND</em> and make sure it looks like this:</p>
<pre>CACHE_BACKEND = 'memcached://127.0.0.1:11211/'</pre>
<p>Now restart Apache with</p>
<pre>service apache2 restart</pre>
<div>After this, point your webbrowser to the Nova machine&#8217;s IP address and you should see the OpenStack Dashboard login prompt. Login with <em>admin</em> and the password you specified. That&#8217;s it &#8211; you&#8217;re in!</div>
</div>
<div></div>
<div>
<h1 class="title">Making the euca2ools work</h1>
<p>OpenStack offers a full-blown native API for administrator interaction. However, it also has an API compatible with Amazons AWS service. This means that on Linux you can not only use the native OpenStack clients for interaction but also the <em>euca2ools</em> toolsuite. Using <em>euca2ools</em> with keystone is possible. Large portions on how to do it are written down in <a href="http://devstack.org/eucarc.html">this</a> document. Here&#8217;s the short summary for those who are in a hurry:</p>
<pre>export EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
export CREDS=$(keystone ec2-credentials-create)
export EC2_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')<span style="color: #333333; font-family: Menlo,Monaco,'Courier New',monospace; font-size: 12px; line-height: 18px; white-space: pre-wrap;"> </span></pre>
<div>After that, the euca2ools should just work (if the <em>euca2ools</em> package is installed, of course). You can try running</div>
<pre>euca-describe-images</pre>
<div>or</div>
<pre>euca-describe-instances</pre>
<div>to find out whether it&#8217;s working or not.</div>
<div></div>
<div>
<h1 class="title">Making nova-volume work</h1>
<p><em>nova-volume </em>is the OpenStack Compute component that will allow you to assign persistent storage devices to your virtual machines. Internally, it&#8217;s using iSCSI, which is why you installed the <em>tgt</em> package earlier.</p>
<p>Assuming that you have a local LVM volume group entitled nova-volumes, you can try assigning a 1G large volume to our superfrobnicator VM by using these commands to create a 1G large volume and assign it accordingly:</p>
<pre><a id="d6e2435"><code>nova volume-create --display_name "volume1" 1
nova volume-attach superfrobnicator 1 /dev/vdb</code></a></pre>
<div>Please take particular note of the parameter between <em>superfrobnicator</em> and <em>/dev/vdb</em> in this example. It refers to the actual ID of the volume. To find out a volume&#8217;s ID, you can do</div>
<pre>nova volume-list</pre>
<div>and then use the value from the &#8220;ID&#8221; field for a specific volume. If everything went well, you&#8217;ll see a new disk device in the <em>superfrobnicator</em> VM now, <em>/dev/vdb</em>.</div>
<div></div>
<div>
<h1 class="title">Using floating IPs</h1>
<p>Floating IPs are an unbelievably handy tool in OpenStack to supply your virtual machines with &#8220;official&#8221; IP addresses. In this example, we&#8217;ve mainly been dealing with the <em>192.168.22.0/24</em> network, which is the &#8220;internal&#8221; network for our VMs. Our VMs can communicate with each other and they can communicate with the outside world, but they don&#8217;t have an official IP address that others could connect to (the &#8220;public&#8221; net in this test-setup is 10.42.0.0/24 after all). Floating IPs allow you to assign your VMs an additional IP from that &#8220;public&#8221; network, making them accessible directly. And using floating IPs is anything but hard!</p>
<p>First, you&#8217;ll have to define a range of addresses which OpenStack nova will use. Our old friend nova-manage does this:</p>
<pre>nova-manage floating create --ip_range=10.42.0.32/27</pre>
<p>Then, within Nova itself, you&#8217;ll have to create a floating IP (creating here is Nova-speak for &#8220;reserving&#8221;):</p>
<p><a id="allocating-associating-ip-addresses"><code>nova floating-ip-create</code></a></p>
<p>This command will print out an IP address (in this example it&#8217;s 10.42.0.35) that you will need in the next step. To assign this IP to our <em>superfrobnicator</em> VM, use this command:</p>
<p><a id="allocating-associating-ip-addresses"><code>nova add-floating-ip superfrobnicator 10.42.0.35</code></a></p>
<div>Please note: Assigning a floating IP to an existing VM does automatically enable that IP for the VM. You&#8217;ll not have to manually assign the IP to the VMs main network interface, as all the networking magic is done by iptables on the actual compute node.</div>
<div>That&#8217;s it! Your new VM can now use its floating IP. There is only one problem left: By default, nova uses very secure iptables rules to protect IPs reachable via floating IPs from abuse. De facto, nova will not allow any traffic from the outside to get through to your VM. We&#8217;ll have to fiddle with Security Groups to solve this problem. Here&#8217;s how you can enable SSH access and ICMP to your floating IPs:</div>
<pre>nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0</pre>
<div>After this, your VM will be reachable directly from the outside via its floating IP address (by SSH and ICMP).</div>
</div>
<p>&nbsp;</p>
</div>
<div></div>
<div></div>
<p>&nbsp;</p>
</div>
<div></div>
<div></div>
<div></div>
<p>&nbsp;</p>
<p>http://ubuntulinux.co.in/blog/wp-admin/media.php?attachment_id=511&#038;action=edit</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/openstack-installing-openstack-essex-2012-1-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command for Listing all installed packages or software in Linux,Unix,MAC</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/command-for-listing-all-installed-packages-or-software-in-linuxunixmac/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=command-for-listing-all-installed-packages-or-software-in-linuxunixmac</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/command-for-listing-all-installed-packages-or-software-in-linuxunixmac/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 18:45:12 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Aix]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[AIX]]></category>
		<category><![CDATA[Command for Listing all installed packages or software in Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[ubuntu linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=500</guid>
		<description><![CDATA[Linux, Unix, MAC]]></description>
			<content:encoded><![CDATA[<p><strong>Linux, Unix, MAC<br />
</strong></p>
<p><strong>Fedora,CentOS, Redhat</strong></p>
<p>Type the following command to get list of all installed software</p>
<p><code># rpm -qa | less  </code></p>
<p><code># yum list installed<br />
</code></p>
<p><strong>Debian,Ubuntu</strong></p>
<p><code># dpkg --get-selections</code></p>
<p><code></code><strong>Gentoo Linux</strong></p>
<p><code># qlist -I</code></p>
<p><strong>SUSE Linux</strong></p>
<pre><code># zypper -l<strong></strong><strong></strong><strong></strong></code>

<strong>FreeBSD,OpenBSD, Solaris</strong><code><strong><code>

# pkg_info | less</code></strong></code>

<strong>AIX</strong><code><strong><code>

# lspp</code></strong></code>

<strong>MAC</strong><code><strong><code>

# pkgutil --pkgs</code></strong></code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/command-for-listing-all-installed-packages-or-software-in-linuxunixmac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CamScanner &#8211; Android phone can be document scanner too!!!</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/camscanner-android-phone-can-be-document-scanner-too/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=camscanner-android-phone-can-be-document-scanner-too</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/camscanner-android-phone-can-be-document-scanner-too/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 15:22:37 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Android products]]></category>
		<category><![CDATA[CamScanner]]></category>
		<category><![CDATA[scanner android application]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=497</guid>
		<description><![CDATA[You can use you android device as a document scanner, with the help of an app called CamScanner. It is free Android app that converts your smartphone into a scanner and digitizes  paper document using your samrtphone camera. The app also has features like cropping, image enhancement and the ability to create a PDF from your scanned files.]]></description>
			<content:encoded><![CDATA[<p>You can use you android device as a document scanner, with the help of an app called CamScanner. It is free Android app that converts your smartphone into a scanner and digitizes  paper document using your samrtphone camera. The app also has features like cropping, image enhancement and the ability to create a PDF from your scanned files.</p>
<p><img class="alignnone" title="Camscanner" src="http://www.androidfreeware.net/img2/camscanner_phone_to_scanner_android_2.gif" alt="" width="320" height="533" /></p>
<p>&nbsp;</p>
<p>Camscanner also allows the user to upload documents to the cloud and manage them by tagging or searching. With this app, Android phone users can manage their written notes, business cards, memos and magazines at one place, and carry them anywhere.</p>
<p>With this app, user can can also backup their files to an SD card, so that they can be restored at any time. The app can reduce file size of PDFs and other files.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/camscanner-android-phone-can-be-document-scanner-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 (Precise Pangolin) New Features</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/ubuntu-12-04-precise-pangolin-new-features/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-12-04-precise-pangolin-new-features</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/ubuntu-12-04-precise-pangolin-new-features/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 13:01:30 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ububtu 12.04]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu 12.04 (Precise Pangolin) New Features]]></category>
		<category><![CDATA[ubuntu guide]]></category>
		<category><![CDATA[ubuntu linux]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=494</guid>
		<description><![CDATA[Ubuntu 12.04 is a particularly important iteration of Canonical&#8217;s Linux distribution. Just one more beta version of the free and open source software is scheduled&#8211;with an arrival date of March 29&#8211;before the launch of the final release on April 26.]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 12.04 is a particularly important iteration of Canonical&#8217;s Linux distribution. Just one more beta version of the free and open source software is scheduled&#8211;with an arrival date of March 29&#8211;before the launch of the final release on April 26.</p>
<p>“The team has been hard at work throughout this cycle, introducing new features and fixing bugs,” wrote Kate Stewart, Canonical&#8217;s Ubuntu Release Manager, in an announcement on Thursday.</p>
<p>Among the new changes included in this first beta version are a feature enabling considerable power savings and a new CD image size of 703MB “to squeeze in every bit of package goodness we can on the installation CD images,” Stewart added.</p>
<p>Designed for testing purposes, Ubuntu 12.04 Beta 1 can now be downloaded from the project&#8217;s site. Here&#8217;s a quick rundown of some of the release&#8217;s key highlights.</p>
<p><strong>1. A Taste of HUD</strong></p>
<p>As hinted by Canonical founder Mark Shuttleworth in late January, Ubuntu&#8217;s new “Head-Up Display,” or “HUD,” interface makes its debut in this beta version. Dubbed as “a new way to quickly search and access any desktop application’s and indicator’s menu,” HUD can be accessed by pressing the Alt key and typing in a description of what you want to do. The software will then return a set of corresponding entries, including some fuzzy matching, the project team says. Over time, it also learns from your previous choices to make the search more and more accurate, they note.</p>
<p><strong>2. Unity Tweaks</strong></p>
<p>Ubuntu&#8217;s Unity interface has been nothing if not controversial, but in this new release, the &#8220;Appearance&#8221; panel in the software&#8217;s system settings lets you more easily configure some properties of Unity. For bookmark users, the Unity launcher now also includes Nautilus quicklist support.</p>
<p><strong>3. ClickPad Support</strong></p>
<p>Ubuntu 12.04 now includes support for ClickPads, or trackpads on which the physical button is integrated into the trackpad surface. Most Synaptics ClickPads are recognized out of the box in this new release, as are Apple MacBook trackpads. Coming in Ubuntu&#8217;s next release will be support for Apple Magic Trackpads and more Synaptics brand devices, the Ubuntu team says.</p>
<p><strong>4. Power Savings</strong></p>
<p>For the aforementioned power savings, RC6&#8211;the technology that allows GPUs to go into a very low power consumption state when the GPU is idle&#8211;is now enabled by default for Sandy Bridge systems. The result can be improvements of between 40 and 60 percent in power usage under idle loads, the developers say.</p>
<p><strong>5. LibreOffice 3.5 and Rhythmbox</strong></p>
<p>Among the default applications in Ubuntu 12.04 are the newly updated LibreOffice 3.5 as well as Rhythmbox as the default music player.</p>
<p><strong>6. Better Language Support</strong></p>
<p>When users install new software through the Ubuntu Software Center, the corresponding language support packages&#8211;including translations and spell check modules&#8211;are now installed automatically as well, thus eliminating the need to open &#8220;Language Support&#8221; after installing new software.</p>
<p><strong>7. A Fresh Kernel</strong></p>
<p>Finally, upgrading from the second alpha release of Precise Pangolin, this new beta version includes the 3.2.0-17.27 Ubuntu kernel, which is based on version 3.2.6 of the upstream stable Linux kernel.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/ubuntu-12-04-precise-pangolin-new-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amanda backup setup and configuration using Virtual Tape in Fedora</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/amanda/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=amanda</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/amanda/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 13:21:58 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Amanda]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Amanda backup setup and configuration using Virtual Tape in Fedora]]></category>
		<category><![CDATA[amanda.virtual tape]]></category>
		<category><![CDATA[ubuntu linux]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=489</guid>
		<description><![CDATA[This document describes the steps to be followed to amanda backup setup configuration using virtual tape.  As of date, the current stable version of Amanda is 3.3.0.]]></description>
			<content:encoded><![CDATA[<p>This document describes the steps to be followed to amanda backup setup configuration using virtual tape.  As of date, the current stable version of Amanda is 3.3.0.</p>
<p><strong>AMANDA</strong>, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator to set up a single master backup server to back up multiple hosts over network to tape drives/changers or disks or optical media. Amanda uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix.</p>
<p>This will guide you through setting up virtual tapes (utilize hard disk space for backups)</p>
<p>Here we are using Fedora 14 as Amanda server – <strong>backup.server.com</strong> (hostname)</p>
<p>and amanda client is an ubuntu desktop machine – <strong>backup.client.com</strong> (hostname)</p>
<p>  <a href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/03/amanda.jpg"><img class="aligncenter size-medium wp-image-490" title="amanda" src="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/03/amanda-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>Fedora we have installed using minimal packages and not installed the default amanda software with send mail server. Download the amanda latest version 3.3.0 stable version</p>
<p>&nbsp;</p>
<p><strong><span style="text-decoration: underline;">Step 1</span></strong></p>
<p>Open the terminal</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="638"><strong>#wget -c http://prdownloads.sourceforge.net/amanda/amanda-3.3.0.tar.gz?download</strong></p>
<p><strong>#tar -xvzf amanda-3.3.0.tar.gz</strong></p>
<p><strong>#cd amanda-3.3.0</strong></p>
<p><strong>#./configure</strong></p>
<p><strong>#make</strong></p>
<p><strong>#make check</strong></p>
<p>We get error when we missed any packages and libraries.</p>
<p><strong>#make install</strong></td>
</tr>
</tbody>
</table>
<p><strong><span style="text-decoration: underline;"> </span></strong><strong><span style="text-decoration: underline;">Step 2</span></strong></p>
<p>The Amanda services are started by the extended internet daemon, <strong>xinetd</strong>, which is why you must have <strong>xinetd</strong> installed on every Amanda server and client. In any text editor, create one <strong>xinetd</strong> startup file, <strong>/etc/xinetd.d/amandaserver</strong></p>
<p>If you have not already installed xinetd, install it</p>
<p><strong># yum install xinetd</strong></p>
<p>Create an amanda xinetd entry</p>
<p><strong># vim etc/xinetd.d/amandaserver</strong></p>
<p>Give it the following contents</p>
<p>Code: </p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="638"><strong># default: on<br />
#<br />
# description: Amanda services for Amanda server and client.<br />
#<br />
service amanda<br />
{<br />
        disable          = no<br />
        socket_type  = stream<br />
        protocol        = tcp<br />
        wait               = no<br />
        user               = amandabackup<br />
        group            = disk<br />
        groups          = yes<br />
        server            = /usr/lib/amanda/amandad<br />
        server_args   = -auth=bsdtcp amdump amindexd amidxtaped<br />
}</strong></td>
</tr>
</tbody>
</table>
<p> Restart xinetd</p>
<p><strong># /etc/init.d/xinetd restart</strong></p>
<p>Become <strong>amandabackup </strong>user</p>
<p><strong># su amandabackup<br />
</strong>Create copies of the configuration files, just in case</p>
<p><strong>$cp -r /etc/amanda/DailySet1 /etc/amanda/DailySet1.bak</strong></p>
<p><strong><span style="text-decoration: underline;">Step 3</span></strong></p>
<p>Edit amanda.conf</p>
<p><strong>$ vim /etc/amanda/DailySet1/amanda.conf</strong></p>
<p>Make the following changes in the file</p>
<p>Code:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="638">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="624">Make the following changes in the file<br />
<strong>Code:<br />
      org &#8220;DailySet1&#8243;                                                 </strong># your organization name for reports<strong><br />
      mailto &#8220;backupadmin@yourdomain.com&#8221;   </strong># space separated list of operators at your site<br />
<strong>      dumpuser &#8220;amandabackup&#8221;<br />
      tpchanger &#8220;chg-disk&#8221;                                       </strong># the tape-changer glue script<strong><br />
      tapedev &#8220;</strong><strong>file:/amandabackup/DailySet1/slots&#8221;   </strong># the no-rewind tape device to be used<strong><br />
      tapetype HARDDISK<br />
  </strong></p>
<p><strong>define dumptype global {<br />
      comment &#8220;Global definitions&#8221;<br />
       auth &#8220;bsdtcp&#8221;<br />
}<br />
define dumptype gui-base {<br />
       global<br />
       program &#8220;GNUTAR&#8221;<br />
       comment &#8220;gui base dumptype dumped with tar&#8221;<br />
       compress none<br />
       index yes<br />
}<br />
define tapetype HARDDISK {<br />
length 100000 mbytes<br />
}</p>
<p>#Add the following lines to support the encrypted backup</p>
<p>define dumptype client-encrypt-ossl {<br />
        global<br />
        program &#8220;GNUTAR&#8221;<br />
        comment &#8220;no compression and client symmetric encryption with OpenSSL&#8221;<br />
        compress none<br />
        encrypt client<br />
        client_encrypt &#8220;/usr/sbin/amcrypt-ossl&#8221;<br />
        client_decrypt_option &#8220;-d&#8221;<br />
    }</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
</tbody>
</table>
<p> <strong><span style="text-decoration: underline;">Step 4</span></strong></p>
<p>Choose a location for your virtual tapes to reside. Here we using <strong>/amandabackups/</strong> Create the tapelist file that is necessary for indexing tapes available<br />
Code:</p>
<p><strong>#touch /etc/amanda/DailySet1/tapelist<br />
</strong><br />
create the location and set permissions for the virtual tapes<br />
Code:</p>
<p><strong>#mkdir -p -m 770 /amandabackup/DailySet1/slots</strong></p>
<p><strong>#chown -R backup:backup /amdndahosts</strong></p>
<p>CD to the new directory from amandabackup user</p>
<p><strong>$cd /amandabackup/DailySet1/slots</strong></p>
<p>Create the necessary directories for the tapes<br />
Code:</p>
<p><strong>$for ((i=1; $i&lt;=25; i++)); do mkdir slot$i; done<br />
</strong><br />
Create symlink for the data directory to point to the first tape<br />
Code:</p>
<p><strong>$ln -s slot1 data</strong></p>
<p>Label the tapes</p>
<p><strong>for ((i=1; $i&lt;=9; i++)); do amlabel DailySet1 DailySet?1$i slot $i; done</strong></p>
<p><strong>for ((i=10; $i&lt;=25; i++)); do amlabel DailySet1 DailySet1$i slot $i; done</strong></p>
<p> Output should look like (for each slot)<strong></strong></p>
<p><strong>labeling tape in slot 1 (file:/amandabackup/DailySet1/slots)<br />
rewinding, reading label, not an amanda tape<br />
rewinding, writing label DailySet?1-01, checking label, done.</strong></p>
<p>Reset the changer back to slot 1</p>
<p><strong>amtape DailySet1 reset</strong></p>
<p>Output should look like</p>
<p><strong>amtape: changer is reset, slot 1 is loaded.</strong></p>
<p>Create below directory for Amanda log files</p>
<p><strong>#mkdir -p /usr/adm/amanda<br />
#chown amandabackup:disk /usr/adm/amanda</strong></p>
<p><strong><span style="text-decoration: underline;">Step 6</span></strong></p>
<p>Edit .amandahosts “ backup.server.com” <strong>/var/lib/amanda/.amandahosts</strong> file to allow the backup clients to connect back to the server when doing restores. Specify fully qualified domain names</p>
<p>On the .amandahosts file is located as <strong>/var/lib/amanda/.amandahosts</strong></p>
<p>Open the file</p>
<p>vim <strong>/var/lib/amanda/.amandahosts</strong></p>
<p>The file looks like</p>
<p><strong>backup.server.com root amindexd amidxtaped</strong></p>
<p><strong>backup.server.com amandabackup amindexd amidxtaped</strong></p>
<p><strong>backup.client.com  root amindexd amidxtaped<br />
backup.server.com amandabackup admump</strong></p>
<p><strong><span style="text-decoration: underline;"> </span></strong><strong><span style="text-decoration: underline;">Step 6</span></strong></p>
<p>Create an <strong>/etc/amanda/DailySet1/disklist</strong> file in the Amanda configuration directory</p>
<p>The format for the disklist file is :</p>
<p>Dumptypes are deinfed in /etc/amanda/amanda.conf, but we using the GNUTAR dumptype comp-user-tar for this example</p>
<p><strong>vim</strong> <strong>/etc/amanda/DailySet1/disklist</strong></p>
<p>Add a line like so</p>
<p>Code:</p>
<p><strong>backup.client.com /var/www/html comp-user-tar</strong></p>
<p><strong>backup.client.com /home / encrypt-simple</strong></p>
<p><strong>backup.server.com /etc comp-user-tar</strong></p>
<p align="center"><strong><span style="text-decoration: underline;">Amanda Client Setup</span></strong></p>
<p>&nbsp;</p>
<p>Here We are using two clients one is <strong>backup.client.com </strong>and another one is the same amdanda server <strong>backup.server.com</strong></p>
<p>Install AMANDA client</p>
<p>Install the AMANDA client app</p>
<p><strong><span style="text-decoration: underline;">Step 1</span></strong></p>
<p><strong>$sudo apt-get install amanda-client</strong></p>
<p>Create necessary amanda directory ( It is not needed for the server ubuntulinux.co.in)</p>
<p><strong>$sudo mkdir -p -m 770 /etc/amanda</strong></p>
<p>Change owner</p>
<p> <strong>$sudo chown -R amandabackup:amandabackup /etc/amanda</strong></p>
<p><strong><span style="text-decoration: underline;">Step 2</span></strong></p>
<p>Become the amandabackup user</p>
<p><strong>$su amandabackup</strong></p>
<p>Create an excludes file</p>
<p><strong>touch /etc/amanda/exclude.gtar</strong></p>
<p>Edit <strong>/etc/amandahosts</strong> to allow server to connect to client machine for backups</p>
<p><strong>localhost amandabackup</strong></p>
<p><strong>backup.client.com amandabackup</strong></p>
<p><strong>backup.server.com amandabackup</strong></p>
<p><strong><span style="text-decoration: underline;"> </span></strong><strong><span style="text-decoration: underline;">Step  3</span></strong></p>
<p>Create xinetd amanda entry</p>
<p><strong>sudo vim /etc/xinetd.d/amanda</strong></p>
<p>Edit the file, mine looks like</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="638"><strong># default: on</strong></p>
<p><strong># description: Amanda services for Amanda client.</strong></p>
<p><strong>#</strong></p>
<p><strong>service amanda</strong></p>
<p><strong>{</strong></p>
<p><strong>bind               = backup.client.com</strong></p>
<p><strong>socket_type   = dgram</strong></p>
<p><strong>protocol         = udp</strong></p>
<p><strong>wait                 = yes</strong></p>
<p><strong>user                 = amandabackup</strong></p>
<p><strong>group              = amandabackup</strong></p>
<p><strong>groups            = yes</strong></p>
<p><strong>server              = /usr/lib/amanda/amandad</strong></p>
<p><strong>server_args      = -auth=bsd amdump</strong></p>
<p><strong>disable          = no</strong></p>
<p><strong>}</strong></p>
<p>&nbsp;</td>
</tr>
</tbody>
</table>
<p>Restart xinetd</p>
<p><strong>$sudo /etc/init.d/xinetd restart</strong></p>
<p>Edit <strong>/etc/services </strong>to look like</p>
<p><strong># Amanda Services</strong></p>
<p><strong>amanda           10080/udp</strong></p>
<p><strong>amanda           10080/tcp</strong></p>
<p><strong>kamanda         10081/udp</strong></p>
<p><strong>kamanda         10081/tcp</strong></p>
<p><strong>amandaidx      10082/tcp</strong></p>
<p><strong>amidxtape       10083/tcp</strong></p>
<p>Make sure your <strong>/etc/inetd.conf</strong> looks like</p>
<p><strong>amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad</strong></p>
<p> <strong><span style="text-decoration: underline;">Step 4</span></strong></p>
<p>Verify the Configuration, Run amcheck on Server to verify configuration files, connections, etc lgoin as amandabackup user</p>
<p>Code:</p>
<p><strong>$amcheck DailySet1</strong></p>
<p>Output looks like</p>
<p><strong>$amcheck DailySet1</strong><br />
Amanda Tape Server Host Check<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
found in slot 1: volume &#8216;DailySet1-01&#8242;<br />
slot 1: volume &#8216;DailySet1-01&#8242;<br />
Will write to volume &#8216;DailySet1-01&#8242; in slot 1.<br />
NOTE: skipping tape-writable test<br />
NOTE: conf info dir /usr/adm/amanda/curinfo does not exist<br />
NOTE: it will be created on the next run.<br />
NOTE: index dir /usr/adm/amanda/index does not exist<br />
NOTE: it will be created on the next run.<br />
Server check took 0.972 seconds</p>
<p>Amanda Backup Client Hosts Check<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Client check: 1 host checked in 7.147 seconds.  0 problems found.</p>
<p>(brought to you by Amanda 3.3.0)</p>
<p><strong><span style="text-decoration: underline;">Amanda backup</span></strong></p>
<p><strong>$ amdump DailySet1 </strong><strong>à</strong><strong> Dump the give server files and alert mail will send to backupadmin@yourdomain.com</strong></p>
<p><strong> </strong><strong>$ amtape DailySet1 show</strong><br />
amtape: scanning all 15 slots in changer:<br />
<strong>slot   1: date 20111002092634 label DailySet1-01</strong> à last backup date<br />
slot   2: date X              label DailySet1-02<br />
slot   3: date X              label DailySet1-03<br />
slot   4: date X              label DailySet1-04<br />
slot   5: date X              label DailySet1-05<br />
slot   6: date X              label DailySet1-06<br />
slot   7: date X              label DailySet1-07<br />
slot   8: date X              label DailySet1-08<br />
slot   9: date X              label DailySet1-09<br />
slot  10: date X              label DailySet1-010<br />
slot  11: date X              label DailySet1-011<br />
slot  12: date X              label DailySet1-012<br />
slot  13: date X              label DailySet1-013<br />
slot  14: date X              label DailySet1-014<br />
slot  15: date X              label DailySet1-015Amrecover</p>
<p> <strong><span style="text-decoration: underline;">amrecover – Recover the files from backup</span></strong></p>
<p>Amrecover browses the database of Amanda index files to determine which tapes contain files to recover. Furthermore, it is able to recover files.</p>
<p>In order to restore files in place, you must invoke amrecover from the root of the backed up filesystem, or use lcd to move into that directory, otherwise a directory tree that resembles the backed up filesystem will be created in the current directory. See the examples below for details.</p>
<p>Amrecover should be run as <strong>root</strong> user.</p>
<p>Amrecover will the read the amanda-client.conf file and the config/amanda-client.conf file. If no configuration name is supplied on the command line, Amrecover will try the compiled-in default configuration, usually DailySet 1.</p>
<p>Edit the following lines in <strong>amanda-client.conf</strong></p>
<p> <strong>conf  DailySet1</strong> # your config name</p>
<p><strong>index_server backup.server.com  # your amindexd server</strong></p>
<p><strong>tape_server backup.server.com # your amidxtaped server</strong></p>
<p><strong>tapedev file:/amandabackup/DailySet1/slots # your tape device</strong></p>
<p>Example</p>
<p><strong>amrecover&gt; listhost</strong></p>
<p>200- List hosts for config DailySet1</p>
<p>201- 10.132.100.56</p>
<p>200  List hosts for config DailySet1</p>
<p><strong>amrecover&gt; sethost 10.132.100.56</strong></p>
<p>200 Dump host set to 10.132.100.56.</p>
<p><strong>amrecover&gt; list disk</strong></p>
<p>Extract list written to file disk</p>
<p><strong>amrecover&gt; setdisk /home/user/Desktop/var /tmp</strong></p>
<p>200 Disk set to /home/user/Desktop/var.</p>
<p><strong>amrecover&gt; ls</strong></p>
<p>2011-09-21-19-18-44 test3</p>
<p>2011-09-21-19-18-44 test2</p>
<p>2011-09-21-19-18-44 test1</p>
<p>2011-09-21-19-18-44 .</p>
<p><strong>amrecover&gt; listdisk</strong></p>
<p>200- List of disk for host 10.132.100.56</p>
<p>201- /home/user/Desktop/var</p>
<p>&nbsp;</p>
<p>200 List of disk for host 10.132.100.56</p>
<p>amrecover&gt; lpwd</p>
<p>/root/old</p>
<p><strong>amrecover&gt; add test2</strong></p>
<p>Added file /test2</p>
<p><strong>amrecover&gt; extract</strong></p>
<p><strong>Extracting files using tape drive changer on host localhost.</strong></p>
<p><strong>The following tapes are needed: DailySet1-01</strong></p>
<p><strong>Extracting files using tape drive changer on host localhost.</strong></p>
<p><strong>Load tape DailySet1-01 now</strong></p>
<p><strong>Continue [?/Y/n/s/d]? y</strong></p>
<p><strong>Restoring files into directory /root/old</strong></p>
<p><strong>All existing files in /root/old can be deleted</strong></p>
<p><strong>Continue [?/Y/n]? y</strong></p>
<p>./<strong>test2</strong></p>
<p><strong>amrecover&gt; ls</strong></p>
<p><strong>2011-09-21-19-18-44 test3</strong></p>
<p><strong>2011-09-21-19-18-44 test2</strong></p>
<p><strong>2011-09-21-19-18-44 test1</strong></p>
<p><strong>2011-09-21-19-18-44 .</strong></p>
<p><strong>amrecover&gt; exit</strong></p>
<p><strong>200 Good bye.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/amanda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The world&#8217;s first Android 4.0 smart TV</title>
		<link>http://ubuntulinux.co.in/blog/android/andriodsmartt/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=andriodsmartt</link>
		<comments>http://ubuntulinux.co.in/blog/android/andriodsmartt/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 17:05:10 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android smart TV]]></category>
		<category><![CDATA[Lenovo k9]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=485</guid>
		<description><![CDATA[Lenovo has unveiled the words&#8217;s first Android 4.0 smart TV at CES 2012. What is interesting is that Lenovo&#8217;s k9 runs on Android 4.0, not Google TV. The company claims that it has wrapped a new &#8216;smart UI&#8217; around Andrpid 4.0 in the k9.]]></description>
			<content:encoded><![CDATA[<p>Lenovo has unveiled the words&#8217;s first Android 4.0 smart TV at CES 2012. What is interesting is that Lenovo&#8217;s k9 runs on Android 4.0, not Google TV. The company claims that it has wrapped a new &#8216;smart UI&#8217; around Andrpid 4.0 in the k9.</p>
<p>With this offering, the company aims to bring features like video-on-demand, Web apps and of course, TV programms. The Lenovo k91 smart TV runs on a 1.5 GHZ Qualcomm 8060 SnapDragon processor, which is likely to be fast enough to play1080P movies and to run casual games.</p>
<p><a href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/02/lenovo-k91-smart-tv-android-ics.jpg"><img class="aligncenter size-medium wp-image-486" title="lenovo-k91-smart-tv-android-ics" src="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/02/lenovo-k91-smart-tv-android-ics-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>Lenovo has given the k9 is a pretty decent design, but it still does not seem to be competing with the televisions offered by Samsung or LG. The company has used a 139.7 CM (55 inch) IPS LCD display, which is likely to reproduce great colours at wide viewing angles.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/android/andriodsmartt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 alpha release</title>
		<link>http://ubuntulinux.co.in/blog/ubuntu/ububtu-12-04/ubuntu-12-04-alpha/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-12-04-alpha</link>
		<comments>http://ubuntulinux.co.in/blog/ubuntu/ububtu-12-04/ubuntu-12-04-alpha/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 18:09:07 +0000</pubDate>
		<dc:creator>sahab</dc:creator>
				<category><![CDATA[Ububtu 12.04]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 12.04 alpha review]]></category>
		<category><![CDATA[ubuntu guide]]></category>
		<category><![CDATA[ubuntu linux]]></category>

		<guid isPermaLink="false">http://ubuntulinux.co.in/blog/?p=480</guid>
		<description><![CDATA[Canonical has released the first alpha build of Ubuntu 12.04, dubbed “Precise Pangolin,” and the organization said that the latest version would be a long term support (LTS) release.]]></description>
			<content:encoded><![CDATA[<p>Canonical has released the first alpha build of Ubuntu 12.04, dubbed “Precise Pangolin,” and the organization said that the latest version would be a long term support (LTS) release.</p>
<p><a href="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/02/Ubuntu_Netbook_Remix.jpg"><img src="http://ubuntulinux.co.in/blog/wp-content/uploads/2012/02/Ubuntu_Netbook_Remix-300x225.jpg" alt="" title="Ubuntu_12.04" width="300" height="225" class="alignleft size-medium wp-image-481" /></a></p>
<p>Version 12.04, available for x86 and 64-bit platforms, is based around the Linux kernel 3.2 release, and a lot of work has gone into bugfixing around this for Ubuntu’s code, including problems with how it interacts with Intel’s Sandy Bridge and Centrino hardware. The code also includes version 9 of both Firefox and Thunderbird from Mozilla.</p>
<p><a href="cdimage.ubuntu.com/daily-live/current/">Download ubuntu 12.04</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntulinux.co.in/blog/ubuntu/ububtu-12-04/ubuntu-12-04-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

