<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Tutorial Opensource and Linux</title><description></description><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><pubDate>Sat, 16 Nov 2024 17:30:30 +0700</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">848</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://serverstutorial.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:category text="Education"><itunes:category text="Educational Technology"/></itunes:category><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>How To Install Cinnamon In Ubuntu 14.04</title><link>http://serverstutorial.blogspot.com/2014/08/how-to-install-cinnamon-in-ubuntu-1404.html</link><category>How to</category><category>Linux</category><category>Tutorial</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Fri, 22 Aug 2014 07:31:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-7610739741160449029</guid><description>&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Cinnamon_Ubuntu1.jpeg"&gt;&lt;img alt="How to install in Cinnamon in Ubuntu 14.04" class="aligncenter size-full wp-image-5035" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Cinnamon_Ubuntu1.jpeg" height="294" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Cinnamon is the default desktop environment of Linux Mint.
 Unlike Unity in Ubuntu, Cinnamon is more traditional but elegant 
looking desktop environment with bottom panel and app menu etc. No, you 
don’t need to install Linux Mint just for trying Cinnamon. In this 
tutorial we shall see &lt;b&gt;how to install Cinnamon in Ubuntu 14.04&lt;/b&gt;.&lt;span id="more-5029"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style="text-align: justify;"&gt;
Install Cinnamon in Ubuntu 14.04&lt;/h2&gt;
&lt;div style="text-align: justify;"&gt;
There used to be a-sort-of official PPA 
from Cinnamon team for Ubuntu but it doesn’t exist anymore. Don’t loose 
heart. There is an unofficial PPA available and it works perfectly.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Open a terminal and use the following commands:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo add-apt-repository ppa:lestcape/cinnamon
sudo apt-get update
sudo apt-get install cinnamon&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
It will download files of around 130 MB 
in size (if I remember correctly). This also provides you with Nemo 
(Nautilus fork) and Cinnamon Control Center. These bonus stuff gives a 
closer feel of Linux Mint.&lt;/div&gt;
&lt;h3 style="text-align: justify;"&gt;
Using Cinnamon desktop environment in Ubuntu 14.04&lt;/h3&gt;
&lt;div style="text-align: justify;"&gt;
Once you have installed Cinnamon, log 
out of the current session. At the login screen, click on the 
Ubuntu&amp;nbsp;symbol beside the username:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Change_Desktop_Environment_Ubuntu.jpeg"&gt;&lt;img alt="Change desktop environment in Ubuntu 14.04" class="aligncenter size-full wp-image-5030" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Change_Desktop_Environment_Ubuntu.jpeg" height="313" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
When you do this, it will give you all 
the desktop environments available for your system. No need to tell you 
that you have to choose Cinnamon:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Cinnamon_Ubuntu.jpeg"&gt;&lt;img alt="Install Cinnamon in Ubuntu 14.04" class="aligncenter size-full wp-image-5031" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Cinnamon_Ubuntu.jpeg" height="325" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now you should be logged in to Ubuntu 
with Cinnamon desktop environment. Remember, you can do the same to 
switch back to Unity. Here is a quick screenshot of what it looked like 
to run&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;&lt;b&gt;Cinnamon in Ubuntu 14.04&lt;/b&gt;:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Cinnamon_Ubuntu_1404.jpeg"&gt;&lt;img alt="Cinnamon in Ubuntu 14.04" class="aligncenter size-full wp-image-5032" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Cinnamon_Ubuntu_1404.jpeg" height="360" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Looks completely like Linux Mint, isn’t 
it? I didn’t find any compatibility issue between Cinnamon and Unity. I 
switched back and froth between Unity and Cinnamon and both worked 
perfectly.&lt;/div&gt;
&lt;h3 style="text-align: justify;"&gt;
Remove Cinnamon from Ubuntu 14.04&lt;/h3&gt;
&lt;div style="text-align: justify;"&gt;
It is understandable that you might want
 to uninstall Cinnamon. We will use PPA Purge for this purpose. Let’s 
install PPA Purge first:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install ppa-purge&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
Afterwards, use the following command to purge the PPA:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo ppa-purge ppa:lestcape/cinnamon&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
I hope this post helps you to &lt;b&gt;install Cinnamon in Ubuntu 14.04&lt;/b&gt;. Do share your experience with Cinnamon.&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How To Install Mate Desktop In Ubuntu 14.04</title><link>http://serverstutorial.blogspot.com/2014/08/how-to-install-mate-desktop-in-ubuntu.html</link><category>How to</category><category>Linux</category><category>Linux Mint</category><category>Tutorial</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Fri, 22 Aug 2014 07:26:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-1653640511072984887</guid><description>&lt;div style="text-align: justify;"&gt;
The other week we saw about installing Cinnamon in Ubuntu. This week we’ll see &lt;b&gt;how to install Mate desktop in Ubuntu 14.04&lt;/b&gt;.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
I think you might have already heard of Mate desktop environment. A fork of now dead classic GNOME 2,
 Mate provides the classic desktop experience with latest applications. 
Mate is an official flavor of Linux Mint. While there is also an 
unofficial flavor of Ubuntu named as Ubuntu Mate.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
We will actually use the packages provided by Ubuntu Mate team to &lt;b&gt;easily install Mate desktop environment in Ubuntu 14.04&lt;/b&gt;. Please note that the same method is &lt;b&gt;NOT applicable for installing Mate in Linux Mint 17&lt;/b&gt;.&lt;span id="more-5129"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style="text-align: justify;"&gt;
Install Mate desktop on Ubuntu 14.04&lt;/h2&gt;
&lt;div style="text-align: justify;"&gt;
Before you go on with Mate installation,
 I must tell you that Mate messes with Unity a little (not a lot). So 
you may face couple of compatibility issue if you come back to Unity. So
 no prizes for guessing that you should not try it on production system 
of if you want a stable system.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The PPAs we are going to use install several third party applications while installing &lt;b&gt;Mate 1.8&lt;/b&gt;.
 Total download size amounts to 350 MB so pay attention to your network 
connection, if you have data limit or speed constraints.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Okay, so you have been warned &lt;img alt=":)" class="wp-smiley" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-includes/images/smilies/icon_smile.gif" /&gt;  Now, to install Mate in Ubuntu, open a terminal and use the following commands:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade
sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop&lt;/code&gt;&lt;/pre&gt;
&lt;h2 style="text-align: justify;"&gt;
Using Mate desktop in Ubuntu 14.04&lt;/h2&gt;
&lt;div style="text-align: justify;"&gt;
Once you have installed Mate, log out of
 the system. On the login screen, click on Ubuntu sign, besides the 
username, to choose a desktop environment:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Change_Desktop_Environment_Ubuntu.jpeg"&gt;&lt;img alt="Change desktop environment in Ubuntu 14.04" class="aligncenter size-full wp-image-5030" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Change_Desktop_Environment_Ubuntu.jpeg" height="312" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In here, you’ll see plenty of options. Choose Mate to use Mate desktop environment:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Use_Mate_Desktop_Ubuntu.jpeg"&gt;&lt;img alt="Using Mate desktop in Ubuntu 14.04" class="aligncenter size-full wp-image-5133" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Use_Mate_Desktop_Ubuntu.jpeg" height="335" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Select that and enter your password and 
then you will be logged in to Mate desktop environment. Here is how did 
it look on my notebook. I really liked the Ubuntu Mate background.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/ubuntu_mate_desktop.jpeg"&gt;&lt;img alt="Install Mate Desktop in Ubuntu 14.04" class="aligncenter size-full wp-image-5134" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/ubuntu_mate_desktop.jpeg" height="360" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In my brief testing, I did not find any 
visible issue with Mate. But then, I didn’t try a lot of things. 
Experience was smooth and no glitches were seen.&lt;/div&gt;
&lt;h2 style="text-align: justify;"&gt;
Going back to Unity from Mate&lt;/h2&gt;
&lt;div style="text-align: justify;"&gt;
If you want to switch between Mate and 
Unity, restart the system (I did not see logout option in my brief 
testing). At login screen, you can switch between desktop from the right
 corner screen:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Switch_Unity_Mate.jpeg"&gt;&lt;img alt="swicth between Unity and Mate in Ubuntu" class="aligncenter size-full wp-image-5135" src="http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Switch_Unity_Mate.jpeg" height="309" title="" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
You may find that there are two network indicator applets running when you switch back to Unity.&lt;/div&gt;
&lt;h2 style="text-align: justify;"&gt;
Remove Mate desktop from Ubuntu 14.04&lt;/h2&gt;
&lt;div style="text-align: justify;"&gt;
Okay! so you tried Mate and you did not 
like it. Now, how to uninstall Mate from Ubuntu? To do that, we shall be
 using PPA Purge. Install PPA Purge using the following command:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install ppa-purge&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
Once you have installed PPA Purge, use 
the following commands to purge all the packages installed by those PPAs
 and revert the system back to what was before:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo ppa-purge ppa:ubuntu-mate-dev/ppa
sudo ppa-purge ppa:ubuntu-mate-dev/trusty-mate&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
It just doesn’t end there. Uninstall remaining Mate packages also:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get remove mate-*
sudo apt-get autoremove&lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
This will uninstall (almost) all the 
Mate packages. So now you won’t even see the Ubuntu Mate background 
while logging out. Unfortunately, by the time I am writing this article,
 I still have two issues remaining, one is that I still have two network
 indicator applets and second is that Unity Greeter is still showing the
 Mate version. I’ll fix them tomorrow perhaps, as I need to take my 
“beauty sleep”.&lt;/div&gt;
Did you &lt;b&gt;install Mate in Ubuntu 14.04&lt;/b&gt;? How is your experience with it? If you face any issues or have questions, feel free to drop a comment. Ciao </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Creating the first Windows Server 2003 Domain Controller in a domain</title><link>http://serverstutorial.blogspot.com/2014/06/creating-first-windows-server-2003.html</link><category>Windows Server</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Sun, 29 Jun 2014 16:23:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-2045952323103979693</guid><description>&lt;div style="text-align: justify;"&gt;
One of the greatest features of Windows Server 2003 is its 
ability to be a Domain Controller (DC).&amp;nbsp; The features of a domain extend 
further than this tutorial ever could, but some of its most well known features 
are its ability to store user names and passwords on a central computer (the 
Domain Controller) or computers (several Domain Controllers).&amp;nbsp; In this 
tutorial we will cover the "promoting" (or creating) of the first DC in a 
domain.&amp;nbsp; This will include DNS installation, because without DNS the client 
computers wouldn't know who the DC is.&amp;nbsp; You can host DNS on a different 
server, but we'll only deal with the basics.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: medium;"&gt;Method:&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Click Start -&amp;gt; Run...&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="508" src="http://www.visualwin.com/Common/start-menu-run.png" width="467" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Type "dcpromo" and click "OK"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="179" src="http://www.visualwin.com/AD-Controller/run-dcpromo.png" width="347" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
You will see the first window of the wizard.&amp;nbsp; As it 
suggests, I suggest reading the help associated with Active Directory.&amp;nbsp; 
After this, click "Next"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/welcome-wizard-next.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Click "Next" on the compatibility window, and in the next window 
keep the default option of "Domain Controller for a new domain" selected, and 
click "Next"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/dc-type-next.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In this tutorial we will create a domain in a new forest, 
because it is the first DC, so keep that option selected&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/new-domain-next.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now we have to think of a name for our domain.&amp;nbsp; If you own 
a web domain like "visualwin.com", you can use it, but it isn't suggested 
because computers inside of your domain may not be able to reach the company 
website.&amp;nbsp; Active Directory domains don't need to be "real" domains like the 
one above - they can be anything you wish.&amp;nbsp; So here I will create "visualwin.testdomain"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-dns-name.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now in order to keep things simple, we will use the first part 
of our domain ("visualwin"), which is the default selection, as the NetBIOS name 
of the domain&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-netbios-name.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The next dialog suggests storing the AD database and log on 
separate hard disks, and so do I, but for this tutorial I'll just keep the 
defaults&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-db-location.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The SYSVOL folder is a public share, where things like .MSI software packages 
can be kept when you will distribute packages (as I said, AD has a &lt;i&gt;lot&lt;/i&gt; of 
different features).&amp;nbsp; Once again, I will keep the default selection but it 
can be changed if you wish to use the space of another drive&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-sysvol-location.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now we will get a message that basically says that you will need 
a DNS server in order for everything to work the way we want it (i.e., our "visualwin.testdomain" 
to be reachable).&amp;nbsp; As I mentioned earlier, we will install the DNS server 
on this machine as well, but it can be installed elsewhere.&amp;nbsp; So keep the 
default selection of "Install and configure", and click "Next"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/dns-diag.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Because, after all, this is a Windows Server 2003 tutorial 
website, we'll assume there are no pre-Windows 2000 servers that will be 
accessing this domain, so keep the default of "Permissions compatible only with 
Windows 2000 or Windows Server 2003 operating systems" and click "Next"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-permissions.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The restore mode password is the single password that all 
administrators hope to never use, however they should also never forget it 
because this is the single password that might save a failed server.&amp;nbsp; Make 
sure it's easy to remember but difficult to guess&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-restore-mode-pw.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now we will see a summary of what will happen.&amp;nbsp; Make sure 
it's all correct because changing it afterwards can prove to be difficult&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-summary.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After the previous next was clicked, the actual process occurs.&amp;nbsp; 
This can take several minutes.&amp;nbsp; It's likely that you will be prompted for 
your Windows Server 2003 CD (for DNS) so have it handy&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="274" src="http://www.visualwin.com/AD-Controller/configuring-ad.png" width="437" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If your computer has a dynamically assigned address (from DHCP) 
you will be prompted to give it a static IP address.&amp;nbsp; Click ok, and then in 
the Local Area Connection properties, click "Internet Protocol (TCP/IP)" and 
then "Properties"&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="443" src="http://www.visualwin.com/AD-Controller/lac-properties.png" width="367" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In the next window select "Use the following IP address" and 
select the information that you will use for your domain (and 127.0.0.1 for the 
primary DNS, because your computer will host DNS.&amp;nbsp; I still suggest setting 
up an alternate as well.)&amp;nbsp; Click "OK" and then "Close" on the next window&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="448" src="http://www.visualwin.com/AD-Controller/tcp-ip-properties.png" width="404" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
And after a while you will see&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img border="0" height="385" src="http://www.visualwin.com/AD-Controller/ad-finished.png" width="503" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
And we're finished.&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How To Install Ubuntu 13.10 Server</title><link>http://serverstutorial.blogspot.com/2013/12/how-to-install-ubuntu-1310-server.html</link><category>Server</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 31 Dec 2013 22:32:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-1453860368444506096</guid><description>&lt;h2&gt;
&lt;u&gt;&lt;i&gt;Install Ubuntu 13.10 Server Step by Step&lt;/i&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;br /&gt;
This is a step by step guide for beginners how to create &lt;b&gt;bootable Ubuntu 13.10 Server USB&lt;/b&gt; and install it on your computer.&lt;br /&gt;

