3 min read
Your own Virtual Private Server hosting solution
March 9, 2014
VPS (Virtual Private Server) hosting is the next level up from shared hosting. Due to the explosive progress in cloud computing now everybody can afford a virtual private server.
Compared to a conventional cloud hosting solution with VPS you’ll gain full control of your data. With VPS you are responsible that your data is secured, available and always backed up.
There are many hosters which offer a VPS soution. However the bigger the company in this business the cheaper is their VPS service.
Just to name some of them:
With this project I want to show how easy it is to set up a Virtual Private Server hosting solution.
Divided in different posts I’m going to install a secure and reliable Ubuntu server. Equipped with different service such as a WordPress website, Node.js installation or a Nginx SSL secured proxy website.
Your server must…
- ...be secured with a dedicated firewall, that only allows http, https and ssh.
- ...being accessed with ssh keys.
You have to be able …
- ...to use the linux/unix command line.
- ...to edit files with VI
The installation of the VPS is built up according to a modular system. Every module corresponds to a blog post with their own requirements (mostly other modules) and installation instructions.
- build-essential, libcurl4-gnutls-dev, libgeoip-dev, libopenssl-ruby, libxml2, libxml2-dev, libxslt1-dev, ruby-dev
- Nginx php5-fpm website
- php5-curl, php5-dev, php5-geoip, php5-mcrypt, php5-mysql
- Increase Max Upload for php5-fpm website
- Get a free verified SSL certificate from StartSSL
- Convert SSL certificates
- Nginx SSL website
- Install Let’s Encrypt and create a free SSL certificate
- Configure Let’s Encrypt auto renewal for certificates
Master of Ubuntu
Amazon Web Services
Here you’ll find articles about recommanded additions for your installation:
This is a list of documented packages and their sources. This list intends to show which sources have to be maintained to update an installation.
automysqlbackup Download with wget from Official AutoMySQLBackup SourceForge website.
duplicity-backup Clone with Git from Official duplicity-backup GitHub repository.
HHVM Install with aptitude from Official HHVM package repository.
Koken Download with wget from Official Koken website.
LimeSurvey Download with wget from Official LimeSurvey website.
MySQL Install with aptitude from Official Ubuntu package repository.
Nginx Install with aptitude from Official Nginx package repository.
Node.js Download with wget from Official Node.js website and compile with built-in tools. Clone with Git from Official Node.js GitHub repository and compile with built-in tools.
php5-fpm, php5 modules Install with aptitude from Official Ubuntu package repository and compile with built-in tools.
phpMyAdmin Install with aptitude from Official Ubuntu package repository.
Piwik Download with wget from Official Piwik website.
Piwik for LimeSurvey Clone with Git from Official Piwik-for-LimeSurvey GitHub repository.
Postfix Install with aptitude from Official Ubuntu package repository.
QR code service Clone with Git from Official QR code service GitHub repository.
Ruby Install with RVM.
RubyGem Install with RVM.
RVM Install with script from Official RVM website.
Ubuntu OS, libraries and programs Install with aptitude from Official Ubuntu package repository.
WordPress Download with wget from Official WordPress website.
WPScan Clone with Git from Official WPScan GitHub repository.
Categories: Web server