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

<channel>
	<title>Yet Another Linux BlogYet Another Linux Blog &#187; Featured</title>
	<atom:link href="http://linux-blog.org/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux-blog.org</link>
	<description>Open Source, Open Blog</description>
	<lastBuildDate>Wed, 14 Mar 2012 23:18:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How-To Choose the Right Distribution of Linux</title>
		<link>http://linux-blog.org/how-to-choose-the-right-distribution-of-linux/</link>
		<comments>http://linux-blog.org/how-to-choose-the-right-distribution-of-linux/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 02:29:04 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[GreatDivide]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[Distros]]></category>
		<category><![CDATA[editorial]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=2038</guid>
		<description><![CDATA[Which distribution is the RIGHT distribution?  Is there such a thing?  When you start your journey with Linux you might here something like this: - Ubuntu is the best distribution for the desktop - Linux Mint is the best distribution for a home user and the desktop - Debian is the best way to go [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2045" class="wp-caption alignleft" style="width: 235px"><a href="http://www.flickr.com/photos/evelynishere/3451469615/" onclick="return TrackClick('http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fevelynishere%2F3451469615%2F','so+many+choices')"><img class="size-medium wp-image-2045 " title="so many choices" src="http://linux-blog.org/wp-content/uploads/2011/11/3451469615_06c399e506-225x300.jpg" alt="so many choices" width="225" height="300" /></a><p class="wp-caption-text">Courtesy of evelynishere</p></div>
<p>Which distribution is the RIGHT distribution?  Is there such a thing?  When you start your journey with Linux you might here something like this:</p>
<p>- Ubuntu is the best distribution for the desktop<br />
- Linux Mint is the best distribution for a home user and the desktop<br />
- Debian is the best way to go because of its stability and solid base<br />
- Mandriva isn&#8217;t as good as Mageia<br />
- Mageia isn&#8217;t as good as Mandriva<br />
- Red Hat is for servers only<br />
- Distribution X is better than distribution Y!</p>
<p>Here&#8217;s the thing&#8230;statements like these are all <strong>BLATANTLY FALSE</strong>.  Why?  Because they&#8217;re <span style="text-decoration: underline;">opinions</span>..everyone has one and they are all just that&#8230;opinions.</p>
<p>When you start your journey with Linux, don&#8217;t let someone else tell you what you should or shouldn&#8217;t use.  Go out and find what fits you like a glove and use that.  It doesn&#8217;t matter how large of community the distribution has (unless that is what you&#8217;re specifically looking for) or how often it updates or how many hits it has on the Distrowatch tracker.  Use what is best FOR YOU.  Only you can decide what distribution scratches whatever itch you have.</p>
<p>If you choose the right one, chances are you&#8217;ll be a part of that distribution for a long time.  But don&#8217;t worry, it isn&#8217;t like <a title="He Chose Poorly" href="http://www.imdb.com/title/tt0097576/quotes?qt=qt0357928" onclick="return TrackClick('http%3A%2F%2Fwww.imdb.com%2Ftitle%2Ftt0097576%2Fquotes%3Fqt%3Dqt0357928','He+Chose+Poorly')" target="_blank">Indiana Jones and the Last Crusade</a> and if you pick the wrong distribution you won&#8217;t turn into a dusty exploding skeleton.  In this situation, the <span style="text-decoration: underline;">RIGHT</span> distribution of Linux is <span style="text-decoration: underline;">ANY</span> distribution of Linux.  As long as you&#8217;re making a conscious effort to choose free software and use Linux, you win.</p>
<p>I&#8217;ve been in, around and even leading Linux communities since the late 1990&#8242;s and there is one thing I&#8217;ve found it is this:  <span style="text-decoration: underline;">Every</span> <span style="text-decoration: underline;">single</span> <span style="text-decoration: underline;">distribution</span> has a place in this world.  Every single distribution has it&#8217;s own niche users.  Every single distribution of Linux is important. I&#8217;m sure many of you have heard or have said that Linux just needs to simplify more and have only a handful of distributions so we can concentrate on just that handful and make it be fantastic.  Unfortunately, that wouldn&#8217;t work very well and would stifle creativity.  To prove my point&#8230;what if we didn&#8217;t have small distributions at all?  That wouldn&#8217;t have a large effect on Linux as a whole right? Let&#8217;s take a look at that hypothesis&#8230;</p>
<p><strong>If Small Distributions Never Were&#8230;</strong></p>
<p>As an example:  <a title="Symphony OS" href="http://en.wikipedia.org/wiki/Symphony_OS" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSymphony_OS','Symphony+OS')" target="_blank">Symphony OS</a>.  It used <a title="fvwm homepage" href="http://www.fvwm.org/" onclick="return TrackClick('http%3A%2F%2Fwww.fvwm.org%2F','fvwm+homepage')" target="_blank">FVWM</a> and <a title="Mezzo Desktop" href="http://en.wikipedia.org/wiki/Mezzo_%28desktop_environment%29" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMezzo_%2528desktop_environment%2529','Mezzo+Desktop')" target="_blank">Mezzo</a> for the desktop experience and it REVOLUTIONIZED the way we see and interact with files.  If you use Gnome 3, Ubuntu Unity, or KDE 4.X, you&#8217;re using concepts that Symphony OS was the first to put onto a Linux desktop.  Symphony never had a huge user base.  It never shot up the charts at Distrowatch.  It did however, push the envelope of what a desktop distribution can and can&#8217;t do.  It did push the boundaries of design.  It did push simplicity and usability to a new level.  It also did web apps before <a title="Symphony Orchestra" href="http://en.wikipedia.org/wiki/Symphony_OS#Orchestra" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSymphony_OS%23Orchestra','Symphony+Orchestra')" target="_blank">webapps were cool</a>.  Somehow it never caught on&#8230;but I it influenced people and challenged people to push the envelope of what was possible and impossible with desktop Linux.</p>
<p><strong>Small, Niche Distributions Perform a Function</strong></p>
<p>Often times I have found Linux users looking for a distribution that fills a specific function.  &#8220;I just want a file sharing distribution&#8221; they&#8217;ll say, or perhaps &#8220;I just want a nice and simple desktop&#8221;, or maybe even &#8220;I just want a tight firewall&#8221;.  The beauty of open source software and Linux is that you&#8217;ll find small, niche distributions that fit the bill for all of those needs and when you use these distributions, you&#8217;ll continue to learn about Linux&#8230;and perhaps you&#8217;ll push the envelope of what is possible and not possible just like Symphony OS did.</p>
<p>Regardless if you choose small or large distributions, you win.  The fact is you CHOSE and weren&#8217;t force fed something by system installers and companies who think they know what is best for you.</p>
<p><strong>We CAN All Get Along</strong></p>
<p>Many times when we pick the flavor of Linux we like, we identify with its goals&#8230;the direction its heading&#8230;maybe even the direction the community champions.  There isn&#8217;t anything wrong with this.  The next time you experience passionate supporters of Linux, keep in mind that neither you nor they are the enemy.  If you both use Linux and open source, you both win.  Small, large,  and niche distributions of Linux operate harmoniously together and build off one another&#8230;it&#8217;s one of the unseen benefits of Linux and open source.  Beauty and power in simplicity through collaboration.  Congratulate yourself every single day for choosing Linux!</p>
<p><a href="http://linux-blog.org/how-to-choose-the-right-distribution-of-linux/" rel="bookmark">How-To Choose the Right Distribution of Linux</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on November 17, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/how-to-choose-the-right-distribution-of-linux/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Linux File Permissions, Groups, and Users</title>
		<link>http://linux-blog.org/linux-file-permissions-groups-and-users/</link>
		<comments>http://linux-blog.org/linux-file-permissions-groups-and-users/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 01:28:37 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[chgrp]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[chown]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[groups]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=887</guid>
		<description><![CDATA[Why Are Permissions Important? Permissions are important for keeping your data safe and secure.   Utilizing permission settings in Linux can benefit you and those you want to give access to your files and you don&#8217;t need to open up everything just to share one file or directory (something Windows sharing often does).  You can group [...]]]></description>
			<content:encoded><![CDATA[<h3>Why Are Permissions Important?</h3>
<p>Permissions are important for keeping your data safe and secure.   Utilizing permission settings in Linux can benefit you and those you want to give access to your files and you don&#8217;t need to open up everything just to share one file or directory (something Windows sharing often does).  You can group individual users together and change permissions on folders (called directories in Linux) and files and you don&#8217;t have to be in the same OU or workgroup or be part of a domain for them to access those files.  You can change permissions on one file and share that out to a single group or multiple groups.  Fine grained security over your files places you in the driver seat in control of your own data.</p>
<p>Some will argue that it may be too much responsibility&#8230;that placing this onto the user is foolish and other aforementioned operating systems don&#8217;t do this.  You&#8217;d be right&#8230;XP doesn&#8217;t do this.  However, Microsoft saw what Linux and Unix do with the <a title="Principle of Least Privilege" href="http://en.wikipedia.org/wiki/Least_user_access" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLeast_user_access','Principle+of+Least+Privilege')" target="_blank">principle of least privilege</a> and have copied this aspect from them.  While the NTFS filesystem employs user access lists with workgroups and domains&#8230;it cannot mirror the fine grained, small scale security of Linux for individual files and folders.  For the home user, Linux empowers control and security.</p>
<p>I&#8217;m going to go over how users and directory/file permissions work.  So, let&#8217;s setup an example that will allow us to explore file permissions.  If you have any questions, just ask it in the comments section at the end of the article.</p>
<h2>File Permissions Explained</h2>
<p><a href="http://linux-blog.org/wp-content/uploads/2009/09/permissions.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2009%2F09%2Fpermissions.png','permissions')"><img class="size-full wp-image-1223 alignleft" style="padding-right: 5px;" title="permissions" src="http://linux-blog.org/wp-content/uploads/2009/09/permissions.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2009%2F09%2Fpermissions.png','permissions')" alt="permissions" width="358" height="282" /></a>The picture to your left is a snapshot of my $HOME directory.  I&#8217;ve included this &#8220;legend&#8221; to color code and label the various columns.  Let&#8217;s go through the labels and names of things first and then work on understanding how we can manipulate them in the next section.</p>
<p>As noted in the picture, the first column (orange) explains whether or not the contents listed is a directory or not.  If any of these happened NOT to be a directory, a dash (-) would be in place of the d at the beginning of the listing on the far left.</p>
<p>In the second, third, and fourth column (Green, Blue and Red) we find permissions.  Looking at the gray box in the bottom-right corner gives us an explanation of what each letter represents in our first few columns.  These tell us whether or not each user, group, or other (explained in detail later in this article) have read, write, and execute privileges for the file or folder/directory.</p>
<p>In the 5th column (white) the number of hard links is displayed.  This column shows the number of actual physical hard links.  A hard link is a directory reference, or pointer, to a file on a storage volume that is a specific location of physical data.  <a title="hard links explained" href="http://www.cyberciti.biz/tips/understanding-unixlinux-symbolic-soft-and-hard-links.html" onclick="return TrackClick('http%3A%2F%2Fwww.cyberciti.biz%2Ftips%2Funderstanding-unixlinux-symbolic-soft-and-hard-links.html','hard+links+explained')" target="_blank">More information on hard links vs. symbolic (soft) links can be found here.</a></p>
<p>In column 6 (light blue) we find the user/owner of the file/directory.  In column 7 (gray blue), the <em>group</em> that has access to the file/folder is displayed.  In column 8 (pink), the size of the file or folder is shown in kilobytes.  In column 9 (fluorescent green), the last date the file or folder was altered or touched is shown.  In column 10 (grey), the file or directory name is displayed.</p>
<p>We&#8217;re going to pay specific attention to the first four columns in the next section and then follow that up by working with the sixth and seventh by going over user/owner and group.  Let&#8217;s move on to go over all of those rwx listings and how we can make them work for us.</p>
<h2>Read, Write, Execute &#8211; User, Group, Other</h2>
<p>First, let&#8217;s go over what different permissions mean.  Read permission means you can view the contents of a file or folder.  Write permission means you can write to a file or to a directory (add new files, new subdirectories) or modify a file or directory.  Execute permission means that you can change to a directory and execute ( or run ) a file or script for that file or directory.</p>
<p>The User section shown in green in the picture above shows whether or not the user can perform the actions listed above.  If the letter is present, the user has the ability to perform that action.  The same is true for the Group shown in blue above&#8230;if a member of the group that has access to the file or directory looks in this column, they will know what they can or can&#8217;t do (read,write, or execute).  Lastly, all others (noted in the red column above).  Do all others have read, write, and execute permissions on the file or folder?  This is important for giving anonymous users access to files in a file server or web server environment.</p>
<p>You can see how fine grained you might be able to set things up with&#8230;For example, you may give users read only access while allowing a group of 5 users full control of the file or directory.  You may want to switch that around.  It&#8217;s entirely up to you how you want to setup permissions.</p>
<h2>More about Groups</h2>
<p>Let&#8217;s go through setting up a group and adding a few users to it and then assigning that group permissions to access a directory and file.</p>
<p>Create a file inside your home directory by opening up a shell or terminal and typing:</p>
<pre class="brush: plain; title: ; notranslate">touch ~/example.txt</pre>
<p>You&#8217;ve now created a file called example.txt inside your home directory.  If you are already there, you can list the contents with the &#8216;ls&#8217; command.  Do that now.  If you&#8217;re not already there, type &#8216;cd ~/&#8217; and you will be taken to your home directory where you can &#8216;ls&#8217; list the files.  It should look similar to the following:</p>
<pre class="brush: plain; title: ; notranslate">[devnet@lostlap ~]$ ls -l
total 40
drwxr-xr-x  2 devnet devnet 4096 2010-05-24 17:04 Desktop
drwxr-xr-x  6 devnet devnet 4096 2010-05-24 13:10 Documents
drwxr-xr-x  9 devnet devnet 4096 2010-05-27 15:25 Download
-rw-rw-r--  1 devnet devnet    0 2010-05-28 10:21 example.txt
drwxr-xr-x 13 devnet devnet 4096 2010-05-26 16:48 Music
drwxr-xr-x  3 devnet devnet 4096 2010-05-24 13:09 Pictures
drwxr-xr-x  3 devnet devnet 4096 2010-05-24 13:04 Videos
</pre>
<p>Next up, let&#8217;s create a new group and a couple of new users.  After creating these we&#8217;ll assign the users to the new group.  After that, we&#8217;ll move the file and lock it down to the new group only.  If everything works as planned, the file should be accessible to root and the other 2 users but NOT accessible to your current user.  You&#8217;ll need to be root for all of these commands (or use sudo for them).  Since I have sudo and don&#8217;t want to continually type sudo, I used the command &#8220;sudo -s&#8221; and entered my root password to permanently log in as root in a terminal for the duration of this how-to.  OK, Let&#8217;s get started:</p>
<pre class="brush: plain; title: ; notranslate">
[root@lostlap ~]$ useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power -s /bin/bash testuser1
[root@lostlap ~]$ useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power -s /bin/bash testuser2
</pre>
<p>The above commands will create two users that should be pretty close to your current logged in user (as far as group membership goes).  If the groups you&#8217;re adding the user to do not exist, you may get a warning that the groups don&#8217;t exist&#8230;no worries, just continue.  If the above commands don&#8217;t work on your system (I used Arch Linux to do this) then you can use the GUI elements to manage users and add a new one.  You won&#8217;t need to add them to any extra groups since we just need a basic user.  Next, let&#8217;s create our &#8216;control&#8217; group.</p>
<pre class="brush: plain; title: ; notranslate">
[root@lostlap ~]$ groupadd testgroup
</pre>
<p>The above command creates the &#8216;testgroup&#8217; group.  Now let&#8217;s add the two users we created to this group.</p>
<pre class="brush: plain; title: ; notranslate">
[root@lostlap ~]$ gpasswd -a testuser1 testgroup
[root@lostlap ~]$ gpasswd -a testuser2 testgroup
</pre>
<p>The command above adds both our test users to the test group we created.  Now we need to lock the file down so that only those users inside of &#8216;testgroup&#8217; can access it.  Since your current logged in user is NOT a member of &#8216;testgroup&#8217; then you shouldn&#8217;t be able to access the file once we lock access to that group.</p>
<pre class="brush: plain; title: ; notranslate">
[root@lostlap ~]$ chgrp testgroup example.txt
</pre>
<p>The above command changes the group portion of file permission (discussed earlier) from a group your currently logged in user is a member of to our new group &#8216;testgroup&#8217;.  We still need to change the owner of the file so a new terminal opened up as your current user won&#8217;t be the owner of example.txt.  To do this, let&#8217;s assign example.txt a new owner of Testuser2.</p>
<pre class="brush: plain; title: ; notranslate">[root@lostlap ~]$ chown testuser2 example.txt</pre>
<p>Now when you try to access the file example.txt you won&#8217;t be able to open it up as your standard user (root still will be able to access it) because you don&#8217;t have the permissions to do so.  To test this, open up a new terminal (one where you are not root user) and use your favorite text editor and try to open up example.txt.</p>
<pre class="brush: plain; title: ; notranslate">
[devnet@lostlap ~]$ nano example.txt
</pre>
<p>Both <em>testuser1</em> and <em>testuser2</em> will be able to access example.txt because testuser2 owns the file and testuser1 is in the testgroup that has access to this file.  However, your current logged in user will also have READ rights to it but will not be able to access it.  Why?  Let&#8217;s take a look at the permissions on example.txt</p>
<pre class="brush: plain; title: ; notranslate">[devnet@lostlap ~]$ ls -l example.txt
-rw-r--r-- 1 testuser1 testgroup 8 2010-05-28 10:21 example.txt</pre>
<p>Notice that the user, group, and other (1st, 2nd, and 3rd position of r,w,x &#8211; see the handy diagram I made above) have permissions assigned to them.  The user can read and write to the file.  The group can read it.  Others can also read it.  So let&#8217;s remove a permission to lock this file down.  Go back to your root terminal that is open or &#8216;sudo -s&#8217; to root again and do the following:</p>
<pre class="brush: plain; title: ; notranslate">[root@lostlap ~]$ chmod o-r example.txt</pre>
<p>Now go back to your user terminal and take a look at the file again:</p>
<pre class="brush: plain; title: ; notranslate">[devnet@lostlap ~]$ ls -l example.txt
-rw-r----- 1 testuser1 testgroup 8 2010-05-28 10:21 example.txt</pre>
<p>Once that has been accomplished, try and open the file with your favorite text editor as your currently logged in user (devnet for me):</p>
<pre class="brush: plain; title: ; notranslate">[devnet@lostlap ~]$ nano example.txt</pre>
<p>Your user now should get a permission denied error by nano (or whatever text editor you used to open it).  This is how locking down files and directories works.  It&#8217;s very granular as you can give read, write, and execute permissions to individual users, groups of users, and the general public.  I&#8217;m sure most of you have seen permissions commands with 777 or 644 and you can use this as well (example, chmod 666 filename) but please remember you can always use the chmod ugo+rwx or ugo-rwx as a way to change the permissions as well.  I liked using letters as opposed to the numbers because it made more sense to me&#8230;perhaps you&#8217;ll feel the same.</p>
<p>Hopefully you now have a general understanding how groups, users and permissions work and can appreciate how the complexity of it is also elegant at the same time.  If you have questions, please fire away in the comments section.  Corrections?  Please let me know!  Thanks for reading!</p>
<p><a href="http://linux-blog.org/linux-file-permissions-groups-and-users/" rel="bookmark">Linux File Permissions, Groups, and Users</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on November 3, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/linux-file-permissions-groups-and-users/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Do Package Managers Spoil Us?</title>
		<link>http://linux-blog.org/do-package-managers-spoil-us/</link>
		<comments>http://linux-blog.org/do-package-managers-spoil-us/#comments</comments>
		<pubDate>Sun, 16 May 2010 15:41:20 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Distros]]></category>
		<category><![CDATA[editorial]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=1476</guid>
		<description><![CDATA[I thought of this interesting question the other day while messing around with Slackware 9.0 which was one of the last versions of Slackware to come on a single disk. The goal was to try to take a Slackware 9.0 install to the most recent stable and it was almost accomplished. Glibc was the largest [...]]]></description>
			<content:encoded><![CDATA[<p>I thought of this interesting question the other day while messing around with Slackware 9.0 which was one of the last versions of Slackware to come on a single disk.  The goal was to try to take a Slackware 9.0 install to the most recent stable and it was almost accomplished.  Glibc was the largest hassle&#8230;and I made it to Slackware 11.0 before something caused things to not boot at all.  All things considered, I spent 3 days on trying to get Slackware 9 to current.</p>
<p>Slackware for those of you that don&#8217;t know, has no dependency resolving package manager.  Previously, a good attempt was made with swaret and that was my first jump into package managers with dependency resolution all together when it came out&#8230;but Swaret is no longer being maintained and doesn&#8217;t really work well anymore.</p>
<p>Since Slackware has no real dep resolving package manager&#8230;it&#8217;s one of the last &#8216;true&#8217; Unix like Linux versions out there.  Back in the early to mid nineties&#8230;things were exactly like this.  If you wanted to update your Linux version&#8230;you stepped through it manually and tried to get things to work.  What was great about Slackware was making your own Slack packages with source&#8230;no dependency resolution but in the process of making the package you&#8217;d have all the dependencies eventually installed.  In this entire process, you became VERY familiar with your system&#8230;how it booted, what run level things occurred at, how cron jobs worked, etc.  You were baptized by fire so to speak&#8230;you were to sink or swim.</p>
<p>As I said, this got me thinking&#8230;do we rely on dependency resolving package managers TOO much?  They&#8217;re cliché now of course&#8230;run of the mill.  Back in the 1990&#8242;s though rpm was the only true package management system around&#8230;and rpm was never designed for internet consumption.  The guys who wrote rpm had in mind CD and floppy upgrades.  Fast forward to now and we have zypper, pacman, urpmi, deb, and conary&#8230;all built with online repositories in mind.  Do these managers take the heavy lifting away for new users?  Do they spoil them?</p>
<p>Do systems break less with easier resolutions due to package managers?  Does it mean that the new user of today won&#8217;t be as experienced as the old user of yesterday?</p>
<p>I think it might.</p>
<p>Users in the past had to chip away and reassemble with less documentation and no package manager.  This meant that the user of yesterday ripped apart systems and packages to discover how they worked and which cogs fit where.</p>
<p>The user of today follows step by step instructions and the software is given a sane set of defaults by most package developers when said package is installed.</p>
<p>Does this make for lazy users?</p>
<p>I don&#8217;t think users are lazy per se&#8230;but as previously stated, spoiled ones.  And it&#8217;s no fault of their own&#8230;it&#8217;s the direction the software has taken us.  Now the questions we need to answer are:</p>
<ol>
<li>Is this direction the <em>correct</em> direction we should be heading?</li>
<li>Are there better approaches to package management that don&#8217;t follow the model we have currently (other than Conary)</li>
<li>Can we come up with a system that doesn&#8217;t make new users spoiled?</li>
</ol>
<p>I think I&#8217;m of both worlds&#8230;I started off with no package manager but managed to ride the wave of Red Hat 7.2 and above followed by Mand{rake,riva} and PCLinuxOS.  I&#8217;m both spoiled and unspoiled.  I know what it takes to manage a system without a conventional package manager but I also know how much time it can save me to use one.  I sometimes find myself wanting less though&#8230;less and more.  Less time and more hands on gutting the system.  I think I&#8217;m in the minority though.</p>
<p>How about you, as a reader of this article?  Do you think new users are spoiled by conventional package management systems?  Do you see solutions or have ideas we can discuss?  Is this really just a process we can improve or is there any programming to be done?  Please sound off in the comments section!</p>
<p><a href="http://linux-blog.org/do-package-managers-spoil-us/" rel="bookmark">Do Package Managers Spoil Us?</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on May 16, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/do-package-managers-spoil-us/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>What Is Unity Linux?</title>
		<link>http://linux-blog.org/what-is-unity-linux/</link>
		<comments>http://linux-blog.org/what-is-unity-linux/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:27:51 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Distros]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PCLinuxOS]]></category>
		<category><![CDATA[unity]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=1418</guid>
		<description><![CDATA[There&#8217;s been a lot of confusion about exactly what Unity Linux is. I thought I&#8217;d talk today a bit about that.   I&#8217;d like to talk a bit about what Unity uses for it&#8217;s &#8216;guts&#8217;.  I&#8217;d also like to dispel some myths surrounding Unity.  Lastly, I&#8217;d like to talk briefly about how Unity is doing all [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://linux-blog.org/wp-content/uploads/2010/03/Unity-Linux-One-300x80.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2010%2F03%2FUnity-Linux-One-300x80.png','Unity-Linux-One-300x80')"><img class="alignleft size-full wp-image-1435" style="margin-left: 8px; margin-right: 8px;" title="Unity-Linux-One-300x80" src="http://linux-blog.org/wp-content/uploads/2010/03/Unity-Linux-One-300x80.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2010%2F03%2FUnity-Linux-One-300x80.png','Unity-Linux-One-300x80')" alt="" width="300" height="80" /></a>There&#8217;s been a lot of confusion about exactly what <a title="http://unity-linux.org" onclick="return TrackClick('http%3A%2F%2Funity-linux.org','http%3A%2F%2Funity-linux.org')" href="http://unity-linux.org" onclick="return TrackClick('http%3A%2F%2Funity-linux.org','http%3A%2F%2Funity-linux.org')" target="_blank">Unity Linux</a> is.</p>
<p>I thought I&#8217;d talk today a bit about that.   I&#8217;d like to talk a bit about what Unity uses for it&#8217;s &#8216;guts&#8217;.  I&#8217;d also like to dispel some myths surrounding Unity.  Lastly, I&#8217;d like to talk briefly about how Unity is doing all it can to further Open Source and Linux by contributing to projects it is involved with.  The reason I know so much about this topic is that I&#8217;m the webmaster and host for the Unity Linux Project as well as one of the documentation team members.  So, let&#8217;s take a look first at what Unity Linux is&#8230;</p>
<h2>What is Unity Linux</h2>
<p>Unity Linux is not a conventional distribution of Linux.  It&#8217;s a core on which developers can build their own distribution of Linux.  We&#8217;ve set out from the start to provide an excellent minimum graphical environment that gave developers &#8220;just enough graphics&#8221; for them to create something.  The smaller, the better.  We elected to go with <a title="http://openbox.org/wiki" onclick="return TrackClick('http%3A%2F%2Fopenbox.org%2Fwiki','http%3A%2F%2Fopenbox.org%2Fwiki')" href="http://openbox.org/wiki" onclick="return TrackClick('http%3A%2F%2Fopenbox.org%2Fwiki','http%3A%2F%2Fopenbox.org%2Fwiki')" target="_blank">Openbox</a> because of it&#8217;s size and stability.  We selected using <a title="http://www2.mandriva.com/linux/" onclick="return TrackClick('http%3A%2F%2Fwww2.mandriva.com%2Flinux%2F','http%3A%2F%2Fwww2.mandriva.com%2Flinux%2F')" href="http://www2.mandriva.com/linux/" onclick="return TrackClick('http%3A%2F%2Fwww2.mandriva.com%2Flinux%2F','http%3A%2F%2Fwww2.mandriva.com%2Flinux%2F')" target="_blank">Mandriva</a> as our base because of the number of packages they provide and the quality of those packages.  We pushed <a title="http://wiki.lxde.org/en/LXPanel" onclick="return TrackClick('http%3A%2F%2Fwiki.lxde.org%2Fen%2FLXPanel','http%3A%2F%2Fwiki.lxde.org%2Fen%2FLXPanel')" href="http://wiki.lxde.org/en/LXPanel" onclick="return TrackClick('http%3A%2F%2Fwiki.lxde.org%2Fen%2FLXPanel','http%3A%2F%2Fwiki.lxde.org%2Fen%2FLXPanel')" target="_blank">lxpanel</a> as a minimal panel because it provides just enough functionality for distro developers to see what they&#8217;ve installed after they&#8217;ve installed it&#8230;it also is familiar to most people whereas Openbox right click menu&#8217;s may not be.  All in all, our target for the core release is developers.  We&#8217;re not designing this basic desktop to be used by end users.  We&#8217;re not trying to win any awards with our awesome minimalistic desktop skills.  Why would we do this?  To answer this, you have to take a look at our developers.</p>
<p>One of our developers, Kdulcimer, is the lead developer of <a title="http://www.tinymelinux.com/doku.php" onclick="return TrackClick('http%3A%2F%2Fwww.tinymelinux.com%2Fdoku.php','http%3A%2F%2Fwww.tinymelinux.com%2Fdoku.php')" href="http://www.tinymelinux.com/doku.php" onclick="return TrackClick('http%3A%2F%2Fwww.tinymelinux.com%2Fdoku.php','http%3A%2F%2Fwww.tinymelinux.com%2Fdoku.php')" target="_blank">TinyMe Linux</a>.  A few years ago, he created a fantastic minimalistic &#8220;remaster&#8221; of PCLinuxOS.  It was wildly popular and continues to be so today.  Kdulcimer was one of the first developers that elected to go with Unity Linux for his core.  Our other developers saw what Kdulcimer did with his distro and how small he made the core.  They learned from how he did things and applied it to Unity.  Thus, Unity has a small base&#8230;as evident by both the beta releases.  Upcoming release candidates will be very much the same.</p>
<p>Lead developer gettinther does a good job explaining what Unity is:</p>
<blockquote><p>One of the big issues facing small distros around is that there&#8217;s a limitation in the ability of each group to maintain a healthy up-to-date core.  Most people prefer to focus on the DE / user interface, working on the look&amp;feel rather the the internals.  Those distros end up with stale core which in turn causes numerous &#8220;hard-to-find&#8221; issues.</p>
<p>Most of the distros with us existed before Unity, like Tinyme, Sam (abandoned project now), <a title="http://www.granularlinux.com/" onclick="return TrackClick('http%3A%2F%2Fwww.granularlinux.com%2F','http%3A%2F%2Fwww.granularlinux.com%2F')" href="http://www.granularlinux.com/" onclick="return TrackClick('http%3A%2F%2Fwww.granularlinux.com%2F','http%3A%2F%2Fwww.granularlinux.com%2F')" target="_blank">Granular</a>, <a title="http://www.synergy-linux.net/" onclick="return TrackClick('http%3A%2F%2Fwww.synergy-linux.net%2F','http%3A%2F%2Fwww.synergy-linux.net%2F')" href="http://www.synergy-linux.net/" onclick="return TrackClick('http%3A%2F%2Fwww.synergy-linux.net%2F','http%3A%2F%2Fwww.synergy-linux.net%2F')" target="_blank">Synergy</a> (formely eeepclos).  The idea is to create distros only insofar as &#8220;presetting desktops by people who love those desktops&#8221;.  Rather than having a &#8220;one shoe fits all&#8221;, we decided to provide a core module and look after maintaining it.  Each branch distribution joins the team and has full developer access.  For Unity to become a full fledged distro means favoring a DE over others.  By limiting the scope to the core product (we maintain the various DE too but leave the DE specific changes to the branches).  It makes it a little more difficult to install stuff but it also means that all DE are looked after.</p>
<p>As far as the user is concerned, it means the each branch has their word in the development of the core which ensures that the distro is well supported.  It pools the efforts of each distro who would otherwise be on their own so means a large development team and as such better packages.</p></blockquote>
<p>So Unity Linux is a base on which to build.  A foundation for &#8220;remasters&#8221; to build from.  But what is a remaster?  What technologies does Unity use? Let&#8217;s take a look at the internals of Unity next.</p>
<h2>Unity Linux Internals aka Guts</h2>
<p>When we initially set out to not only have a small graphical base but also to wrap around the LiveCD project.  For those of you who don&#8217;t know what LiveCD is..you can visit the old berlios.de project page:</p>
<blockquote><p>The project features automatic hardware detection and setup, and utilises compression technology to build a LiveCD from a partition much larger than would typically fit on a CD. (Up to 2GB for a normal 650MB CD.) When booting from this LiveCD, the data is transparently decompressed as needed. LiveCD now supports udev.</p>
<p>Currently,  Mandrakelinux and PCLinuxOS are supported as a host for creation of the LiveCD, i.e. we are only able to create LiveCD&#8217;s from a MDK or PCLinuxOS install. The LiveCD scripts are still beta, and bugs are being eliminated. Your help and feedback are appreciated!</p></blockquote>
<p>The set of scripts allows a person to make a liveCD copy out of their desktop for backup purposes or as a standalone linux distribution.  When you create that new ISO or backup ISO, you have &#8216;remastered&#8217; the master copy.  So the livecd scripts are really just a set of tools that allows a user to create something new or backup their existing desktop as a live CD.</p>
<p>The <a href="http://livecd.berlios.de/" onclick="return TrackClick('http%3A%2F%2Flivecd.berlios.de%2F','project+at+berlios')" target="_blank">project at berlios</a> was taken over by <a href="http://matoilnet.com/" onclick="return TrackClick('http%3A%2F%2Fmatoilnet.com%2F','Didouph')" target="_blank">Didouph</a> as lead developer just before Unity was formed.  There hadn&#8217;t been much work after Tom Kelly left the project quite a long time ago, but Didouph was optimistic.  When he joined Team Unity, he placed LiveCD development on the back burner and worked hard with the graphics team on logo development.</p>
<p>Later, it became apparent that in order to keep creating a great distribution that could remaster itself, we needed to make improvements to the code of LiveCD.  First off, it needed 64bit support.  Secondly, it needed better detection than what it had.  Third, it needed to have internationalization work done.  Fourth, it needed to support higher kernel versions than what it did.  All those things have been accomplished with internationalization still being worked on.</p>
<p>When we initially took over the &#8216;modernization&#8217; of LiveCD we didn&#8217;t all flock to berlios to do so.  Work instead began when we gave a <a href="http://dev.unity-linux.org/projects/unitylinux/repository/show/projects/mklivecd" onclick="return TrackClick('http%3A%2F%2Fdev.unity-linux.org%2Fprojects%2Funitylinux%2Frepository%2Fshow%2Fprojects%2Fmklivecd','small+sliver+of+our+own+SVN+over+to+LiveCD')" target="_blank">small sliver of our own SVN over to LiveCD</a>.  It made sense geographically for our developers to have the ability to commit code in the same place instead of at a third party (berlios); the reason being, we needed many commits fast and didn&#8217;t want to wait&#8230;we were ready to move forward with it immediately.  We snagged the GPL&#8217;d LiveCD code and located it on our SVN.</p>
<p>Since Didouph was the maintainer of LiveCD, we felt it only natural that Unity would lend a hand to him and his project by taking over development.  An entire team working on LiveCD would mean greater output and more advancement.  Thus, <a href="http://unity-linux.org/livecd-now-developed-by-team-unity-linux/" onclick="return TrackClick('http%3A%2F%2Funity-linux.org%2Flivecd-now-developed-by-team-unity-linux%2F','Unity+maintaining+the+LiveCD+project+was+born')" target="_blank">Unity maintaining the LiveCD project was born</a>.  Anyone is welcome to take the code and use it how they seem fit.  We&#8217;re working on getting LiveCD it&#8217;s own proper SVN or Git repository at a public site away from Unity Linux&#8230;if you&#8217;d like access (read only) to LiveCD SVN, drop Unity Linux a line <a href="http://unity-linux.org/project/contact/" onclick="return TrackClick('http%3A%2F%2Funity-linux.org%2Fproject%2Fcontact%2F','via+their+contact+page')" target="_blank">via their contact page</a>.</p>
<h2>Common Myths Surrounding Unity Linux</h2>
<p>Heard any good ones lately?  If I don&#8217;t cover the ones you&#8217;ve heard here, please leave me a comment and I&#8217;ll address yours specifically.</p>
<h4>Myth #1 &#8211; Unity Linux is just PCLinuxOS rebranded</h4>
<p>Most of the developers of Unity Linux were contributors to PCLinuxOS during the time that Texstar had stepped away.  As contributors, they were not part of the developer team.  They had limited access to the core, iner-workings of PCLinuxOS.  How do I know?  I was a developer&#8230;the main web developer&#8230;for PCLinuxOS and I monitored all mailing lists, all websites, and even was chief of MyPCLinuxOS.com.  There were very few people on the development team of PCLinuxOS that are now part of Unity Linux&#8230;because the PCLinuxOS development team was kept small.</p>
<p>When Unity Linux initially was started, the contributors and developers that were involved grabbed a &#8216;snapshot&#8217; of the PCLinuxOS repositories and began working on bringing packages to updated versions.  They quickly ran into trouble because PCLinuxOS used such an outdated toolchain that many new packages wouldn&#8217;t compile with it.</p>
<p>After some discussion, developers abandoned PCLinuxOS packages and instead worked with Mandriva packages.  This allowed Unity to move forward sans old toolchain and outdated core.  Now most of this stuff doesn&#8217;t matter to the end user&#8230;they just want a stable environment.  But the Unity Linux developers wanted to push forward with the latest kernels, the latest rpm version, and the latest smart package manager versions.  Doing so required massive leaps forward even from Mandriva.</p>
<p>As you can see, while Unity Linux originally started with a PCLinuxOS fork, they abandoned that fork and rebased on Mandriva.  They now stay inline with Mandriva development.  If you have Mandriva and Unity Linux questions, please stop into the Unity Linux chat channel on Freenode: #unitylinux and ask proyvind questions&#8230;as he is the Mandriva Linux representative that works with Unity Linux <img src='http://linux-blog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>Myth #2 &#8211; Unity Linux Stole mklivecd aka livecd from PCLinuxOS</h4>
<p>This is a pretty funny one and I&#8217;ve seen quite a few references to &#8216;stealing&#8217;  GPL code.  First things first:  You cannot &#8216;steal&#8217; GPL code.  It just can&#8217;t be done.  Secondly, the LiveCD project was stagnant and had a SINGLE developer working on it.  That developer joined Unity Linux and all 25+ developers there decided to help him make some progress on it.  In the meantime, they took the initiative to make improvements.  For example, they gave it 64bit compatibility.  They gave it have better detection.  They took the code and gave it better international language support.  All those things are made available for FREE to any distribution wanting to download a snapshot from SVN.</p>
<p>Now, if anyone has a claim to LiveCD as &#8216;theirs&#8217; it would be Jaco Greefe who was the principal on the project LONG before any distributions other than Mandrake aka Mandriva even worked with it.  Texstar grabbed what Jaco&#8217;s project mklivecd and used it to create the original PCLinuxOS 2003 release.  This release was based on Mandrake 9.2 at the time and a few other Mandrake developers began to debug the script through the creation of PCLinuxOS.  Mandrake was a trademarked name, so Texstar named it PCLinuxOS.</p>
<p>As you can see, if any one distribution has claim to mklivecd, it would be Mandrake aka Mandriva which was where the script creators came from.  It&#8217;s also where the script was first made useable.  However, claim that Texstar made it into a nice package with PCLinuxOS&#8230;that is totally true.  What we&#8217;re doing now by developing it is making sure it continues to progress into the future with 64bit support and even when udev is dropped from Linux&#8230;no matter what, we&#8217;ll make sure it works&#8230;and hopefully it will work for more than just Mandriva derived distributions.</p>
<p>There have been many attempts by Unity Linux developers to get other distributions that use mklivecd involved with the development of it.  That invitation is always open to any and all distributions that use it.</p>
<h4>Myth #3 &#8211; Unity Linux wants to steal away users from other distributions of Linux</h4>
<p>The main reason this isn&#8217;t true is that Unity Linux targets <span style="text-decoration: underline;">DEVELOPERS</span>.  We don&#8217;t target end users.  If end users like Unity, GREAT!  If not, we don&#8217;t worry about it.  Unity Linux has derivative distributions called &#8220;branches&#8221; that work to target the end user.  Unity Linux itself is targeted squarely at distribution developers and advanced users who want to be able to use the mklivecd scripts.</p>
<h4>Myth #4 &#8211; Unity Linux DOESN&#8217;T use PCLinuxOS at all in development</h4>
<p>This is half true.  We don&#8217;t &#8216;use&#8217; PCLinuxOS to create things&#8230;we use it as a mirror synch.  Paul Grinberg, a developer on the team, has a PCLinuxOS box that he doesn&#8217;t use.  During the initial setup of Unity Linux, we based things on PCLinuxOS before purging and switching to Mandriva.  Since the developer mirror server (referred to on the mailing lists as the dev server) still ran PCLinuxOS and Unity Linux didn&#8217;t have a release yet, we saw no reason to change it.</p>
<p>As Unity Linux still has no stable release as of March 29, 2010, that developer mirror server still runs PCLinuxOS and pushes uploaded packages developed on a Unity Linux server to various mirrors for propagation.</p>
<p>In other words, the PCLinuxOS server Unity Linux uses is just a web server.  It will be replaced with Unity Linux when 2010 is released.  Until then, taking the time to wipe it out and repopulate it would throw a kink in the flow of package development so developers have put this &#8216;to-do&#8217; item as something to be accomplished after stable release.</p>
<h2>Unity Linux and Open Source</h2>
<p>Unity Linux does a great job of contributing to projects upstream.  As an example, David Smid, a Unity Linux developer, is also a Smart Package Manager (SPM) developer.  This allows Unity the ability to test the latest and greatest SPM and get things quickly patched/fixed/redesigned.  Other projects such as mklivecd are developed openly by Unity Linux and contributors are welcome.  Unity Linux contributes bug finds to Mandriva through use of the Mandriva Cooker repository.  Unity Linux developer Paul Grinberg contributed Google Map integration for <a title="http://people.cs.uu.nl/henkp/mirmon/" onclick="return TrackClick('http%3A%2F%2Fpeople.cs.uu.nl%2Fhenkp%2Fmirmon%2F','http%3A%2F%2Fpeople.cs.uu.nl%2Fhenkp%2Fmirmon%2F')" href="http://people.cs.uu.nl/henkp/mirmon/" onclick="return TrackClick('http%3A%2F%2Fpeople.cs.uu.nl%2Fhenkp%2Fmirmon%2F','http%3A%2F%2Fpeople.cs.uu.nl%2Fhenkp%2Fmirmon%2F')" target="_blank">MirrorMon</a>, which you can <a title="http://unity-linux.org/mm/mirrorstatus.html" onclick="return TrackClick('http%3A%2F%2Funity-linux.org%2Fmm%2Fmirrorstatus.html','http%3A%2F%2Funity-linux.org%2Fmm%2Fmirrorstatus.html')" href="http://unity-linux.org/mm/mirrorstatus.html" onclick="return TrackClick('http%3A%2F%2Funity-linux.org%2Fmm%2Fmirrorstatus.html','http%3A%2F%2Funity-linux.org%2Fmm%2Fmirrorstatus.html')" target="_blank">view on our Mirror Status Page</a>, back upstream to the creator of MirrorMon.  Unity Linux also contributes upstream to rpm5.org.</p>
<p>Unity Linux also has a working partnership with Yoper Linux.  Why?  Because Yoper Linux uses many of the same core technologies (Smart, rpm5) that Unity Linux uses and because the lead developer, Tobias Gerschner, is an all around great guy <img src='http://linux-blog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>You can see everything that Unity Linux works on by visiting our repository:  <a title="http://dev.unity-linux.org/projects/unitylinux/repository" onclick="return TrackClick('http%3A%2F%2Fdev.unity-linux.org%2Fprojects%2Funitylinux%2Frepository','http%3A%2F%2Fdev.unity-linux.org%2Fprojects%2Funitylinux%2Frepository')" href="http://dev.unity-linux.org/projects/unitylinux/repository" onclick="return TrackClick('http%3A%2F%2Fdev.unity-linux.org%2Fprojects%2Funitylinux%2Frepository','http%3A%2F%2Fdev.unity-linux.org%2Fprojects%2Funitylinux%2Frepository')" target="_blank">http://dev.unity-linux.org/projects/unitylinux/repository</a></p>
<p>Development is done in the open, not behind closed doors:  <a title="http://groups.google.com/group/ul-developers" onclick="return TrackClick('http%3A%2F%2Fgroups.google.com%2Fgroup%2Ful-developers','http%3A%2F%2Fgroups.google.com%2Fgroup%2Ful-developers')" href="http://groups.google.com/group/ul-developers" onclick="return TrackClick('http%3A%2F%2Fgroups.google.com%2Fgroup%2Ful-developers','http%3A%2F%2Fgroups.google.com%2Fgroup%2Ful-developers')" target="_blank">http://groups.google.com/group/ul-developers</a></p>
<p>Unity Linux strives with an almost rabid will to keep everything in the open for users and branch developers so that they are not left wondering what&#8217;s going on with their distribution.  The Developers continue to try and engage other distributions to work with them and will continue to do so in the future.</p>
<h2>Closing Thoughts</h2>
<p>Unity Linux doesn&#8217;t target the same users as your average distribution of Linux&#8230;they&#8217;re after the more savvy users out there.  The ones that want to create something and make something from the core image.  Users that like to tinker and mess and break things.</p>
<p>Unity got off to a rough start with much FUD slinging and accusations.  Hopefully, the actions you see that Unity has taken to keep it&#8217;s project open will show the intent of the developers&#8230;to make a great core on which others can branch from all the while remaining open and free for everyone.</p>
<p><a href="http://linux-blog.org/what-is-unity-linux/" rel="bookmark">What Is Unity Linux?</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on March 29, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/what-is-unity-linux/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Convert PNG to GIF via Command Line</title>
		<link>http://linux-blog.org/convert-png-to-gif-via-command-line/</link>
		<comments>http://linux-blog.org/convert-png-to-gif-via-command-line/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 18:24:03 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=1260</guid>
		<description><![CDATA[I installed a bare bones Arch Linux system today and took a screenshot.  With no graphics utilities installed, I needed a way to convert a PNG to a GIF for a Simple Machines forum template thumbnail.  I figured I&#8217;d use a command line utility to help me and ImageMagick is installed by default on most [...]]]></description>
			<content:encoded><![CDATA[<p>I installed a bare bones Arch Linux system today and took a screenshot.  With no graphics utilities installed, I needed a way to convert a PNG to a GIF for a Simple Machines forum template thumbnail.  I figured I&#8217;d use a command line utility to help me and ImageMagick is installed by default on most distributions.  A quick read through the ImageMagick manpage and I found the <em>convert</em> command and thought I&#8217;d share it with everyone.  Use convert in the following fashion:  <strong>convert [input-options] input-file [output-options] output-file</strong></p>
<pre class="brush: plain; title: ; notranslate">convert SMFPress.png -channel Alpha -threshold 80% -resize 120x120 thumbnail.gif</pre>
<p>This did a quick, same-size conversion with little loss for me to display the thumbnail online.  For more information on the options I used and other options that I didn&#8217;t use, take a peek at the<a title="ImageMagick Help Convert" href="http://www.imagemagick.org/script/convert.php" onclick="return TrackClick('http%3A%2F%2Fwww.imagemagick.org%2Fscript%2Fconvert.php','ImageMagick+Help+Convert')" target="_blank"> ImageMagick Online Help Page for convert.</a></p>
<p><a href="http://linux-blog.org/convert-png-to-gif-via-command-line/" rel="bookmark">Convert PNG to GIF via Command Line</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on November 6, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/convert-png-to-gif-via-command-line/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Adding Color to Bash List Command Part II</title>
		<link>http://linux-blog.org/adding-color-to-bash-list-command-part-ii/</link>
		<comments>http://linux-blog.org/adding-color-to-bash-list-command-part-ii/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 18:25:16 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=1209</guid>
		<description><![CDATA[I previously blogged about how to add color to the &#8216;ls&#8217; command utilizing an config file and alias.  I then stumbled across a nugget of wisdom from a Foresight Linux user on the developers mailing list who gave a handy command that remedies some problems with missing color in a terminal. On some distributions, the [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://linux-blog.org/adding-color-to-bash-list-command/" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fadding-color-to-bash-list-command%2F','previously+blogged+about+how+to+add+color+to+the+%22ls%22+command')" target="_blank">previously blogged about how to add color to the &#8216;ls&#8217; command</a> utilizing an config file and alias.  I then stumbled across a nugget of wisdom from a Foresight Linux user on the developers mailing list who gave a handy command that remedies some problems with missing color in a terminal.</p>
<p>On some distributions, the system-wide <em>/etc/DIR_COLORS</em>* files are removed or not present.  This results in no colors being given inside of a terminal when looking for color directories and filenames.  If you find yourself in this boat, try the following command to re-populate this setting:</p>
<pre class="brush: bash; title: ; notranslate">devnet-&gt; cd ~/
devnet-&gt; dircolors -p &gt;.dircolors
</pre>
<p>This should create a default profile for colors for your session if it hasn&#8217;t been done or was accidentally removed.  For more information on the dircolors command try &#8216;man dircolors&#8217;.  Please also note that <em>dircolors</em> command uses the environmental variable LS_COLORS to set your session.</p>
<p>For more information on LS_COLORS and how it pertains to the terminal/shell/cli/prompt, there are a few blog posts that do an excellent job explaining <a href="http://twistedcode.blogspot.com/2008/04/lscolors-explained.html" onclick="return TrackClick('http%3A%2F%2Ftwistedcode.blogspot.com%2F2008%2F04%2Flscolors-explained.html','here')" target="_blank">here</a>, <a href="http://linux-sxs.org/housekeeping/lscolors.html" onclick="return TrackClick('http%3A%2F%2Flinux-sxs.org%2Fhousekeeping%2Flscolors.html','here')" target="_blank">here</a> and <a href="http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors" onclick="return TrackClick('http%3A%2F%2Fwww.bigsoft.co.uk%2Fblog%2Findex.php%2F2008%2F04%2F11%2Fconfiguring-ls_colors','here')" target="_blank">here</a>.</p>
<p><a href="http://linux-blog.org/adding-color-to-bash-list-command-part-ii/" rel="bookmark">Adding Color to Bash List Command Part II</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on September 8, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/adding-color-to-bash-list-command-part-ii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding Color to Bash List Command</title>
		<link>http://linux-blog.org/adding-color-to-bash-list-command/</link>
		<comments>http://linux-blog.org/adding-color-to-bash-list-command/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 21:00:06 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=1067</guid>
		<description><![CDATA[One of the things I love is being able to enter into a directory via terminal, list the contents, and quickly see which ones are executable or not and which ones are directories or are not directories IN COLOR (not everyone is perfect right?).  This is specifically handy as I move through working with Slackware [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I love is being able to enter into a directory via terminal, list the contents, and quickly see which ones are executable or not and which ones are directories or are not directories IN COLOR (not everyone is perfect right?).  This is specifically handy as I move through working with <a href="http://slackware.com" onclick="return TrackClick('http%3A%2F%2Fslackware.com','Slackware')">Slackware</a> based distributions like the one I&#8217;m using now, <a href="http://zenwalk.org" onclick="return TrackClick('http%3A%2F%2Fzenwalk.org','Zenwalk')">Zenwalk</a> Linux 6 and the <em>/etc/rc.d/</em> directory.  Most of the Red Hat based distributions out there that I&#8217;ve used have this set automatically&#8230;so I&#8217;m used to it.  When I opened up a terminal in Zenwalk I found no color. A quick investigation of <em>~/.bashrc</em> showed me that there are aliases set to display color&#8230;instead of ls I&#8217;d just use the letter L; 2 l&#8217;s for another option, 3 for another.  It&#8217;s interesting, but not normally how I do business.  See bashrc below:</p>
<pre class="brush: bash; highlight: [2,3,4]; title: ; notranslate">
devnet[~]$ cat ~/.bashrc
alias lll=&quot;ls -al --color&quot;
alias ll=&quot;ls -l --color&quot;
alias l='ls --color'&lt;br /&gt;alias search='find . -name'
alias aterm=&quot;aterm -fg white -tr&quot;
alias version='cat /etc/zenwalk-version'
alias dh='df -h'&lt;br /&gt;export PS1='\u[\W]\$ '
export PAGER=&quot;most&quot;&lt;br /&gt;devnet[~]$
</pre>
<p>I don&#8217;t use those aliases much&#8230;others of you might do the &#8216;ll&#8217; or &#8216;lll&#8217; but it&#8217;s just not part of my routine.  So, I added in just after line 4 in the code above:</p>
<pre class="brush: bash; title: ; notranslate">
alias ls='ls --color'
</pre>
<p>You can do this a few different ways&#8230;with any command line editor like emacs, vi, or nano/pico.  It&#8217;s really up to you.  The easiest way for new users is to use a text editor:</p>
<pre class="brush: bash; title: ; notranslate">
devnet[~]$ mousepad ~/.bashrc
</pre>
<p>This will launch the mousepad text editor in XFCE.  If you&#8217;re in Gnome, try gedit.  If KDE, give kwrite a try.  You should see something like the following window pop up for editing:</p>
<p style="text-align: left;"><a href="http://linux-blog.org/wp-content/uploads/2009/06/bashrc.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2009%2F06%2Fbashrc.png','bashrc')"><img class="aligncenter size-full wp-image-1084" style="rel=&quot;lightbox&quot;" title="bashrc" src="http://linux-blog.org/wp-content/uploads/2009/06/bashrc.png" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fwp-content%2Fuploads%2F2009%2F06%2Fbashrc.png','bashrc')" alt="bashrc" width="188" height="131" /></a>You should see in the picture above, I&#8217;ve added in the alias needed to make me comfortable.  After that, File &gt;&gt; Save.  You&#8217;re set!  Except, you may notice that when you type the command &#8216;ls&#8217; there are no colors.  So what gives?  Well, we haven&#8217;t loaded our <em>./bashrc</em> since we changed it.  You don&#8217;t have to logout and back in to get things to work though&#8230;you can do this right from the terminal:</p>
<pre class="brush: bash; title: ; notranslate">
devnet[~]$ exec bash
</pre>
<p>Now try giving the &#8216;ls&#8217; command a try again and you should see that it is in color.  I know a lot of the more advanced Linux guys out there are probably saying, &#8220;why&#8217;d he waste a post on this!  It&#8217;s easy&#8221; and you&#8217;d be right for a majority of users out there&#8230;I hope that this post finds some new user out there that may be stuck for an answer on how to do this.  One final note on this as well: You will have to do this as the root user and change <em>/root/.bashrc</em> in order for your root user to also have color.  Thanks for reading!<br />
<script type="text/javascript">// < ![CDATA[
google_ad_client = "pub-3982453702542240";
/* 468x15, created 6/24/09 */
google_ad_slot = "6181047080";
google_ad_width = 468;
google_ad_height = 15;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p><a href="http://linux-blog.org/adding-color-to-bash-list-command/" rel="bookmark">Adding Color to Bash List Command</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on June 5, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/adding-color-to-bash-list-command/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Laptop Multimedia Keys and PCLinuxOS 2009</title>
		<link>http://linux-blog.org/laptop-multimedia-keys-and-pclinuxos-2009/</link>
		<comments>http://linux-blog.org/laptop-multimedia-keys-and-pclinuxos-2009/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 02:35:36 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Kwhat?]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PCLinuxOS]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=927</guid>
		<description><![CDATA[I installed PCLinuxOS 2009 recently on a Dell D630 Latitude and was disappointed to see that I couldn&#8217;t get the hardware volume (up/down/mute) buttons didn&#8217;t work out of the box.  I thought a bit about kmilo, a program that was previously used for laptop buttons (thinkpad buttons though) and I searched around a bit inside [...]]]></description>
			<content:encoded><![CDATA[<p>I installed PCLinuxOS 2009 recently on a Dell D630 Latitude and was disappointed to see that I couldn&#8217;t get the hardware volume (up/down/mute) buttons didn&#8217;t work out of the box.  I thought a bit about kmilo, a program that was previously used for laptop buttons (thinkpad buttons though) and I searched around a bit inside the KDE Control Center for keyboard shortcuts to see if I could assign the keys manually.  However, I couldn&#8217;t find any volume setting inside this menu.</p>
<p>Then, it hit me, I had remembered seeing volume settings before&#8230;inside kmix; there is an area for assigning global shortcuts for volume and mute!  This should work for anyone running KDE 3.5.8 and above (I think).  Left click on Kmix in your tray and choose the mixer button.  From there, choose <em>Settings &gt;&gt; Configure Global Shortcuts</em>.  Now assign the volume up, down, and mute keys manually by clicking in the blank and pressing the hardware button.  This should work for a majority of people out there.  For me though, this didn&#8217;t work.  When pressing the keys, nothing happened.  I thought I was doomed.</p>
<p>I researched a bit more and found that installing a program called keytouch would allow me to, at the very least, program my keyboard in any way I wanted to program it.  I opened Synaptic and installed keytouch and keytouch-editor.  After install, I went to <em>Kmenu &gt;&gt; System &gt;&gt; Configuration &gt;&gt; Hardware &gt;&gt; Keytouch</em>.  It prompted me to choose my keyboard.  Since it didn&#8217;t have the Dell D630, I chose the closest thing which was the Dell D800.  I closed the application and now the volume buttons and mute button works!  Keytouch also has the ability to manually edit and also to import keytouch &#8216;schemas&#8217; to give maximum flexibility.  Hopefully, this helps some of you out there that cannot get your multimedia keys working in PCLinuxOS and KDE to work!</p>
<p><a href="http://linux-blog.org/laptop-multimedia-keys-and-pclinuxos-2009/" rel="bookmark">Laptop Multimedia Keys and PCLinuxOS 2009</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on March 17, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/laptop-multimedia-keys-and-pclinuxos-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force Firefox to Remember Initial Window Setting in KDE</title>
		<link>http://linux-blog.org/force-firefox-to-remember-initial-window-setting-in-kde/</link>
		<comments>http://linux-blog.org/force-firefox-to-remember-initial-window-setting-in-kde/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 15:43:21 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PCLinuxOS]]></category>

		<guid isPermaLink="false">http://linux-blog.org/?p=894</guid>
		<description><![CDATA[I have a laptop with the resolution of 1440&#215;900&#8230;so when I installed the latest TR6 from PCLinuxOS, I was dismayed to find out that when launching Firefox, it opened up in a window that was 1024 pixels. Of course, I maximized this and then closed it thinking that Firefox would remember my settings. The problem [...]]]></description>
			<content:encoded><![CDATA[<p>I have a laptop with the resolution of 1440&#215;900&#8230;so when I installed the latest TR6 from PCLinuxOS, I was dismayed to find out that when launching Firefox, it opened up in a window that was 1024 pixels.  Of course, I maximized this and then closed it thinking that Firefox would remember my settings.  The problem is&#8230;it didn&#8217;t remember my settings.</p>
<p>When I opened Firefox up again, it popped up to say hello once again at 1024 pixels.  Sure, you can right click on the Firefox window bar and drill down into application specific settings via KDE (yes, it&#8217;s that configurable) but I didn&#8217;t want to have to do this&#8230;because if I did, ALL Firefox windows would open up maximized&#8230;and that includes any pop-ups as well.  I also know that you can drill down even further to fix THAT problem.  However, it should &#8216;just work&#8217; right?  You shouldn&#8217;t have to change anything at all correct?  Well, I&#8217;ve found a fix that is pretty easy to accomplish&#8230;and I hope it helps the hundreds of people I found when searching through google on this.</p>
<p>Open up Firefox and it will open at the smaller screen size&#8230;in my case, it opened up 1024 px in width on my 1440px screen.  Then, hover over the top right hand corner with your mouse until you get the resize arrow.  Resize the window click dragging it to the top, right hand corner of the screen.  It should &#8216;snap-in&#8217; once you get close to maximized size.  Now close the window, and open Firefox again.  It should open up fully maximized.</p>
<p>I sure hope this saves someone time&#8230;because I spent the better part of a morning trying to fix this.</p>
<p><a href="http://linux-blog.org/force-firefox-to-remember-initial-window-setting-in-kde/" rel="bookmark">Force Firefox to Remember Initial Window Setting in KDE</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on February 10, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/force-firefox-to-remember-initial-window-setting-in-kde/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Host Your Own Domain and Webserver</title>
		<link>http://linux-blog.org/host-your-own-domain-and-webserver-using-apache/</link>
		<comments>http://linux-blog.org/host-your-own-domain-and-webserver-using-apache/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 19:42:25 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://linux-blog.org/word/host-your-own-domain-and-webserver-using-apache/</guid>
		<description><![CDATA[This article is from 2006!  The information here may not be the most current.  You can visit an updated version here! Doesn&#8217;t sound like anything new right?  Well, some people may not know of this method. Normally, to host your own webpage you would need to spend around 7 bucks to purchase a domain.  Next [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>This article is from 2006!  The information here may not be the most current.  You can visit an </em><a title="updated version that can be found here" href="http://linux-blog.org/host-your-own-domain-website-and-webserver/" onclick="return TrackClick('http%3A%2F%2Flinux-blog.org%2Fhost-your-own-domain-website-and-webserver%2F','updated+version+that+can+be+found+here')" target="_self"><em>updated version here</em></a><em>!</em></p></blockquote>
<p>Doesn&#8217;t sound like anything new right?  Well, some people may not know of this method.</p>
<p>Normally, to host your own webpage you would need to spend around 7 bucks to purchase a domain.  Next you would need a hosting plan that usually runs around 3-15 dollars per month to serve up your web pages.</p>
<p>What most don&#8217;t realize is that you can skip these steps all together&#8230;you don&#8217;t need to get dedicated Windows or <a title="Linux Hosting" href="http://www.hostcoloreurope.com/" onclick="return TrackClick('http%3A%2F%2Fwww.hostcoloreurope.com%2F','Linux+Hosting')">Linux Hosting</a> (this blog is hosted on dedicated hosting&#8230;but started out in my apartment!) to serve pages up to your friends and family.  You absolutely do not need to get domain name services through a provider.  You can even host your own webserver using a dialup connection (that&#8217;s right&#8230;I said dialup) although. I don&#8217;t recommend it (but I&#8217;ve done it using 56.6kbps).</p>
<p>Why would you want to do this?  My reply&#8230;to stay connected to friends and family&#8230;perhaps throw up a gallery so that your grandparents can see pics of your new dog/car/tinfoil hat.  Sure, you could waste my time with MyWaste..er..space and be barraged daily by advertisers and solicitors&#8230;or you could roll your own web host, install a gallery or website, and provide media to your friends and family without costing yourself a dime.  That&#8217;s right, <strong>NO COST</strong> (except time spent getting it running).  Just remember, your website might not survive a digging or slashdotting if you run it yourself.  Keep that in mind <img src='http://linux-blog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   So without more chatter, let&#8217;s get to the meat and potatoes of things:</p>
<p>Do you cringe at the thought of buying a domain and putting up with the headache of trying to make sure your IP address is up to date with your domain?  Do you hate the 40 dollars you spend on DNS service each year to resolve your IP address to your hostname?  Read on and learn the the flat-broke-and-busted way of maintaining a fixed hostname for your IP&#8230;even if you have dialup.</p>
<p>I&#8217;ll divide this up into 2 sections.  The first will deal with Linux.  The second, Windows.  This is only something that I&#8217;ve found easy to do and the price is just right (it&#8217;s free).  The only thing that I recommend is a dedicated internet connection (cable, DSL) but even this is not necessary as dialup can be used.  I recommend that you use the Linux way of doing things since it is more secure and doesn&#8217;t require a restart every time you patch it.</p>
<p><em>*note: I&#8217;m assuming that you aren&#8217;t behind a firewall/proxy of any kind and that your ISP doesn&#8217;t block port 80 traffic.  If your ISP blocks port 80, see the appendix at the end of this article.</em></p>
<p><strong><span style="text-decoration: underline;">LINUX</span></strong></p>
<p><strong> </strong>No matter what version of Linux you run, chances are that you&#8217;ll be able to install the apache webserver.  This is good news as over half the websites of the world are run by the extremely efficient and speedy apache. I&#8217;m not going to address the specifics of how to set up your website&#8230;only how to get it a fixed address without buying a domain.  So, you have your pages dropped into your webservers public directory&#8230;good.  Now, how to resolve your IP&#8230;lets say it is&#8230;25.24.4.166 (for our example) and you want it to have a host.name.com to bind to.  Easy to resolve.  Go to <a href="http://www.no-ip.com/index.php" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.php')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','p')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.ph')" target="_blank">http://www.no-ip.com/index.ph</a><a href="http://www.no-ip.com/index.php" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.php')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','p')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.ph')">p</a> and sign up.  You can get a site from noip that is like yourname.theirdomain.com/.net/.info.  They have cool names like sytes.net and servebeer.org&#8230;even workisboring.com</p>
<p>You&#8217;ll be able to choose your own top level name&#8230;for instance, Ithink.dnsiskinky.com could be your new domain name.  Next download a client from the download tab: <a href="https://www.no-ip.com/downloads.php" onclick="return TrackClick('https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php','https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php')" onclick="return TrackClick('https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php','https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php')" target="_blank">https://www.no-ip.com/downloads.php</a><br />
<script type="text/javascript">// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[ google_ad_client = "pub-3982453702542240"; /* 468x15, created 6/24/09 */ google_ad_slot = "6181047080"; google_ad_width = 468; google_ad_height = 15;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// < ![CDATA[
// < ![CDATA[
// ]]&gt;</script><br />
The linux client is a tar.gz source and is simple to install. Follow the instructions when installing.  You may have to install compilation tools (devel packages like GCC) to install the client.  You now are the proud owner of yoursite.theirsite.com and your IP will ALWAYS update (as long as noip.com is up) each time you log on/sign on/beam up or whatever it is you do.</p>
<p>How does this help you?  Well, if you&#8217;re like me, you have a dynamic IP address.  If you connect to the internet via cable, dialup, or dsl&#8230;you also have a dynamic IP address.  Dynamic means that it will change from time to time without warning.  So by binding yoursite.theirsite.com to your IP address&#8230;you don&#8217;t ever have to worry about what IP address you have anymore.  Instead, you&#8217;ll always be able to connect using yoursite.theirsite.com.  You can host a webserver using Apache and a virtual host (also known as a Virtual Private server or <a title="VPS Hosting" href="http://www.hostcolor.com/vps" onclick="return TrackClick('http%3A%2F%2Fwww.hostcolor.com%2Fvps','VPS+Hosting')">VPS Hosting</a>) in this style as well (look for another how-to on this subject later) so that everyone can visit a shiny website at yoursite.theirsite.com.</p>
<p><span id="more-134"></span></p>
<p><strong><span style="text-decoration: underline;">WINDOWS</span></strong></p>
<p><strong> </strong>First you need a free and clear webserver since one is not included by default with windows. You can <a href="http://httpd.apache.org/download.cgi" onclick="return TrackClick('http%3A%2F%2Fhttpd.apache.org%2Fdownload.cgi','download+Apache')" target="_blank">download Apache</a> for this as well OR try the <a href="http://abyss.sourceforge.net/" onclick="return TrackClick('http%3A%2F%2Fabyss.sourceforge.net%2F','Abyss+Webserver')" target="_blank">Abyss Webserver</a>.</p>
<p>Interestingly enough, Abyss is also free!  I ran it while my linux machine was being worked on (bad hard disk&#8230;it was a Quantum 200MB drive from 1913&#8230;had to upgrade) and it worked just great off of Windows XP.  Download that puppy and install it.  Make sure you read all of the documentation and familiarize yourself with how Abyss does business.</p>
<p>The next step&#8230;getting a hostname&#8230; is even easier than the linux method because you don&#8217;t have to manually install the noip client&#8230;they have a windows installer.  Go to <a href="http://www.no-ip.com/index.php" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.php')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','p')" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Findex.php','http%3A%2F%2Fwww.no-ip.com%2Findex.ph')" target="_blank">http://www.no-ip.com/index.php</a> and sign up.  Choose the domain name you would like (see above examples in Linux section).  Next, download the noip client from the download tab: <a href="https://www.no-ip.com/downloads.php" onclick="return TrackClick('https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php','https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php')" onclick="return TrackClick('https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php','https%3A%2F%2Fwww.no-ip.com%2Fdownloads.php')" target="_blank">https://www.no-ip.com/downloads.php</a> but this time choose the windows client.  From there, you&#8217;ll be able to install this with a simple double click.  Fill in all of your information (pretty self explanatory) and make sure that it will run with each time you sign on.  You&#8217;re set! Your IP will now resolve to the yourchoice.theirhostname.com</p>
<p><span style="text-decoration: underline;"><strong>CONCLUSION</strong></span></p>
<p>You don&#8217;t have to spend a dime to keep a domain bound to your IP.  This is perfect for the home user who just wants a gallery or homepage.  It&#8217;s even good for someone who has a weblog or enthusiast site.  I would not recommend this to anyone who has a business and wants to run a site.  Just remember that the best things in life are free.  Thanks open source!!!</p>
<p>PS: It&#8217;s always good form to put a link of the stuff you are using on your website to direct traffic back to your software provider.  When I used noip, I included a noip link on my mainpage and also an abyss webserver icon as well.  It&#8217;s just good form and some companies/software providers necessitate the use of their logo or a link on sites that use their software/code.  Just be a nice person and give a linkback to them.  Good luck! Have fun!</p>
<p>PSS: Also, please note that having hosted my own webserver for quite some time (circa 2001) I&#8217;ve found Linux and Apache as a combination to be more secure, faster, and more stable than any webserver I&#8217;ve hosted on the Windows Platform. I included information on Windows mainly to introduce you to the concept of free and open source software. If you thought getting a webserver for free was great, think about getting a whole operating system! Give it a try, you don&#8217;t even have to install it (use a <a href="http://en.wikipedia.org/wiki/Live_CD" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLive_CD','Live+CD')">Live CD</a>).<br />
<script type="text/javascript">// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[ google_ad_client = "pub-3982453702542240"; /* 468x15, created 6/24/09 */ google_ad_slot = "6181047080"; google_ad_width = 468; google_ad_height = 15;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// < ![CDATA[
// < ![CDATA[
// ]]&gt;</script><br />
<strong><span style="text-decoration: underline;">APPENDIX</span></strong></p>
<p>If your ISP blocks port 80 traffic, your webserver won&#8217;t work.  Before deciding that your ISP is blocking however, make sure your firewall has the appropriate rules to allow incoming traffic.  You can do a quick add to IPTABLES in the following manner:</p>
<pre class="brush: plain; title: ; notranslate">iptables -A INPUT -p tcp --dport 80 -j ACCEPT</pre>
<pre class="brush: plain; title: ; notranslate">iptables -A INPUT -j DROP</pre>
<p>If you&#8217;ve opened up the appropriate ports and things still don&#8217;t work, it will be safe to say that you&#8217;ve determined the ISP is blocking port 80.  How you can get around this conundrum is to switch the listening port on the webserver to a different one and redirect traffic there.</p>
<ol>
<li><a href="http://www.no-ip.com/support/guides/web_servers/isp_block_port_80.html" onclick="return TrackClick('http%3A%2F%2Fwww.no-ip.com%2Fsupport%2Fguides%2Fweb_servers%2Fisp_block_port_80.html','See+how+to+do+this+for+IIS+Webservers')">See how to do this for IIS Webservers</a></li>
<li><a href="http://httpd.apache.org/docs/2.0/mod/mpm_common.html#listen" onclick="return TrackClick('http%3A%2F%2Fhttpd.apache.org%2Fdocs%2F2.0%2Fmod%2Fmpm_common.html%23listen','See+how+to+do+this+for+Apache+Webservers')">See how to do this for Apache Webservers</a> (normally in /etc/apache2/httpd.conf but your distro may vary.)</li>
<li><a href="http://www.aprelium.com/abyssws/faq.html#A1-2" onclick="return TrackClick('http%3A%2F%2Fwww.aprelium.com%2Fabyssws%2Ffaq.html%23A1-2','See+how+to+do+this+for+Abyss+Webservers')">See how to do this for Abyss Webservers</a></li>
</ol>
<p>If you still have problems, drop me a line in the comments section.  I may not be able to answer all questions but I can most likely get you to a person/place/thing that can.  Have fun and thanks for reading!</p>
<p><em>This article was originally published on July 13, 2006 and has been updated and reposted.</em><br />
<script type="text/javascript">// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[  google_ad_client = "pub-3982453702542240"; /* 468x15, created 6/24/09 */ google_ad_slot = "6181047080"; google_ad_width = 468; google_ad_height = 15;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// < ![CDATA[
// < ![CDATA[
// ]]&gt;</script></p>
<p><a href="http://linux-blog.org/host-your-own-domain-and-webserver-using-apache/" rel="bookmark">Host Your Own Domain and Webserver</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on December 13, 2008.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/host-your-own-domain-and-webserver-using-apache/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 25/93 queries in 0.398 seconds using disk: basic
Object Caching 1216/1264 objects using disk: basic

Served from: linux-blog.org @ 2012-05-22 20:41:34 -->