&lt;h3&gt;
Requirements:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A Windows, Linux or Mac OS PC for burning the iso into USB&lt;/li&gt;
&lt;li&gt;1GB+ USB stick&lt;/li&gt;
&lt;li&gt;Ubuntu 13.10 Server ISO downloaded from &lt;a href="http://releases.ubuntu.com/13.10/" rel="nofollow" target="_blank" title="Ubuntu 13.10 official Download page"&gt;releases.ubuntu.com/13.10&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
How to Create Bootable Ubuntu Server USB&lt;/h3&gt;
First download &lt;a href="http://unetbootin.sourceforge.net/" rel="nofollow" target="_blank" title="Unetbootin Homepage"&gt;Unetbootin&lt;/a&gt; executable, a simple tool to install Linux/BSD distributions to a partition or USB drive. It works on Windows, Linux and Mac.&lt;br /&gt;

Insert USB stick to computer and format (don’t use’Quick format’) to FAT. Open &lt;b&gt;Unetbootin&lt;/b&gt;, in the picture below choose the Ubuntu 13.10 Server iso and your usb device and finally click OK to start the burning process.&lt;br /&gt;
&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2029" style="width: 541px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/unetbootin-ubuntu1310-bootable1.jpg"&gt;&lt;img alt="create bootable ubuntu server usb" class="size-full wp-image-2029" height="391" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/unetbootin-ubuntu1310-bootable1.jpg" width="531" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
create bootable ubuntu server usb&lt;/div&gt;
&lt;/div&gt;
Once finished, connect the USB to the machine which you want to 
install Ubuntu Server on. Boot from the USB and you’ll see a screen with
 list of options include &lt;b&gt;‘Install Ubuntu Server’&lt;/b&gt;&lt;br /&gt;

&lt;h3&gt;
Install Ubuntu 13.10 Server&lt;/h3&gt;
Select &lt;i&gt;‘Install Ubuntu Server’&lt;/i&gt; from the Unetbootin boot screen, then select your desired language in the screen below:&lt;br /&gt;
&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2030" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server select language" class="size-full wp-image-2030" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server select language&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Click &lt;b&gt;Install Ubuntu Server&lt;/b&gt;&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2031" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install1.jpg"&gt;&lt;img alt="install ubuntu 13.10 server" class="size-full wp-image-2031" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install1.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
install ubuntu 13.10 server&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Choose the language for installation process and installed system:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2032" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install2.jpg"&gt;&lt;img alt="Ubuntu 13.10 server installation language" class="size-full wp-image-2032" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install2.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 server installation language&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Select your Country which will used to set your time zone:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2033" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install3.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server select location" class="size-full wp-image-2033" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install3.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server select location&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Choose your locale settings. Then select &lt;b&gt;YES&lt;/b&gt; to detect keyboard layout or &lt;b&gt;NO&lt;/b&gt; to select from list.&lt;br /&gt;

&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install4.jpg"&gt;&lt;img alt="Ubuntu1310Server-install4" class="aligncenter size-full wp-image-2035" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install4.jpg" width="580" /&gt;&lt;/a&gt;&lt;br /&gt;

Setup the hostname (Computer name).&lt;br /&gt;
&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2036" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install5.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server hostname" class="size-full wp-image-2036" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install5.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server hostname&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Enter your username and password to create an Administrator account. You can login with this user after installation:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2037" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install7.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server create user" class="size-full wp-image-2037" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install7.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server create user&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Encrypt previous created user’s home directory or not:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2038" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install8.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server encrypt home directory" class="size-full wp-image-2038" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install8.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server encrypt home directory&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Select the partitioning method:&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;&lt;u&gt;Guided – use the entire disk&lt;/u&gt;: it will automatically create the main &lt;b&gt;EXT4&lt;/b&gt; partition and &lt;b&gt;swap&lt;/b&gt; area for Ubuntu using all disk storage.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Guided – use the entire disk and setup (encrypted) LVM&lt;/u&gt;: it will use the whole disk storage and you need to manually create &lt;b&gt;EXT&lt;/b&gt; partition and &lt;b&gt;Swap&lt;/b&gt; for Ubuntu Server.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Manual&lt;/u&gt;: If you have a dual-boot system or you want to keep a non-system partition on the disk, do it manually.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2039" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install10.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server partition" class="size-full wp-image-2039" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install10.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server partition&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Confirm the partition and the installation will begin:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2040" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install12.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server installing process" class="size-full wp-image-2040" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install12.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server installing process&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Input HTTP proxy server IP. Leave it empty if you don’t have one.&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2041" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install13.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server HTTP setup" class="size-full wp-image-2041" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install13.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server HTTP setup&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
It’ll take a few minutes configuring apt. If want, cancel it and do it afterwards.&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2042" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install14.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server configure apt" class="size-full wp-image-2042" height="398" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install14.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server configure apt&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
In order to keep your system security, select ‘Install security updates Automatically’ in next screen:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2043" style="width: 589px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/ubuntu1310Server-install15.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server security updates" class="size-full wp-image-2043" height="388" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/ubuntu1310Server-install15.jpg" width="579" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server security updates&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Now you can select to install OpenSSH server, DNS, LAMP, MAIL, 
PostgreSQL, Print, Samba, Tomcat, Virtual Machine Host from the list. 
Use &lt;b&gt;arrow&lt;/b&gt; keys to highlight and &lt;b&gt;Space&lt;/b&gt; to select, finally press Enter to go on.&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2044" style="width: 590px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install16.jpg"&gt;&lt;img alt="Ubuntu 13.10 Server install software" class="size-full wp-image-2044" height="433" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/Ubuntu1310Server-install16.jpg" width="580" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 Server install software&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Select to install Grub boot loader and finish the installation. Restart and login with the username and password you created:&lt;br /&gt;

&lt;div class="wp-caption aligncenter" id="attachment_2045" style="width: 589px;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/ubuntu1310Server-login.jpg"&gt;&lt;img alt="Ubuntu 13.10 server login" class="size-full wp-image-2045" height="388" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/ubuntu1310Server-login.jpg" width="579" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;
Ubuntu 13.10 server login&lt;/div&gt;
&lt;div class="wp-caption-text"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
Your Ubuntu 13.10 server is running now!&lt;br /&gt;
&lt;div id="stcpDiv" style="left: -1988px; position: absolute; top: -1999px;"&gt;
&lt;div style="text-align: justify;"&gt;
In the above awesome series, we want to add one more guide about &lt;b&gt;Ubuntu 13.10 server installation&lt;/b&gt;. Here you go.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Download the latest version of &lt;a href="http://releases.ubuntu.com/saucy/" target="_blank"&gt;&lt;b&gt;Ubuntu 13.10 server edition here&lt;/b&gt;&lt;/a&gt;. Boot your server with latest Ubuntu 13.10 server ISO. You will see the following like screen.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Select your desired language.&lt;/div&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server1.png"&gt;&lt;img alt="Server1" class=" wp-image-20938 aligncenter" height="428" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server1.png" width="575" /&gt;&lt;/a&gt;Click Install Ubuntu Server.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server2.png"&gt;&lt;img alt="Server2" class=" wp-image-20939 aligncenter" height="433" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server2.png" width="575" /&gt;&lt;/a&gt;Select Installation language.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server3.png"&gt;&lt;img alt="Server3" class=" wp-image-20940 aligncenter" height="431" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server3.png" width="576" /&gt;&lt;/a&gt;Select your Country.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server4.png"&gt;&lt;img alt="Server4" class=" wp-image-20941 aligncenter" height="435" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server4.png" width="576" /&gt;&lt;/a&gt;Configure locale settings.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server5.png"&gt;&lt;img alt="Server5" class=" wp-image-20942 aligncenter" height="428" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server5.png" width="576" /&gt;&lt;/a&gt;Detect keyboard layout.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server6.png"&gt;&lt;img alt="Server6" class=" wp-image-20943 aligncenter" height="433" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server6.png" width="576" /&gt;&lt;/a&gt;Select the keyboard layout.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server7.png"&gt;&lt;img alt="Server7" class=" wp-image-20944 aligncenter" height="426" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server7.png" width="576" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server8.png"&gt;&lt;img alt="Server8" class=" wp-image-20945 aligncenter" height="431" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server8.png" width="576" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server9.png"&gt;&lt;img alt="Server9" class=" wp-image-20946 aligncenter" height="428" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server9.png" width="576" /&gt;&lt;/a&gt;Enter your server hostname.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server10.png"&gt;&lt;img alt="Server10" class=" wp-image-20947 aligncenter" height="427" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server10.png" width="576" /&gt;&lt;/a&gt;Enter the username.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server11.png"&gt;&lt;img alt="Server11" class=" wp-image-20948 aligncenter" height="429" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server11.png" width="576" /&gt;&lt;/a&gt;Choose user password.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server12.png"&gt;&lt;img alt="Server12" class=" wp-image-20949 aligncenter" height="433" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server12.png" width="576" /&gt;&lt;/a&gt;If you want to encrypt the user home directory, select Yes, else select No.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server13.png"&gt;&lt;img alt="Server13" class=" wp-image-20950 aligncenter" height="428" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server13.png" width="576" /&gt;&lt;/a&gt;Select the partitioning method.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server14.png"&gt;&lt;img alt="Server14" class=" wp-image-20951 aligncenter" height="426" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server14.png" width="576" /&gt;&lt;/a&gt;Now installation will begin.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server15.png"&gt;&lt;img alt="Server15" class=" wp-image-20952 aligncenter" height="432" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server15.png" width="576" /&gt;&lt;/a&gt;If you have any proxy server on your network, enter the proxy server IP address.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server16.png"&gt;&lt;img alt="Server16" class=" wp-image-20953 aligncenter" height="429" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server16.png" width="576" /&gt;&lt;/a&gt;Select Install security updates automatically and press enter.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server17.png"&gt;&lt;img alt="Server17" class=" wp-image-20954 aligncenter" height="431" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server17.png" width="576" /&gt;&lt;/a&gt;Choose the software to install.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server18.png"&gt;&lt;img alt="Server18" class=" wp-image-20955 aligncenter" height="429" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server18.png" width="576" /&gt;&lt;/a&gt;Click Yes to install Grub boot loader. &lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server20.png"&gt;&lt;img alt="Server20" class=" wp-image-20957 aligncenter" height="429" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server20.png" width="576" /&gt;&lt;/a&gt;Installation is completed now. Select Continue to reboot the server.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server21.png"&gt;&lt;img alt="Server21" class=" wp-image-20958 aligncenter" height="431" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server21.png" width="576" /&gt;&lt;/a&gt;Login to Ubuntu server.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server22.png"&gt;&lt;img alt="Server22" class=" wp-image-20959 aligncenter" height="425" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server22.png" width="576" /&gt;&lt;/a&gt;Enter the username and password to login.&lt;br /&gt;
&lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server23.png"&gt;&lt;img alt="Server23" class=" wp-image-20960 aligncenter" height="429" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server23.png" width="572" /&gt;&lt;/a&gt; &lt;a class="fancybox" href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server24.png"&gt;&lt;img alt="Server24" class=" wp-image-20961 aligncenter" height="335" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Server24.png" width="573" /&gt;&lt;/a&gt;That’s it. Your Ubuntu 13.10 server is up and running now.&lt;br /&gt;
- See more at: http://www.unixmen.com/install-ubuntu-server-13-10-step-step/#sthash.RU7bfzUP.dpuf&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Install Nuvola Player in Ubuntu </title><link>http://serverstutorial.blogspot.com/2013/10/how-to-install-nuvola-player-in-ubuntu.html</link><category>How to</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Mon, 21 Oct 2013 15:19:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-1360198956707783163</guid><description>&lt;h2&gt;
&lt;i&gt;Install Nuvola Player in Ubuntu&amp;nbsp;&lt;/i&gt;&lt;/h2&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9c2hWebnIsz60nAS3OX1sqZQ20srOUzChne-QonMyzq1NwhVnAAaRh5L3iJOF8RL1m8g6x7n4preaASdfQchh77gnp3x3LeG5zYm6Eqkl3y48Cm4hpn2lNCHAc6pyHLDktmugeBXzZO4w/s1600/google-music-manager-logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img alt="How to Install Nuvola Player in Ubuntu " border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9c2hWebnIsz60nAS3OX1sqZQ20srOUzChne-QonMyzq1NwhVnAAaRh5L3iJOF8RL1m8g6x7n4preaASdfQchh77gnp3x3LeG5zYm6Eqkl3y48Cm4hpn2lNCHAc6pyHLDktmugeBXzZO4w/s1600/google-music-manager-logo.jpg" title="How to Install Nuvola Player in Ubuntu " /&gt;&lt;/a&gt;&lt;/div&gt;
Nuvola is a cloud melodies integration for your Linux desktop. It 
supports Google Play melodies, Amazon Cloud contestant, 8tracks, 
Grooveshark, Hype Machine, Pandora, Rido.&lt;br /&gt;&lt;br /&gt;whereas the maintainer 
has ceased the development of this task, it’s still available for Ubuntu
 13.10 Saucy, Ubuntu 13.04, Ubuntu 12.04 and their derivatives on its 
PPA.&lt;br /&gt;&lt;br /&gt;Tutorial Objectives:&lt;br /&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;h3&gt;
 &lt;i&gt;Install Nuvola Player in Ubuntu 13.10&lt;/i&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;relish!&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;To
 get begun, press Ctrl+Alt+T on your keyboard to open fatal. When it 
