<?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>Webmaster-Source &#187; Linux</title>
	<atom:link href="https://www.webmaster-source.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Thu, 24 Aug 2017 02:01:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Visualizing Directory Structures with the Tree Command</title>
		<link>https://www.webmaster-source.com/2013/12/18/visualizing-directory-structures-with-the-tree-command/</link>
		<comments>https://www.webmaster-source.com/2013/12/18/visualizing-directory-structures-with-the-tree-command/#comments</comments>
		<pubDate>Wed, 18 Dec 2013 11:41:04 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Software & Scripts]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=5254</guid>
		<description><![CDATA[Sometimes good old ls just doesn&#8217;t cut it when you&#8217;re browsing directories from the command line. Sometimes you just need a more visual overview of the nested files and directories. Well, it turns out there&#8217;s a useful command for those cases, and it&#8217;s available for Linux, OS X, FreeBSD and just about any OS you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Sometimes good old <code>ls</code> just doesn&#8217;t cut it when you&#8217;re browsing directories from the command line. Sometimes you just need a more visual overview of the nested files and directories. Well, it turns out there&#8217;s a useful command for those cases, and it&#8217;s available for Linux, OS X, FreeBSD and just about any OS you can think of. (Except Windows, of course.) It&#8217;s called <a href="http://mama.indstate.edu/users/ice/tree/"><code>tree</code></a>.</p>
<p>To install it on OS X, with <a href="http://brew.sh/">Homebrew</a>:</p>
<pre class="brush: plain; title: ; notranslate">brew install tree</pre>
<p>On Ubuntu/Debian, or other Linux distros that use Debian packages:</p>
<pre class="brush: plain; title: ; notranslate">apt-get install tree</pre>
<p>To use it, just navigate to a directory and type <code>tree</code>. It has various options (visible with <code>tree --help</code>), so you can limit how many levels down it will go, exclude items that match a pattern, adjust sorting, etc.. You get a spiffy diagram that looks something like this:</p>
<pre class="brush: plain; title: ; notranslate">
.
├── application.rb
├── boot.rb
├── database.yml
├── environment.rb
├── environments
│   ├── development.rb
│   ├── production.rb
│   └── test.rb
├── initializers
│   ├── backtrace_silencers.rb
│   ├── filter_parameter_logging.rb
│   ├── inflections.rb
│   ├── mime_types.rb
│   ├── secret_token.rb
│   ├── session_store.rb
│   └── wrap_parameters.rb
├── locales
│   └── en.yml
└── routes.rb
</pre>
<p>Is that cool or what? This should be quite useful for writing tutorials, since a plain-text directory tree is more accessible than a screenshot of a file manager window.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2013/12/18/visualizing-directory-structures-with-the-tree-command/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Installing Multiple Ghost Blogs Behind NGINX on Ubuntu 12.04</title>
		<link>https://www.webmaster-source.com/2013/11/06/installing-multiple-ghost-blogs-behind-nginx-on-ubuntu-12-04/</link>
		<comments>https://www.webmaster-source.com/2013/11/06/installing-multiple-ghost-blogs-behind-nginx-on-ubuntu-12-04/#comments</comments>
		<pubDate>Wed, 06 Nov 2013 15:15:16 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Software & Scripts]]></category>
		<category><![CDATA[DigitalOcean]]></category>
		<category><![CDATA[Ghost]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=5236</guid>
		<description><![CDATA[Looking to set up a blog with Ghost? While it still has a few rough edges and missing features at the time of this writing, as it&#8217;s essentially in beta at this point (hence the &#8220;0.3&#8221; versioning), it definitely shows promise as a blogging platform. If you&#8217;re reading this, you&#8217;re probably aware that you can&#8217;t [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="//www.webmaster-source.com/wp-content/uploads/2013/10/ghost-logo.png" alt="Ghost Logo" width="196" height="135" class="alignright size-full wp-image-5201 imgborder" />Looking to set up a blog with <a href="http://ghost.org">Ghost?</a> While it still has a few rough edges and missing features at the time of this writing, as it&#8217;s essentially in beta at this point (hence the &#8220;0.3&#8221; versioning), it definitely <a href="http://www.webmaster-source.com/2013/10/02/ghost-the-new-blogging-platform-and-why-it-matters/">shows promise</a> as a blogging platform.</p>
<p>If you&#8217;re reading this, you&#8217;re <em>probably</em> aware that you can&#8217;t just FTP Ghost to a dinky shared host and expect it to run like your average PHP script. Ghost is a Node.js application, which works differently, and has yet to be adopted by services that generally cater to newbies. You&#8217;re going to need a <abbr title="Virtual Private Server">VPS</abbr> and command line access. I&#8217;m also going to assume a rudimentary knowledge of Linux commands. (You can pick up the basics pretty easily at <a href="http://linuxcommand.org/">linuxcommand.org</a> if need be.)</p>
<p>This tutorial aims to walk you through the process of installing one ore more instances of Ghost behind the NGINX server. NGINX is a fast and lightweight web server that, when configured in this manner, acts as a proxy, forwarding requests to the correct Ghost blog.</p>
<h3>DigitalOcean</h3>
<p>I&#8217;m a big fan of <a href="https://www.digitalocean.com/?refcode=b6711983671a">DigitalOcean</a>. I&#8217;ve been hosting my various web sites with them since this June, and their service has been of excellent quality. In addition to their rock-bottom price, their virtual machines have performed well and their staff has been competent and helpful. (You can find my review of DigitalOcean here.)</p>
<p>$5/month will get you a &#8220;Droplet&#8221; with 512MB of RAM, 20GB of storage on a solid state drive and plenty of data transfer. (It&#8217;s a soft cap with reasonable overages. You&#8217;re very, very unlikely to ever reach it, though. Unless you&#8217;re a popular podcaster or something, in which case you should be looking into a CDN&#8230;)</p>
<p>The figure that&#8217;s the most important is the RAM. Just like with the computer you&#8217;re using to read this, active applications reside in the system&#8217;s memory, and the amount they use varies depending on what the app is doing. Ghost, in my informal tests, doesn&#8217;t seem to be too memory-intense. So a 512MB Droplet could probably host a few Ghost blogs at once, depending on their popularity and how the system is configured.</p>
<p>There are plenty of options for a VPS, though. If you&#8217;re not too keen on DigitalOcean, <a href="https://www.linode.com/">Linode</a>, <a href="http://www.rackspace.com/">Rackspace</a>, <a href="http://aws.amazon.com/ec2/">Amazon EC2</a> and <a href="http://ramnode.com/">RamNode</a> are popular. If you want to give DigitalOcean a try, you can sign up with the promo code DIVEIN5 to get a $5 credit. You can also pay by the hour if you just want to fire up a VM for a few hours to experiment before making a decision.</p>
<h3>Initial Setup</h3>
<p>Once you&#8217;ve got your VPS, it&#8217;s time to start setting things up. For simplicity, I will assume you are running Ubuntu 12.04. You can follow along with any Linux distribution on any hosting provider, but some commands may be a little different.</p>
<p>First, if you haven&#8217;t already, use SSH to log in to your <abbr title="Virtual Machine">VM</abbr> as <code>root</code>, using the password your host gave you. Take this opportunity to change your password to something different, and reasonably strong, for security. Just run the <code>passwd</code> command and follow the on-screen instructions.</p>
<p>Now let the system update its package index by running the following command:</p>
<pre class="brush: bash; title: ; notranslate">apt-get update</pre>
<p>While you&#8217;re at it, install the <code>unzip</code> tool so you can unpack the Ghost archive later on.</p>
<pre class="brush: bash; title: ; notranslate">apt-get install unzip</pre>
<p><span id="more-5236"></span></p>
<h3>Installing Node.js</h3>
<p>Now we need to install <a href="http://nodejs.org/">Node.js</a>, the JavaScript platform that Ghost is built on. Ubuntu&#8217;s pre-made package probably isn&#8217;t new enough to run Ghost, so we&#8217;ll have to compile it ourselves.</p>
<p>First, install the Linux build tools through Ubuntu&#8217;s package manager. This will install the necessary compilers, as well as the <code>make</code> tool.</p>
<pre class="brush: bash; title: ; notranslate">apt-get install build-essential</pre>
<p>Now you need to change to your home folder, make a new directory to contain the source, and download Node.js.</p>
<pre class="brush: bash; title: ; notranslate">
cd
mkdir src
cd src
wget http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz
</pre>
<p>If you run <code>ls</code>, you should see the archive in the src directory. If the file was successfully downloaded, you can unpack the archive and change to the resulting directory.</p>
<pre class="brush: bash; title: ; notranslate">
tar -zxvf node-v0.10.21.tar.gz
cd node-v0.10.21
</pre>
<p>Ready to compile? After you run the next two commands, be prepared to wait 5-10 minutes while the system works its magic and converts raw source code into an executable binary.</p>
<pre class="brush: bash; title: ; notranslate">
./configure
make
</pre>
<p>Once the messages stop scrolling by and the command prompt returns, you just need to run the installer.</p>
<pre class="brush: bash; title: ; notranslate">
make install
</pre>
<p>Congratulations, you&#8217;ve successfully compiled and installed a program from source! To verify that everything worked properly, run <code>node -v</code>. It should output the Node.js version, which in this case is v0.10.21. (Or a greater version if there is a newer one out by the time you read this.)</p>
<h3>Ghost Installation</h3>
<p>The next step is to install a copy of Ghost for each of your blogs. First, let&#8217;s make a place for them to reside in.</p>
<pre class="brush: bash; title: ; notranslate">
mkdir /var/ghost
cd /var/ghost
</pre>
<p>If you intend to use an FTP client to make it easier to upload themes or such, /var/ghost is the place where your blogs&#8217; files will be found. So it&#8217;s a good path to remember. (On a related note, the SSH process also doubles as a secure FTP server. If your FTP client supports SFTP, you can connect to the domain/IP and log in with a valid username and password.)</p>
<p>To add a copy of Ghost, just follow these steps:</p>
<pre class="brush: bash; title: ; notranslate">
mkdir myghostblog
cd myghostblog
wget https://ghost.org/zip/ghost-0.3.3.zip
unzip ghost-0.3.3.zip
rm ghost-0.3.3.zip
npm install --production
</pre>
<p>What you&#8217;re doing is:</p>
<ol>
<li>Creating a folder for the blog</li>
<li>Changing to that folder</li>
<li>Downloading Ghost</li>
<li>Unzipping Ghost</li>
<li>Removing the .zip file</li>
<li>Installing Ghost</li>
</ol>
<p>Before we can actually start Ghost up, there is some essential configuration that needs to be adjusted.</p>
<p>Copy the example configuration file to a new <code>config.js</code> file with <code>cp config.example.js config.js</code>. Open the <code>config.js</code> file in the <code>nano</code> text editor with <code>nano config.js</code>. Use the arrow keys to scroll down to where the &#8220;production&#8221; environment starts in the config. It looks something like this:</p>
<pre class="brush: jscript; title: ; notranslate">
production: {
    url: 'http://my-ghost-blog.com',
    mail: {},
    database: {
        client: 'sqlite3',
        connection: {
            filename: path.join(__dirname, '/content/data/ghost.db')
        },
        debug: false
    },
    server: {
        host: '127.0.0.1',
        port: '2368'
    }
},
</pre>
<p>There are three things you need to change:</p>
<ol>
<li>The <code>url</code> field. Replace <code>http://my-ghost-blog.com</code> with <code>http://whatever-your-domain-is.com</code>.</li>
<li>The <code>port</code> field in the <code>server</code> block may need to be changed, depending on whether this is the first blog you&#8217;re setting up or not.</li>
</ol>
<p>To save the file, press control+o and, then control+x to exit.</p>
<p>Web browsers, by default, connect to HTTP port 80 when requesting a web page. The way we&#8217;re setting this up, NGINX will listen on port 80, waiting for requests, and forward them to the ports your Ghost blogs are listening on. So Blog A can listen on port 2368 and Blog B can listen on port 2369. NGINX will listen on port 80, figure out which domain name belongs to which blog, and route the requests to the appropriate port.</p>
<p>Repeat the relevant steps in this section to set up additional blogs. You can wait until after you&#8217;ve finished setting up the first, if you want.</p>
<h3>Upstart</h3>
<p>We need to make it easy to start and stop the Ghost processes, and ensure that they come back online automatically if the server is restarted. On Ubuntu, it&#8217;s super simple with a system known as Upstart.</p>
<p>First, create a new Upstart configuration file called <code>ghost.conf</code>.</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/init
nano ghost.conf
</pre>
<p>Now fill it with the following Upstart script, replacing <code>myghostblog</code> with the directory you created for your blog:</p>
<pre class="brush: plain; title: ; notranslate">
start on startup

script
    cd /var/ghost/myghostblog
    npm start --production
end script
</pre>
<p>If you have multiple Ghost blogs set up, you would do something like this:</p>
<pre class="brush: plain; title: ; notranslate">
start on startup

script
    cd /var/ghost/myghostblog
    npm start --production
    cd /var/ghost/myotherghostblog
    npm start --production
end script
</pre>
<h3>NGINX Installation</h3>
<pre class="brush: bash; title: ; notranslate">
apt-get install nginx
</pre>
<p>That was easy, wasn&#8217;t it?</p>
<h3>NGINX Configuration</h3>
<p>NGINX keeps its site configuration files in two directories within <code>/etc/nginx</code>:</p>
<ul>
<li><code>sites-available</code> — Each site gets its own configuration file in here</li>
<li><code>sites-enabled</code> — This directory contains <a href="http://en.wikipedia.org/wiki/Symbolic_link">symbolic links</a> pointing to the files in <code>sites-available</code>.</li>
</ul>
<p>Let&#8217;s create a new site configuration for <code>myghostblog</code>.</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/nginx/sites-available
nano myghostblog
</pre>
<p>A simple configuration that does nothing but pass traffic addressed to <code>my-awesome-ghost-blog.com</code> to the Ghost blog listening on port 2368 looks like this:</p>
<pre class="brush: plain; title: ; notranslate">
server {
    server_name my-awesome-ghost-blog.com;

    location / {
        proxy_pass http://127.0.0.1:2368;
    }
}
</pre>
<p>Of course, <a href="http://wiki.nginx.org/Main">NGINX</a> is a powerful and flexible piece of software that is capable of a lot more. This is just one of many things you can use it for.</p>
<p>As before, save the file by pressing control+o and quit nano with control+x. Next, move back up one directory level to /etc/nginx and create a symbolic link in <code>sites-enabled</code>, pointing to the file in <code>sites-available</code>.</p>
<pre class="brush: bash; title: ; notranslate">
cd ../
ln -s sites-available/myghostblog sites-enabled/myghostblog
</pre>
<h3>Fire it Up</h3>
<p>Now that you have everything configured, you can start (or stop) the processes with the <code>service</code> command.</p>
<pre class="brush: bash; title: ; notranslate">
service ghost start
service nginx start
</pre>
<p>You can replace <code>start</code> with <code>stop</code> to exit ghost or nginx if you have reason to do so, or <code>restart</code> if you need to reload one after making some sort of change. (e.g. editing Ghost&#8217;s <code>config.js</code> file requires that Ghost be restarted.) NGINX can reload its config files without doing a full restart of the process with <code>service nginx reload</code>, which takes less time and is useful when making edits.</p>
<p>If all went well, you should be able to open your Ghost blog in a browser.</p>
<h3>Managing Memory</h3>
<p>How much memory is Ghost using, you may wonder. And if you aren&#8217;t, you probably should. The enemy of performance on web servers is <a href="http://en.wikipedia.org/wiki/Paging">swapping</a>, which is where the system runs out of available RAM and starts copying things back and forth to the hard disk, causing major slowdowns. This is frequently referred to as &#8220;thrashing.&#8221; Even a fast solid state drive is orders of magnitude slower than RAM.</p>
<p>There are some useful tools for monitoring available RAM and inspecting active processes. The most commonly used ones are <code>free</code>, <code>top</code>, and <code>ps</code>.</p>
<p>The <code>free</code> command shows the system&#8217;s memory totals. If you run it with the <code>m</code> flag (<code>free -m</code>) to show the values in human-readable megabytes instead of plain bytes, you should see something like this:</p>
<pre class="brush: bash; title: ; notranslate">
root@DeepSpaceNine:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           369        129        239          0         11         51
-/+ buffers/cache:         67        302
Swap:          767          0        767
</pre>
<p>The most important line is the one labeled <code>-/+ buffers/cache</code>. Modern operating systems don&#8217;t waste memory. If nothing else is making use of it, the OS will make use of it until the space is needed. The <code>-/+</code> line shows the usage sans caches. In this example, there are 302MB of free memory with only 67 being in use. There is also nothing in swap, which is exactly what you want to see.</p>
<p>The <code>top</code> command shows a live-updated table of currently running processes, and statistics for them. By default, it&#8217;s sorted by CPU activity, but you can sort by memory usage by pressing shift+M.</p>
<p style="text-align: center;"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-5237 imgborder" alt="The top command" src="//www.webmaster-source.com/wp-content/uploads/2013/11/ghost-top-cmd.png" width="600" height="381" /></p>
<p>Pressing control+C exits <code>top</code>.</p>
<p>Need to see a list of all running processes? Run <code>ps aux</code>. Be prepared for a huge list, as it will be full of system processes.</p>
<h3>Conclusion</h3>
<p>I hope this guide helps you get started with Ghost. I realize it is a bit technical, something the upcoming hosted service and DigitalOcean&#8217;s <a href="https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-ghost-application">one-click Ghost image</a> should help obviate, but hey, it&#8217;s new. It was harder to get up an running with WordPress back in 2003, too.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2013/11/06/installing-multiple-ghost-blogs-behind-nginx-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>242</slash:comments>
		</item>
		<item>
		<title>4 Useful cURL Tricks</title>
		<link>https://www.webmaster-source.com/2012/12/26/4-useful-curl-tricks/</link>
		<comments>https://www.webmaster-source.com/2012/12/26/4-useful-curl-tricks/#comments</comments>
		<pubDate>Wed, 26 Dec 2012 11:28:09 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4927</guid>
		<description><![CDATA[cURL is pretty much the universal go-to tool for testing HTTP responses from the command line. If you&#8217;re not already familiar with it, here are a few handy things you can use it for. Checking Headers You can use cURL to see the headers sent in a request. I use this all the time to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://curl.haxx.se/">cURL</a> is pretty much the universal go-to tool for testing HTTP responses from the command line. If you&#8217;re not already familiar with it, here are a few handy things you can use it for.</p>
<h3>Checking Headers</h3>
<p>You can use cURL to see the headers sent in a request. I use this all the time to see if the headers I&#8217;m trying to send in a script are working right.</p>
<pre class="brush: bash; title: ; notranslate">
$ curl -I http://www.google.com
</pre>
<pre class="brush: bash; title: ; notranslate">
HTTP/1.1 200 OK
Date: Thu, 06 Dec 2012 02:45:58 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-1
(...)
</pre>
<h3>Sending POST Requests</h3>
<p>I was working on a project recently that involved receiving POST requests from a client script running on another server. Since there was no convenient HTML form to use to repeatedly test changes made to the API, I ended up using cURL. Sending POST data is a simple matter of passing an argument that looks something like a query string.</p>
<pre class="brush: bash; title: ; notranslate">
curl http://example.org/url-to-recieve-post-request -d &quot;name=Gandalf&amp;type=wizard&quot;;
</pre>
<p><span id="more-4927"></span></p>
<pre></pre>
<h3>Spoofing User Agents</h3>
<p>You can edit the user agent sent along with the request, which is another thing I&#8217;ve found useful in testing.</p>
<pre class="brush: bash; title: ; notranslate">
curl http://example.org -d &quot;name=Gandalf&amp;type=wizard&quot; --user-agent &quot;WordPress&quot;
</pre>
<h3>Downloading Files</h3>
<p>While my first instinct is usually to use <code>wget</code> to quickly snag a remote file, that particular package isn&#8217;t installed on every system. I don&#8217;t believe OS X includes it by default (though that&#8217;s nothing <a href="http://mxcl.github.com/homebrew/">Homebrew</a> can&#8217;t take care of), for example. cURL can also be used to quickly download and save a remote URL to your current directory.</p>
<pre class="brush: bash; title: ; notranslate">
curl -O http://wordpress.org/latest.zip
</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2012/12/26/4-useful-curl-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are Some Good Places to Find Linux Server Tutorials?</title>
		<link>https://www.webmaster-source.com/2010/10/01/what-are-some-good-places-to-find-linux-server-tutorials/</link>
		<comments>https://www.webmaster-source.com/2010/10/01/what-are-some-good-places-to-find-linux-server-tutorials/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 11:20:46 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=3600</guid>
		<description><![CDATA[Are you planning on moving from shared hosting to a more robust hosting platform, such as a VPS? It&#8217;s easy enough to find a provider, such as VPS.net, Linode or Slicehost. But that&#8217;s just the beginning. You have to learn how to set up and maintain your new server. Here are a few resources to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Are you planning on moving from shared hosting to a more robust hosting platform, such as a VPS? It&#8217;s easy enough to find a provider, such as <a href="http://manage.aff.biz/z/158/CD2985/">VPS.net</a>, <a href="http://www.linode.com/">Linode</a> or <a href="http://www.slicehost.com/">Slicehost</a>. But that&#8217;s just the beginning. You have to learn how to set up and maintain your new server.</p>
<p>Here are a few resources to help you figure things out:</p>
<ul>
<li><a href="http://www.howtoforge.com/">HowtoForge</a> — All sorts of Linux tutorials. They have guides to setting up server configurations on the various Linux flavors, as well as basic  introductions to Linux.</li>
<li><a href="http://articles.slicehost.com/sitemap">Slicehost Article Repository</a> — Even if you aren&#8217;t a Slicehost customer, you will find some invaluable guides and tutorials here.</li>
<li><a href="http://library.linode.com/">Linode Library</a> — Much like Slicehost, Linode maintains a collection of useful tutorials.</li>
<li><a href="https://help.ubuntu.com/">Official Ubuntu Documentation</a> — Select your version of Ubuntu and look for the &#8220;Server Guide&#8221; link.</li>
<li>Google! — Search engines are your friend. If you don&#8217;t know what something means or you want to learn how to do something, search for a tutorial. The chances are good that someone else has already written something on the subject.</li>
</ul>
<p>If you really get stuck, try leaving your question on your host&#8217;s forum or on <a href="http://serverfault.com/">Server Fault</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2010/10/01/what-are-some-good-places-to-find-linux-server-tutorials/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>No Support Linux Hosting</title>
		<link>https://www.webmaster-source.com/2010/06/21/no-support-linux-hosting/</link>
		<comments>https://www.webmaster-source.com/2010/06/21/no-support-linux-hosting/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:02:15 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=3410</guid>
		<description><![CDATA[We ignore the support questions and pass the savings on to you. Not lazy. Efficient. That&#8217;s the slogan for No Support Linux Hosting, a company providing ridiculously cheap web hosting. You pay $1 per month for shared hosting with 1GB of disk space, a 10GB transfer caps, 3 MySQL databases, cPanel and 25 email accounts. [&#8230;]]]></description>
				<content:encoded><![CDATA[<blockquote><p>We <em>ignore</em> the support questions and pass the savings on to <em>you</em>. Not lazy. Efficient.</p></blockquote>
<p>That&#8217;s the slogan for <a href="http://www.nosupportlinuxhosting.com/">No Support Linux Hosting</a>, a company providing ridiculously cheap web hosting. You pay $1 per month for shared hosting with 1GB of disk space, a 10GB transfer caps, 3 MySQL databases, cPanel and 25 email accounts. Just one dollar.</p>
<p>It seems like a great deal for small websites or, as they suggest, someone looking to resell to clients. You pay $1 monthly to host a client&#8217;s website, charge them a few dollars, and handle the support yourself.</p>
<p>The billing system is interesting as well. You pre-pay a certain number of credits through PayPal, and No Support Linux Hosting dips into your pool of credits as necessary. The initial registration is free, as you don&#8217;t need to pay for anything until you actually start using the service.</p>
<p>$12/year for hosting is a pretty good deal. Couple it with $8.99 or so for a domain from your registrar of choice, and you can launch a website on a very tight budget.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2010/06/21/no-support-linux-hosting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatic Amazon S3 Backups on Ubuntu/Debian</title>
		<link>https://www.webmaster-source.com/2010/03/15/automatic-amazon-s3-backups-on-ubuntudebian/</link>
		<comments>https://www.webmaster-source.com/2010/03/15/automatic-amazon-s3-backups-on-ubuntudebian/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 11:50:11 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=3127</guid>
		<description><![CDATA[If you manage your own web server, as you do with a VPS, one thing you need to look into is a backup strategy. It wouldn&#8217;t be pleasant for your files to vanish into the ether in the event of some sort of catastrophic server meltdown, would it? Optimally you want to, on a daily [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you manage your own web server, as you do with a VPS, one thing you need to look into is a backup strategy. It wouldn&#8217;t be pleasant for your files to vanish into the ether in the event of some sort of catastrophic server meltdown, would it? Optimally you want to, on a daily basis, offload a copy of everything important to a separate geographical location. One excellent way to do that is to follow Pro Blog Design&#8217;s new tutorial on how to <a href="http://www.problogdesign.com/how-to/automatic-amazon-s3-backups-on-ubuntu-debian/">automatically back up your files and databases to Amazon S3.</a></p>
<p>S3, or Simple Storage Service, is Amazon&#8217;s cheap cloud data storage system. Michael Martin, the author of the tutorial, says that his bill from last month was $2.60. ($0.15 per month per GB for stored, $0.15 per GB transferred.) Using a backup script on your server, you can automatically archive and encrypt your files and MySQL dumps, then send them off to Amazon&#8217;s servers for safekeeping.</p>
<blockquote><p>I should start by saying that while s3 is not a free service, it’s  incredibly inexpensive! My bill <strong>for the last month was $2.60</strong>,  and that was with backing up a lot more than just this site! It’s the  cheapest peace-of-mind ever.</p></blockquote>
<p><a href="http://www.problogdesign.com/how-to/automatic-amazon-s3-backups-on-ubuntu-debian/">Automatic Amazon S3 Backups on Ubuntu/Debian</a> [Pro Blog Design]</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2010/03/15/automatic-amazon-s3-backups-on-ubuntudebian/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get Live Access Logs With a Simple Linux Command</title>
		<link>https://www.webmaster-source.com/2009/09/24/get-live-access-logs-with-a-simple-linux-command/</link>
		<comments>https://www.webmaster-source.com/2009/09/24/get-live-access-logs-with-a-simple-linux-command/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 11:16:53 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2577</guid>
		<description><![CDATA[Here&#8217;s a neat little trick for those of you with SSH access to your Linux server. You can use a simple command to get a live-updated stream of your access log, so you can see hits as they come in. It&#8217;s sort of like the &#8220;spy&#8221; tool in Woopra or pMetrics, but geekier and with [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s a neat little trick for those of you with SSH access to your Linux server. You can use a simple command to get a live-updated stream of your access log, so you can see hits as they come in. It&#8217;s sort of like the &#8220;spy&#8221; tool in <a href="http://www.woopra.com/">Woopra</a> or <a href="http://pmetrics.performancing.com/">pMetrics</a>, but geekier and with less visual polish. <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p>
<p style="text-align: center;"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-2578 imgborder" title="Linux &quot;tail -f&quot; on an Apache Access Log" src="//www.webmaster-source.com/wp-content/uploads/linux-tail-f.jpg" alt="Linux &quot;tail -f&quot; on an Apache Access Log" width="530" height="158" /></p>
<p>First you need to connect to the server with <a href="http://en.wikipedia.org/wiki/Secure_Shell">SSH</a>. Once you&#8217;re in, change your working directory to wherever Apache stashes its log files on your system. On my Ubuntu install it&#8217;s <code>/var/log/apache2</code>. So I would type <code>cd /var/log/apache2</code> to switch to that directory. Next, run the <code>tail</code> command like so:</p>
<pre class="brush: bash; title: ; notranslate">tail -f access.log</pre>
<p><code>Tail</code> normally outputs the last several lines of a file and then returns to a prompt, but with the <code>-f</code> argument it continues to monitor the file for changes, and outputs them. So as the Apache server writes to the log file, <code>tail</code> spits the new lines out on your screen.</p>
<p>When you&#8217;re done, press <code>Ctrl+C</code> to terminate the tail process and go back to the shell prompt.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2009/09/24/get-live-access-logs-with-a-simple-linux-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Set Up a Linux Server</title>
		<link>https://www.webmaster-source.com/2008/12/10/how-to-set-up-a-linux-server/</link>
		<comments>https://www.webmaster-source.com/2008/12/10/how-to-set-up-a-linux-server/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 11:48:05 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=1557</guid>
		<description><![CDATA[Since I&#8217;ve been planning on moving to a VPS server sometime in the coming months, I&#8217;ve been reading up on server administration. How to set up Linux to serve web pages and parse PHP, how to not leave the door wide open to attackers, how to manage Apache, all that jazz. It&#8217;s all rather complicated [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Since I&#8217;ve been planning on moving to a VPS server sometime in the coming months, I&#8217;ve been reading up on server administration. How to set up Linux to serve web pages and parse PHP, how to not leave the door wide open to attackers, how to manage Apache, all that jazz. It&#8217;s all rather complicated at a glance, though luckily not too much so once you get into it. I&#8217;m doing my best to prepare myself so I&#8217;m not overwhelmed when the time comes to switch servers.</p>
<p>The folks over at NETTUTS must be psychic or something. They seemed to know that I was semi-actively looknig for information on this topic, since they recently published a tutorial on setting up an Ubuntu webserver. I had a &#8220;well that&#8217;s cool&#8221; moment when I saw it in my feed reader.<span id="more-1557"></span></p>
<blockquote><p>All great websites have a great server behind them. In this tutorial, I&#8217;ll show you how to set up a dedicated web server (with Apache, MySQL, and PHP) <strong>using that old computer you have lying around the house and some free software.</strong></p></blockquote>
<p>Link: <a href="http://nettuts.com/articles/news/how-to-setup-a-dedicated-web-server-for-free/">How to Setup a Dedicated Web Server for Free</a></p>
<p>The article shows you step-by-step, with a screenshot for every step, how to install Ubuntu and get it running Apache with PHP and MySQL. It&#8217;s long, but easy to follow and very informative.</p>
<p>If you&#8217;re like me, you&#8217;ll want to learn even more than one post can provide. <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> So here are a few other guides and such worth taking a peek at.</p>
<ul>
<li><a href="http://doc.ubuntu.com/ubuntu/serverguide/C/">Ubuntu Server Guide</a></li>
<li><a href="http://www.sitepoint.com/article/installing-apache-tutorial/">Installing [and Configuring] Apache Tutorial</a></li>
<li><a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/documentation">Ubuntu Server Resources and Documentation</a></li>
<li><a href="http://www.reallylinux.com/docs/admin.shtml">Linux Commands for Beginning Server Administators</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2008/12/10/how-to-set-up-a-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-05-20 14:45:57 by W3 Total Cache
-->