This reference to the best Virtual Private Server and Linux online resources range from basic beginner guides to advanced web server configuration tutorials.
Coupled with the the_guv’s original VPS Bible series, now forked to Guvnr’s sistasite at vpsBible.com, they ensure that even the greenest of Linux newbies can build an unmanaged VPS from ‘blank box to cute-as server’.
The general documentation covers Linux, Ubuntu, virtual private servers and email. The security guides are about openSSH, PuTTY and IPtables. The web server reference concerns PHP, MySQL, Nginx itself and sub-topics such as FastCGI, WordPress and Subversion.
In 20 copy/paste steps .. from zero to hero, blank box to cute-as Linux server.
Scroll down for the full series index.
So, hey, shed shared & viva virtual! Hope it helps. the_guv
Check back for updates or get them instantly, plus bonus tips, by …
VPS BIBLE – “Setup Unmanaged VPS for Noobs!”
Constantly revised, the original VPS Bible, featuring Ubuntu Server and Nginx web server, now using PHP-FPM and sporting configurations for content platforms like Drupal (7 and Multi-Sites), WordPress (and MU).
Here’s the index:-
Serve multi sites & blogs on a budget .. at the fastest possible speed .. with the least downtime .. in the most secure environment .. and future-proofed for easy admin.
That's what the VPS Bible is about, stepped out in simple copy & paste guides.
From high traffic WordPress blogs to startup web hosts, here's what you need.
Click here if you're running a LINUX PC locally
Introducing vpsBible's how-to guide for setting up a super-charged unmanaged VPS featuring Ubuntu and Nginx.
Before getting stuck in, let's compare the web host types in detail and weigh up the differences between managed & unmanaged VPS.
Opening a VPS hosting account, we'll choose, configure & launch a Linux server 'distribution'.
Now we've got a server to play with, we'll connect to it, using the 'ssh' protocol for a super-secure link.
Initially you've logged into your remote Linux machine as 'root'. We'll add you as a user now, with root or SuperUser permissions.
Now we can use 'authentication keys' to shore up our connection while simplifying login to an automated, password-free yet secure process.
The final security step: galvanizing the OpenSSH protocol and setting up an ‘iptables’ firewall. Now the server is rock ruddy solid.
We use the terminal a whole lot so let's cut ourselves a break and create some command shortcuts, then update the server.
To make your server aware of yourDomain.com you'll need a few 'DNS' records. Damn this is simple I'm practically asleep!
In order to send and receive email from our web applications we'll install some software and tweak the 'RDNS' record.
Add PHP5 & MySQL, but which FastCGI method is best? Here's the benchmarking, 4 ways to install/compile, add caching modules & more.
Let's install this supersonic web server, tweaking its file structure & adding default configuration files.
There's FTP, and then there's 'Secure FTP'. We'll set up FileZilla using SFTP - and those authentication keys - for secure file transfers.
We want a website folder structure, some permissions, some site-specific configuration files and, hey, we'll hook up 'FastCGI'.
Need a sub-domain? If you do, here’s how to add subDomain.yourSite.com with an 'A record' and a configuration file.
For those of you wanting to use a specific content framework, such as a CMS, blogging or forum software, pop in here and we'll sort that out.
Rather than have to crunch databases via the command line, we can make life easier by adding this splendid tool to manage them.
GA’s free Standard Edition for catchall webmail - POP-ping or IMAP-ped to your desktop client - saves precious server resources for your webs.
Nearly there. Here's the web site or blog migration guide, relocating to your VPS with minimal or no downtime.
You’re migrating shared-to-VPS and want a GUI like cPanel? No you don’t, not after you read this! What’s more, you don’t need one either.
For every control panel module there's an equivalent terminal command. They're all linked from here so, hey, no excuses!
Once you’ve set up your first site, adding more gets easier. Especially when you can refer to this. (Let's face it, I'm just too good to you.)
And in case that wasn’t enough
..
Without many of these pages this VPS Bible would not have been written, nor the video tutorials possible. A great big tx to the open information culture, and I hope this series in turn puts my own content karma firmly in the black
Similarly, a mighty big tx to the many dozens of forum users out there, whose questions and explanations helped me pick together the detail of the VPS Bible series.
And especially a big cheers to the folks at Linode that loaned me a VPS to play with. Damn, I’m weeks overdue, and I hope that this public grovelling ensures that they don’t decide to charge me the difference
Complete Linux PHP MySQL Nginx Reference - VPS Bible #20 - GUVNR : websiteshostingreviews.com July 9th, 2009 at 7:26 am
[...] Read more here: Complete Linux PHP MySQL Nginx Reference – VPS Bible #20 – GUVNR [...]
Complete Linux PHP MySQL Nginx Reference - VPS Bible #20 - GUVNR | Green Web hosting July 9th, 2009 at 7:45 am
[...] the original post: Complete Linux PHP MySQL Nginx Reference – VPS Bible #20 – GUVNR Top 5 Green Web Hosting Companies, Click [...]
Complete Linux PHP MySQL Nginx Reference - VPS Bible #20 - GUVNR : hostwebsitereview.com July 10th, 2009 at 11:39 am
[...] Follow this link: Complete Linux PHP MySQL Nginx Reference – VPS Bible #20 – GUVNR [...]
VNOHosting » Complete Linux PHP MySQL Nginx Reference - VPS Bible #20 - GUVNR July 23rd, 2009 at 6:49 am
[...] more here: Complete Linux PHP MySQL Nginx Reference – VPS Bible #20 – GUVNR This entry is filed under VPS Providers. You can follow any responses to this entry through the [...]
Paul Maneesilasan September 28th, 2009 at 5:05 am
First off, great tutorials! totally relevant and useful! Now that i’m at the end, I was wondering if you had any advise on backups. In my case, I have my disk space partitioned in two halves. I have been just hitting duplicate on the main one, to a copy image using the remaining space. however I think i can mount the second partition, and do some type of disk imaging to there? Maybe even do an rsync? Certainly that would be loads faster.
What do you recommend?
Curious, thanks and kudos!
-Paul
the_guv October 6th, 2009 at 6:41 am
hey Paul .. thank you, thank you, Sir.
ha, yes rsync and cron, that’ll do .. i’ve got the damn thing half-written! give me a couple weeks because i seem to have a bunch of tuts half-written
Meantime, no need to lose your shirt, in the VPS ADMIN series there’s a couple guides already for casual backups ..
dbs .. Backup/Export MySQL DB with CLI & mysqldump
files .. Backup or Upload with Secure Copy SCP (Linux/Linux)
files alt .. Backup or Upload with PuTTY PSFTP (Windows/Linux)
will have this knocked out though. actually, i need to update the index for VPS ADMIN .. it’s changed (and grown) again, heh.
Manuel Bejarano November 12th, 2009 at 11:40 pm
Dear Olly Connelly
First off, great tutorials!
Im writing from mexico and i just passed lpi 1 & 2 exams ^__^ (im looking forward to RH cert too so these tutorials gave me a glance of what can be done with a vps), i have 3 questions, i work for a hosting company and we use DirectAdmin to manage our services and so the clients have a CP, using this great bible can we:
1. instead of using nginx, use DA? or do you think it would consume a lot of resources?
2. The ConfigServer Firewall be used?
3. The backups be done using bacula? or you recomend rsync?
Once again thanx so much for your tutorials and thanx for anyone who anwers this too.
Cheers
Manuel
the_guv November 13th, 2009 at 9:46 am
@Manuel .. cheers to you.
No idea what any of those exams are, but very best of luck with them. Being a late developer, transpired that I learnt absolutely everything web-wise from the university of google, which is one of the main reasons i felt compelled to give something back with this blog .. gotta love opensource, whether it’s software or wisdom. I was a hack for years, wasting my time with some real jobsworth companies .. sometimes I wonder what I’d be doing now had I started ripping up Linux from the age of dot .. guess I’ll just have to live an extra 20 years to catch up! Mucha suerte, amigo.
“1. instead of using nginx, use DA? or do you think it would consume a lot of resources?”
Don’t get your meaning here. I’m sure you know Nginx is a web server and DirectAdmin is a control panel. But if I answer what I think is your question, they are not compatible, no. They would be, if someone wrote a module for DA to snuggle up to Nginx.
.. I’ve researched this heavily. The closest anyone has got to making a CP mod for Nginx is with Webmin, which is probably better that any other CP anyhow cos it’s so light. For some background on this, check out Nginx Control Panel and, for the required CP workarounds, Nginx Control Panel Workarounds.
Of course, the VPS Admin series – Maintain Unmanaged VPS (4 Newbies) .. V-P-S Admin, the sequel to the VPS Bible – sets out the actual workarounds and is a work in progress.
“2. The ConfigServer Firewall be used?”
Never used it, but probably all it does is to configure your pre-existing iptables, which is your firewall, so I imagine so. As well as the Bible’s Set Up Unmanaged VPS (4 Newbies) – Part 6: Harden the Secure Shell (SSH) & Create a Firewall, you may find some useful reference in the Jaunty Bible’s security tutorial, which is crammed with handy links too .. Shield Your Linux Box: iptables & Much Much More. But essentially, why not just configure iptables?
“3. The backups be done using bacula? or you recomend rsync?”
Never used bacula .. rsync is nice. Would be interested to hear other folks suggestions on this.
***
Overall, I think you have to survey your clients, and your web hosting strategy. If they want simplicity over performance, Nginx is not the way to go. If they want performance and you guys, or they, are prepared to carry out a little sys admin, Nginx is an option, at least for one part of your solution. Or, pay/cajole someone to develop that Webmin module .. go to Webmin’s site and search for me/Nginx on the forums adn join in the chat .. maybe together we can speed up development of that mod. .. Likely, that is the key to your satisfaction of the Nginx solution for your needs: a Webmin module.
Feed me back .. yours is an interesting scenario.
Manuel Bejarano November 13th, 2009 at 7:58 pm
Thanx Olly
LPI Exams are a way to certified yourself about linux you can get more info here: http://www.lpi.org/
About RH well those are the redhat certified program but im still studying for those cause the exams are a little bit difficult, more info here:
http://www.redhat.com/certification/
You anwer gave the final push to aquire a linode account ^___^ (dunno if i can make a reference to you, but rest asure i’ll let them now ^__^)
I also found this: http://www.directadmin.com/forum/showthread.php?t=20133&highlight=nginx
So i’m going to try webmin & give it a shot and to DA as well thanx the tip to look for you in webmin looking forward to that
About the backup i also notice the FAQ in linode, so im going to make some space to do duplicate disks and why not keep on testing with rsync and bacula
Thanx again
-Manuel
The Boss November 15th, 2009 at 2:18 am
Guvnr – yeah but — all this is well and fine – but what about making full system backups – back to our windows boxes. I can’t find a working way yet – and rsync/dervish seems a real brain basher…
Would be appreciated
The Boss