undoes, run command below to add the unstable PPA which works great on 
my laptop.&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;sudo add-apt-repository ppa:nuvola-player-builders/unstable&lt;/pre&gt;
&lt;br /&gt;
Then update system package lists:&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;sudo apt-get update&lt;/pre&gt;
&lt;br /&gt;
Install the cloud player as well as the flash plugin:&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;sudo apt-get install nuvolaplayer nuvolaplayer-flashplugin&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/08/nuvolaplayer-unity.jpg"&gt;&lt;img alt="nuvola player ubuntu 13.10" class="aligncenter size-large wp-image-1452" height="381" src="http://ubuntuhandbook.org/wp-content/uploads/2013/08/nuvolaplayer-unity-1024x640.jpg" width="610" /&gt;&lt;/a&gt;&lt;br /&gt;
</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9c2hWebnIsz60nAS3OX1sqZQ20srOUzChne-QonMyzq1NwhVnAAaRh5L3iJOF8RL1m8g6x7n4preaASdfQchh77gnp3x3LeG5zYm6Eqkl3y48Cm4hpn2lNCHAc6pyHLDktmugeBXzZO4w/s72-c/google-music-manager-logo.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to establish Emerald in Ubuntu 13.10 &amp; Linux Mint 16 </title><link>http://serverstutorial.blogspot.com/2013/10/how-to-establish-emerald-in-ubuntu-1310.html</link><category>Linux Mint</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Mon, 21 Oct 2013 15:11:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-8291639200599279193</guid><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL19Ne0H4nufaPxmN4uonoatJ9RYFeojlZa1TegkwhbpWTCq6H5b77mA1x65v9IOu6ob6vMipqe27zQ63cluj-f52VMykLqdwfeIki9SaUKzcPzBg-cZenk9K7EFcF8gv32-z6BWxNOWTV/s1600/emerald-logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img alt="How to establish Emerald in Ubuntu 13.10 &amp;amp; Linux Mint 16 " border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL19Ne0H4nufaPxmN4uonoatJ9RYFeojlZa1TegkwhbpWTCq6H5b77mA1x65v9IOu6ob6vMipqe27zQ63cluj-f52VMykLqdwfeIki9SaUKzcPzBg-cZenk9K7EFcF8gv32-z6BWxNOWTV/s1600/emerald-logo.jpg" title="How to establish Emerald in Ubuntu 13.10 &amp;amp; Linux Mint 16 " /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;u&gt;&lt;i&gt;How to Install Emerald in Ubuntu 13.10 &amp;amp; Linux Mint 16&lt;/i&gt;&lt;/u&gt;&lt;/h2&gt;
Emerald is a custom window decorator which was transported with Compiz. 
It adorns windows boundaries and name bars by installing and editing 
topics.&lt;br /&gt;&lt;br /&gt;Emerald has been ceased, but the newest v0.9.5 works 
great in all present Canonical sustained Ubuntu releases. Webupd8 group 
has conceived a PPA for Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04. Here’s
 how to install and use Emerald in Ubuntu 13.10.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/emerald-ubuntu1310.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/emerald-ubuntu1310.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;u&gt;&lt;i&gt;Emerald ubuntu 13.10&lt;/i&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;b&gt;Tutorial Objectives:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h3&gt;
 &lt;i&gt;establish Emerald Window Decorator in Ubuntu 13.10&lt;/i&gt;&lt;/h3&gt;
relish!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To get started&lt;/b&gt;, press Ctrl+ALt+T on your keyboard to open terminal. When it opens, run command to install the required packages:&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;sudo apt-get install git autoconf libtool libwnck1.0-cil-dev libwnck-dev intltool libdecoration0-dev gawk compizconfig-settings-manager&lt;/pre&gt;
&lt;br /&gt;
Download the source tarball:&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;wget cgit.compiz.org/fusion/decorators/emerald/snapshot/emerald-0.9.5.tar.gz&lt;/pre&gt;
&lt;br /&gt;
Uncompress and go into result folder:&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;tar -zxvf emerald-0.9.5.tar.gz &amp;amp;&amp;amp; cd emerald-0.9.5/&lt;/pre&gt;
&lt;br /&gt;
Run commands below one by one to compile it:&lt;br /&gt;
&lt;br /&gt;

&lt;pre&gt;./autogen.sh
make clean
make distclean
./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} LIBS='-ldl -lm'
make
sudo make install&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;To enable Emerald:&lt;/b&gt;&lt;br /&gt;

&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;emerald --replace &amp;amp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
To make Emerald permanently, install &lt;b&gt;CompizConfig Settings Manager&lt;/b&gt; from Ubuntu Software Center. Open CCSM and navigate to &lt;b&gt;Effects -&amp;gt; Window Decoration&lt;/b&gt;. In command area replace the default with &lt;code&gt;emerald --replace &amp;amp;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;a href="http://ubuntuhandbook.org/wp-content/uploads/2013/10/window-decorator.jpg"&gt;&lt;img alt="enable emerald in Ubuntu" class="aligncenter size-full wp-image-1952" height="241" src="http://ubuntuhandbook.org/wp-content/uploads/2013/10/window-decorator.jpg" width="580" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After all, open Emerald Window Manager from Unity Dash.</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL19Ne0H4nufaPxmN4uonoatJ9RYFeojlZa1TegkwhbpWTCq6H5b77mA1x65v9IOu6ob6vMipqe27zQ63cluj-f52VMykLqdwfeIki9SaUKzcPzBg-cZenk9K7EFcF8gv32-z6BWxNOWTV/s72-c/emerald-logo.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Restoring iptables Automatically On Boot on Debian and Ubuntu</title><link>http://serverstutorial.blogspot.com/2013/10/how-to-restoring-iptables-automatically.html</link><category>Debian</category><category>Linux</category><category>Ubuntu</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 19:42:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-9163094579397600444</guid><description>&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;For
 some reason, Debian can’t do “/etc/init.d/iptables save”. There is no 
option in iptables which will make your rules permanent. But you can use
 &lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;iptables-save&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt; and &lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;iptables-restore&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt; to fulfill your task.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span id="more-597"&gt;&lt;/span&gt;&lt;br /&gt;

&lt;br /&gt;
&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;To save iptables rules to some file like &lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;/etc/iptables.rules&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt; using following command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_414498"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;iptables-save &amp;gt; &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/iptables&lt;/code&gt;&lt;code class="shell plain"&gt;.rules&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
T&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;o make sure the iptables rules are started on a reboot we’ll create a new file:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_276113"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell functions"&gt;vi&lt;/code&gt; &lt;code class="shell plain"&gt;/etc/network/if-pre-up&lt;/code&gt;&lt;code class="shell plain"&gt;.d&lt;/code&gt;&lt;code class="shell plain"&gt;/iptables&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
A&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;dd these lines to it:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;


&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_837157"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell preprocessor bold"&gt;#!/bin/bash&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;iptables-restore &amp;lt; &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/iptables&lt;/code&gt;&lt;code class="shell plain"&gt;.rules&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;Don’t forget to make it executable:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_181473"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell functions"&gt;chmod&lt;/code&gt; &lt;code class="shell plain"&gt;+x &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/network/if-pre-up&lt;/code&gt;&lt;code class="shell plain"&gt;.d&lt;/code&gt;&lt;code class="shell plain"&gt;/iptables&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;Other you can create the following if-up.d script called &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;iptables&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt; that restores the saved iptables rule set.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_655754"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell functions"&gt;vi&lt;/code&gt; &lt;code class="shell plain"&gt;/etc/network/if-up&lt;/code&gt;&lt;code class="shell plain"&gt;.d&lt;/code&gt;&lt;code class="shell plain"&gt;/iptables&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell preprocessor bold"&gt;#!/bin/bash&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;iptables-restore &amp;lt; &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/iptables&lt;/code&gt;&lt;code class="shell plain"&gt;.rules&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell functions"&gt;chmod&lt;/code&gt; &lt;code class="shell plain"&gt;+x &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/network/if-up&lt;/code&gt;&lt;code class="shell plain"&gt;.d&lt;/code&gt;&lt;code class="shell plain"&gt;/iptables&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;Alternatively, you can add “&lt;span style="font-family: Courier New,monospace;"&gt;iptables-restore &amp;lt; /etc/iptables.rules&lt;/span&gt;” command to &lt;span style="font-family: Courier New,monospace;"&gt;/etc/rc.local&lt;/span&gt;, which gets executed at the end of system boot-up.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;Add the following command in &lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt;/etc/rc.local&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: medium;"&gt; to reload the rules in every reboot.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell functions"&gt;vi&lt;/code&gt; &lt;code class="shell plain"&gt;/etc/rc&lt;/code&gt;&lt;code class="shell plain"&gt;.&lt;/code&gt;&lt;code class="shell functions"&gt;local&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;iptables-restore &amp;lt; &lt;/code&gt;&lt;code class="shell plain"&gt;/etc/iptables&lt;/code&gt;&lt;code class="shell plain"&gt;.rules&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Compile FFMPEG with H.264 and LAME in Ubuntu And Debian</title><link>http://serverstutorial.blogspot.com/2013/10/how-to-compile-ffmpeg-with-h264-and.html</link><category>FFMPEG</category><category>Linux</category><category>Tutorial</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 19:39:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-1859431574401309804</guid><description>&lt;div style="text-align: justify;"&gt;
&lt;span class="meta_comments"&gt;&lt;/span&gt; 
        
        
        &lt;/div&gt;
&lt;div class="entry clearfix" style="text-align: justify;"&gt;
            
                        
            &lt;a href="http://vjetnamnet.com/wp-content/uploads/2013/10/ffmpeg-logo.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="ffmpeg-logo" class="alignleft  wp-image-608" height="78" src="http://vjetnamnet.com/wp-content/uploads/2013/10/ffmpeg-logo.jpg" width="311" /&gt;&lt;/a&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;This guide will provide the latest FFmpeg code and enable several external encoding and decoding libraries:&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;fdk-aac&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(AAC encoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libfaac&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(AAC encoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libmp3lame&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(MP3 encoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libopencore-amr&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(AMR encoder/decoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;librtmp&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(for additional RTMP protocols),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libtheora&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(Theora encoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libvorbis&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(Vorbis encoder),&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libvpx&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(VP8 encoder/decoder), and&amp;nbsp;&lt;/span&gt;&lt;em style="font-size: 13px;"&gt;libx264&lt;/em&gt;&lt;span style="font-size: 13px;"&gt;&amp;nbsp;(H.264
 encoder). These are optional and may be omitted if desired. This guide 
will also install many filters, including the&amp;nbsp;subtitles&amp;nbsp;filter for 
hardcoding subtitles (see the filter list in the&amp;nbsp;&lt;/span&gt;&lt;a href="https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide#ListofFilters" style="font-size: 13px;" target="_blank"&gt;Filtering Guide&lt;/a&gt;&lt;span style="font-size: 13px;"&gt;).&lt;/span&gt;&lt;br /&gt;

&lt;span id="more-605"&gt;&lt;/span&gt;&lt;br /&gt;

&lt;br /&gt;
If necessary, uninstall x264, libx264-dev, and ffmpeg:&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_347400"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get remove ffmpeg x264 libx264-dev yasm&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Get the dependencies (&lt;strong&gt;Ubuntu Desktop&lt;/strong&gt;&amp;nbsp;users):&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_231447"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get update&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get -y &lt;/code&gt;&lt;code class="shell functions"&gt;install&lt;/code&gt; &lt;code class="shell plain"&gt;autoconf
 build-essential checkinstall git libass-dev libfaac-dev libgpac-dev 
libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev 
libopencore-amrwb-dev librtmp-dev libsdl1.2-dev libtheora-dev libtool 
libva-dev libvdpau-dev libvorbis-dev libx11-dev libxext-dev 
libxfixes-dev pkg-config texi2html zlib1g-dev&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
Get the dependencies (&lt;strong&gt;Ubuntu Server&lt;/strong&gt;&amp;nbsp;or headless users):&lt;br /&gt;
&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_307634"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get update&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_207370"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get -y &lt;/code&gt;&lt;code class="shell functions"&gt;install&lt;/code&gt; &lt;code class="shell plain"&gt;autoconf
 build-essential checkinstall git libass-dev libfaac-dev libgpac-dev 
libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev 
libtheora-dev libtool libvorbis-dev pkg-config texi2html zlib1g-dev&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;
Compilation &amp;amp; Installation&lt;/h2&gt;
&lt;h3&gt;
1. Yasm&lt;/h3&gt;
Yasm is an assembler used by x264 and FFmpeg.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_786170"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$wget http:&lt;/code&gt;&lt;code class="shell plain"&gt;//www&lt;/code&gt;&lt;code class="shell plain"&gt;.tortall.net&lt;/code&gt;&lt;code class="shell plain"&gt;/projects/yasm/releases/yasm-1&lt;/code&gt;&lt;code class="shell plain"&gt;.2.0.&lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt;&lt;code class="shell plain"&gt;.gz&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt; &lt;code class="shell plain"&gt;xzvf yasm-1.2.0.&lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt;&lt;code class="shell plain"&gt;.gz&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;yasm-1.2.0&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=yasm --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"1.2.0"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no --deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;--default&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
2. Install x264&lt;/h3&gt;
H.264 video encoder. The following commands will get the current source files, compile, and install x264. See the&amp;nbsp;&lt;a href="https://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide" target="_blank"&gt;x264 Encoding Guide&lt;/a&gt;&amp;nbsp;for some usage examples.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_338257"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ git clone git:&lt;/code&gt;&lt;code class="shell plain"&gt;//git&lt;/code&gt;&lt;code class="shell plain"&gt;.videolan.org&lt;/code&gt;&lt;code class="shell plain"&gt;/x264&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;x264&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-static --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-shared --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-debug --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-gprof&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=x264 --pkgversion="3:$(.&lt;/code&gt;&lt;code class="shell plain"&gt;/version&lt;/code&gt;&lt;code class="shell plain"&gt;.sh | \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell functions"&gt;awk&lt;/code&gt; &lt;code class="shell plain"&gt;-F&lt;/code&gt;&lt;code class="shell string"&gt;'[" ]'&lt;/code&gt; &lt;code class="shell string"&gt;'/POINT/{print $4"+git"$5}'&lt;/code&gt;&lt;code class="shell plain"&gt;)" --backup=no --deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;\&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number7 index6 alt2"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--fstrans=no --default&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
3. fdk-aac&lt;/h3&gt;
AAC audio encoder. See the&amp;nbsp;&lt;a href="http://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide"&gt;AAC Encoding Guide&lt;/a&gt;&amp;nbsp;for more information and examples.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_198564"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ git clone --depth 1 git:&lt;/code&gt;&lt;code class="shell plain"&gt;//github&lt;/code&gt;&lt;code class="shell plain"&gt;.com&lt;/code&gt;&lt;code class="shell plain"&gt;/mstorsjo/fdk-aac&lt;/code&gt;&lt;code class="shell plain"&gt;.git&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;fdk-aac&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ autoreconf –fiv&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--disable-shared&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=fdk-aac --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"$(date +%Y%m%d%H%M)-git"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number7 index6 alt2"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;--fstrans=no --default&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
4. libmp3lame&lt;/h3&gt;
MP3 audio encoder.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_206619"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get remove libmp3lame-dev&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;apt-get &lt;/code&gt;&lt;code class="shell functions"&gt;install&lt;/code&gt; &lt;code class="shell plain"&gt;nasm&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ wget http:&lt;/code&gt;&lt;code class="shell plain"&gt;//downloads&lt;/code&gt;&lt;code class="shell plain"&gt;.sourceforge.net&lt;/code&gt;&lt;code class="shell plain"&gt;/project/lame/lame/3&lt;/code&gt;&lt;code class="shell plain"&gt;.99&lt;/code&gt;&lt;code class="shell plain"&gt;/lame-3&lt;/code&gt;&lt;code class="shell plain"&gt;.99.5.&lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt;&lt;code class="shell plain"&gt;.gz&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt; &lt;code class="shell plain"&gt;xzvf lame-3.99.5.&lt;/code&gt;&lt;code class="shell functions"&gt;tar&lt;/code&gt;&lt;code class="shell plain"&gt;.gz&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;lame-3.99.5&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-nasm --disable-shared&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number7 index6 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number8 index7 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=lame-ffmpeg --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"3.99.5"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no --default --deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
5.&amp;nbsp;libopus&lt;/h3&gt;
Opus audio decoder and encoder.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_344354"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ git clone --depth 1 git:&lt;/code&gt;&lt;code class="shell plain"&gt;//git&lt;/code&gt;&lt;code class="shell plain"&gt;.xiph.org&lt;/code&gt;&lt;code class="shell plain"&gt;/opus&lt;/code&gt;&lt;code class="shell plain"&gt;.git&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;opus&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/autogen&lt;/code&gt;&lt;code class="shell plain"&gt;.sh&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--disable-shared&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=libopus --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"$(date +%Y%m%d%H%M)-git"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number7 index6 alt2"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;--fstrans=no --default&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
6. libvpx&lt;/h3&gt;
VP8/VP9 video encoder and decoder. See the&amp;nbsp;&lt;a href="http://ffmpeg.org/trac/ffmpeg/wiki/vpxEncodingGuide"&gt;vpx (WebM) Encoding Guide&lt;/a&gt;&amp;nbsp;for more information and examples.&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_46472"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ git clone --depth 1 http:&lt;/code&gt;&lt;code class="shell plain"&gt;//git&lt;/code&gt;&lt;code class="shell plain"&gt;.chromium.org&lt;/code&gt;&lt;code class="shell plain"&gt;/webm/libvpx&lt;/code&gt;&lt;code class="shell plain"&gt;.git&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;libvpx&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--disable-examples --disable-unit-tests&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=libvpx --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"1:$(date +%Y%m%d%H%M)-git"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;--fstrans=no --default&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
7.&amp;nbsp;ffmpeg&lt;/h3&gt;
&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;Server users should remove&amp;nbsp;&lt;tt&gt;--enable-x11grab&lt;/tt&gt;&amp;nbsp;from the following command:&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_755915"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ git clone --depth 1 git:&lt;/code&gt;&lt;code class="shell plain"&gt;//source&lt;/code&gt;&lt;code class="shell plain"&gt;.ffmpeg.org&lt;/code&gt;&lt;code class="shell plain"&gt;/ffmpeg&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;cd&lt;/code&gt; &lt;code class="shell plain"&gt;ffmpeg&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="shell plain"&gt;$ .&lt;/code&gt;&lt;code class="shell plain"&gt;/configure&lt;/code&gt; &lt;code class="shell plain"&gt;--&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-gpl --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libass --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libfaac --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libfdk-aac --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libmp3lame \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number4 index3 alt1"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libopencore-amrnb --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libopencore-amrwb --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-librtmp --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libtheora \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number5 index4 alt2"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libvorbis --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libvpx --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-x11grab --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-libx264 --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-nonfree --&lt;/code&gt;&lt;code class="shell functions"&gt;enable&lt;/code&gt;&lt;code class="shell plain"&gt;-version3&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number6 index5 alt1"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;make&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number7 index6 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;sudo&lt;/code&gt; &lt;code class="shell plain"&gt;checkinstall --pkgname=ffmpeg --pkgversion=&lt;/code&gt;&lt;code class="shell string"&gt;"7:$(date +%Y%m%d%H%M)-git"&lt;/code&gt; &lt;code class="shell plain"&gt;--backup=no \&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number8 index7 alt1"&gt;
&lt;code class="shell spaces"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="shell plain"&gt;--deldoc=&lt;/code&gt;&lt;code class="shell functions"&gt;yes&lt;/code&gt; &lt;code class="shell plain"&gt;--fstrans=no --default&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number9 index8 alt2"&gt;
&lt;code class="shell plain"&gt;$ &lt;/code&gt;&lt;code class="shell functions"&gt;hash&lt;/code&gt; &lt;code class="shell plain"&gt;-r&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
Finish&lt;/h3&gt;
Installation is now complete and ffmpeg is now ready for use. Check to see if you’re using your new ffmpeg:&lt;br /&gt;

&lt;div&gt;
&lt;div class="syntaxhighlighter nogutter  shell" id="highlighter_930826"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="shell plain"&gt;$ ffmpeg 2&amp;gt;&amp;amp;1 | &lt;/code&gt;&lt;code class="shell functions"&gt;head&lt;/code&gt; &lt;code class="shell plain"&gt;-n1&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="shell plain"&gt;ffmpeg version git-2013-05-18-5918b7a Copyright (c) 2000-2013 the FFmpeg developers&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Install Linux on a Playstation 2 </title><link>http://serverstutorial.blogspot.com/2013/10/how-to-install-linux-on-playstation-2.html</link><category>Linux</category><category>Playstation</category><category>Tutorial</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 19:33:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-6835502511858643013</guid><description>To install linux you need the following things:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Playstation 2 (e.g. SCPH-50004 or SCPH-39004, slim PSTwo SCPH-70000 is not recommended).&lt;/li&gt;
&lt;li&gt;PS2 Linux Kernel with VFAT support (devfs)&lt;/li&gt;
&lt;li&gt;PS2 Linux Kernel without devfs&lt;/li&gt;
&lt;li&gt;Initial ramdisk&lt;/li&gt;
&lt;li&gt;Bootloader Kernelloader&lt;/li&gt;
&lt;li&gt;Linux distribution to install. Please download blackrhino_baseimage-1.0.tar.gz from &lt;a href="http://sourceforge.net/projects/kernelloader/files/BlackRhino%20Linux%20Distribution/Base%20Image/"&gt;Sourceforge Download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;USB memory stick&lt;/li&gt;
&lt;li&gt;Hard disc (recommended), all data will be deleted (you can also use a
 USB memory stick, but then you need to change the scsi device path at 
your own)&lt;/li&gt;
&lt;li&gt;Network adapter SCPH-10350 or SCPH-10281 for PS2 (recommended, required to connect the hard disc)&lt;/li&gt;
&lt;li&gt;USB keyboard&lt;/li&gt;
&lt;li&gt;TV screen and a video cable (you can use the normal PS2 video cable)&lt;/li&gt;
&lt;li&gt;PS2 memory card (recommended, but not required)&lt;/li&gt;
&lt;li&gt;A method to boot the files is required to start kloader.elf. Please choose one:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Modchip (I don't have a modchip, but this method should work, you need to generate a system.cnf file to start kloader.elf)&lt;/li&gt;
&lt;li&gt;Action Replay: The ARmax media player can start kloader.elf&lt;/li&gt;
&lt;li&gt;Memory card exploit &lt;a href="http://ps2dev.org/ps2/Loaders/PS2_eXploit_Made_Easy"&gt;memory card exploit&lt;/a&gt; (not working with slim PSTwo)&lt;/li&gt;
&lt;li&gt;Memory card exploit &lt;a href="http://psx-scene.com/forums/forumdisplay.php?f=153"&gt;Free McBoot&lt;/a&gt; (working with old slim PSTwo)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
Download &lt;a href="https://sourceforge.net/projects/kernelloader/files/Linux%202.4/Linux%202.4.17%20Kernel/"&gt;vmlinux&lt;/a&gt; and &lt;a href="http://sourceforge.net/projects/kernelloader/files/Initial%20RAM%20Disc/Initrd%20for%20general%20testing%20and%20installing%20BlackRhino/"&gt;initrd&lt;/a&gt; files.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; It is easier to start the Linux &lt;a href="http://sourceforge.net/projects/kernelloader/files/BlackRhino%20Linux%20Distribution/Live%20Linux%20DVD/ps2livedvd_v2.7z/download"&gt;Live DVD&lt;/a&gt;
 and extract the baseimage from the DVD. The base image is at 
/oldroot/cdrom/SRC/BASE-1.0.TGZ. The kernel is on the DVD at 
BOOT/VMLINUX.GZ.&lt;br /&gt;To get the command line, you need to start xterm from the menu. Then you need to enter the command "su" to get root access.&lt;br /&gt;
&lt;h2&gt;
Steps:&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; The screen shots are from an old kernelloader version, you should use the newest version.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Create directory "ps2linux" on a USB memory stick and copy all files
 here (vmlinux, vmlinux.devfs, initrd.gz and 
blackrhino_baseimage-1.0.tar.gz).&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Start "kloader.elf" using your preferred booting method. At 
startup you will see the following screen. You can use the PS2 
controller to navigate through the menu. The button CROSS selects a menu
 entry. It is also possible to use a USB keyboard and press UP and DOWN 
keys. You can select a menu entry by pressing RETURN.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/screenshot_kloader.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Select kernel vmlinux.devfs. This kernel supports VFAT used on most USB memory sticks.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_kernel.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_kernel_usb.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_vmlinux_devfs.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Select initial ramdisk (initrd). We need a small system to install Linux.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_initrd.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_initrd_usb.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_initrd_gz.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Disable "dmarelay.irx" (recommended). This is only required if you use other kernels with DMA support.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_config_menu.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_module_list.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_dmarelay.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Boot Linux&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/screenshot_kloader.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Create Linux partitions on hard disc (CAUTION: all data will be deleted).&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;fdisk /dev/ide/host0/bus0/target0/lun0/disc&lt;br /&gt;
Commands (key + return):&lt;br /&gt;
"p" - Show partitions&lt;br /&gt;
"d" - Delete partitions&lt;br /&gt;
"n" - Create partitions&lt;br /&gt;
"t" - CHange partition type&lt;br /&gt;
"w" - Write data back&lt;br /&gt;
"q" - Quit&lt;br /&gt;
&lt;br /&gt;
If you use a kernel without devfs (e.g. from the Live DVD), the command is different:&lt;br /&gt;
&lt;b&gt;fdisk /dev/hda&lt;/b&gt; - internal IDE hard disc&lt;br /&gt;
&lt;b&gt;fdisk /dev/sda&lt;/b&gt; - first external USB mass storage&lt;br /&gt;
&lt;b&gt;fdisk /dev/sdb&lt;/b&gt; - second external USB mass storage&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Show all partitions with "p".&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Delete all partitions with "d".&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Create a swap partition with "n", "p", "1", "1", "+128M".&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Change partition type with "t", "1", "82".&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Create root partition with "n", "p", "2", return, return.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Write partition data on hard disc with "w"&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Format swap partition (CAUTION: Delete all data on hard disc):&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;mkswap /dev/ide/host0/bus0/target0/lun0/part1&lt;br /&gt;
If you use a kernel without devfs (e.g. from the Live DVD), the command is different:&lt;br /&gt;
&lt;b&gt;mkswap /dev/hda1&lt;/b&gt; - internal IDE hard disc&lt;br /&gt;
&lt;b&gt;mkswap /dev/sda1&lt;/b&gt; - first external USB mass storage&lt;br /&gt;
&lt;b&gt;mkswap /dev/sdb1&lt;/b&gt; - second external USB mass storage&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Format root partition (CAUTION: Delete all data on hard disc):&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;mke2fs /dev/ide/host0/bus0/target0/lun0/part2&lt;br /&gt;
If you use a kernel without devfs (e.g. from the Live DVD), the command is different:&lt;br /&gt;
&lt;b&gt;mke2fs /dev/hda2&lt;/b&gt; - internal IDE hard disc&lt;br /&gt;
&lt;b&gt;mke2fs /dev/sda2&lt;/b&gt; - first external USB mass storage&lt;br /&gt;
&lt;b&gt;mke2fs /dev/sdb2&lt;/b&gt; - second external USB mass storage&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mount hard disc&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;mkdir /mnt&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;mount /dev/ide/host0/bus0/target0/lun0/part2 /mnt&lt;br /&gt;
If you use a kernel without devfs (e.g. from the Live DVD), the command is different:&lt;br /&gt;
&lt;b&gt;mount /dev/hda2 /mnt&lt;/b&gt; - internal IDE hard disc&lt;br /&gt;
&lt;b&gt;mount /dev/sda2 /mnt&lt;/b&gt; - first external USB mass storage&lt;br /&gt;
&lt;b&gt;mount /dev/sdb2 /mnt&lt;/b&gt; - second external USB mass storage&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mount USB memory stick (read only):&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;mkdir /usb&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;mount -r /dev/scsi/host0/bus0/target0/lun0/part1 /usb&lt;br /&gt;
If you use a kernel without devfs (e.g. from the Live DVD), the command is different:&lt;br /&gt;
&lt;b&gt;mount -r /dev/sda1 /usb&lt;/b&gt; - first external USB mass storage&lt;br /&gt;
&lt;b&gt;mount -r /dev/sdb1 /usb&lt;/b&gt; - second external USB mass storage&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Extract Linux distribution&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;cd mnt&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;tar -xzf /usb/ps2linux/black~1.gz&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;There will be many messages printed showing that date is in the future.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Customize Linux installation:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;vi /mnt/etc/fstab&lt;br /&gt;
Commands:&lt;br /&gt;
ESC - Get back to command mode.&lt;br /&gt;
"i" - Insert text.&lt;br /&gt;
"x" - Remove character.&lt;br /&gt;
":wq" - Save and quit.&lt;br /&gt;
":q!" - Quit and don't save.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Exchange "hda1" and "hda2". "hda1" must be swap. "hda2" must be "ext2".&lt;br /&gt;
If you installed to USB memory device, exchange hda by sda.&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Unmount and reboot:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;cd /&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;unmount /mnt&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;unmount /usb&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;shutdown -h now&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Start "kloader.elf" using your preferred booting method.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/screenshot_kloader.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Select kernel vmlinux.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_kernel.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_kernel_usb.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_vmlinux.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Disable initrd&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_select_initrd.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_disable_initrd.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Change kernel parameter using USB keyboard to "crtmode=pal 
root=/dev/hda2 ro" or "crtmode=ntsc root=/dev/hda2 ro" (Keep your "pal" 
or "ntsc" setting).&lt;br /&gt;
If you installed on USB mass storage, you need to use initrd.usb2.gz and
 kernel parameter "newroot=/dev/sda1" for first partition or 
