<?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>Shanghai Web Hosting &#187; Unmanaged Hosting</title>
	<atom:link href="http://www.shanghaiwebhosting.com/category/unmanaged-hosting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shanghaiwebhosting.com</link>
	<description>China Web Hosting Reviews of Shanghai Hosting Providers &#124; Web Hosting Tutorials &#124; Web Hosting Tips &#124; Web Hosting Class</description>
	<lastBuildDate>Tue, 13 Jul 2010 08:28:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The one dedicated server deal you&#8217;ll ever need</title>
		<link>http://www.shanghaiwebhosting.com/web-hosting-coupons/the-one-dedicated-server-deal-youll-ever-need</link>
		<comments>http://www.shanghaiwebhosting.com/web-hosting-coupons/the-one-dedicated-server-deal-youll-ever-need#comments</comments>
		<pubDate>Thu, 10 Sep 2009 13:52:19 +0000</pubDate>
		<dc:creator>China Hosting Provider</dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux Web Hosting]]></category>
		<category><![CDATA[Unmanaged Hosting]]></category>
		<category><![CDATA[Web Hosting Coupons]]></category>

		<guid isPermaLink="false">http://www.shanghaiwebhosting.com/?p=190</guid>
		<description><![CDATA[Need ultimate web hosting on a dedicated server? How about Dual Xeon 2.8Ghz, 2GB RAM, 2×73GB SCSI? Hosting the server at one of the top Data Centers of United States? With 10TB free bandwidth? How much do you think this setup would cost you per month? $300? $200? $100? Well, now you can get this server [...]]]></description>
			<content:encoded><![CDATA[<p>Need ultimate web hosting on a dedicated server?</p>
<p>How about <a style="vertical-align: baseline; outline-style: none; outline-width: initial; outline-color: initial; font-size: 100%; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; cursor: pointer; text-decoration: none; color: #551a8b; background-position: initial initial; padding: 0px; margin: 0px; border: initial none initial;" href="http://www.kavoir.com/go/theplanet/dualxeon2.8.php" target="_blank">Dual Xeon 2.8Ghz, 2GB RAM, 2×73GB SCSI</a>?</p>
<p>Hosting the server at one of the top Data Centers of United States?</p>
<p>With 10TB free bandwidth?</p>
<p>How much do you think this setup would cost you per month?</p>
<p>$300?</p>
<p>$200?</p>
<p>$100?</p>
<p>Well, now you can get this server hosted by <a href="http://www.kavoir.com/go/theplanet">The Planet</a> for just <strong>$89</strong> per month. Just use <a href="http://www.kavoir.com/2009/09/the-planet-dedicated-server-coupon-promo-code-for-50-70-off.html">this The Planet hosting coupon code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shanghaiwebhosting.com/web-hosting-coupons/the-one-dedicated-server-deal-youll-ever-need/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terse yet extremely to the point Linux Security tips and step to step guide</title>
		<link>http://www.shanghaiwebhosting.com/unmanaged-hosting/terse-yet-extremely-to-the-point-linux-security-tips-and-step-to-step-guide</link>
		<comments>http://www.shanghaiwebhosting.com/unmanaged-hosting/terse-yet-extremely-to-the-point-linux-security-tips-and-step-to-step-guide#comments</comments>
		<pubDate>Mon, 07 Sep 2009 08:43:08 +0000</pubDate>
		<dc:creator>China Hosting Provider</dc:creator>
				<category><![CDATA[Host Server Administration]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Unmanaged Hosting]]></category>
		<category><![CDATA[Web Hosting Edge]]></category>
		<category><![CDATA[Web Hosting Tutorials]]></category>

		<guid isPermaLink="false">http://www.shanghaiwebhosting.com/?p=187</guid>
		<description><![CDATA[If you are just like me who is disgusted of reading through large chunks of texts for the only particular thing that he&#8217;s interested, securing Linux can&#8217;t be any more straightforward with this exhaustive list written by Kurt Seifried. Specially made for Linux novices who are just starting to harden his servers against malicious attempts, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are just like me who is disgusted of reading through large chunks of texts for the only particular thing that he&#8217;s interested, securing Linux can&#8217;t be any more straightforward with this exhaustive list written by Kurt Seifried. Specially made for Linux novices who are just starting to harden his servers against malicious attempts, it is a good read not only because it&#8217;s useful but also because it&#8217;s easy to follow and digest.</p>
<p>Here we go: <a href="http://seifried.org/security/os/linux/20020324-securing-linux-step-by-step.html">http://seifried.org/security/os/linux/20020324-securing-linux-step-by-step.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shanghaiwebhosting.com/unmanaged-hosting/terse-yet-extremely-to-the-point-linux-security-tips-and-step-to-step-guide/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unmanaged Hosting Server Installation &amp; Initial Configuration for Dummies</title>
		<link>http://www.shanghaiwebhosting.com/unmanaged-hosting/unmanaged-hosting-server-installation-initial-configuration-for-dummies</link>
		<comments>http://www.shanghaiwebhosting.com/unmanaged-hosting/unmanaged-hosting-server-installation-initial-configuration-for-dummies#comments</comments>
		<pubDate>Sun, 31 May 2009 06:56:59 +0000</pubDate>
		<dc:creator>China Hosting Provider</dc:creator>
				<category><![CDATA[Unmanaged Hosting]]></category>
		<category><![CDATA[VPS Hosting]]></category>
		<category><![CDATA[Web Hosting Tutorials]]></category>

		<guid isPermaLink="false">http://www.shanghaiwebhosting.com/?p=60</guid>
		<description><![CDATA[Unmanaged hosting often comes with very competitive price compared to managed hosting environment, however, the drawback of which, is the steep learning curve for server noobs that unfortunately includes me. It&#8217;s meant for technically proficient ones after all. This simple tutorial will walk you through the steps needed to set up a working web server [...]]]></description>
			<content:encoded><![CDATA[<p>Unmanaged hosting often comes with very competitive price compared to managed hosting environment, however, the drawback of which, is the steep learning curve for server noobs that unfortunately includes me. It&#8217;s meant for technically proficient ones after all.</p>
<p>This simple tutorial will walk you through the steps needed to set up a working web server that&#8217;s ready to serve websites from a bare bone Linux distro (Ubuntu, in this case). It serves to be a survival guide of unmanaged hosting for novice Linux server administrators while at the same time documents my findings and learned tips for myself.</p>
<p>We will take <a href="http://www.ubuntu.com">Ubuntu</a> 9.04 (Jaunty) for example. Though all things are done at a <a href="http://www.shanghaiwebhosting.com/web-hosting/mosso-coupon-and-referral-code-for-cloud-sites-web-hosting">Mosso</a> 256 MB Cloud Server, 99% of them should work without a problem at other unmanaged hosting providers as long as the Linux distribution is identical. After this tutorial, you will have a working VPS or dedicated hosting server with update to date softwares and beginner security, in addition to necessary software packages to run and manage a LAMP web server: FTP, Apache 2, PHP 5.2.6 and MySQL.</p>
<p>Here we go. Suppose you have made the decision to go with one of the Linux distros of which I&#8217;d suggest Ubuntu and installed a plain version of it from the hosting control panel, now:</p>
<ol>
<li>You will be given a bare IP address, of course, when you have finished installing the Linux distro from the contrl panel provided by your hosting company. Download <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> and set it up to connect to your hosting server of that IP as the root via SSH. The root password should also have been revealed or emailed to you.</li>
<li><a href="http://www.shanghaiwebhosting.com/ssh-hosting/how-to-change-login-password-of-linux-ssh-user-account">Change the root password</a> to a new one.</li>
<li><a href="http://www.shanghaiwebhosting.com/ssh-hosting/change-the-default-ssh-port-22-to-a-random-one-of-your-choice">Customize the default SSH listening port of 22</a> to a custom one.</li>
<li><a href="http://www.shanghaiwebhosting.com/ssh-hosting/typical-iptables-firewall-rules-for-a-server-that-hosts-websites">Build up necessary iptables firewall rules</a>.</li>
<li>Customize shell environment and <a href="http://www.shanghaiwebhosting.com/web-hosting-tips/colorful-ls-ssh-console-and-command-prompt">make the prompt ls command listings a little more colorful</a> so it&#8217;s more readable.</li>
<li>Enable vi code highlighting (enabled by default in Ubuntu) and <a href="http://www.shanghaiwebhosting.com/web-hosting-tips/vi-code-highlighting-change-the-default-comments-color-from-dark-blue-to-light-blue">change the dark blue color for comments to a lighter blue</a>.</li>
<li>Update the software source lists in Ubuntu by:<br />
<code>aptitude update</code>And set the proper locales:<br />
<code>locale-gen en_US.UTF-8</code></li>
<li>Upgrade the current distro to its latest:<br />
<code>aptitude safe-upgrade</code>Followed by:<br />
<code>aptitude full-upgrade</code></li>
<li>Install the essential tools and packages for development, the build tools:<br />
<code>aptitude install build-essential</code></li>
<li>Install MySQL:<br />
<code>aptitude install mysql-server mysql-client</code>The installation will prompt you twice for the root password.</li>
<li>Install Apache:<br />
<code>aptitude install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert</code>Change server name in the Apache configuration:<br />
<code>vi /etc/apache2/apache2.conf</code>And add the following directive at the end of the file:<br />
<code>ServerName king</code>Change &#8216;king&#8217; to whatever you&#8217;ll name your own server. For beginner SSH users, nano would be a better choice for its intuitive editing capabilities. After restarting Apache web server gracefully by not interrupting connected clients:<br />
<code>apache2ctl graceful</code>You should be able to view the demo web page at http://(your server IP address).</li>
<li>Install PHP5:<br />
<code>aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell php5-snmp php5-sqlite php5-xmlrpc php5-xsl</code></li>
<li>Turn off server signature:<br />
<code>nano /etc/apache2/conf.d/security</code>And change:<br />
<code>ServerTokens Full</code>To:<br />
<code>ServerTokens Prod</code></li>
<li>Change the hostname of your server. Open and edit /etc/hostname:<br />
<code>vi /etc/hostname</code>To a top level domain you have registered for your website. And add it in /etc/hosts:<br />
<code>vi /etc/hosts</code>In this way:<br />
<code>127.0.0.1       example.com</code></li>
<li>Reboot by:<br />
<code>shutdown -r now</code></li>
<li>Install the mail module for your hosting server, Postfix, so the php function mail() works:<br />
<code>aptitude install postfix telnet mailx</code>Just choose &#8216;Internet Site&#8217;.</li>
<li><a href="http://www.shanghaiwebhosting.com/ssh-hosting/installing-ftp-vsftpd-service-on-ubuntu-server">Install FTP daemon service</a> so you can FTP stuff to your server as any user.</li>
<li>Install rsync so that you can easily <a href="http://www.shanghaiwebhosting.com/web-hosting-tips/backup-and-synchronize-files-between-2-or-more-hosting-servers">synchronize and backup files between 2 remote hosting servers</a>:<br />
<code>aptitude install rsync</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.shanghaiwebhosting.com/unmanaged-hosting/unmanaged-hosting-server-installation-initial-configuration-for-dummies/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing FTP (vsFTPd) Service on Ubuntu Server</title>
		<link>http://www.shanghaiwebhosting.com/ssh-hosting/installing-ftp-vsftpd-service-on-ubuntu-server</link>
		<comments>http://www.shanghaiwebhosting.com/ssh-hosting/installing-ftp-vsftpd-service-on-ubuntu-server#comments</comments>
		<pubDate>Sun, 31 May 2009 06:45:27 +0000</pubDate>
		<dc:creator>China Hosting Provider</dc:creator>
				<category><![CDATA[Host Server Administration]]></category>
		<category><![CDATA[SSH Hosting]]></category>
		<category><![CDATA[Unmanaged Hosting]]></category>

		<guid isPermaLink="false">http://www.shanghaiwebhosting.com/?p=97</guid>
		<description><![CDATA[FTP is an indispensable feature of servers that host and serve websites as it enables us to easily upload stuff to the remote server. On a Ubuntu server, with a little help of aptitude command (the package management program descended from Debian), you can install the most simple yet most common FTP daemon program for [...]]]></description>
			<content:encoded><![CDATA[<p>FTP is an indispensable feature of servers that host and serve websites as it enables us to easily upload stuff to the remote server. On a Ubuntu server, with a little help of aptitude command (the package management program descended from Debian), you can install the most simple yet most common FTP daemon program for your server: vsFTPd.</p>
<p><code>apt-get install vsftpd</code></p>
<p>It is started automatically after successful installation. Stop it:</p>
<p><code>/etc/init.d/vsftpd stop</code></p>
<p>So that you can customize the configuration file:</p>
<p><code>vi /etc/vsftpd.conf</code></p>
<p>And make it look like:</p>
<pre><code>pasv_enable=YES
pasv_max_port=8010
pasv_min_port=8001

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

idle_session_timeout=3600

chroot_local_user=YES

pam_service_name=ftp</code></pre>
<p>Restart the FTP service:</p>
<p><code>/etc/init.d/vsftpd start</code></p>
<p>Now you can try connecting to the FTP and transferring some stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shanghaiwebhosting.com/ssh-hosting/installing-ftp-vsftpd-service-on-ubuntu-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
