<?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>SoftLayer Blog &#187; sysadmin</title>
	<atom:link href="http://blog.softlayer.com/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.softlayer.com</link>
	<description>A Behind the Scenes Look at the Best Hosting Provider in the World</description>
	<lastBuildDate>Fri, 24 May 2013 18:19:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>UNIX Sysadmin Boot Camp: Permissions</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-permissions/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-permissions/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 15:45:44 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=5954</guid>
		<description><![CDATA[I hope you brought your sweat band &#8230; Today&#8217;s Boot Camp workout is going to be pretty intense. We&#8217;re focusing on our permissions muscles. Permissions in a UNIX environment cause a lot of customer issues &#8230; While everyone understands the value of secure systems and limited access, any time an &#8220;access denied&#8221; message pops up, [...]]]></description>
			<content:encoded><![CDATA[<p>I hope you brought your sweat band &#8230; Today&#8217;s <a href="http://blog.softlayer.com/tag/boot-camp/">Boot Camp</a> workout is going to be pretty intense. We&#8217;re focusing on our permissions muscles. Permissions in a UNIX environment cause a lot of customer issues &#8230; While everyone understands the value of secure systems and limited access, any time an &#8220;access denied&#8221; message pops up, the most common knee-jerk reaction is to enable full access to one&#8217;s files (<code>chmod 777</code>, as I&#8217;ll explain later). This is a <strong>BAD IDEA</strong>. Open permissions are a hacker&#8217;s dream come true. An open permission setting might have been a temporary measure, but more often than not, the permissions are left in place, and the files remain vulnerable. </p>
<p>To better understand how to use permissions, let&#8217;s take a step back and get a quick refresher on key components. </p>
<p>You&#8217;ll need to remember the three permission types:</p>
<p>r w x: r = <strong>read</strong>; w = <strong>write</strong>; x = <strong>execute</strong></p>
<p>And the three types of access they can be applied to:</p>
<p>u g o: u = <strong>user</strong>; g = <strong>group</strong>; o = <strong>other</strong></p>
<p>Permissions are usually displayed in one of two ways &ndash; either with letters (<code>rwxrwxrwx</code>) or numbers (<code>777</code>). When the permissions are declared with letters, you should look at it as three sets of three characters. The first set applies to the <strong>user</strong>, the second applies to the <strong>group</strong>, and the third applies to <strong>other</strong> (<em>everyone else</em>). If a file is readable only by the user and cannot be written to or executed by anyone, its permission level would be <code>r--------</code>. If it could be read by anyone but could only be writeable by the user and the group, its permission level would be <code>rw-rw-r--</code>.</p>
<p>The numeric form of <code>chmod</code> uses bits to represent permission levels. Read access is marked by <strong>4</strong> bits, write is <strong>2</strong>, and execute is <strong>1</strong>. When you want a file to have read and write access, you just add the permission bits: 4 + 2 = 6. When you want a file to have read, write and execute access, you&#8217;ll have 4 + 2 + 1, or 7. You&#8217;d then apply that numerical permission to a file in the same order as above: <strong>user</strong>, <strong>group</strong>, <strong>other</strong>. If we used the example from the last sentence in the previous paragraph, a file that could be read by anyone, but could only be writeable by the user and the group, would have a numeric permission level of 664 (user: 6, group: 6, other: 4).</p>
<p>Now the &#8220;<code>chmod 777</code>&#8221; I referenced above should make a little more sense: All users are given all permissions (4 + 2 + 1 = 7). </p>
<h4>Applying Permissions</h4>
<p>Understanding these components, applying permissions is pretty straightforward with the use of the <code>chmod</code> command. If you want a user (<code>u</code>) to write and execute a file (<code>wx</code>) but not read it (<code>r</code>), you&#8217;d use something like this:</p>
<p><img class="centered" src="http://cdn.softlayer.com/innerlayer/chmodoutput.jpg" alt="chmod Output"/></p>
<p>In the above terminal image, I added the -v parameter to make it &#8220;<a href="http://linux.about.com/cs/linux101/g/verbose.htm">verbose</a>,&#8221; so it displays the related output or results of the command. The permissions set by the command are shown by the number <code>0300</code> and the series (<code>-wx------</code>). Nobody but the user can write or execute this file, and as of now, the user can&#8217;t even read the file. If you were curious about the leading <code>0</code> in &#8220;<code>0300</code>,&#8221; it simply means that you&#8217;re viewing an <a href="http://en.wikipedia.org/wiki/Octal">octal</a> output, so for our purposes, it can be ignored entirely.</p>
<p>In that command, we&#8217;re removing the <strong>read</strong> permission from the <strong>user</strong> (hence the minus sign between <code>u</code> and <code>r</code>), and we&#8217;re giving the user <strong>write and execute</strong> permissions with the plus sign between <code>u</code> and <code>wx</code>. Want to alter the <strong>group </strong>or <strong>other</strong> permissions as well? It works exactly the same way: <code>g+,g-,o+,o-</code> &#8230; Getting the idea? chmod permissions can be set with the letter-based commands (<code>u+r,u-w</code>) or with their numeric equivalents (eg. 400 or 644), whichever floats your boat.</p>
<h4>A Quick Numeric <code>chmod</code> Reference</h4>
<p><code>chmod 777</code> | Gives specified file read, write and execute permissions (<code>rwx</code>) to ALL users<br />
<code>chmod 666</code> | Allows for read and write privileges (<code>rw</code>) to ALL users<br />
<code>chmod 555</code> | Gives read and execute permissions (<code>rx</code>) to ALL users<br />
<code>chmod 444</code> | Gives read permissions (<code>r</code>) to ALL users<br />
<code>chmod 333</code> | Gives write and execute permissions (<code>wx</code>) to ALL users<br />
<code>chmod 222</code> | Gives write privileges (<code>w</code>) to ALL users<br />
<code>chmod 111</code> | Gives execute privileges (<code>x</code>) to ALL users<br />
<code>chmod 000</code> | Last but not least, gives permissions to NO ONE (Careful!)</p>
<h4>Get a List of File Permissions</h4>
<p>To see what your current file permissions are in a given directory, execute the <code>ls –l</code> command. This returns a list of the current directory including the permissions, the group it&#8217;s in, the size and the last date the file was modified. The output of <code>ls –l</code> looks like this:</p>
<p><img class="centered" src="http://cdn.softlayer.com/innerlayer/lsoutput.jpg" alt="ls -l Output"/></p>
<p>On the left side of that image, you&#8217;ll see the permissions in the <code>rwx</code> format. When the permission begins with the &#8220;<code>d</code>&#8221; character, it means that object is a directory. When the permission starts with a dash (<code>-</code>), it is a file. </p>
<h4>Practice Deciphering Permissions</h4>
<p>Let&#8217;s look at a few examples and work backward to apply what we&#8217;ve learned:</p>
<ul>
<li>Example 1: <code>-rw-------</code></li>
<li>Example 2: <code>drwxr-x---</code></li>
<li>Example 3: <code>-rwxr-xr-x</code></li>
</ul>
<p>In Example 1, the file is not a directory, the user that owns this particular object has read and write permissions, and when the group and other fields are filled with dashes, we know that their permissions are set to 0, so they have no access. In this case, only the user who owns this object can do anything with it. We&#8217;ll cover &#8220;ownership&#8221; in a future blog, but if you&#8217;re antsy to learn right now, you can turn to the all-knowing Google. </p>
<p>In Example 2, the permissions are set on a directory. The user has read, write and execute permissions, the group has read and execute permissions, and anything/anyone besides user or group is restricted from access.</p>
<p>For Example 3, put yourself to the test. What access is represented by &#8220;<code>-rwxr-xr-x</code>&#8220;? The answer is included at the bottom of this post.</p>
<h4>Wrapping It Up</h4>
<p>How was that for a crash course in Unix environment permissions? Of course there&#8217;s more to it, but this will at least make you think about what kind of access you&#8217;re granting to your files. Armed with this knowledge, you can create the most secure server environment.</p>
<p>Here are a few useful links you may want to peruse at your own convenience to learn more:</p>
<p><a href="http://www.linuxforums.org/articles/file-permissions_94.html">Linuxforums.org</a><br />
<a href="http://www.zzee.com/solutions/unix-permissions.shtml">Zzee.com</a><br />
<a href="http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html">Comptechdoc.org</a><br />
<a href="http://permissions-calculator.org/">Permissions Calculator</a></p>
<p>Did I miss anything? Did I make a blatantly ridiculous mistake? Did I use &#8220;their&#8221; when I should have used &#8220;they&#8217;re&#8221;??!!&#8230; Let me know about it. Leave a comment if you&#8217;ve got anything to add, suggest, subtract, quantize, theorize, ponderize, etc. Think your useful links are better than my useful links? Throw those at me too, and we&#8217;ll toss &#8216;em up here. </p>
<p>Are you still feeling the burn from your Sysadmin Boot Camp workout? Don&#8217;t forget to keep getting reps in  <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/">bash</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/">logs</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/">SSH</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-passwords/">passwords</a> and <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-user-management/">user management</a>!</p>
<p>- Ryan</p>
<p><img class="centered" alt="Example 3 Answer" src="http://cdn.softlayer.com/innerlayer/example3.png"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Sysadmin Boot Camp: User Management</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-user-management/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-user-management/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 19:45:11 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[user management]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=5952</guid>
		<description><![CDATA[Now that you&#8217;re an expert when it comes to bash, logs, SSH, and passwords, you&#8217;re probably foaming at the mouth to learn some new skills. While I can&#8217;t equip you with the &#8220;nunchuck skills&#8221; or &#8220;bowhunting skills&#8221; Napoleon Dynamite reveres, I can help you learn some more important &#8212; though admittedly less exotic &#8212; user [...]]]></description>
			<content:encoded><![CDATA[<p>Now that you&#8217;re an expert when it comes to <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/">bash</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/">logs</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/">SSH</a>, and <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-passwords/">passwords</a>, you&#8217;re probably foaming at the mouth to learn some new skills. While I can&#8217;t equip you with the &#8220;nunchuck skills&#8221; or &#8220;bowhunting skills&#8221; <a href="http://www.imdb.com/title/tt0374900/">Napoleon Dynamite</a> reveres, I <em>can</em> help you learn some more important &mdash; though admittedly less exotic &mdash; user management skills in UNIX.  </p>
<h4>Root User</h4>
<p>The root user &mdash; also known as the &#8220;super user&#8221; &mdash; has absolute control over everything on the server. Nothing is held back, nothing is restricted, and anything can be done. Only the server administrator should have this kind of access to the server, and you can see why. The root user is effectively the server&#8217;s master, and the server accordingly will acquiesce to its commands. </p>
<p>Broad root access should be avoided for the sake of security. If a program or service needs extensive abilities that are generally reserved for the root user, it&#8217;s best to grant those abilities on a narrow, as-needed basis.</p>
<h4>Creating New Users</h4>
<p>Because the <a href="http://blog.softlayer.com/tag/boot-camp/">Sysadmin Boot Camp</a> series is geared toward server administration from a command-line point of view, that&#8217;s where we&#8217;ll be playing today. Tasks like user creation can be performed fairly easily in a control panel environment, but it&#8217;s always a good idea to know the down-and-dirty methods as a backup.</p>
<p>The <code>useradd</code> command is used for adding users from shell. Let&#8217;s start with an example and dissect the pieces:</p>
<p><code>useradd -c "admin" -d /home/username -g users\ -G admin,helpdesk -s\ /bin/bash userid</code></p>
<p><strong><code>-c "admin"</code></strong> &ndash; This command adds a comment to the user we&#8217;re creating. The comment in this case is &#8220;admin,&#8221; which may be used to differentiate the user a little more clearly for better user organization.<br />
<strong><code>-d /home/username</code></strong> &ndash; This block sets the user&#8217;s home directory. The most common approach is to replace <code>username</code> with the username designated at the end of the command.<br />
<strong><code>-g users\</code></strong> &ndash; Here, we&#8217;re setting the primary group for the user we&#8217;re creating, which will be <code>users</code>.<br />
<strong><code>-G admin,helpdesk</code></strong> &ndash; This block specifies other user groups the new user may be a part of.<br />
<strong><code>-s\ /bin/bash userid</code></strong> &ndash; This command is in two parts. It says that the new user will use <code>/bin/bash</code> for its shell and that <code>userid</code> will be the new user&#8217;s username.</p>
<h4>Changing Passwords</h4>
<p>Root is the only user that can change other users&#8217; passwords. The command to do this is:</p>
<p><code>passwd userid</code></p>
<p>If you are a user and want to change your own password, you would simply issue the <code>passwd</code> command by itself. When you execute the command, you will be prompted for a new entry. This command can also be executed by the root user to change the root password.</p>
<h3>Deleting Users</h3>
<p>The command for removing users is <code>userdel</code>, and if we were to execute the command, it might look like this:</p>
<p><code>userdel -r username</code></p>
<p>The <code>–r</code> designation is your choice. If you choose to include it, the command will remove the home directory of the specified user.</p>
<h3>Where User Information is Stored</h3>
<p>The <code>/etc/passwd</code> file contains all user information. If you want to look through the file one page at a time &mdash; the way you&#8217;d use <code>/p</code> in Windows &mdash; you can use the <code>more</code> command:</p>
<p><code>more /etc/passwd</code></p>
<p>Keep in mind that most of your important configuration files are going to be located in the <code>/etc</code> folder, commonly spoken with an &#8220;et-see&#8221; pronunciation for short.  Each line in the <code>passwd</code> file has information on a single user. Arguments are segmented with colons, as seen in the example below:</p>
<p><code>username:password:12345:12345::/home/username:/bin/bash</code> </p>
<p>Argument 1 – <code>username</code> &ndash; the user&#8217;s username<br />
Argument 2 – <code>password</code> &ndash; the user&#8217;s password<br />
Argument 3 – <code>12345</code> &ndash; the user&#8217;s numeric ID<br />
Argument 4 – <code>12345</code> &ndash; the user group&#8217;s numeric ID<br />
Argument 5 – <code>""</code> &ndash; where either a comment or the user&#8217;s full name would go<br />
Argument 6 &#8211; <code>/home/username</code> &ndash; the user&#8217;s home directory<br />
Argument 7 &#8211; <code>/bin/bash</code> &ndash; the user&#8217;s default console shell</p>
<p>Now that you&#8217;ve gotten a crash course on user management, we&#8217;ll start going deeper into group management, more detailed permissions management and the way shadow file relates to the <code>passwd</code> usage discussed above. </p>
<p>-Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-user-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Sysadmin Boot Camp: Passwords</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-passwords/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-passwords/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 16:35:53 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=4797</guid>
		<description><![CDATA[It&#8217;s been a while since our last UNIX Sysadmin Boot Camp &#8230; Are you still with me? Have you kept up with your sysadmin exercises? Are you starting to get comfortable with SSH, bash and your logs? Good. Now I have an important message for you: Your password isn&#8217;t good enough. Yeah, that&#8217;s a pretty [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since our last UNIX Sysadmin Boot Camp &#8230; Are you still with me? Have you kept up with your sysadmin exercises? Are you starting to get comfortable with <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/">SSH</a>, <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/">bash</a> and your <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/">logs</a>? Good. Now I have an important message for you:</p>
<p><strong>Your password isn&#8217;t good enough.</strong></p>
<p>Yeah, that&#8217;s a pretty general statement, but it&#8217;s shocking how many people are perfectly fine with a six- or eight-character password made up of lowercase letters. Your approach to server passwords should be twofold: <em>Stick with it</em> and <em>Be organized</em>.</p>
<p>Remembering a 21-character password like ^@#*!sgsDAtg5t#ghb%!^ may seem daunting, but you really don&#8217;t have to remember it. For a server, secure passwords are just as vital as any other form of security. You need to get in the habit of documenting every username and password you use and what they apply to. For the sake of everything holy, keep that information in a safe place. Folding it up and shoving it in your socks is not advised (See: blisters).</p>
<p>Want to make your approach to password security even better? Change your passwords every few months, and make sure you and at least one other trusted colleague or friend knows where to find them. You&#8217;re dealing with sensitive material, but you can never guarantee that you will be available to respond to a server-based emergency. In these cases, your friends and co-workers end up scrambling through bookshelves and computer files to find any trace of useful information.</p>
<p>Having been one of the abovementioned co-workers in this situation, I can attest that it is nearly impossible to convince customer service that you are indeed a representative of the company having no verification information or passwords to provide.</p>
<p><em>Coming soon: Now you&#8217;ve got some of the basics, what about the not-so-basics? I&#8217;ll start drafting some slightly more advanced tips for the slightly more advanced administrator. If you have any topics you&#8217;d like us to cover, don&#8217;t hesitate to let us know in a comment below.</em></p>
<p>-Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Sysadmin Boot Camp: Your Logs and You</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 14:15:36 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[walkthrough]]></category>
		<category><![CDATA[workout]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=4794</guid>
		<description><![CDATA[We&#8217;re a few exercises into UNIX Sysadmin Boot Camp, and if you&#8217;re keeping up, you&#8217;ve learned about SSH and bash. In those sessions, our focus was to tell the server what we wanted it to do. In this session, we&#8217;re going to look at the logs of what the server has done. Logs are like [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re a few exercises into UNIX Sysadmin Boot Camp, and if you&#8217;re keeping up, you&#8217;ve learned about <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/">SSH</a> and <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/">bash</a>. In those sessions, our focus was to tell the server what we wanted it to do. In this session, we&#8217;re going to look at the logs of what the server has done. </p>
<p>Logs are like an overbearing mother who sneakily follows her teenage son around and writes down the addresses of each house he visits. When he realizes he lost a really important piece of baseball history at one of those houses, he&#8217;ll be glad he has that list so he can go desperately search for the soon-to-be-noticed missing bat. Ahem.</p>
<p><strong>MAKE BEST FRIENDS WITH THIS DIRECTORY:</strong> <code>/var/log/</code></p>
<p>When something goes wrong &ndash; when there&#8217;s hitch in the flux capacitor or too many gigawatts in the main reactor &ndash; your logs will be there to let you know what&#8217;s going on, and you can pinpoint the error with educated vengeance. So treat your logs with respect. </p>
<p>One of the best places to start harnessing this logged goodness is <code>/var/log/messages</code>. This log file reports all general errors with network and media, among other things. As you add to and learn your server&#8217;s command line environment, you&#8217;ll see specific logs for applications as well, so it&#8217;s a very good idea to keep a keen eye on these. They just might save your life &#8230; or server.</p>
<p>Some of the most commonly used logs (may vary with different Linux distributions):</p>
<ul>
<li><code>/var/log/message</code> &ndash; General message- and system-related info</li>
<li><code>/var/log/cron.log</code> &ndash; Cron job logs</li>
<li><code>/var/log/maillog</code> &ndash; Mail server logs</li>
<li><code>/var/log/kern.log</code> &ndash; Kernel logs</li>
<li><code>/var/log/httpd/</code> &ndash; Apache access and error logs</li>
<li><code>/var/log/boot.log</code> &ndash; System boot logs</li>
<li><code>/var/log/mysqld.log</code> &ndash; MySQL database server logs</li>
<li><code>/var/log/secure</code> &ndash; SSH authentication logs</li>
<li><code>/var/log/auth.log</code> &ndash; Authentication logs</li>
<li><code>/var/log/qmail/</code> &ndash; Qmail log directory (more files inside this directory)</li>
<li><code>/var/log/utmp</code> or <code>/var/log/wtmp</code> &ndash; Login records file</li>
<li><code>/var/log/yum.log</code> &ndash; Yum log files</li>
</ul>
<p>There are plenty more in-depth logs &ndash; particularly involving raw system components &ndash; and others that act similarly to logs but are a bit more active like <code>tcpdumps</code>. Those are a little more advanced to interpret, so I&#8217;ll save them for another guide and another day.</p>
<p>At this point in our UNIX workout series, you&#8217;re familiar with the command line, you know the basics of how to tell your server what to do and you just learned how to let the server tell you what it&#8217;s done. There&#8217;s still a bit of work to be done before you can call yourself a UNIX ninja, but you&#8217;re well on your way. In our next installment, we&#8217;re going to take a step back and talk about p455w0rd5.</p>
<p>Keep learning.</p>
<p>-Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-your-logs-and-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>UNIX Sysadmin Boot Camp: bash</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 18:00:49 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[control panel]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=4508</guid>
		<description><![CDATA[Welcome back to UNIX Sysadmin Boot Camp. You&#8217;ve had a few days to get some reps in accessing your server via SSH, so it&#8217;s about time we add some weight to your exercise by teaching you some of the tools you will be using regularly to manage your server. As we mentioned earlier in this [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome back to UNIX Sysadmin Boot Camp. You&#8217;ve had a few days to get some reps in <a href="http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/">accessing your server via SSH</a>, so it&#8217;s about time we add some weight to your exercise by teaching you some of the tools you will be using regularly to manage your server.</p>
<p>As we mentioned earlier in this series, customers with control panels from cPanel and Parallels might be tempted to rely solely on those graphical interfaces. They are much more user-friendly in terms of performing routine server administration tasks, but at some point, you might need to get down and dirty on the command line. It&#8217;s almost inevitable. This is where you&#8217;ll use <strong>bash</strong> commands.  </p>
<p>Here are some of the top 10 essential commands you should get to know and remember in bash. <em>Click any of the commands to go to its official &#8220;manual&#8221; page.</em></p>
<ol>
<li><a href="http://linuxmanpages.com/man1/man.1.php"><code>man</code></a> &ndash; This command provides a manual of other bash commands. Want more info on a command? Type <code>man commandname</code>, and you&#8217;ll get more information about &#8220;commandname&#8221; than you probably wanted to know. It&#8217;s extremely useful if you need a quick reference for a command, and it&#8217;s often much more detailed and readable than a simple <code>--help</code> or <code>--h</code> extension.</li>
<li><a href="http://www.computerhope.com/unix/uls.htm"><code>ls</code></a> &ndash; This command lets you list results. I showed you an example of this above, but the amount of options that are available to you with this command are worth looking into. Using the &#8220;manual&#8221; command above, run <code>man ls</code> and check out the possibilities. For example, if you&#8217;re in <code>/etc</code>, running <code>ls -l /etc</code> will get you a slightly more detailed list. My most commonly used list command is <code>ls -hal</code>. Pop quiz for you (where you can test your <code>man</code> skills): What does the <code>-hal</code> mean?</li>
<li><a href="http://www.computerhope.com/unix/ucd.htm"><code>cd</code></a> &ndash; This command lets you change directories. Want to go to <code>/etc/</code>? <code>cd /etc/</code> will take you there. Want to jump back a directory? <code>cd ..</code> does the trick.</li>
<li><a href="http://www.computerhope.com/unix/umv.htm"><code>mv</code></a> &ndash; This command enables you to move files and folders. The syntax is <code>mv originalpath/to/file newpath/to/file</code>. Simple! There are more options that you can check out with the <code>man</code> command.</li>
<li><a href="http://www.computerhope.com/unix/urm.htm"><code>rm</code></a> &ndash; This command enables you to remove a file or directory. In the same vein as the <code>mv</code> command, this is one of those basic commands that you just have to know. By running <code>rm filename</code>, you remove the &#8220;filename&#8221; file.</li>
<li><a href="http://www.computerhope.com/unix/ucp.htm"><code>cp</code></a> &ndash; This command enables you to copy files from one place to another. Want to make a backup of a file before editing it? Run <code>cp origfile.bla origfile.bak</code>, and you have a backup in case your edit of <code>origfile.bla</code> goes horrendously wrong and makes babies cry. The syntax is simply: <code>cp /source /destination</code>. As with the above commands, check out the manual by running <code>man cp</code> for more options.</li>
<li><a href="http://linuxmanpages.com/man1/tar.1.php"><code>tar</code></a> &ndash; On its own, <code>tar</code> is a command to group a bunch of files together, uncompressed. These files can then be compressed into .gzip format. The command can be used for creating or extracting, so it may be a good idea to familiarize yourself with the parameters, as you may find yourself using it quite often. For a GUI equivalent, think 7-zip or WinRAR for Windows.</li>
<li><a href="http://linuxmanpages.com/man1/wget.1.php"><code>wget</code></a> &ndash; I love the simplicity of this little command. It enables you to &#8220;get&#8221; or download a target file. Yes, there are options, but all you need is a direct link to a file, and you just pull one of these: <code>wget urlhere</code>. Bam! That file starts downloading. Doesn&#8217;t matter what kind of file it is, it&#8217;s downloaded.</li>
<li><a href="http://linuxmanpages.com/man1/top.1.php"><code>top</code></a> &ndash; This handy little binary will give you a live view of memory and CPU usage currently affecting your machine, and is useful for finding out where you need to optimize. It can also help you pinpoint what processes may be causing a slowdown or a load issue.</li>
<li><a href="http://linuxmanpages.com/man1/chmod.1.php"><code>chmod</code></a> &ndash; This little sucker is vital to make your server both secure and usable, particularly when you&#8217;re going to be serving for the public like you would with a web server. Combine good usage of permission and iptables, and you have a locked down server</li>
</ol>
<p>When you understand how to use these tools, you can start to monitor and track what&#8217;s actually happening on your server. The more you know about your server, the more effective and efficient you can make it. In our next installment, we&#8217;ll touch on some of the most common server logs and what you can do with the information they provide.</p>
<p>Did I miss any of your &#8220;essential&#8221; bash commands in my top 10 list? Leave a comment below with your favorites along with a quick explanation of what they do.</p>
<p>-Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-bash/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>UNIX Sysadmin Boot Camp: An Intro to SSH</title>
		<link>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/</link>
		<comments>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 20:13:24 +0000</pubDate>
		<dc:creator>Ryan Robson</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[boot camp]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[teach]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[walkthrough]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=4488</guid>
		<description><![CDATA[You&#8217;ve got a &#8216;nix box set up. For some reason, you feel completely lost and powerless. It happens. Many a UNIX-related sob has been cried by confused and frustrated sysadmins, and it needs to stop. As a techie on the front lines of support, I&#8217;ve seen firsthand the issues that new and curious sysadmins seem [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve got a &#8216;nix box set up. For some reason, you feel completely lost and powerless. It happens. Many a UNIX-related sob has been cried by confused and frustrated sysadmins, and it needs to stop. As a techie on the front lines of support, I&#8217;ve seen firsthand the issues that new and curious sysadmins seem to have. We have a lot of customers who like to dive head-first into a new environment, and we even encourage it. But there&#8217;s quite a learning curve.</p>
<p>In my tenure at SoftLayer, I&#8217;ve come across a lot of customers who rely almost entirely on control panels provided by partners like cPanel and Parallels to administer their servers. While those panels simplify some fairly complex tasks to the touch of a button, we all know that one day you&#8217;re going to have to get down and dirty in that SSH (Secure Shell) interface that so many UNIX server newbies fear. </p>
<p>I&#8217;m here to tell you that SSH can be your friend, if you treat it right. Graphical user interfaces like the ones used in control panels have been around for quite a while now, and despite the fact that we are in &#8220;the future,&#8221; the raw power of a command line is still unmatched in its capabilities. It&#8217;s a force to be reckoned with.</p>
<p>If you&#8217;re accustomed to a UNIX-based interface, this may seem a little elementary, but you and I both know that as we get accustomed to something, we also tend to let those all-important &#8220;basics&#8221; slip from our minds. If you&#8217;re coming from a Windows background and are new to the environment, you&#8217;re in for a bit of a shell shock, no pun intended. The command line is fantastically powerful once you master it &#8230; It just takes a little time and effort to learn. </p>
<p>We&#8217;ll start slow and address some of the most common pain points for new sysadmins, and as we move forward, we&#8217;ll tackle advanced topics. Set your brain to &#8220;absorbent,&#8221; and visualize soaking up these UNIX tips like some kind of undersea, all-knowing, Yoda-like sea sponge.</p>
<h3>SSH</h3>
<p>SSH allows data to be exchanged securely between two networked devices, and when the &#8220;network&#8221; between your workstation and server is the Internet, the fact that it does so &#8220;securely&#8221; is significant. Before you can do any actual wielding of SSH, you&#8217;re going to need to know how to find this exotic &#8220;command line&#8221; we&#8217;ve talked so much about. </p>
<p>You can use a third-party client such as <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a>, <a href="http://winscp.net/eng/index.php">WinSCP</a> if your workstation is Windows-based, or if you&#8217;re on Linux or Mac, you can access SSH from your terminal application: <code>ssh user@ipaddress</code>. Once you&#8217;ve gotten into your server, you&#8217;ll probably want to find out where you are, so give the <code>pwd</code> command a try:</p>
<p><code>user@serv: ~$ pwd<br />
/home/user<br />
user@serv: ~$</code></p>
<p>It&#8217;s as easy as that. Now we know we&#8217;re in the <code>/home/user</code> directory. Most of the time, you&#8217;ll find yourself starting in your home directory. This is where you can put personal files and documents. It&#8217;s kind of like &#8220;My Documents&#8221; in Windows, just on your server.</p>
<p>Now that you know where you are, you&#8217;ll probably want to know what&#8217;s in there. Take a look at these commands (extracted from a RedHat environment, but also usable in CentOS and many other distributions):</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ ls &nbsp;&nbsp;&nbsp;</code><br />
This will give you a basic listing of the current directory.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ ls /usr/src/redhat &nbsp;&nbsp;&nbsp;</code><br />
This will list the contents of another specified directory.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ ls ./redhat &nbsp;&nbsp;&nbsp;</code><br />
Using a &#8220;relative pathname,&#8221; this will perform the same action as above.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ ls redhat &nbsp;&nbsp;&nbsp;</code><br />
Most of the time, you&#8217;ll get the same results even without the &#8220;<code>./</code>&#8221; at the beginning.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ cd /usr/src/redhat/ &nbsp;&nbsp;&nbsp;</code><br />
This is an example of using the <code>cd</code> command to change directories to an absolute pathname.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src $ cd redhat &nbsp;&nbsp;&nbsp;</code><br />
This is an example of using the <code>cd</code> command to change directories to a relative pathname.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src/redhat $ cd /usr/src &nbsp;&nbsp;&nbsp;</code><br />
To move back on directory from the working directory, you can use the destination&#8217;s absolute path.</p>
<p><code style="color:#FFFFFF; background-color: #000000;">&nbsp;&nbsp;&nbsp; user@serv: /usr/src/redhat $ cd .. &nbsp;&nbsp;&nbsp;</code><br />
Or, since the desired directory is one step down, you can use two dots to move back.</p>
<p>You&#8217;ll notice many similarities to the typical Windows DOS prompts, so it helps if you&#8217;re familiar with navigating through that interface: <code>dir</code>, <code>cd</code>, <code>cd ..</code>, <code>cd /</code>. Everything else on the other hand, will prove to be a bit different.</p>
<p>Now that you&#8217;re able to access this soon-to-be-powerful-for-you tool, you need to start learning the language of the natives: <strong>bash</strong>. In our next installment, we&#8217;ll take a crash course in bash, and you&#8217;ll start to get comfortable navigating and manipulating content directly on your server. </p>
<p>Bookmark the SoftLayer Blog and come back regularly to get the latest installments in our &#8220;UNIX Sysadmin Boot Camp&#8221; series!</p>
<p>-Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/unix-sysadmin-boot-camp-an-intro-to-ssh/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Standing Cloud: Tech Partner Spotlight</title>
		<link>http://blog.softlayer.com/2011/technology-partner-spotlight-standing-cloud/</link>
		<comments>http://blog.softlayer.com/2011/technology-partner-spotlight-standing-cloud/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 14:30:58 +0000</pubDate>
		<dc:creator>Guest Blog</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Partner Marketplace]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[APaaS]]></category>
		<category><![CDATA[cloud servers]]></category>
		<category><![CDATA[IaaS]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[PaaS]]></category>
		<category><![CDATA[partner]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[SaaS]]></category>
		<category><![CDATA[Standing Cloud]]></category>
		<category><![CDATA[standingcloud]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/2011/</guid>
		<description><![CDATA[This is a guest blog from Dave Jilk of Standing Cloud, a SoftLayer Tech Marketplace Partner specializing in automating cloud application deployment and streamlining management. Company Website: http://www.standingcloud.comTech Partners Marketplace: http://www.standingcloud.com/softlayermarketplace Standing Cloud&#8217;s Application Layer for the SoftLayer Cloud When we first came across the SoftLayer Cloud, we were impressed by the breadth of what [...]]]></description>
			<content:encoded><![CDATA[<p class="attribution">This is a guest blog from Dave Jilk of <a href="http://www.standingcloud.com">Standing Cloud</a>, a SoftLayer Tech Marketplace Partner specializing in automating cloud application deployment and streamlining management.</p>
<div class="yt560"><iframe width="560" height="349" src="http://www.youtube.com/embed/kBVn5qbIvNs" frameborder="0" allowfullscreen></iframe></div>
<div class="more-info"><strong>Company Website:</strong> <a href="http://www.standingcloud.com">http://www.standingcloud.com</a><br/><strong>Tech Partners Marketplace:</strong> <a href="http://www.standingcloud.com/softlayermarketplace">http://www.standingcloud.com/softlayermarketplace</a></div>
<h3>Standing Cloud&#8217;s Application Layer for the SoftLayer Cloud</h3>
<p>When we first came across the <a href="http://www.softlayer.com/cloudlayer/computing/">SoftLayer Cloud</a>, we were impressed by the breadth of what it allowed the user to do through a web browser. Beyond the basic infrastructure capabilities of provisioning servers and storage (that you can find from other providers), the SoftLayer console and API allow full access to the networking, security, and server console capabilities of the system. It&#8217;s as though you can take over the mind of a network administrator and have him or her do your bidding.</p>
<p><span id="more-3854"></span></p>
<p>A host of networking features that come with the offering with the offering were especially exciting to us (see the end of this post for details). Now, when I say &#8220;us,&#8221; I mean our Founding System Architect, Joel Wampler. Joel breathes network protocols, eats open source technology stacks for most of his meals and speaks in Linux command line. I, in contrast, wouldn&#8217;t have the first idea how to make good use of those network features, but his amazement was enough to be contagious. I&#8217;m a software developer by trade, not a systems or network architect, and increasingly I&#8217;m mostly a business user &#8230; And as I&#8217;ve transitioned to more of a business-centric focus, I&#8217;ve become the target demographic for Standing Cloud. The distinction between business users in a technical company and technical users in a business are why the Standing Cloud service is so powerful on the SoftLayer Cloud.</p>
<p>For business users and application developers, what we call the &#8220;dark cloud&#8221; (IaaS without an application layer) is not very useful and relatively intimidating. Business users primarily want SaaS &#8211; the ability to use applications without any consideration of the mechanics. Developers want APaaS or PaaS &#8211; the ability to customize existing applications or build them from scratch, without any (or much) consideration of the underlying technology stack or infrastructure.</p>
<p>Standing Cloud delivers all of this, the way it ought to be, on the SoftLayer Cloud. An end user can deploy a pre-packaged application in minutes with just a few clicks. We incorporate best practices so you take advantage of all the Standing Cloud and SoftLayer capabilities without having to know about them. As a developer, you can deploy one of these applications and then customize the code without having to think about system security configuration, memory parameters or other system administration issues. Just sync with your repository on Github or Subversion and the code will be uploaded and ready to run.</p>
<p>These &#8220;startup&#8221; benefits are just the beginning, though. Standing Cloud makes it easy to &#8220;move&#8221; your application &#8211; to a different server if you need more (or less) capacity, to a shared server if you are a solution provider and want to reduce the cost to your clients, or to a &#8220;test drive&#8221; if you want to experiment with an upgrade or code changes but don&#8217;t want to affect the production deployment. We monitor the application and its status 24&#215;7, and you receive notifications if it is down or performing slowly &#8211; and optionally, we can automatically revive it on a new server if the situation warrants.</p>
<p>If you want to open the hood, you can. Because of the way Standing Cloud deploys and manages applications, an adventurous end-user can easily access the application code and the PaaS layer.  And a developer who has a special need can dive into the infrastructure layer through our browser based terminal window. Unlike most SaaS and PaaS systems, Standing Cloud keeps these details out of your hair but does not prevent you from accessing and changing them. </p>
<p>If you are just getting started with the SoftLayer Cloud, and you are not a system administrator, I highly recommend that you explore the <a href="http://www.standingcloud.com/network">Standing Cloud Application Network</a>. Instead of being faced with the &#8220;dark cloud,&#8221; you&#8217;ll have more than 80 application choices (and we take requests if your favorites aren&#8217;t included yet!). For developers, we offer language support for Java, Ruby, PHP, and Python. </p>
<p>If you are a system administrator and an existing SoftLayer customer, you may want to consider Standing Cloud as a time saver. There are so many powerful (and challenging!) capabilities to manage on SoftLayer for your complex, mission critical applications. Is deploying and locking down a server running Drupal or SugarCRM the best use of your time? </p>
<p>Finally, we would love to hear from you. Send an email to <a href="mailto:support@standingcloud.com">support@standingcloud.com</a>, and tell us what you need, how you want to use the cloud, and what we could do better. Our users drive our product evolution, so please tell us what you think!</p>
<p>And for those of you who are curious about the network features I mentioned Joel salivating over at the start of the post, here are a few highlights:</p>
<ul>
<li>Up to Gigabit speeds both internally and to the Internet</li>
<li>Private IP blocks are assigned as a VLAN so that other customers cannot access them</li>
<li>IPv6 capable</li>
<li>Free inbound bandwidth, and 1000GB of outbound bandwidth included</li>
<li>Ability to share an IP address across multiple machines (excellent for high availability solutions)</li>
</ul>
<p>-Dave Jilk, <a href="http://www.standingcloud.com">Standing Cloud</a></p>
<div class="tpm-note">This guest blog series highlights companies in SoftLayer&#8217;s <a href="http://www.softlayer.com/marketplace">Technology Partners Marketplace</a>. <br/>These <a href="http://blog.softlayer.com/partner-marketplace/">Partners</a> have built their businesses on the SoftLayer Platform, and we&#8217;re excited for them to tell their stories. New Partners will be added to the Marketplace each month, so stay tuned for many more come.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/technology-partner-spotlight-standing-cloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>3 Bars &#124; 3 Questions: SoftLayer Managed Hosting</title>
		<link>http://blog.softlayer.com/2011/3-bars-3-questions-softlayer-managed-hosting/</link>
		<comments>http://blog.softlayer.com/2011/3-bars-3-questions-softlayer-managed-hosting/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:30:44 +0000</pubDate>
		<dc:creator>Tam Vu</dc:creator>
				<category><![CDATA[3 Bars 3 Questions]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[3 Bars]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[managed hosting]]></category>
		<category><![CDATA[managed server]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[sales engineering]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/2011/</guid>
		<description><![CDATA[I know you expected to see a video interview with Paul Ford the next time a 3 Bars &#124; 3 Questions episode rolled across your desk, but I snuck past him for a chance in the spotlight this week. Kevin and I jumped on a quick video chat to talk about the Sales Engineering team, [...]]]></description>
			<content:encoded><![CDATA[<p>I know you expected to see a video interview with Paul Ford the next time a <a href="http://blog.softlayer.com/category/3-bars-3-questions/">3 Bars | 3 Questions</a> episode rolled across your desk, but I snuck past him for a chance in the spotlight this week. Kevin and I jumped on a quick video chat to talk about the Sales Engineering team, and because of our recent <a href="http://www.softlayer.com/press/release/881/softlayer-launches-managed-hosting">release</a> of SoftLayer Managed Hosting, two of the three questions ended up being about that news:</p>
<div class="yt560"><iframe width="560" height="349" src="http://www.youtube.com/embed/54gnFBTKBrM" frameborder="0" allowfullscreen></iframe></div>
<p>You should be seeing a blog from <a href="http://blog.softlayer.com/author/nday/">Nathan</a> in the next half hour or so with more detail about how we approached managed hosting, so you&#8217;ll have all the background you need to springboard into that post after you watch this video.</p>
<p>If you&#8217;ve heard everything you need to hear about managed hosting and want to start the process of adding it to servers on your account, visit <a href="http://www.softlayer.com/solutions/managed-hosting/">http://www.softlayer.com/solutions/managed-hosting/</a> or chat with a sales rep, and they can help you get squared away. If you&#8217;re not sure whether it&#8217;s a good fit, ask for a sales engineer to consult &#8230; They&#8217;re a great group with a pretty awesome manager. <img src='http://blog.softlayer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Paul, sorry for stealing your spot in the 3 Bars | 3 Questions rotation! I&#8217;m handing the baton back over to you to talk about TechWildcatters and the Technology Partners Marketplace in the next episode.</p>
<p>-Tam</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/3-bars-3-questions-softlayer-managed-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Steps to Start Using IPv6 (not IPv5)</title>
		<link>http://blog.softlayer.com/2011/5-steps-to-start-using-ipv6-not-ipv5/</link>
		<comments>http://blog.softlayer.com/2011/5-steps-to-start-using-ipv6-not-ipv5/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 15:30:12 +0000</pubDate>
		<dc:creator>Harold Smith</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[IPv4]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[walkthrough]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/2011/</guid>
		<description><![CDATA[As Kevin mentioned on Friday, we are less than 45 days from &#8220;doomsday.&#8221; The IANA only has about 3% of the resources required to sustain our current way of life. 6.8 billion people with only 4.3 billion addresses in existence. It&#8217;s the 2012 saga in 2011: The exhaustion of the Internet&#8217;s available IP version 4 [...]]]></description>
			<content:encoded><![CDATA[<p>As Kevin mentioned on Friday, we are less than 45 days from &#8220;doomsday.&#8221; The IANA only has about 3% of the resources required to sustain our current way of life. 6.8 billion people with only 4.3 billion addresses in existence. It&#8217;s the 2012 saga in 2011: The exhaustion of the Internet&#8217;s available IP version 4 (IPv4) addresses. What are we going to do?!</p>
<p>Luckily, a lot of people have been hard at work to mitigate the impending Internet crisis. IP version 6 (IPv6) is on the horizon and is already supported by most modern internet enabled devices. If you&#8217;re like me, the fact that we went from IPv4 to IPv6 might make you wonder, &#8220;What happened to IPv5?&#8221;</p>
<p>The powers that be didn&#8217;t decide to rid the number system of the number five because of its mixture of curves and right angles, and it wasn&#8217;t because they only wanted to use round numbers. IP version 5 (IPv5) was a work in progress and part of a family of experimental protocols by the name of ST (Internet Stream Protocol). ST and later ST-II were connection-oriented protocols that were intended to support the efficient delivery of data streams to applications that required guaranteed data throughput.</p>
<p>An ST packet looks very similar to its IPv4 sibling, and both use the first 8 bits to identify a version number. IPv4 uses those 8 bits to identify IPv4 packets, and ST used the same 8 bits to identify IPv5 packets. Since &#8220;version 5&#8243; was spoken for, the next iteration in IP advancement became version 6.</p>
<p>If you&#8217;ve been around the SoftLayer blog for a while, you already know <a href="http://blog.softlayer.com/2010/the-end-is-near/">a fair bit about IPv6</a>, but you&#8217;re probably wondering, &#8220;What’s next?&#8221; How do you actually start using IPv6 yourself?</p>
<h3 style="margin-bottom: -10px;">1. Get a Block of IPv6 Addresses</h3>
<p>Lucky for you, the SoftLayer platform is IPv6 ready, and we&#8217;re already issuing and routing IPv6 traffic. Obtaining a block of public IPs from us is as easy as logging into the portal, pulling up the hardware page of a server and ordering a /64 block of IPv6 IPs for $4/mo per subnet ($10 if you want a portable subnet)! </p>
<p>For those of you that have ordered IPs from us in the past, IPv4 addresses are usually $0.50-$1.00 each. To get a /64 of public static IPv6 addresses, it’s a whopping $0.00 for the entire range.  So just how many IPs is in a /64? 256? Try again. 512? Keep going. 1 Million? You’re still cold. Let&#8217;s try 18.4 quintillion. For those that understand scientific notation better, that is 1.84 x 10<sup>19</sup>. If you just want to see the number written in long form, it&#8217;s 18,446,744,073,709,551,616 IP addresses. That allocation should probably tide you over for a little while.</p>
<h3 style="margin-bottom: -10px;">2. Make Sure Your Server is IPv6 Ready</h3>
<p>Most current server operating systems are ready to take the IPv6 leap. This includes Windows 2003 SP1 and most Linux OSes with 2.6.x Linux kernels. We&#8217;ll focus on Windows and RedHat/CentOS here. </p>
<p style="margin-bottom:5px;">To ready your <strong>Windows 2003</strong> server for IPv6, do this:</p>
<ol>
<li>In Control Panel, double-click Network Connections.</li>
<li>Right-click any local area connection, and then click Properties.</li>
<li>Click Install.</li>
<li>In the &#8220;Select Network Component Type&#8221; dialog box, click Protocol, then Add.</li>
<li>In the &#8220;Select Network Protocol&#8221; dialog box, click Microsoft TCP/IP version 6, then OK.</li>
<li>Click Close to save changes to your network connection.</li>
</ol>
<p>Once IPv6 is installed, IIS will automatically support IPv6 on your web server. If a website was running when you installed the IPv6 stack, you must restart the IIS service before the site begins to listen for IPv6 requests. Sites that you create after you enable IPv6 automatically listen for IPv6. <strong>Windows 2008</strong> server should have IPv6 enabled by default.</p>
<p>When your Windows server is ready for IPv6, you will add IPv6 addresses to the server just as you&#8217;d add IPv4 addresses &#8230; The only difference is you will edit the properties to the Internet Protocol Version 6 (TCP/IPv6) network protocol.</p>
<p style="margin-bottom:5px;">To ready your <strong>RedHat/CentOS</strong> servers, do this:</p>
<ol>
<li>Using your favorite editor, edit <code>/etc/sysconfig/network</code> and enable <code>NETWORKING_IPV6</code> by changing the &#8220;no&#8221; to a &#8220;yes.&#8221;</p>
<p style="margin: 5px 0 0 0;"><em>Example</em>:</p>
<div style="margin:0;"><code>NETWORKING=yes<br />
HOSTNAME=ipv6test.yourdomain.com<br />
GATEWAY=10.13.40.1<br />
NETWORKING_IPV6=yes</code></div>
<li>Next edit <code>/etc/sysconfig/network-scripts/ifcfg-eth1</code> to add IPv6 parameters.
<p style="margin: 5px 0 0 0;">Add the following to end of the file:</p>
<div style="margin:0;"><code>IPV6INIT=yes<br />
IPV6ADDR=YOURIPV6ADDRESS<br />
IPV6_DEFAULTGW=YOURGATEWAY</code></div>
<p style="margin: 5px 0 0 0;"><em>Example</em>:</p>
<div style="margin:0;"><code>IPV6INIT=yes<br />
IPV6ADDR=2607:f0d0:2001:0000:0000:0000:0000:0010/64<br />
IPV6_DEFAULTGW=2607:f0d0:2001:0000:0000:0000:0000:0001</code></div>
<li>Once you have successfully added your assigned IP addresses, you must restart networking with this command:
<div style="margin:0;"><code>[root@ipv6test /]# service network restart</code></div>
</li>
</ol>
<p>Once you have completed these steps on your respective OS, you should be able to communicate over the IPv6 stack.  To test, you can ping ipv6.google.com and see if it works.</p>
<h3 style="margin-bottom: -10px;">3. Bind Your New IPv6 Address to Apache/IIS</h3>
<p>Now that you have more IPv6 addresses for your server(s) than what&#8217;s available to the entire world in IPv4 space, you must bind them to IIS or Apache. This is done the similarly to the way you bind IPv4 addresses. </p>
<p>In IIS, all IPs that have been added to the system will now be available for use in the website properties. Within Apache, you will add a few directives to ensure your web servers is listening on the IPv6 stack &#8230; which brings us to a very important point when it comes to discussing IPv6. Due to the fact that it&#8217;s full of colons (:), you can’t just write out the IP as you would a 32-bit address.</p>
<p>IPv6 addresses must be specified in square brackets or the optional port number could not be determined. To enable Apache to listen to both stacks on separate sockets you will need to add a new &#8220;Listen&#8221; directive:</p>
<div style="margin-left:10px;"><code>Listen [::]:80<br />
Listen 0.0.0.0:80</code></div>
<p>And for your Virtual Hosts, the will look like this:</p>
<div style="margin-left:10px;"><code>&lt;VirtualHost [2101:db8::a00:200f:fda7:00ea]&gt;<br />
ServerAdmin webmaster@yourdomain.com<br />
DocumentRoot /www/docs/ipv6test.yourdomain.com<br />
ServerName ipv6test.yourdomain.com<br />
ErrorLog logs/ipv6test.yourdomain.com-error_log<br />
TransferLog logs/ipv6test.yourdomain.com-access_log<br />
&lt;VirtualHost&gt;</code></div>
<h3 style="margin-bottom: -10px;">4. Add Addresses to DNS</h3>
<p>The final step in getting up and running is to add your new IPv6 addresses to your DNS server. If you&#8217;re using a IPv6 enabled DNS server, you will simply insert an &#8216;AAAA&#8217; resource record (aka quad-A record) for your host. </p>
<h3 style="margin-bottom: -10px;">5. Test Your Server&#8217;s IPv6 Accessibility</h3>
<p>While your DNS is propagating, you can still test your webserver to see if it responds to the IP you assigned by using square brackets in your browser: http://[2101:db8::a00:200f:fda7:00ea]</p>
<p>This test, of course, will only work if your computer is on a IPv6 network. If you are limited to IPv4, you will need sign up with a tunnel broker or switch to an ISP that offers IPv6 connectivity.</p>
<p>After about 24 hours, your server and new host should be ready to serve websites on the IPv6 stack.  </p>
<p>Good luck!</p>
<p>-Harold</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/5-steps-to-start-using-ipv6-not-ipv5/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>A Little Philosophical Thought: The SoftLayer Family Tree</title>
		<link>http://blog.softlayer.com/2008/a-little-philosophical-thought-the-softlayer-family-tree/</link>
		<comments>http://blog.softlayer.com/2008/a-little-philosophical-thought-the-softlayer-family-tree/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 14:00:55 +0000</pubDate>
		<dc:creator>David Ellis</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[customers]]></category>
		<category><![CDATA[employees]]></category>
		<category><![CDATA[operations]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://theinnerlayer.softlayer.com/?p=153</guid>
		<description><![CDATA[Somewhat picking up on the theme of the blog, “Here’s to you, that nerdy Sysadmin”, this is a sort of, “Here’s to you, our family tree of customers.” I find it very interesting how everyone in the world has customers. Our customer’s, customer’s, customer’s, customer’s…and so on…depend on us here at SoftLayer. It is a [...]]]></description>
			<content:encoded><![CDATA[<p>Somewhat picking up on the theme of the blog, “Here’s to you, that nerdy Sysadmin”, this is a sort of, “Here’s to you, our family tree of customers.” </p>
<p>I find it very interesting how everyone in the world has customers. Our customer’s, customer’s, customer’s, customer’s…and so on…depend on us here at SoftLayer. It is a sort of bottomless pit. Does it begin anywhere…or end anywhere. Does anyone NOT have customers?</p>
<p>For example:</p>
<p>Our customers have customers, who have customers, who have customer, who have customers, etc. We are the customer of INTEL, AMD,  Seagate, etc. They are the customers of those that provide the material to make the hardware that they manufacture. The natural resources used to make the hardware are purchased from someone. That someone purchased the rights to those resources from someone, who purchased the rights from someone, who purchased the rights from someone, etc. I suppose somewhere upstream someone’s country went to war and took the rights to those resources from someone else. And, I suppose if you go far enough back, no one had “rights” to those resources before the land was “claimed”. As recent as 2005, the race was on to claim the land of the Arctic Circle. I suppose you could say that all customers began with a gift of land containing resources from God. And, SoftLayer gives free stuff to customers all the time…so…I guess God gave the land containing the resources to people…His customers!</p>
<p>Anyway, this necessity of life that we have termed “customers”, has been, and will always be, I suppose, the most important aspect of life in terms of survival. Without customers, basic necessities like food cannot be purchased. In other words, without customers, you cannot be a customer. And, if you are not a customer, you must, therefore, be dead. So, in terms on everyone being dependent on being a customer and having customers, we all depend on each other like a family of customers. And, we must take care of our family.</p>
<p>We know that our survival, here at SoftLayer, depends on our customers (our family) and that their survival depends on us. We take this responsibility very seriously and work very hard to provide for our family the way that we would like to be provided for.</p>
<p>In conclusion, I feel that we, here at SoftLayer, do a pretty good job of taking care of our “family”, and in turn, our family of customers do a great job of taking care of us. As we continue to grow together, our success will benefit each other for years and years to come.</p>
<p>*If you do not understand any of this, just write it off to the insane ramblings of a tired CSA at the end of a long, challenging, and yet satisfying day at Softlayer working for his family.</p>
<p>-David</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2008/a-little-philosophical-thought-the-softlayer-family-tree/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