"newroot="/dev/sda2" for second partition and remove parameter "root".&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_config_menu.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_edit_kernelparameter.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_hdd_parameter.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Save configuration.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/tutorial/kloader_save_config.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Boot Linux.&lt;br /&gt;
&lt;img height="320" src="http://kernelloader.sourceforge.net/screenshot_kloader.jpg" width="400" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;You can now login as "root" user and use Linux.&lt;/li&gt;
&lt;/ol&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>apt-fast: Improve apt-get Download Speed</title><link>http://serverstutorial.blogspot.com/2013/10/apt-fast-improve-apt-get-download-speed.html</link><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 19:23:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-824595044107946879</guid><description>&lt;div style="text-align: justify;"&gt;
&lt;a href="https://github.com/ilikenwf/apt-fast" target="_blank"&gt;&lt;strong&gt;apt-fast&lt;/strong&gt;&lt;/a&gt; is a &lt;strong&gt;“shell script wrapper”&lt;/strong&gt; for &lt;strong&gt;apt-get&lt;/strong&gt; and &lt;strong&gt;aptitude&lt;/strong&gt; that can drastically improve APT download times by downloading packages with multiple connections per package. apt-fast uses &lt;strong&gt;aria2c&lt;/strong&gt; or &lt;strong&gt;axel&lt;/strong&gt;
 download managers to speed up the APT download time. Just like the 
traditional apt-get package manager, apt-fast supports almost all 
apt-get functions such as &lt;strong&gt;install&lt;/strong&gt;, &lt;strong&gt;remove&lt;/strong&gt;, &lt;strong&gt;update&lt;/strong&gt;, &lt;strong&gt;upgrade&lt;/strong&gt;, &lt;strong&gt;dist-upgrade&lt;/strong&gt; etc. And one more notable feature is it supports proxy too.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;strong&gt;Install apt-fast On Ubuntu&lt;/strong&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Use the following PPA to install apt-fast. apt-fast developer says “&lt;strong&gt;Some distros, such as PCLinuxOS include apt-fast in their default repos”&lt;/strong&gt;. I expect the same in Ubuntu/Debian default repositories.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
To Add apt-fast PPA, enter the following command in Terminal.&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;sudo add-apt-repository ppa:apt-fast/stable&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
Update the sources list with command:&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;sudo apt-get update&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
Now install it using command:&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;sudo apt-get install apt-fast&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
During installation it will ask you to select the maximum number connections to download packages.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_003.png"&gt;&lt;img alt="sk@sk: ~_003" class="aligncenter  wp-image-20713" height="418" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_003.png" width="589" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Select No and continue installation. If you select Yes, apt-get won’t ask you the confirmation during any package installation.&lt;br /&gt;
&lt;br /&gt;

&lt;a href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_0041.png"&gt;&lt;img alt="sk@sk: ~_004" class="aligncenter  wp-image-20715" height="418" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_0041.png" width="589" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I found &lt;strong&gt;aria2&lt;/strong&gt; download manager has been installed along with apt-fast installation automatically. So you don’t have to install it separately.&lt;br /&gt;
&lt;br /&gt;

&lt;div style="text-align: justify;"&gt;
If you want re-configure apt-fast options, you can do it using command:&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;sudo dpkg-reconfigure apt-fast&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;strong&gt;Usage&lt;/strong&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Similar to apt-get functions, we can use:&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;apt-fast install package&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;apt-fast remove package&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;apt-fast update&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;apt-fast upgrade&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;apt-fast dist-upgrade&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
and more.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
apt-fast package manager in action:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_0051.png"&gt;&lt;img alt="sk@sk: ~_005" class="aligncenter  wp-image-20719" height="418" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/sk@sk-_0051.png" width="589" /&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Create alias (Optional)&lt;/strong&gt;&lt;br /&gt;

&lt;div style="text-align: justify;"&gt;
Edit &lt;strong&gt;~/.bashrc&lt;/strong&gt; file and add the following line at the end.&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;alias apt-get='apt-fast'&lt;/pre&gt;
&lt;pre style="text-align: justify;"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
Or simply run the following command to add it in your &lt;strong&gt;~/.bashrc&lt;/strong&gt; file.&lt;/div&gt;
&lt;pre style="text-align: justify;"&gt;sudo echo "alias apt-get='apt-fast'" &amp;gt;&amp;gt; ~/.bashrc&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
From now whenever you run apt-get command
 to install, remove, update and upgrade packages, it will use apt-fast 
automatically in the background. Sounds cool? Yes it should.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
During testing i found it very fast 
compared to apt-get when downloading packages. Give it a try, you will 
agree with me. Cheers!!&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How To Use Python To SSH To Your Machine</title><link>http://serverstutorial.blogspot.com/2013/10/how-to-use-python-to-ssh-to-your-machine.html</link><category>Python</category><category>Server</category><category>SSH</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 19:06:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-7389346218606507844</guid><description>&lt;div style="text-align: justify;"&gt;
It is time for some python programming. I love automating stuff and this
 time I will display you friends how to connect to your appliance via 
ssh utilising python and run order on it. It is not hard, but at the 
same time not very very simple to do this in python, since there are 
many modules and libraries to do this task. Are you inquisitive about 
the module we will use in this tutorial?&lt;br /&gt;&lt;br /&gt;We will use pxssh class 
of the pexpect module in Python which is utilised to to take care of 
some of the automation desires, like ssh and ftp. Do you desire to make 
your sysadmin lifestyle as easy as possible? Then, why don’t you aim on 
this tutorial and try to learn as much as likely? Ok ,ok, i got your 
vigilance now, so let me give you guys a easy recount about pxssh. You 
can also get data about pxssh by typing help(pxssh) after trading it in a
 python interactive case.&lt;br /&gt;&lt;br /&gt;Pxssh recount&lt;br /&gt;&lt;br /&gt;Pxssh is founded 
on pexpect. It’s class extends pexpect.spawn to focus setting up SSH 
connections. I use pxssh often for making ssh attachments in python. 
Pxssh uses the shell punctual to synchronize yield from the isolated 
host. In alignment to make this more robust it sets the shell prompt to 
certain thing more exclusive than just $ or #. This should work on most 
Borne/Bash or Csh method seashells.&lt;br /&gt;&lt;br /&gt;You can read more about pxssh here.&lt;/div&gt;
&lt;br /&gt;Now let the joy begin.&lt;br /&gt;&lt;br /&gt;In the first step, we trade everything we need and accredit machine details to variables like shown in number 1.&lt;br /&gt;&lt;img alt="" class="aligncenter" height="264" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/ssh1.png" width="330" /&gt;&lt;br /&gt;number 1&lt;br /&gt;&lt;br /&gt;Then we conceive a function which will use pxssh to conceive and start a connection with the ssh server.&lt;br /&gt;&lt;img alt="" class="aligncenter" height="196" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/ssh2.png" width="284" /&gt;&lt;br /&gt;Figure 2&lt;br /&gt;&lt;br /&gt;Study mindfully how we use try and except so we can handle errors. Read more about error management in python here.&lt;br /&gt;&lt;br /&gt;What is the next step?&lt;br /&gt;&lt;br /&gt;The
 next step is to conceive a function which will send the command to the 
machine after the ssh connection between two machines is established.&lt;br /&gt;&lt;img alt="" class="aligncenter" height="142" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/ssh3.png" width="280" /&gt;&lt;br /&gt;Figure 3&lt;br /&gt;&lt;img alt="" class="aligncenter" height="280" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/ssh4.png" width="350" /&gt;&lt;br /&gt;number 4&lt;br /&gt;&lt;br /&gt;Now close the file and save it. It is prepared to run.
                            &lt;br /&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How To Porting a Windows App to Linux with Visual Studio </title><link>http://serverstutorial.blogspot.com/2013/10/how-to-porting-windows-app-to-linux.html</link><category>Linux</category><category>Tutorial</category><category>Windows</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 18:58:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-5928098344659396358</guid><description>&lt;h3&gt;
&lt;u&gt;&lt;i&gt;&amp;nbsp;Porting a Windows App to Linux with Visual Studio&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/u&gt;&lt;/h3&gt;
This tutorial displays how to dock a easy Windows application to Linux 
by conceiving a Linux configuration in a Visual Studio task with 
VisualGDB.&lt;br /&gt;
&lt;br /&gt;
Before we begin, ensure that &lt;a href="http://visualgdb.com/download"&gt;VisualGDB 4.0&lt;/a&gt; or later is 
				installed.&lt;br /&gt;

				&lt;ol&gt;
&lt;li style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;Now switch the current configuration back to Debug and 
					hit F5 to run the Windows version of your program:&lt;img height="378" src="http://visualgdb.com/tutorials/porting/linux/img/18-windows.png" width="400" /&gt;&lt;/li&gt;
&lt;li style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;The last page allows specifying the location of the 
					source files on the Linux machine. You can proceed with the 
					default settings:&lt;img height="359" src="http://visualgdb.com/tutorials/porting/linux/img/07-sourcelocation.png" width="400" /&gt;&lt;/li&gt;
&lt;li style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;On the next page select the Linux computer you want to 
					use. You can also select a different toolchain:&lt;img height="359" src="http://visualgdb.com/tutorials/porting/linux/img/06-linuxcomp.png" width="400" /&gt;&lt;/li&gt;
&lt;li style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;VisualGDB will start the Linux Configuration Wizard. 
					Enter "LinuxDebug" as the configuration name:&lt;img height="359" src="http://visualgdb.com/tutorials/porting/linux/img/05-summary.png" width="400" /&gt;&lt;/li&gt;
