<?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>NewSourceMedia Blog &#187; Hosting</title>
	<atom:link href="http://newsourcemedia.com/blog/category/hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Fri, 30 Dec 2011 04:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Top 10 useful SSH terminal commands.</title>
		<link>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/</link>
		<comments>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 02:30:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[virtual server]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=813</guid>
		<description><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/"><img title="Top 10 useful SSH terminal commands." src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="Top 10 useful SSH terminal commands." width="200" height="200" /></a></span><br/>Now that you have a virtual server setup, you can enjoy the benefits of managing your server as root (super admin). With root level access, you can send commands to your server using a bash terminal. Here are the common &#8230; <a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/"><img title="Top 10 useful SSH terminal commands." src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="Top 10 useful SSH terminal commands." width="200" height="200" /></a></span><br/><a href="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1.png"><img class="alignnone size-medium wp-image-815" title="img_Terminal" src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="" width="300" height="300" /></a>

Now that you have a virtual server setup, you can enjoy the benefits of managing your server as root (super admin). With root level access, you can send commands to your server using a bash terminal. Here are the common commands:
<ul>
	<li><strong>man</strong> - stands for manual. Very useful command if you are just getting started with Linux. You can invoke 'man', followed by any other Linux command (cd, for example) and it will display detailed description and list of all available options.</li>
	<li><strong>cd</strong> - cd is short for 'change directory'. Allows browsing between different folders of your VPS.</li>
	<li><strong>cp, mv, rm</strong> - great commands for basic file management. You can copy (cp), move (mv) or remove (rm) files/folders this way from your server.</li>
	<li><strong>grep</strong> - grep permits you to print lines that match a particular pattern. Useful if you are looking for a phrase or or line in a large text file (logs, for example).</li>
	<li><strong>ls</strong> - allows you to list the content of a directory. Using "ls -la" will also show you hidden files/directories (those starting with a dot) and additional attributes, such as permissions and ownership.</li>
	<li><strong>chown, chmod</strong> - every file or directory has its own ownerhip rights - user and group. With "chown" you can modify those parameters and "chmod" gives you the ability to change permissions (read, write, execute) for the owner, group and the rest of the users, accessing that file/directory.</li>
	<li><strong>nano, vi </strong>- "nano" and "vi" are probably the two most popular Linux text editors. You may find "nano" easier to use, while "vi" appears as the preferred editor among more experienced.</li>
	<li><strong>top, ps</strong> - "top" provides you with a periodic update (every five seconds by defaut) of running Linux tasks, while "ps" takes a snapshot of all current processes and prints it on your screen.</li>
	<li><strong>df -h, du -hs </strong>- shows you the current overall use of your disk in gygabytes (df -h)."du -hs" calculates the total size of a directory in a human readable format (e.g., 1K 234M 2G).</li>
</ul>
Here are <strong>two bonus</strong> commands for checking <strong>DESK SPACE</strong> and <strong>RAM</strong> usages:

