<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>vpsBible Forums &#187; Forum: vpsBible News - Recent Topics</title>
		<link>http://vpsbible.com/forums/forum/vpsbible-news</link>
		<description>Setup Unmanaged VPS for Linux Noobs!</description>
		<language>en-US</language>
		<pubDate>Wed, 23 May 2012 02:34:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://vpsbible.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://vpsbible.com/forums/rss/forum/vpsbible-news/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>the_guv on "Bible &#38; Stacks Updated for PHP-FPM .."</title>
			<link>http://vpsbible.com/forums/topic/bible-stacks-updated-for-php-fpm#post-1489</link>
			<pubDate>Mon, 20 Sep 2010 19:07:33 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">1489@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Just to let y'all know, I've updated the modular Nginx guide and the LEMP stackscripts to use the new installation procedure for &#60;strong&#62;PHP-FPM&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;The difference is that PHP-FPM can now be installed from repositories, rather than compiled, which will make maintaining the program easier too. &#60;/p&#62;
&#60;p&#62;Otherwise, I've added &#60;strong&#62;logrotate&#60;/strong&#62; to the LEMP scripts and will build this functionality into the Nginx guide and LAMP scripts shortly.&#60;/p&#62;
&#60;p&#62;Hope that helps. Let me know any bugs or queries. Thank you.
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "Server Structure News EMAIL .. chat here!"</title>
			<link>http://vpsbible.com/forums/topic/server-structure-news-email-chat-here#post-1151</link>
			<pubDate>Fri, 16 Jul 2010 07:41:22 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">1151@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Here's the circular I sent out .. tips and so on appreciated.&#60;/p&#62;