&lt;li style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;Our first step will be to create a simple console 
					application for Windows. Start Visual Studio and select File-&amp;gt;New-&amp;gt;Project.
					&lt;img height="350" src="http://visualgdb.com/tutorials/porting/linux/img/01-newproj.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Select "Win32 Console Application":&lt;img height="240" src="http://visualgdb.com/tutorials/porting/linux/img/02-consoleapp.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;Proceed with the default settings and press "Finish". 
					Visual Studio will create a basic console application. Add 
					the following code to the main file:&lt;div class="code"&gt;
						&lt;span class="keyword"&gt;#include&lt;/span&gt;
						&lt;span class="string"&gt;"stdafx.h"&lt;/span&gt;&lt;br /&gt;
						&lt;span class="auto-style1"&gt;#include&lt;/span&gt;
						&lt;span class="auto-style2"&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;
						&lt;span class="auto-style1"&gt;#include&lt;/span&gt;
						&lt;span class="auto-style2"&gt;&amp;lt;stdlib.h&amp;gt;&lt;/span&gt;
						&lt;br /&gt;&lt;span class="auto-style1"&gt;int&lt;/span&gt; _tmain(&lt;span class="auto-style1"&gt;int&lt;/span&gt; argc, _TCHAR* argv[])&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
						printf(&lt;span class="auto-style2"&gt;"HOMEPATH=%s\n"&lt;/span&gt;, getenv(&lt;span class="auto-style2"&gt;"HOMEPATH"&lt;/span&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
						printf(&lt;span class="auto-style2"&gt;"HOME=%s\n"&lt;/span&gt;, getenv(&lt;span class="auto-style2"&gt;"HOME"&lt;/span&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
						&lt;span class="auto-style1"&gt;return&lt;/span&gt; 0;&lt;br /&gt;}&lt;br /&gt;
					&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Build the project. If the build complains about the 
					getenv() function, add the following line to the beginning 
					of &lt;strong&gt;stdafx.h&lt;/strong&gt;:&lt;div class="code"&gt;
						&lt;span class="auto-style1"&gt;#define&lt;/span&gt; _CRT_SECURE_NO_WARNINGS&lt;/div&gt;
Run the project and observe its output. Note that on Windows the HOME 
					variable is undefined:&lt;img height="381" src="http://visualgdb.com/tutorials/porting/linux/img/03-sourcecode.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;Now we will create a new Linux configuration for the 
					project. Select &lt;strong&gt;Project-&amp;gt;Add VisualGDB 
					Configuration-&amp;gt;New Linux Configuration&lt;/strong&gt;:&lt;img height="381" src="http://visualgdb.com/tutorials/porting/linux/img/04-newcfg.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;When you press Finish, VisualGDB will create a new 
					project configuration and a corresponding solution 
					configuration. As certain Windows-specific files are 
					missing on the Linux machine, the compilation will fail with 
					several errors. We will fix them in the next steps:&lt;img height="380" src="http://visualgdb.com/tutorials/porting/linux/img/12-errors.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;Open the stdafx.h file and remove references to &lt;strong&gt;SDKDDKVer.h&lt;/strong&gt; and 
					&lt;strong&gt;tchar.h&lt;/strong&gt;:&lt;img height="380" src="http://visualgdb.com/tutorials/porting/linux/img/13-linux.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;Rename &lt;strong&gt;_tmain()&lt;/strong&gt; to &lt;strong&gt;main()&lt;/strong&gt; 
					and replace &lt;strong&gt;_TCHAR&lt;/strong&gt; with &lt;strong&gt;char&lt;/strong&gt;. 
					Build the project. You will notice that the modified source 
					files will be transferred to the Linux machine and built 
					there using GCC, the standard compiler on Linux systems:&lt;img height="380" src="http://visualgdb.com/tutorials/porting/linux/img/14-buildok.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;Set a breakpoint on the &lt;strong&gt;return&lt;/strong&gt; 
					statement and run the program. Observe the output:&lt;img height="380" src="http://visualgdb.com/tutorials/porting/linux/img/15-debug.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;As Windows and Linux use different variable names 
					(HOMEPATH vs HOME), we had to write two separate &lt;strong&gt;getenv()&lt;/strong&gt; lines. Now we will add conditional 
					compilation statements to ensure that only one line is used 
					on each OS. We could test for the &lt;strong&gt;_MSC_VER&lt;/strong&gt; 
					macro on Windows (that is set by the Visual C++ compiler) or 
					the &lt;strong&gt;LINUX&lt;/strong&gt; macro that is defined by Linux 
					headers, however in this tutorial we will show how to add 
					your own macro. Right-click on the project, select VisualGDB 
					Project Properties and go to the Makefile Settings page. Add
					&lt;strong&gt;BUILDING_FOR_LINUX&lt;/strong&gt; to Preprocessor Macros:&lt;img height="400" src="http://visualgdb.com/tutorials/porting/linux/img/16-macro.png" width="357" /&gt;&lt;/li&gt;
&lt;li&gt;Now press OK and add the &lt;strong&gt;#ifndef 
					BUILDING_FOR_LINUX&lt;/strong&gt; statement to your code. Build 
					and run the program. Observe that the output only contains 
					one line now:&lt;img height="380" src="http://visualgdb.com/tutorials/porting/linux/img/17-ifdef.png" width="400" /&gt;&lt;/li&gt;
&lt;li&gt;As most of the API (except for the basic standard 
					functions) is different between Linux and Windows, you may 
					want avoid having too many &lt;strong&gt;#ifdef&lt;/strong&gt; 
					statements and simplify your porting. You can accomplish 
					this in one of the following ways:&lt;ul&gt;
&lt;li&gt;Use a 
						multi-platform framework like QT that abstracts out the 
						differences between platforms&lt;/li&gt;
&lt;li&gt;Install Cygwin and create a Cygwin configuration via
						&lt;strong&gt;Project-&amp;gt;Add VisualGDB Configuration-&amp;gt;Windows&lt;/strong&gt;. 
						Cygwin provides equivalents to most Linux APIs on 
						Windows so once you have ported your app to Linux you 
						can build the Windows version of it without too many 
						changes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How To Install HideMyAss VPN in Linux</title><link>http://serverstutorial.blogspot.com/2013/10/how-to-install-hidemyass-vpn-in-linux.html</link><category>Linux</category><category>Linux Commands</category><category>Tutorial</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Tue, 15 Oct 2013 18:47:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-3786000449655161506</guid><description>&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;/div&gt;
&lt;h2 style="text-align: justify;"&gt;
&lt;u&gt;&lt;i&gt;&amp;nbsp;Set up HideMyAss VPN in Linux&lt;/i&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;div id="stcpDiv" style="left: -1988px; position: absolute; top: -1999px;"&gt;
Install HideMyAss VPN in Linux&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChHZD_vDc-EsNJbqYwxWBGf7egGCDfYlLXihj6kD0S_VFjbmkoMzvIo-xzxMG6AFYFxVrF0vTPvfAnkihl0XxnU9HS2BDKrAXhyphenhyphenVxAGYZ1Ic5JMBdbUaQ1aEMXgk2UtPDtXSPJYZeLyKO/s1600/Hidemyass-Logo.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="Set up HideMyAss VPN in Linux" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChHZD_vDc-EsNJbqYwxWBGf7egGCDfYlLXihj6kD0S_VFjbmkoMzvIo-xzxMG6AFYFxVrF0vTPvfAnkihl0XxnU9HS2BDKrAXhyphenhyphenVxAGYZ1Ic5JMBdbUaQ1aEMXgk2UtPDtXSPJYZeLyKO/s1600/Hidemyass-Logo.png" title="Set up HideMyAss VPN in Linux" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A virtual personal mesh (VPN) expands a personal mesh across a public 
network, such as the Internet. It endows a computer to drive and obtain 
facts and figures across distributed or public systems as if it were 
directly attached to the private mesh, while benefiting from the 
functionality, security and management policies of the private network. 
This is finished by establishing a virtual point-to-point attachment 
through the use of dedicated attachments, encryption, or a blend of the 
two.&lt;br /&gt;&lt;br /&gt;VPNs allow workers to securely access their company’s 
intranet while traveling out-of-doors the agency. Similarly, VPNs 
securely and cost-effectively attach geographically disparate offices of
 an association, conceiving one cohesive virtual mesh. VPN expertise is 
also utilised by commonplace Internet users to attach to proxy servers 
for the reason of protecting one’s identity.”&lt;br /&gt;&lt;br /&gt;Now that you know 
what a vpn is, would you like to boost your online security? You can 
furthermore use a vpn service to surf the internet anonymously, bypass 
censorship or encrypt your connection. Many of you are well known with 
vpn services and maybe HMA Pro VPN service, so this article aim is to 
teach beginner linux users how to use the HMA vpn in their linux 
machines after they have subscribed to the service.&lt;br /&gt;&lt;br /&gt;HMA vpn is 
available for Windows, Linux, Mac, and smartphones. To use vpn services 
you need a vpn programs. Once you are logged in your command panel 
dwelling you can outlook your present subscription rank and download the
 exact client for your appliance.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="325" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Screenshot-from-2013-10-03-124655.png" width="481" /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Download Linux-1.3 purchaser and extract in your very popular directory.
 But, in alignment to use the purchaser you need to install openvpn. You
 can establish openvpn by typing “sudo apt-get establish swirl around 
openvpn” in your terminal like shown in&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma1.png" width="601" /&gt;&lt;/div&gt;
&lt;div id="stcpDiv" style="left: -1988px; position: absolute; top: -1999px;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="" class="aligncenter" height="325" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Screenshot-from-2013-10-03-124655.png" width="481" /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
Figure 1&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Download Linux-1.3 client and extract in 
your favorite directory. But, in order to use the client you need to 
install openvpn. You can install openvpn by typing “sudo apt-get install
 curl openvpn” in your terminal like shown in Figure 2.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma1.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 2&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
As you see from Figure 3 &amp;nbsp;i have already installed openvpn.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma2.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 3&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Once you have installed openvpn, open a 
new terminal and cd to the directory where you extracted the linux pack 
from Hidemyass site. The zip archive has a &amp;nbsp;shell script which is shown 
in Figure 4.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma3.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 4&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Run the script like &amp;nbsp;shown in Figure 5.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma4.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 5&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After the script is executed it shows you
 the usage instructions and gives some &amp;nbsp;examples. Now, it is time to 
connect to a server. I like to connect to UK, so i type “./hma-vpn.sh 
&amp;nbsp;UK”. So easy, isn’t it?&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="" class="aligncenter" height="116" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma5.png" width="613" /&gt;Figure 6&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Now, type your username and password and everything &amp;nbsp;will go ok.&lt;/div&gt;
- See more at: http://www.unixmen.com/install-hide-ass-vpn-linux/#sthash.AlOuMFLv.dpuf&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
As you see from number 3 i have already installed openvpn.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma2.png" width="601" /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Once
 you have established openvpn, open a new fatal and cd to the book or 
directions where you extracted the linux pack from Hidemyass site. The 
zip archive has a case script which is shown in number 4.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma3.png" width="601" /&gt; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Run the script like shown in number 5.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma4.png" width="601" /&gt;&lt;/div&gt;
&lt;div class="fix"&gt;
                    &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id="stcpDiv" style="left: -1988px; position: absolute; top: -1999px;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="" class="aligncenter" height="325" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/Screenshot-from-2013-10-03-124655.png" width="481" /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
Figure 1&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Download Linux-1.3 client and extract in 
your favorite directory. But, in order to use the client you need to 
install openvpn. You can install openvpn by typing “sudo apt-get install
 curl openvpn” in your terminal like shown in Figure 2.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma1.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 2&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
As you see from Figure 3 &amp;nbsp;i have already installed openvpn.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma2.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 3&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Once you have installed openvpn, open a 
new terminal and cd to the directory where you extracted the linux pack 
from Hidemyass site. The zip archive has a &amp;nbsp;shell script which is shown 
in Figure 4.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma3.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 4&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Run the script like &amp;nbsp;shown in Figure 5.&lt;/div&gt;
&lt;img alt="" class="aligncenter" height="406" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma4.png" width="601" /&gt;&lt;br /&gt;

&lt;div style="text-align: center;"&gt;
Figure 5&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After the script is executed it shows you
 the usage instructions and gives some &amp;nbsp;examples. Now, it is time to 
connect to a server. I like to connect to UK, so i type “./hma-vpn.sh 
&amp;nbsp;UK”. So easy, isn’t it?&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;img alt="" class="aligncenter" height="116" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma5.png" width="613" /&gt;Figure 6&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Now, type your username and password and everything &amp;nbsp;will go ok.&lt;/div&gt;
- See more at: http://www.unixmen.com/install-hide-ass-vpn-linux/#sthash.AlOuMFLv.dpuf&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After the script is performed it displays you the usage directions and 
gives some demonstrations. Now, it is time to attach to a server. I like
 to attach to UK, so i type “./hma-vpn.sh UK”. So very simple, isn’t it?&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;img alt="" class="aligncenter" height="116" src="http://180016988.r.cdn77.net/wp-content/uploads/2013/10/hma5.png" width="613" /&gt; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now, type your username and password and everything will go ok&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: justify;"&gt;
&lt;i&gt;Set up HideMyAss VPN in Linux &lt;/i&gt;&lt;/h3&gt;
</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChHZD_vDc-EsNJbqYwxWBGf7egGCDfYlLXihj6kD0S_VFjbmkoMzvIo-xzxMG6AFYFxVrF0vTPvfAnkihl0XxnU9HS2BDKrAXhyphenhyphenVxAGYZ1Ic5JMBdbUaQ1aEMXgk2UtPDtXSPJYZeLyKO/s72-c/Hidemyass-Logo.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to setup RDS ( Relational Database Service ) on Amazon</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-setup-rds-relational-database.html</link><category>Amazon(AWS)</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Thu, 11 Jul 2013 18:11:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-6392546359485258345</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RDS is a separate service on AWS. On creating a new RDS instance , you will get a username, password and a hostname to use it on your application.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;After install RDS point your database towards RDS Or you can install PhpMyadmin in your EBS instance and in its configuration file give RDS details to connect.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You will get following details after you install RDS instance.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DB Version:- Mysql 5.5.27&lt;br /&gt;Instance Class:- db.m1.medium&lt;br /&gt;Allocated Storage: 1024 GB&lt;br /&gt;DB Instance Identifier: rds-ctechz&lt;br /&gt;Master Username: root&lt;br /&gt;Master Password: 12345678&lt;br /&gt;Hostname / Endpoint&lt;br /&gt;:The DNS address of the DB Instance.--- rds-ctechz.ckieen0iiljz.us-east-1.rds.amazonaws.com&lt;br /&gt;&lt;br /&gt;# mysql -uroot -p -P3306 -h rds-ctechz.ckieen0iiljz.us-east-1.rds.amazonaws.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Please check the installation steps below&lt;/span&gt;:-&lt;br /&gt;&lt;br /&gt;1. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWzxrFUaZgSmtZR-5Fwd4zLWS6z7Ir9-Qd2fhGtcVT_wfI3Ei2_PuU2auLKdSACVIV8PZ5GLtdvhajZaOqL5IJxWm4_XP_dZ47D_pnNPCQfrIKkcbuiRUHese9lEPlQOQ_2rF9Da6HO_iC/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWzxrFUaZgSmtZR-5Fwd4zLWS6z7Ir9-Qd2fhGtcVT_wfI3Ei2_PuU2auLKdSACVIV8PZ5GLtdvhajZaOqL5IJxWm4_XP_dZ47D_pnNPCQfrIKkcbuiRUHese9lEPlQOQ_2rF9Da6HO_iC/s400/1.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;2. RDS-DashBoard &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW05WNL4DCKx4wFOxGRXvP6EdtT1_iHKwR7mvWmRKRQ5Ji4n5ffoyn3Idc3iAFyAOV05Glra8xPQQz5DHEzyhm5kzGflJS-pciAkMqCKp0KKa5Gd50GIZ4yU_aucH3L-5aKsmi9L2iLwFN/s1600/2-RDS-DashBoard.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW05WNL4DCKx4wFOxGRXvP6EdtT1_iHKwR7mvWmRKRQ5Ji4n5ffoyn3Idc3iAFyAOV05Glra8xPQQz5DHEzyhm5kzGflJS-pciAkMqCKp0KKa5Gd50GIZ4yU_aucH3L-5aKsmi9L2iLwFN/s400/2-RDS-DashBoard.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;3. LaunchDBInstance &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjAmhnO4tR0u_lHYx2jUfcD3KPeWM830A54JdaVqeO89QNINdGIpkenleakjOKYI89uwcLTDqMS-NaCKWAXt2_8ymR1xhs2RnUMj8WZWWsg0Olf2TnlSwq0k_gRxQI6Q29BV2_Tjpb8XiY/s1600/3.LaunchDBInstance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjAmhnO4tR0u_lHYx2jUfcD3KPeWM830A54JdaVqeO89QNINdGIpkenleakjOKYI89uwcLTDqMS-NaCKWAXt2_8ymR1xhs2RnUMj8WZWWsg0Olf2TnlSwq0k_gRxQI6Q29BV2_Tjpb8XiY/s400/3.LaunchDBInstance.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;4. DB-InstanceWizard&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq65bLj451CuAS5BcCZr0wmYn5Te-gLPqIExFbSuKHf5bcOHhiMNdjtReIfEGbhDeqbY4IahFOMI_urgBNJKviuJcxfa0deYdkueyuqF_XQHcK-3K-cTNEKBE2mETKxuYLI1lvVgzKG2pO/s1600/4.DB-InstanceWizard.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq65bLj451CuAS5BcCZr0wmYn5Te-gLPqIExFbSuKHf5bcOHhiMNdjtReIfEGbhDeqbY4IahFOMI_urgBNJKviuJcxfa0deYdkueyuqF_XQHcK-3K-cTNEKBE2mETKxuYLI1lvVgzKG2pO/s400/4.DB-InstanceWizard.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;5. SelectDB&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8OB2wzjCYov9YB5INtgM5xx6qSMwdHT2-QoOmJYqf3PWVwVvBIw6RuhjKJm7YcFe3n4JosBBWew8_r1QN9waW2YPa3V6FrcPj73-UngXHIURWw-9ysB4UyP38gxfg6ymkPWxUht8na_e/s1600/5.SelectDB.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8OB2wzjCYov9YB5INtgM5xx6qSMwdHT2-QoOmJYqf3PWVwVvBIw6RuhjKJm7YcFe3n4JosBBWew8_r1QN9waW2YPa3V6FrcPj73-UngXHIURWw-9ysB4UyP38gxfg6ymkPWxUht8na_e/s400/5.SelectDB.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;6. DBDetails &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0FsjieeIphkSrJmPnPKX_XPednyeo2a3PU96muj-FCYSwlRwuvAqeiHd7WWM6whLzJdG81bjYo1o4R-Ud-TKolkrW7lrKB0rPOfiRwGvFmHHxVAjD6wbveIyAmmYgDKP65OUuUVVu2G_a/s1600/6.DBDetails.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0FsjieeIphkSrJmPnPKX_XPednyeo2a3PU96muj-FCYSwlRwuvAqeiHd7WWM6whLzJdG81bjYo1o4R-Ud-TKolkrW7lrKB0rPOfiRwGvFmHHxVAjD6wbveIyAmmYgDKP65OUuUVVu2G_a/s400/6.DBDetails.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;7. CreatingBDName-and-port &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNqFGs61oAWV2dds4mHbwBbkFV5RAeKNjWkqqQPV0GMrv4T1w3mgNqgGxZ9YSkioJMV-TvHXdULFm41Bj5oN1ZOJzcWOKD4T8thAcI10ow3nHh_W0f0Q3gM5PBxFqe9TDTXOJ9UFSM36YY/s1600/7.CreatingBDName-and-port.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNqFGs61oAWV2dds4mHbwBbkFV5RAeKNjWkqqQPV0GMrv4T1w3mgNqgGxZ9YSkioJMV-TvHXdULFm41Bj5oN1ZOJzcWOKD4T8thAcI10ow3nHh_W0f0Q3gM5PBxFqe9TDTXOJ9UFSM36YY/s400/7.CreatingBDName-and-port.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;8. DB-Backup-Planning &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDXP95JS9EjGZlTFQaU5S1Yjp9Y4OKd9WExBFw5IslQaNhyphenhyphenVzSL16A_89zR1v7VeO9bKG8W8fDQewS_p7xpSfOBclRaxLbZ9j_aGBjSV5ri0I9u-4zpPZ_37_eXKCrWzA1D3mKnhVCdlVd/s1600/8.DB-Backup-Planning.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDXP95JS9EjGZlTFQaU5S1Yjp9Y4OKd9WExBFw5IslQaNhyphenhyphenVzSL16A_89zR1v7VeO9bKG8W8fDQewS_p7xpSfOBclRaxLbZ9j_aGBjSV5ri0I9u-4zpPZ_37_eXKCrWzA1D3mKnhVCdlVd/s400/8.DB-Backup-Planning.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;9. LaunchDB-Instance &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn2IXh3oh2mUE7p6kTjVaPTg1haMxyqCbNO490eP0H8GdHTJo_GMscDVl-opTPdBSfLvwYJPtBSS-XfN3Bbb34KB-1J1P7pTqzpNBoFh7T5TK2odo0VlNxBL3X7XhxRvdK6vPQP3ElNMLy/s1600/9.LaunchDB-Instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn2IXh3oh2mUE7p6kTjVaPTg1haMxyqCbNO490eP0H8GdHTJo_GMscDVl-opTPdBSfLvwYJPtBSS-XfN3Bbb34KB-1J1P7pTqzpNBoFh7T5TK2odo0VlNxBL3X7XhxRvdK6vPQP3ElNMLy/s400/9.LaunchDB-Instance.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;10.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-x-TUcJfRSL4cqnEgca2mSVpjJZEOfPiC7VS03l7SNomUSILom1q3BpfwHBxPsX4b_QhuMlGruyQayejSHU_XKaJO8HvTgo3UxgboqJcgB437uEBjVRN19J4foxMuwf4nENFEQsXgTWvl/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-x-TUcJfRSL4cqnEgca2mSVpjJZEOfPiC7VS03l7SNomUSILom1q3BpfwHBxPsX4b_QhuMlGruyQayejSHU_XKaJO8HvTgo3UxgboqJcgB437uEBjVRN19J4foxMuwf4nENFEQsXgTWvl/s400/10.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;11. LaunchingDBInstance&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBhV4e-Cz8h9nPScy31dEItlYXD4-EpVA8jiMn5_ZpIc1RI63A91lh29un6z9l78ynMNdPJbyk3nkJT85GYq40bQenif_i9BtzOpmd_mkjDm6uVEUM4kalh6u6dEb9RjskJb_lAeXMg_JS/s1600/11.LaunchingDBInstance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBhV4e-Cz8h9nPScy31dEItlYXD4-EpVA8jiMn5_ZpIc1RI63A91lh29un6z9l78ynMNdPJbyk3nkJT85GYq40bQenif_i9BtzOpmd_mkjDm6uVEUM4kalh6u6dEb9RjskJb_lAeXMg_JS/s400/11.LaunchingDBInstance.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;12.&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; &lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY6YLy_QJikdNtXvgduLQ_L17bBE5K4KD-GfiAw-Q22O61yQt-UZdrvFBYoFiTWF7lRcdjORMhy3vsD70ugVOR5zqPx8edo6HxsVmQ6liJ_-EzPbgt4RoK2oSGFqYloitQL2h-igYYa-w8/s1600/11.LaunchingDBInstance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY6YLy_QJikdNtXvgduLQ_L17bBE5K4KD-GfiAw-Q22O61yQt-UZdrvFBYoFiTWF7lRcdjORMhy3vsD70ugVOR5zqPx8edo6HxsVmQ6liJ_-EzPbgt4RoK2oSGFqYloitQL2h-igYYa-w8/s400/11.LaunchingDBInstance.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;13. DB-Description &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMPhJcgdz7aLbY-m8wTgygJg4ShwzVvZmobJt8Hu_Z8MzcXt7ymXocurKFeVQ7OqYBJR4cd7TlF8zcKrz2fFkXP3xupGIL1nXuAc3Omk359W95-ZFxeVIITbeESFLCeJk2KIaSkoZUvnZZ/s1600/13.DB-Description.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMPhJcgdz7aLbY-m8wTgygJg4ShwzVvZmobJt8Hu_Z8MzcXt7ymXocurKFeVQ7OqYBJR4cd7TlF8zcKrz2fFkXP3xupGIL1nXuAc3Omk359W95-ZFxeVIITbeESFLCeJk2KIaSkoZUvnZZ/s400/13.DB-Description.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;14. ConfigureDB-SecurityGroups-forAccessingDBInstance &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh-W-ssXCeX9wmyMuehjhkrKc9nTLk1hj_fWfzNvaRXNqhlOE9HcMRSp9-8WaQQuJ2dQ0n3dJQ2FQyT-hDnWGdHpZLHKFrsGWT2dvzcFyiKI2ko7iIRvvzuAj6Habtz1uvgA9vB05kXk66/s1600/14.ConfigureDB-SecurityGroups-forAccessingDBInstance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh-W-ssXCeX9wmyMuehjhkrKc9nTLk1hj_fWfzNvaRXNqhlOE9HcMRSp9-8WaQQuJ2dQ0n3dJQ2FQyT-hDnWGdHpZLHKFrsGWT2dvzcFyiKI2ko7iIRvvzuAj6Habtz1uvgA9vB05kXk66/s400/14.ConfigureDB-SecurityGroups-forAccessingDBInstance.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;15.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPzGt-IajDtASi16JTB3YQAkWaxQUz8i2yPEO5zlMkFkGb-ucBwY61WTPRa2wkoR0z4SmbpDNWP9SzI11Y-ljmWgSlhltXLaD2lxOhozwgBMqrNWrPxLZ_VC3kH7GNGc64WdutlfmuUR9y/s1600/15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPzGt-IajDtASi16JTB3YQAkWaxQUz8i2yPEO5zlMkFkGb-ucBwY61WTPRa2wkoR0z4SmbpDNWP9SzI11Y-ljmWgSlhltXLaD2lxOhozwgBMqrNWrPxLZ_VC3kH7GNGc64WdutlfmuUR9y/s400/15.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;16.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNOJc-Lk52oQp4mipdaENVHtUc1ZMAuNTpOVoHLgvo1OxaMM4gPrvMnKKWAYmeXWw17j7HnsmAN-lIDNCIp9E8pHjTG1QKFg2W8bTL8BmJfNFWJB-eDXAzIxloge10WjozEoMlYRbbHfZT/s1600/16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNOJc-Lk52oQp4mipdaENVHtUc1ZMAuNTpOVoHLgvo1OxaMM4gPrvMnKKWAYmeXWw17j7HnsmAN-lIDNCIp9E8pHjTG1QKFg2W8bTL8BmJfNFWJB-eDXAzIxloge10WjozEoMlYRbbHfZT/s400/16.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;16.1&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmZGX2mH-kPF9ibMc6miyW7drnPvDVKiAifgvoJyI1xhIi0Nagz9wpIPeV8MzVkCTSyy2rrc9cWeBYwyLPNfn35mAXBlX74AXbL8tLOIGc6v1W5CnWu7rZ6VX-98CoYK7k3IpO7IGM5qUf/s1600/16.1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmZGX2mH-kPF9ibMc6miyW7drnPvDVKiAifgvoJyI1xhIi0Nagz9wpIPeV8MzVkCTSyy2rrc9cWeBYwyLPNfn35mAXBlX74AXbL8tLOIGc6v1W5CnWu7rZ6VX-98CoYK7k3IpO7IGM5qUf/s400/16.1.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;16.2&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqYvC2ZwvA-O-Dv1hIy2QwrzeW1FmHQxbyJ4YufdQkQG5mI6TCv5ovZDcdlU8EtCl2FCqc1u0IGJTOEwDKgxJgOCYHUx9wfWftMAWi8qvBosw4eunRuz14lc8M-_tfzjv5rgulpUKOAp0Q/s1600/16.2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqYvC2ZwvA-O-Dv1hIy2QwrzeW1FmHQxbyJ4YufdQkQG5mI6TCv5ovZDcdlU8EtCl2FCqc1u0IGJTOEwDKgxJgOCYHUx9wfWftMAWi8qvBosw4eunRuz14lc8M-_tfzjv5rgulpUKOAp0Q/s400/16.2.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;16.3&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8VaOXtRWgoguywEnFqWQEQwRkEnkngg9zcu-QR__LDhtV7xpt59OpWk6nivXkKg6U49PaYJEwNayQmTEwVEWgqthqXBKN4Bm5BJaK4lm-PMAU__OYWbbaqZXaGmXxZRp-0ghHIu3vCKbs/s1600/16.3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8VaOXtRWgoguywEnFqWQEQwRkEnkngg9zcu-QR__LDhtV7xpt59OpWk6nivXkKg6U49PaYJEwNayQmTEwVEWgqthqXBKN4Bm5BJaK4lm-PMAU__OYWbbaqZXaGmXxZRp-0ghHIu3vCKbs/s400/16.3.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;16.4&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixZLXUbkE3_X9sYJmI9MZsEFOaHbJOPqjmunPmOeMuT5DqL5aYgxzkSRAAH-vpowhrqo2mWxHWHiLckGTG2E_p0mzxs4ZogwyBql3jCshzVf8OYhTmcml0wsA3WZwhNHj8raKslTI6fV_S/s1600/16.4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixZLXUbkE3_X9sYJmI9MZsEFOaHbJOPqjmunPmOeMuT5DqL5aYgxzkSRAAH-vpowhrqo2mWxHWHiLckGTG2E_p0mzxs4ZogwyBql3jCshzVf8OYhTmcml0wsA3WZwhNHj8raKslTI6fV_S/s400/16.4.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;17.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&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;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfSOABxiuRNV7y-u7-PvokyO3U1Ndg8ijYwuGtXZLeKPPD1q6MrwN1GLOHmdAWUWZGmTbE38lZfym8W4_5psJXTWS91vg0HQciatQwcvU8ZKH-otG_ce_EdPeNbu-Bw7J4yTn6z_Mz7EjJ/s1600/17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfSOABxiuRNV7y-u7-PvokyO3U1Ndg8ijYwuGtXZLeKPPD1q6MrwN1GLOHmdAWUWZGmTbE38lZfym8W4_5psJXTWS91vg0HQciatQwcvU8ZKH-otG_ce_EdPeNbu-Bw7J4yTn6z_Mz7EjJ/s400/17.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWzxrFUaZgSmtZR-5Fwd4zLWS6z7Ir9-Qd2fhGtcVT_wfI3Ei2_PuU2auLKdSACVIV8PZ5GLtdvhajZaOqL5IJxWm4_XP_dZ47D_pnNPCQfrIKkcbuiRUHese9lEPlQOQ_2rF9Da6HO_iC/s72-c/1.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Start and stop daemons via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-start-and-stop-daemons-via-sudo.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 20:25:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-6396039578425550399</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: you want specific non-superusers to start and stop system daemons&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Solution: Here we let four our different users to start,stop, and restart web servers. The script for doing so is /etc/init.d/httpd&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;User_Alias FOLKS=barbara, l33t, jimmy, miroslav&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;Cmnd_Alias DAEMONS=/etc/init.d/httpd start, /etc/init.d/httpd stop, /etc/init.d/httpd restart&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;FOLKS ALL = (ALL) DAEMONS&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Authorize Password changes via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-authorize-password-changes-via.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 20:20:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-6301675938675467552</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: you want to permit a user to change the passwords of certain other users.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Solution: To permit smith to change the passwords of jones, chu, anf agarwal:&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;smith ALL = NOPASSWD: /usr/bin/passwd jones, /usr/bin/passwd chu, /usr/bin/passwd agarwal&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The NOPASSWD tag is optional.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Permitting read-only access to a shared file via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-permitting-read-only-access-to.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 20:07:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-7837184189140572886</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: Two or more users want to share a file, some read/write and others read-only.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Solution: Create two linux groups, one for read/write and one for read-only users:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/etc/group:&lt;br /&gt;readers:x:300:r1,r2,r3,r4&lt;br /&gt;writers:x:301:w1,w2,w3&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Permit the writers group to write the file via group permissions:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# chmod 660 shared_file&lt;br /&gt;# chgrp writers shared_file&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Permit the readers group to read the file via sudo:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;%readers ALL = (w1) /bin/cat /path/to/shared_file&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Note: If a file must be writable by a group of teaching assistants but read-only to a group of students. if there were only two users-one reader and one writer - you could dispense with groups and simply let the reader access the file via sudo.&lt;br /&gt;&lt;br /&gt;if smith is the reader and jones the writer, and we give smith the following capability:&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;smith ALL = (jones) NOPASSWD: /bin/cat /home/jones/private.stuff&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;then jones can protect her file:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;jones$&lt;/b&gt; &lt;b&gt;chmod 600 $HOME/private.stuff&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;and smith can view it:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;smith$ sudo -u jones cat /home/jones/private.stuff&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Prohibiting Command-line arguments with sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-prohibiting-command-line.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 19:58:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-5452239777026055248</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: ou want to permit a command to be run via sudo, but only without command-line arguments.&lt;br /&gt;&lt;br /&gt;Solution: Follow the pgm name with the single argument :: in /etc/sudoers:&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;smith ALL = (root) /usr/local/bin/mycommand ""&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;smith$ sudo -u root mycommand a b c&lt;/b&gt;&amp;nbsp; ----&amp;nbsp;&amp;nbsp; Rejected&lt;br /&gt;&lt;b&gt;smith$ sudo -u root mycommand&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Authorized&lt;br /&gt;&lt;br /&gt;NOTE:&lt;br /&gt;if you specify no arguments to a command in /etc/sudoers, then by default any arguments are permitted.&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;smith ALL = (root) /usr/local/bin/mycommand&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;smith$ sudo -u root mycommand a b c&lt;/b&gt;&amp;nbsp; ----- Authorized&lt;br /&gt;&lt;b&gt;Use "" to prevent any runtime arguments from being authorized&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to run any program in a directory via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-run-any-program-in-directory-via.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 19:35:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-5011508921999284242</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: Authorize a user to run all programs in a given directory, but only those programs, as another user.&lt;br /&gt;&lt;br /&gt;Solution: Specify a fully-qualified directory name instead of a command, ending it with a slash&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;&lt;b&gt;smith ALL = (root) /usr/local/bin/&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;smith$ sudo -u root /usr/local/bin/mycommand&lt;/b&gt;&amp;nbsp;&amp;nbsp; Authorized&lt;br /&gt;&lt;b&gt;smith$ sudo -u root /usr/bin/emacs&lt;/b&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; Rejected&lt;br /&gt;&lt;br /&gt;This authorization does not descend into subdirectories&lt;br /&gt;&lt;b&gt;smith$ sudo -u root /usr/local/bin/gnu/emacs&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rejected&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Grant privileges to a group via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-grant-privileges-to-group-via.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 19:05:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-1909400438009850306</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: Let a set of users run commands as another user,&lt;br /&gt;&lt;br /&gt;Solution: Define a linux group containing those users,&lt;br /&gt;&lt;br /&gt;/etc/group:&lt;br /&gt;&lt;b&gt;mygroup:x:1200:joe,jane,hiram,krishna&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;then create a sudo rule with the &lt;b&gt;%groupname&lt;/b&gt; syntax:&lt;br /&gt;&lt;br /&gt;/etc/sudoers:&lt;br /&gt;# let the group run a particular program&lt;br /&gt;&lt;b&gt;%mygroup ALL = (root) /usr/local/bin/mycommand arg1 arg2&lt;/b&gt;&lt;br /&gt;# give full superuser privilages to the group&lt;br /&gt;&lt;b&gt;%mygroup ALL = (ALL) ALL&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Authorize per host machines in sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-authorize-per-host-machines-in.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 19:03:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-7388276399958662030</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: You want to allow a user authorization privileges only on certain machines&lt;br /&gt;&lt;br /&gt;Solution: First, define a list of machines:&lt;br /&gt;&lt;br /&gt;/etc/sudoers&lt;br /&gt;&lt;b&gt;Host_Alias SAFE_HOSTS = banana, cherry, grapes&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let smith run a program as jones on these machines:&lt;br /&gt;&lt;b&gt;# smith SAFE_HOSTS = (jones) /usr/local/bin/mycommand&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let smith run all programs as jones on these machines:&lt;br /&gt;&lt;b&gt;# smith SAFE_HOSTS = (jones) ALL&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Bypass Password Authentication using sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-bypass-password-authentication.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 18:55:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-3611625482785365066</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: You want one user to run a command as another user without supplying a password&lt;br /&gt;&lt;br /&gt;Solution: Use sudo's NOPASSWD tag, which indicates to sudo that no password is needed for authentication.&lt;br /&gt;&lt;br /&gt;/etc/sudoers&lt;br /&gt;&lt;b&gt;smith ALL = (jones) NOPASSWD: /usr/local/bin/mycommand args&lt;br /&gt;smith ALL = (root) NOPASSWD: /usr/local/bin/my_script ""&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Password-less authentication is particularly useful for batch jobs.&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Run commands as another user via sudo</title><link>http://serverstutorial.blogspot.com/2013/07/how-to-run-commands-as-another-user-via.html</link><category>Sudo</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 18:52:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-2407822355861163883</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Problem: You want one user to run commands as another, without sharing passwords&lt;br /&gt;&lt;br /&gt;Solution: Suppose you want user smith to be able to run a given command as user jones.&lt;br /&gt;&lt;br /&gt;/etc/sudoers&lt;br /&gt;&lt;b&gt;smith ALL = (jones) /usr/local/bin/mycommand&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;user smith&lt;br /&gt;&lt;b&gt;smith$ sudo -u jones /usr/local/bin/mycommand&lt;/b&gt;&lt;br /&gt;&lt;b&gt;smith$ sudo -u jones mycommand&lt;/b&gt; --- if /usr/local/bin/ is in $PATH&lt;br /&gt;&lt;br /&gt;user smith will be prompted for his own password, not jones's. The ALL keyword, which matches anything, in this case specifies that the line is valid on any host.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Some useful RPM commands in Linux</title><link>http://serverstutorial.blogspot.com/2013/07/some-useful-rpm-commands-in-linux.html</link><category>RPM</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Wed, 3 Jul 2013 17:05:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-4170819255087760462</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RPM (Red Hat Package Manager)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;RPM keeps the information of all the installed packages under /var/lib/rpm database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;RPM is the only way to install packages under Linux systems, if you’ve installed packages using source code, then rpm won’t manage it.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;RPM deals with .rpm files, which contains the actual information about the packages such as: what it is, from where it comes, dependencies info, version info etc.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: magenta;"&gt;There are five basic modes for RPM command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install&lt;/b&gt; : It is used to install any RPM package.&lt;br /&gt;&lt;b&gt;Remove&lt;/b&gt;:It is used to erase,remove or un-install any&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RPM package.&lt;br /&gt;&lt;b&gt;Upgrade&lt;/b&gt; : It is used to update the existing RPM package.&lt;br /&gt;&lt;b&gt;Verify&lt;/b&gt; : It is used to query about different RPM packages.&lt;br /&gt;&lt;b&gt;Query&lt;/b&gt; : It is used for the verification of any RPM package.&lt;br /&gt;&lt;br /&gt;Please remember you must be root user when installing packages in Linux, with the root privileges you can manage rpm commands with their appropriate options.&lt;span style="color: magenta;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: magenta;"&gt;1.Check an RPM Signature Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Always check the PGP signature of packages before installing them on your Linux systems and make sure its integrity and origin is OK.&lt;br /&gt;&lt;br /&gt;# &lt;b&gt;rpm --checksig epel-release-5-4.noarch.rpm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;2.How to Install an RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -ivh epel-release-5-4.noarch.rpm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;-i&lt;/b&gt; : install a package&lt;br /&gt;&amp;nbsp;&lt;b&gt;-v&lt;/b&gt; : verbose for a nicer display&lt;br /&gt;&amp;nbsp;&lt;b&gt;-h &lt;/b&gt;: print hash marks as the package archive is unpacked.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;3.How to check dependencies of RPM Package before Installing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qpR BitTorrent-5.2.2-1-Python2.4.noarch.rpm&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;-q&lt;/b&gt; : Query a package&lt;br /&gt;&amp;nbsp;&lt;b&gt;-p&lt;/b&gt; : List capabilities this package provides.&lt;br /&gt;&amp;nbsp;&lt;b&gt;-R&lt;/b&gt; : List capabilities on which this package depends..&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;4.How to Install a RPM Package Without Dependencies&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -ivh --nodeps epel-release-5-4.noarch.rpm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;above command forcefully install rpm package by ignoring dependencies errors, but if those dependency files are missing, then the program will not work at all, until you install them.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;5.How to check an Installed RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -q BitTorrent-5.2.2-1-Python2.4.noarch.rpm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;6.How to List all files of an installed RPM package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -ql BitTorrent&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;7.How to List Recently Installed RPM Packages&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qa --last&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;to List All Installed RPM Packages&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;b&gt;# rpm -qa&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;8.How to upgrade rpm package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -Uvh epel-release-5-4.noarch.rpm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;9.To Remove a RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -e packagename&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-e&lt;/b&gt; --- erase&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;10.How to Remove an RPM Package Without Dependencies&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -ev --nodeps packagename&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;11.How to Query a file that belongs which RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qf /usr/bin/htpasswd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-qf&lt;/b&gt; -- query file&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;12.How to Query a Information of Installed RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qi vsftpd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-qi&lt;/b&gt; (query info)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;13.How to Query documentation of Installed RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qdf /usr/bin/vmstat&lt;/b&gt;&lt;br /&gt;&lt;b&gt;-qdf&lt;/b&gt; (query document file)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;14.How to Verify a RPM Package&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -Vp BitTorrent-5.2.2-1-Python2.4.noarch.rpm&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;Verifying a package compares information of installed files of the package against the rpm database. &lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The &lt;b&gt;-Vp&lt;/b&gt; (verify package) is used to verify a package.&lt;br /&gt;&lt;br /&gt;How to Verify all RPM Packages&lt;br /&gt;&lt;b&gt;# rpm -Va&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;15.How to Import an RPM GPG key&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;16.How to List all Imported RPM GPG keys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# rpm -qa gpg-pubkey*&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: magenta;"&gt;17.How To rebuild Corrupted RPM Database&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sometimes rpm database gets corrupted and stops all the functionality of rpm and other applications on the system. &lt;br /&gt;So, at the time we need to rebuild the rpm database and restore it with the help of following command.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# cd /var/lib&lt;br /&gt;# rm __db*&lt;br /&gt;# rpm --rebuilddb&lt;br /&gt;# rpmdb_verify Packages&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Mysql Master-Slave Replication after slave fails</title><link>http://serverstutorial.blogspot.com/2013/06/mysql-master-slave-replication-after.html</link><category>MySQL</category><author>noreply@blogger.com (Anonymous)</author><pubDate>Sat, 29 Jun 2013 01:18:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8002659787666512263.post-460267588801782899</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;1. From slave if we run &lt;b&gt;mysql&amp;gt; mysql slave status&lt;/b&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;it will show last bin file slave reads from master&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp;and all,&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;so&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;start from that bin file to sink with master to slave.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;2. Set Master configuration on the Slave.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; Execute the following command on a MySQL prompt to sink slave with master:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;mysql &amp;gt; CHANGE MASTER TO MASTER_HOST=’10.100.10.80’, MASTER_USER=’repl’, MASTER_PASSWORD=’slavepassword’, MASTER_LOG_FILE=’mysql-bin.000003’, MASTER_LOG_POS=106;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;This is how you tell Slave how to connect to Master in order to replicate. Note the log coordinates. These are the coordinates you got from step 1 above.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Now we need to tell the slave where the master is located, which binlog file to use, and which position to start. Issue this &lt;/span&gt;&lt;b style="font-family: 'Courier New', Courier, monospace;"&gt;CHANGE MASTER TO&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;command on the slave server(s): (don’t forget to change the values to match your master server)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp;mysql&amp;gt; CHANGE MASTER TO&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_HOST='master IP address',&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_USER='replication user',&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_PASSWORD='replication user password',&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_PORT=3306,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_LOG_FILE='mysql-bin.000015',&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_LOG_POS=540,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; &amp;nbsp; MASTER_CONNECT_RETRY=10;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;mysql&amp;gt; show warnings\G&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Two values to note in the slave status shows us that our CHANGE MASTER TO statement worked:&lt;/span&gt;&lt;br /&gt;&lt;b style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; Master_Log_File: mysql-bin.000015&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: 540&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;3. &lt;b&gt;Stop MySQL&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;4. &lt;b&gt;Start MySQL normally&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: magenta; font-family: Courier New, Courier, monospace;"&gt;Checking out that everything is OK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Having started the slave MySQL node, you can log in and issue some commands to make sure that Slave is running OK.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;On mysql prompt, give the following command:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;mysql&amp;gt; show processlist;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;You can see the SQL thread that gets data from Master (in the above output is the thread with Id 2) and the SQL thread that executes the statements on Slave&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;(in the output is the thread with Id 1).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;2.&amp;nbsp;&lt;b&gt;mysql&amp;gt; show slave status;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;This will display the current status on slave. Pay attention to the &lt;b&gt;*_Errno&lt;/b&gt; and &lt;b&gt;*_Error columns&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Normally, you shouldn’t see anything that indicates existence of errors there.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;3. On mysql prompt, give the following command&lt;/span&gt;&lt;br /&gt;&lt;b style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style="font-family: 'Courier New', Courier, monospace;"&gt;mysql&amp;gt; show status like ‘Slave%’;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;You should see an output like the following:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;+----------------------------+-------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;| Variable_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Value |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;+----------------------------+-------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;| Slave_open_temp_tables &amp;nbsp; &amp;nbsp; | 0 &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;| Slave_retried_transactions | 0 &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;| Slave_running &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| ON &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;+----------------------------+-------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Pay attention to Slave_running being with value &lt;b&gt;ON&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: magenta; font-family: Courier New, Courier, monospace;"&gt;Important note on binary log time to live&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;As we have said before, you can have Slave down and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;re-synchronize as soon as you bring it up again.&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;But do not put it out of service for quite long because, then it will be impossible to synchronize its content with Master.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;This is because the binary logs on Master do not leave forever.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;There is the variable with name &lt;b&gt;expire_logs_days&lt;/b&gt; that determines the number of days for automatic binary log file removal. Check this out.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;This should be 10, meaning that if you ever have your Slave down for 10 days or more, it will not be able to do replication as soon as you bring it up,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and you will have to &amp;nbsp;everything from the beginning.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>