<?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; files</title>
	<atom:link href="http://blog.softlayer.com/tag/files/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>Wed, 15 May 2013 15:33:34 +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>Tips and Tricks &#8211; How to Use SFTP</title>
		<link>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/</link>
		<comments>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 19:38:08 +0000</pubDate>
		<dc:creator>Lyndell Rottmann</dc:creator>
				<category><![CDATA[Customer Service]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SFTP]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[walkthrough]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=7619</guid>
		<description><![CDATA[Too often, new customers can get overwhelmed by a small administrative task on a Linux server. One of the more common questions I see in technical support is when a drive partition runs out of space. The website appears offline, and on of my coworkers advises you to just free-up some space. &#8220;Just?! Where can [...]]]></description>
			<content:encoded><![CDATA[<p>Too often, new customers can get overwhelmed by a small administrative task on a Linux server. One of the more common questions I see in technical support is when a drive partition runs out of space. The website appears offline, and on of my coworkers advises you to just free-up some space. &#8220;Just?! Where can I find files that are deletable without affecting my website?&#8221;</p>
<p>Don&#8217;t worry &#8230; it&#8217;s really quit simple. If you can use FTP (File Transfer Protocol), you can handle this bit of server management. Depending on the exact problem, we might instruct you to free up space by removing files in one of the following directories:</p>
<ul>
<li><code>/var/log</code></li>
<li><code>/usr/local/cpanel</code></li>
<li><code>/usr/local/apache/logs</code></li>
<li><code>/usr/local/apache/domlogs</code></li>
</ul>
<p>The reason these directories are usually overlooked is because they are not accessible by normal FTP users &mdash; users who only upload website content. When you upload website content to the server via FTP, the FTP user is limited to the directory structure for that website. Directories starting with &#8220;<code>/var</code>&#8221; and &#8220;<code>/usr</code>&#8221; cannot be accessed by these non-root users (The &#8220;root&#8221; user can access anything). And while root is a powerful user, for the sake of security, it is not normally allowed to log in over FTP because FTP is not secure &#8230; That&#8217;s where SFTP (Secure File Transfer Protocol) comes in.</p>
<p>Most FTP clients support SFTP, so you don&#8217;t have to learn a new environment to securely access any file on the server. Every FTP client is different, but I&#8217;ll illustrate with <a href="http://filezilla-project.org/">FileZilla</a> because it&#8217;s free and available on Mac, Windows and Linux. If you don&#8217;t already have an FTP client, I highly recommend FileZilla. Because there are a few ways to use FileZilla to get an SFTP connection, I can share different options for you to try:</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Quick Connect</strong></p>
<p style="margin-top:0; padding-top:0;">The Quick Connect bar is the quickest way to connect to your server. Start FileZilla and look immediately under the toolbar for the Quick Connect bar:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzquickconnect.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzquickconnect_sm.png" alt="SFTP Tutorial"/></a></p>
<p>Enter the hostname (IP address or domain name), “root” in the Username field, the root password in the Password field, and “22″ in the port field. Remember, port 22 is for SFTP, the same as SSH.  Click the Quickconnect button to connect.</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Using the Site Manager</strong></p>
<p style="margin-top:0; padding-top:0;">The Site Manager lets you save your login details. Start FileZilla and you&#8217;ll see the following:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzsitemanager.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzsitemanager_s.png" alt="SFTP Tutorial"/></a></p>
<p>To open the Site Manager, click the left-most icon in tool bar or go to <code>File &gt;&gt; Site Manager</code> in the menu.</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fznewsite.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fznewsite_s.png" alt="SFTP Tutorial"/></a></p>
<p>Enter an IP address or domain name for your server in the Host field, and select &#8220;SFTP&#8221; as your protocol. You&#8217;ll enter the root user&#8217;s login information, and you&#8217;re ready to connect by clicking the &#8220;Connect&#8221; button or you can click the &#8220;OK&#8221; button to save and close the dialog box.</p>
<p>If you just saved your settings and the Site Manager is not open, click the Site Manager icon again. From there, you can select the site under the &#8220;Select Entry&#8221; box, and you just have to click &#8220;Connect&#8221; to initiate the SFTP connection with your saved settings.</p>
<p>If you see a pop-up that warns of an &#8220;Unknown host key,&#8221; clicking the &#8220;Always trust this host, add this key to the cache&#8221; option will prevent this interruption from showing in the future. Once you click &#8220;OK&#8221; to complete the connection, your FileZilla screen should look like this:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzrootlogin.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzrootlogin_s.png" alt="SFTP Tutorial"/></a></p>
<p>Notice the &#8220;Remote site&#8221; section on the middle right of the FileZilla screen:</p>
<p><a href="http://cdn.softlayer.com/innerlayer/fzremotesite.png"><img class="centered" src="http://cdn.softlayer.com/innerlayer/fzremotesite_s.png" alt="SFTP Tutorial"/></a></p>
<p>This area in FileZilla is the directory and file listing of the server. Navigate the server&#8217;s file structure here, and click &#8220;<code>/</code>&#8221; to access the top of the folder structure. You should see the &#8220;<code>/usr</code>&#8221; and &#8220;<code>/var</code>&#8221; directories, and you can explore the filesystem to delete the files technical support recommended to create space!</p>
<p style="margin-bottom:0; padding-bottom:0;"><strong>Message Log</strong></p>
<p style="margin-top:0; padding-top:0;">If you have a problem connecting to your server by FTP or SFTP, the open area below the Quickconnect bar is the Message Log. If you can copy and paste this text into a ticket, you&#8217;ll help technical support troubleshoot your connection problems. Below is an example log of a successful FTP session:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Status: Connecting to server.example.com...
Response:   fzSftp started
Command:    open <span style="color: #ff0000;">&quot;root@server.example.com&quot;</span> <span style="color: #000000;">22</span>
Command:    Trust new Hostkey: Once
Command:    Pass: <span style="color: #000000; font-weight: bold;">**********</span>
Status: Connected to server.example.com
Status: Retrieving directory listing...
Command:    <span style="color: #7a0874; font-weight: bold;">pwd</span>
Response:   Current directory is: <span style="color: #ff0000;">&quot;/root&quot;</span>
Command:    <span style="color: #c20cb9; font-weight: bold;">ls</span>
Status: Listing directory <span style="color: #000000; font-weight: bold;">/</span>root
Status: Calculating timezone offset of server...
Command:    mtime <span style="color: #ff0000;">&quot;.lesshst&quot;</span>
Response:   <span style="color: #000000;">1326387703</span>
Status: Timezone offsets: Server: <span style="color: #660033;">-21600</span> seconds. Local: <span style="color: #660033;">-21600</span> seconds. Difference: <span style="color: #000000;">0</span> seconds.
Status: Directory listing successful</pre></div></div>

<p>And here&#8217;s an example of a failed connection:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Status: Resolving address of example.com
Status: Connecting to 192.0.43.10:<span style="color: #000000;">21</span>...
Error:  Connection timed out
Error:  Could not connect to server
Status: Waiting to retry...
Status: Resolving address of example.com
Status: Connecting to 192.0.43.10:<span style="color: #000000;">21</span>...
Error:  Connection attempt interrupted by user</pre></div></div>

<p>If you have any questions, leave them in a comment below. Enjoy your new-found SFTP powers!</p>
<p>-Lyndell</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2012/tips-and-tricks-how-to-use-sftp/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>The Beauty of IPMI</title>
		<link>http://blog.softlayer.com/2011/the-beauty-of-ipmi/</link>
		<comments>http://blog.softlayer.com/2011/the-beauty-of-ipmi/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 15:30:50 +0000</pubDate>
		<dc:creator>Danny Nguyen</dc:creator>
				<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[IPMI]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/?p=4800</guid>
		<description><![CDATA[Nowadays, it would be extremely difficult to find a household that does not store some form of media &#8211; whether it be movies, music, photos or documents &#8211; on their home computer. Understanding that, I can say with confidence that many of you have been away from home and suddenly had the desire (or need) [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays, it would be extremely difficult to find a household that does not store some form of media &ndash; whether it be movies, music, photos or documents &ndash; on their home computer. Understanding that, I can say with confidence that many of you have been away from home and suddenly had the desire (or need) to access the media for one reason or another. </p>
<p>Because the Internet has made content so much more accessible, it&#8217;s usually easy to log in remotely to your home PC using something like Remote Desktop, but what if your home computer is not powered on? You hope a family member is at home to turn on the computer when you call, but what if everyone is out of the house? Most people like me in the past would have just given up altogether since there would be no clear and immediate solution. Leaving your computer on all day could work, but what if you&#8217;re on an extended trip and you don&#8217;t want to run up your electricity bill? I&#8217;d probably start traveling with some portable storage device like a flash drive or portable hard drive to avoid the problem. This inelegant solution requires that I not forget the device, and the storage media would have to be large enough to contain all necessary files (and I&#8217;d also have to know ahead of time which ones I might need). </p>
<p>Given these alternatives, I usually found myself hoping for the best with the portable device, and as anticipated, there would still be some occasions where I didn&#8217;t happen to have the right files with me on that drive. When I started working for SoftLayer, I was introduced to a mind-blowing technology called IPMI, and my digital life has never been the same.</p>
<p>IPMI &ndash; Intelligent Platform Management Interface &ndash; is a standardized system interface that allows system administrators to manage and monitor a computer. Though this may be more than what the common person needs, I immediately found IPMI to be incredible because it allows a person to remotely power on any computer with that interface. I was ecstatic to realize that for my next computer build, I could pick a motherboard that has this feature to achieve total control over my home computer for whatever I needed. IPMI may be standard for all servers at SoftLayer, but that doesn&#8217;t mean it&#8217;s not a luxury feature. </p>
<p>If you&#8217;ve ever had the need to power on your computers and/or access the computer&#8217;s BIOS remotely, I highly suggest you look into IPMI. As I learned more and more about the IPMI technology, I&#8217;ve seen how it can be a critical feature for business purposes, so the fact that it&#8217;s a standard at SoftLayer would suggest that we&#8217;ve got our eye out for state-of-the art technologies that make life easier for our customers.</p>
<p>Now I don&#8217;t have to remember where I put that flash drive!</p>
<p>-Danny</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/the-beauty-of-ipmi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