&#60;p&#62;##########&#60;/p&#62;
&#60;p&#62;* Users and Groups&#60;br /&#62;
* Web Directory&#60;br /&#62;
* Stackscripts&#60;br /&#62;
* Nginx version&#60;br /&#62;
* PHP update&#60;/p&#62;
&#60;p&#62;##Users and Groups&#60;/p&#62;
&#60;p&#62;Up to now, vpsBible's setup of users and groups has not been as scalable as it might be and, procrastination aside, this is an issue I have been toying with. Here are the changes I have made and would recommend all of you to consider implementing or at least to be aware of, particularly if you have a few sites with various web applications. First some theory ..&#60;/p&#62;
&#60;p&#62;#Who owns the web files?&#60;/p&#62;
&#60;p&#62;You should. Not the webserver, not any other user. This is a security thing.&#60;/p&#62;
&#60;p&#62;Then again, the web server often needs access to read and write web files.&#60;/p&#62;
&#60;p&#62;So. Short of implementing relatively complicated &#34;security in depth&#34; strategies (such as chroot'ing, suPHP and Grsecurity kernel hardening .. all of which the bible will be addressing, by the way), here is my recommendation ..&#60;/p&#62;
&#60;p&#62;Make a third party group such as &#34;webmasters&#34; your web files' group owner and add trusted users such as Nginx or Apache to that group, and perhaps add members of your web development team.&#60;/p&#62;
&#60;p&#62;Now we have a structure like this:-&#60;/p&#62;
&#60;p&#62;type           perms               user   group&#60;/p&#62;
&#60;p&#62;file            644                USER    webmasters&#60;br /&#62;
dir             755                USER    webmasters&#60;/p&#62;
&#60;p&#62;NOTE: some file permissions can be reduced and, in the case of database-connecting configuration files, that's better. (vpsB's wp-config.php is &#34;040&#34;.) Always test applications with &#34;least privilege permissions&#34; and elevate from there as required. 777 permissions are never acceptable.&#60;/p&#62;
&#60;p&#62;There is a useful permissions calculator at Guvnr:-&#60;/p&#62;
&#60;p&#62;Permissions calculator - &#60;a href=&#34;http://guvnr.com/chmod.html&#34; rel=&#34;nofollow&#34;&#62;http://guvnr.com/chmod.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;#Implementing Users, Groups and Permissions&#60;/p&#62;
&#60;p&#62;To add users such as Nginx (www-data) to webmasters do this:-&#60;/p&#62;
&#60;p&#62;sudo usermod -a -G webmasters www-data&#60;/p&#62;
&#60;p&#62;Then, to ensure the correct permissions to your web directory do this:-&#60;/p&#62;
&#60;p&#62;sudo find /path/to/public_html/ -type d -exec chmod 755 {} \;&#60;br /&#62;
sudo find /path/to/public_html/ -type f -exec chmod 644 {} \;&#60;br /&#62;
sudo find /path/to/public_html/ -exec chown -R USER:webmasters {} \;&#60;/p&#62;
&#60;p&#62;.. changing the paths and your username. Then tweak individual special files to lower permissions. &#60;/p&#62;
&#60;p&#62;Anyway, the above is a more scalable multi-site solution.&#60;/p&#62;
&#60;p&#62;##Web Directory&#60;/p&#62;
&#60;p&#62;I have changed this too, again to be more scalable for those who add sites and new human users with their own sites. The web directory used to be at:-&#60;/p&#62;
&#60;p&#62;/home/public_html&#60;/p&#62;
&#60;p&#62;I have changed this to:-&#60;/p&#62;
&#60;p&#62;/home/USER/public_html&#60;/p&#62;
&#60;p&#62;Both the above changes are now reflected in all vpsBible docs.&#60;/p&#62;
&#60;p&#62;If you want to keep to /home/public_html, fine, just replace any future vpsB mentions of /home/USER/public_html with /home/public_html. You can use both, by the way .. your web server will find whatever root directive is mentioned in your virtual host files.&#60;/p&#62;
&#60;p&#62;##Nginx Version&#60;/p&#62;
&#60;p&#62;We're at 0.7.67 now so if you haven't upgraded in a few versions you may like to recompile. This guide will show you how:-&#60;/p&#62;
&#60;p&#62;Upgrade to Nginx Latest Version with ZERO Downtime - &#60;a href=&#34;http://vpsbible.com/web-servers/upgrade-nginx/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/web-servers/upgrade-nginx/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;At some stage I'll be turning that tutorial into a script to automate this process.&#60;/p&#62;
&#60;p&#62;##PHP update&#60;/p&#62;
&#60;p&#62;The PHP-FPM script can be improved. This is more important than anything else in the bible right now.&#60;/p&#62;
&#60;p&#62;I'm playing with new code now and will introduce this in early August, reflecting all relevant docs and along with a script to automatically recompile.&#60;/p&#62;
&#60;p&#62;##Stackscripts&#60;/p&#62;
&#60;p&#62;While writing, you may like to know that the existing stackscripts (LEMP Ubuntu and LEMP Debian) have had their corresponding notes totally rewritten and are hopefully much clearer. They have a new modular format too so are more easily maintained which helps us all, particularly with a growing library.&#60;/p&#62;
&#60;p&#62;#Authentication key problems&#60;/p&#62;
&#60;p&#62;Also I have added &#34;Lite&#34; equivalents to these stacks, so that now you can run the scripts without the authentication key option to make the install easier and without the possibility of getting locked out .. in that case I strongly recommend (for most) adding the authentication key afterwards and disabling password terminal login (see any script's notes).&#60;/p&#62;
&#60;p&#62;#New Scripts&#60;/p&#62;
&#60;p&#62;There are also new scripts for LAMP now, using Apache. No cringing! I intend to run benchmarking between Apache and Nginx in due course although this is not a priority.&#60;/p&#62;
&#60;p&#62;The &#34;Stackscripts Index Page&#34; - &#60;a href=&#34;http://vpsbible.com/vps-setup-guides/stackscripts/stackscripts-index/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/vps-setup-guides/stackscripts/stackscripts-index/&#60;/a&#62; - contains 7 scripts so far and explains the differences. That index is now linked directly from the Stacks' box on the homepage. The index page itself needs a little work but the stacks are pretty hot and massive time-savers.
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "Introducing StackScripts"</title>
			<link>http://vpsbible.com/forums/topic/introducing-stackscripts#post-670</link>
			<pubDate>Fri, 07 May 2010 16:45:33 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">670@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hey folks, &#60;/p&#62;
