,

Install HHVM Stack by Easy Engine script on Ubuntu

WordPress Install

Install HHVM Stack by Easy Engine script on Ubuntu
5 (100%) 1 vote

Easy Engine is a script to install HHVM(Hip Hop Virtual Machine) stack on VPS hosting. It’s an effective way to try out HHVM works environment in just a few steps of the installation process. I’ve tried it for the first time so I can say it’s incredibly great! It’s faster than I thought.

My site BluetailCoupon is running on PHP-FPM environment! And another site is working on HHVM. I see that the other website with HHVM works faster than my site you’re visiting here. It just in the testing time! If it shows the best results, I will apply it for the rest of my projects left.

easy-engine

Easy Engine Key Features:
– Auto installs Nginx newest version.
– Install HHVM in a few easy steps.
– Supports Memcached, Opcache
– Supports WP-CLI tool
– Auto config Nginx for WordPress Multisite.
– Install WordPress by single command line.
– Auto Config PHP-FPM for Nginx.
– Install NGINX, PHP, MySQL, Postfix
– W3Total Cache, WP Super Cache & Nginx’s FastCGI Cache.

To get started, make sure you prepared these things:
– Putty or other SFTP tools.
– VPS cloud hosting at least 1GB RAM(memory) Using Ubuntu 12,14 or 16/ Debian 7 +. Operation 64 Bits recommended.
– Nginx doesn’t support .htaccess.
– Pointing your domain name to your IP address.
Let’s get started.

Install Python Properties

sudo apt-get install python-software-properties

Install easyengine

 wget -qO ee rt.cx/ee && sudo bash ee

Install HHVM stack

ee stack install

Or You can custom any part of installation stack by the other following code. But I truly recommend you only use: ee stack install to make things simple

ee stack install --nginx --php --mysql --postfix --wpcli --phpmyadmin --utils --admin 

Add domain & Install WordPress

ee site create domain.com --wp

or

ee site create domain.com --w3tc

or

ee site create domain.com --wpfc

or

ee site create domain.com --wpsc

or

ee site create domain.com --wpredis

What are those stuff?
–wp : Install a single WordPress.
–w3tc; Install WordPress + W3 total Cache.
–wpfc: Install WordPress with Nginx + FastCGI Cache.
–wpsc: Install WordPress + WP super cache.
–wpredis: Install WordPress + Redis Cache.

Define WordPress administrator password and email

ee site create domain.com --pass=yourpassword --email=youremail@example.com

If you forget setting your WordPress account at this step, easy engine will auto generate it for you. You can change it later inside WP dashboard.

Install WordPress with a single command line
Picking up which options that right for you and mixing to a combo like this:

ee site create domain.com --wpfc --w3tc --pass=yourpassword --email=youremail@example.com

If you do wrong nothing gonna happen. Just try to mix it to another way.

Install WordPress Multisites

– www.domain.com/site/ (subdirectory)

ee site create domain.com --wpsubdir

– www.site.domain.com (subdomain)

ee site create domain.com --wpsubdom

OR

ee site create domain.com --wpsubdom --w3tc

OR

ee site create example.com --wpsubdom --wpsc 

Delete a Website
If you’re boring with your website and You want to delete it. Okay! You can do it by following code:

ee site delete domain.com

Enable SSL using Let’s Encrypt

ee site update domain.com --letsencrypt

This SSL certificate is totally free. you can run this command line after finishing install WordPress.
As the default after 90 days Let’s Encrypt license will be expired but easy engine will auto renew it by Linux cron job. Auto-renew 30 days before it getting expired or simply manual renew by this command line to renew it:

ee site update domain.com --letsencrypt=renew

Turn OFF let’s Encrypt on Easy Engine by this code:

ee site update example.com --letsencrypt=off

Update EasyEngine
Everytime a new version been released, you can update it by this simple code:

ee update

You can update something that you forget to install before, you can update it later. Here some examples for you:

ee site update domain.com --pass=yourpassword

# This code will help you to update your new password to WordPress site.

 ee site update example.com --wp --w3tc 

#This code will install a new plugin W3 Total cache to WordPress site tht you forgotten to install before.

How to Slove Error Establishing a Database Connection
To solve this problem you have to restart Nginx Stack. Otherwise, you You can restart only MysQl server.

 ee stack restart 

Just it. Now your site back online. It really easy isn’t it?
How to access phpMyAdmin

As default easyEngine will auto setup port 22222 to your admin area.

https://IP:22222//db/pma/. This is the link for phpMyadmin.

How to get password and username to get in phpMyAdmin?
Open WordPress wp-config.php in this part /var/www/example.com/htdocs/wp-config.php and copy database username and database password. It’s the key to get in.

Now you can login to your phpMyAdmin area easily.

Where is my WordPress folder installed?

You can find entirely your WordPress files in this path:
/var/www/example.com/htdocs

Uninstall easyengine

Remove all packages:

 ee stack remove --all

## Purge Web Packages:

 ee stack purge

or

 ee stack purge --web

To get more command to remove a specific package read more: EasyEngine Remove Commands

Okay! I just helps you guys to right here! All the others you can read more in this document: EasyEngine Commands

Liquid Web offers a Managed WordPress Hosting with HHVM(Hip Hop Virtual Machine). You don’t need to do any code because you just install it by a simple click on Liquid Web dash-board. Check out Liquid Web WordPress Hosting.

Stay close to Liquid Web is DreamPress 2(Dreamhost WP hosting), a Managed WordPress Hosting with HHVM (reliable prices) for beginners. Check out DreamPress 2

Leave a Reply

Your email address will not be published. Required fields are marked *