To check out the disk space usage on your server, execute this command:
<strong>df -h</strong>
And to see the memory usage:
<strong>free -m</strong>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to unzip or extract .tgz or .tar.gz Files using SSH</title>
		<link>http://newsourcemedia.com/blog/how-to-unzip-or-extract-using-ssh/</link>
		<comments>http://newsourcemedia.com/blog/how-to-unzip-or-extract-using-ssh/#comments</comments>
		<pubDate>Fri, 27 May 2011 15:24:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=780</guid>
		<description><![CDATA[To extract .tar.gz or .tgz files from terminal or via ssh tar -zxvf file.tar.gz or tar -zxvf filename.tgz &#160;]]></description>
			<content:encoded><![CDATA[<h1><span style="font-size: 13px; font-weight: normal;">To extract .tar.gz or .tgz files from terminal or via ssh</span></h1>
<div>

tar -zxvf file.tar.gz

or

tar -zxvf filename.tgz

</div>
&nbsp;]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/how-to-unzip-or-extract-using-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change the permissions of a file in SSH</title>
		<link>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/</link>
		<comments>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 03:31:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=601</guid>
		<description><![CDATA[More here http://manojkumar.org/some-basic-ssh-and-linux-commands/ <a href="http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[To change the permissions of a file in SSH, once you have logged in, you can use the CHMOD command. Here are a few common examples of CHMOD:<span id="line-17"> </span><span id="line-18"> </span>

chmod number filename<span id="line-19"> </span>
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">chmod 600 example.html - This will give the file read and write permissions by the owner only (-rw-------).
chmod 644 example.html - This will give the file read and write permissions by the owner and read by everyone else (-rw-r--r--).
chmod 700 example.html - This will give the file read, write and execute permissions by the owner only (-rwx------).
chmod 755 example.html - This will give the file read, write and execute permissions by the owner, read and execute permissions by the group and others (-rwxr-xr-x)
chmod 666 example.html - This will give the file read and write permissions by everyone(-rw-rw-rw-) (NOT RECOMMENDED)
chmod 777 example.html - This will give the file read, write and execute permissions by everyone (-rwxrwxrwx) (NOT RECOMMENDED)</pre>
<h3 id="head-cd4b3bc8d6be7ec6ccd242b1d4f60d747e0479a8" style="font-size: 9pt; font-weight: bold; color: #333333;">Changing the ownership</h3>
To change the ownership of a file in SSH, you can use the CHOWN command. e.g: chown owner filename
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">chown user example.html</pre>
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">
<div style="padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; vertical-align: top; margin: 0px; border: 0px initial initial;">
<pre style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; white-space: pre; font-family: monospace; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #c20cb9; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">chown</span> user:group <span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #000000; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">&lt;</span>directory-name<span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #000000; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">&gt;</span>

<span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #c20cb9; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">chown</span> apache avatars</pre>
</div></pre>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup MySQL Database via SSH</title>
		<link>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</link>
		<comments>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 02:44:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[MySQL / Database]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</guid>
		<description><![CDATA[First you log in using your terminal application by typing the flowing SSH command: ssh yourusername@hostname-or-ipaddress After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch &#8230; <a href="http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[First you log in using your terminal application by typing the flowing SSH command:

ssh yourusername@hostname-or-ipaddress

After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch to the "root" user. You can do so by typing the following in your terminal window:

su - root

You will have to enter a password once more. Now navagate to where you would like to store your MySQL database file. For an example of changing the directory to the "public_html" direcotry, type this:

cd /var/www/html_public

Now you can back up your db here using the following command. This command will backup all of your databases. I also chose to compress them after the pipe "|" as a gzip file. Type the following but be sure to change the user name and password to your info:

mysqldump -u yourusername -p yourpassword --all-databases | gzip &gt;databasebackup.sql.gz

You can also target single database using the following:

mysqldump -u yourUserName -p yourDBName | gzip &gt;databasebackup.sql.gz]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IPowerWeb &#8211; Web Hosting</title>
		<link>http://newsourcemedia.com/blog/ipowerweb-web-hosting/</link>
		<comments>http://newsourcemedia.com/blog/ipowerweb-web-hosting/#comments</comments>
		<pubDate>Tue, 23 Mar 2004 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Developer Resources]]></category>
		<category><![CDATA[Shared Hosting]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2004/03/22/ipowerweb-web-hosting/</guid>
		<description><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/ipowerweb-web-hosting/"><img title="IPowerWeb &#8211; Web Hosting" src="http://serverdisk.com/img_hosting/ipower.jpg" alt="IPowerWeb &#8211; Web Hosting" width="0" height="200" /></a></span><br/>$4.49/mo for Unlimited GB of Space, 2,500 Email Accounts, Free Domain Name, Quality &#38; Reliability are Important! 99.9%  30 Day $ back Guarantee. Hosting Plans from Affordable to Dedicated Servers IPOWER WEB (Free Domain Name - Hosting starting at $4.59) &#8230; <a href="http://newsourcemedia.com/blog/ipowerweb-web-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/ipowerweb-web-hosting/"><img title="IPowerWeb &#8211; Web Hosting" src="http://serverdisk.com/img_hosting/ipower.jpg" alt="IPowerWeb &#8211; Web Hosting" width="0" height="200" /></a></span><br/>$4.49/mo for Unlimited GB of Space, 2,500 Email Accounts, <strong>Free Domain Name, </strong>Quality &amp; Reliability are Important! 99.9%  30 Day $ back Guarantee.
<span id="more-245"></span>
<strong>Hosting Plans from Affordable to Dedicated Servers</strong>
<span style="color: #993300;">IPOWER WEB (Free Domain Name - Hosting starting at $4.59)</span>
<p class="content" align="left"><a href="http://serverdisk.com/?host=ipowerweb&amp;key=nsn_listing" target="_blank"><img src="http://serverdisk.com/img_hosting/ipower.jpg" border="0" alt="iPower Web Hosting" width="492" height="241" /></a>
<strong>$4.95 per Month</strong>, Unlimited GB of Space, 2,500 Email Accounts, <strong>Free Domain Name</strong>, Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, FrontPage help, online community resources and various small business solutions.
<p class="content" align="left">iPowerWeb.com #1 on the NET! Uptime, LIVE Toll FREE Support.</p>

<a href="http://serverdisk.com/?host=ipowerweb&amp;key=buynow" target="_blank"><img src="http://serverdisk.com/images/buynow-b.gif" border="0" alt="Buy Now" width="85" height="24" /></a>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/ipowerweb-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