&#60;p&#62;You may like to take a look at:-&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/vpsbible-news/revolution/&#34;&#62;vpsBible Launches StackScripts 4 Super-Fast VPS Setup&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've set up a new forum to support the various scripts I'll be publishing.&#60;/p&#62;
&#60;p&#62;So why?&#60;/p&#62;
&#60;p&#62;I've been using some scripts myself to automate various tasks, but had never bothered to compile these into something universally handy.&#60;/p&#62;
&#60;p&#62;Finally I got round to it last week, having created a crude script to help automate the PHP benchmarking server setup, which involved, can't remember, for sure more than a dozen server setups in itself to test the various FastCGI installations.&#60;/p&#62;
&#60;p&#62;.. Damn that saved some time.&#60;/p&#62;
&#60;p&#62;And you guys have also forced my hand, there've been a few requests and comments, not least of all about &#60;a href=&#34;http://www.linode.com/?r=6358eeb99cbd464699a68ea1ee9b631906e69852&#34;&#62;Linode's&#60;/a&#62; new stackscript service ..&#60;/p&#62;
&#60;p&#62;.. I looked at a few of these and, superb as they are, they work only for the one server provider (and IMHO they don't automate enough for noobs - or for webmasters in a hurry - at least the few I've seen.&#60;/p&#62;
&#60;p&#62;But stackscripts aren't just a buzzword, they are the future for server setups and vpsBible will be reflecting this, perfecting multi-setup scripts for whatever specification.&#60;/p&#62;
&#60;p&#62;So there you go.&#60;/p&#62;
&#60;p&#62;Er, I also wanted to say sorry for having been a bit AWOL over the last week or so.  God's honest is I've had really rotten toothache, must be getting old, it's been impossible to concentrate.&#60;/p&#62;
&#60;p&#62;.. I've not forgotten my promises for a permissions and DNS guide.&#60;/p&#62;
&#60;p&#62;Bear with me .. I'll try to catch up (and stackscripts will help me to do that).
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "php-fpm tutorial done: heavily-tested &#38; seamless"</title>
			<link>http://vpsbible.com/forums/topic/php-fpm-tutorial-done-heavily-tested-seamless#post-367</link>
			<pubDate>Thu, 01 Apr 2010 18:57:22 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">367@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;hey all,&#60;/p&#62;
&#60;p&#62;Happy April Fool's, but nonetheless this post content is for real!&#60;/p&#62;
&#60;p&#62;so Drupal is checked off the list adn this week I'd planned to start the permissions series.  I got waylaid ..&#60;/p&#62;
&#60;p&#62;one or two folks were having &#34;502 Bad Gateway&#34; issues with the fastCGI tut (fixed an issue there thanks to Haynes .. tx m8, appreciated.)  I've updated the original PHP/MySQL for Nginx tut:-&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/php/speed-up-vps-config-php-xcache/&#34;&#62;Install PHP5, MySQL &#38;amp; Xcache&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;.. to allow for this possible error.&#60;/p&#62;
&#60;p&#62;But.  This problem forced my hand as well, to do something I've been wanting to for a while now ..&#60;/p&#62;
&#60;p&#62;.. there have been a lot of requests, not just here but previously at Guvnr, for an alternative to the standard php-fastCGI guide above, using &#60;strong&#62;php-fpm&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;When I originally wrote the Bible I discounted php-fpm because, at that time, it hadn't been maintained in something like a year.&#60;/p&#62;
&#60;p&#62;.. but a few months back it sprang back into life and, not only that, PHP is taking the code into its core.&#60;/p&#62;
&#60;p&#62;Coupled with the fact that it has benchmarked impressively against the fastCGI method I've been playing around with various methods of installing php-fpm, publishing yesterday what I consider to be the best of those.  &#60;strong&#62;Tested on fresh servers for Debian and Ubuntu builds:-&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/php/compile-install-php-fpm-mysql-nginx/&#34;&#62;Compile PHP-FPM (PHP5) &#38;amp; MySQL for Nginx&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This changes the order of documentation for the Nginx-VPS setup guide so I'm now reworking docs and the index order accordingly and will be adding a special &#60;strong&#62;PHP index page&#60;/strong&#62; listing the 2 current php installation options, as well as the forking tutorials written/underway/planned to explain and help you choose your preferred install procedure. It will be pretty self-explanatory.&#60;/p&#62;
&#60;p&#62;I'll add a link to that php index page in this forum.&#60;/p&#62;
&#60;p&#62;When this PHP detour is done I'll get back to that permissions series .. sorry for any inconvenience but, for anyone wanting php-fpm, I know for a fact (as does my Google search history!) that you won't find a better guide anywhere - and none that 'just work'.
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "WP-MU Checked Off, Drupal This Week!"</title>
			<link>http://vpsbible.com/forums/topic/wp-mu-checked-off-drupal-this-week#post-214</link>
			<pubDate>Sun, 14 Mar 2010 02:04:14 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">214@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hey y'all!&#60;/p&#62;
&#60;p&#62;OK, at last I'm cracking out some decent tuts and hope they're proving handy ..&#60;/p&#62;
&#60;p&#62;.. obviously it'll take a bit of time to fulfill the wishlist but please &#60;a href=&#34;http://vpsbible.com/forums/forum/suggestions-requests/&#34;&#62;keep the requests coming&#60;/a&#62;.  If someone has already requested a topic, request it anyway because I'll attend to those topics most-required.&#60;/p&#62;
&#60;p&#62;WordPress is pretty much wrapped up now with the two new posts last week which covered WordPress MU, BuddyPress and bbPress (for MU) with super-caching and pretty link Nginx configuration.&#60;/p&#62;
&#60;p&#62;This week - and I'm wrapping the code right now, it's all tested and near-as-damn-it ready to go - is &#34;Drupal Week&#34; .. and I know a lot of you have been sat patiently waiting for this.&#60;/p&#62;
&#60;p&#62;.. On Tuesday I'll set out the basic Nginx/Drupal7 procedure and then, on Thursday, expand on that showing how to set up multiple Drupal domains powered from a single Drupal platform.&#60;/p&#62;
&#60;p&#62;Next week, unless this gets shouted down, I'll be starting the Ubuntu permissions series, starting with the basics and moving on to something I know will be popular: how to add users (and their sites) so they sit pretty and your server sits protected from them.  (Then they can screw up their own database, not yours, for example.)&#60;/p&#62;
&#60;p&#62;OK, back to it, gotta go, ciao for now ..
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "Nginx Linux-to-Linux Series Modified"</title>
			<link>http://vpsbible.com/forums/topic/nginx-linux-to-linux-series-modified#post-117</link>
			<pubDate>Thu, 04 Mar 2010 05:56:17 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">117@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;You may have noticed I slipped in a new tutorial on the quiet yesterday, one that I hadn't pre-announced:-&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/remote-access/basic-ssh-local-remote-connection/&#34;&#62;Gain Access to a Remote Server from Your PC&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;.. is a verrrry basic tut but closes a gap in the docs, where the L2L series had been going round the houses a bit and was a little confusing.&#60;/p&#62;
&#60;p&#62;Anyway, hopefully now the journey from blank box to cute-as server is as straightforward for Linus advocates as it is for those with Winders at home.
&#60;/p&#62;
</description>
		</item>
		<item>
			<title>the_guv on "Site Rollout Update"</title>
			<link>http://vpsbible.com/forums/topic/hi-everyone#post-115</link>
			<pubDate>Thu, 04 Mar 2010 05:48:48 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">115@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hey folks,&#60;/p&#62;
&#60;p&#62;Just wanted to say Hi really!&#60;/p&#62;
&#60;p&#62;It's been about a few short weeks now since vpsBible launched and, let's face it, it's been a pretty buggy site rollout .. so hands up to that and I'm sorry to any of you who've had problems.&#60;/p&#62;
&#60;p&#62;This is my first forum - or rather, it's my second [hangs head] - cos I launched vpsB with a SimplePress forum but just didn't like it (way to complicato and very hard to style and I do like my blue colors, heh).  So I binned that and ripped apart bbPress which is what we have.  It's not perfect, we need stuff like a user profiles page and so on and I'll sort all that.&#60;/p&#62;
&#60;p&#62;.. but that forum change put me back rather and, hence, new tutorial docs rollout has been set back. &#60;/p&#62;
&#60;p&#62;Anyway, I guess teh site, while still a little in beta, is getting there now and, at last, I've begun to find the time to work on what you want, the knowledge base.&#60;/p&#62;
&#60;p&#62;I did want to say though, &#38;lt;thank you&#38;gt;a big thank you to all you lot for supporting this project, whether you're full-blown members or hanging about to see what happens&#38;lt;/thank you&#38;gt;.  I really appreciate it.&#60;/p&#62;
&#60;p&#62;Seems to me this forum is beginning to gain a real nice bunch of folks.&#60;/p&#62;
&#60;p&#62;Damn, lovely darling.&#60;/p&#62;
&#60;p&#62;OK .. best do something useful ..
&#60;/p&#62;
</description>
		</item>

	</channel>
</rss>

