HHVM also known as HipHop Virtual Machine is an open source virtual machine developed by Facebook that can be used for executing programs written in Hack and PHP. HHVM uses a just-in-time compilation approach for performance reasons. HHVM is faster than the traditional PHP engine from ZEND, and is used by Facebook to serve billions of web requests per day.
- A fresh Alibaba cloud instance with Ubuntu 16.04 server installed.
- A static IP address 192.168.0.103 is configured on the instance.
- A root password is setup on the server.
Then you can click here to see the steps to install Nginx and MariaDB, configure MariaDB, install and configure HHVM. After you have successfully installed and configured these packages, you can continue to install WordPress.
First, you will need to download the latest version of the WordPress from their official website. You can do this with the following command:
Once the download is completed, unzip the downloaded file with the following command:
Next. copy the extracted directory to the Nginx web root directory using the following command:
cp -r wordpress/* /var/www/html/
Next, change the directory to the /var/www/html/ and copy wordpress sample config file:
cp wp-config-sample.php wp-config.php
Next, open wp-config.php file and add database credentials which you have created earlier:
Make the following changes:
/* The name of the database for WordPress /
/* MySQL database username /
/* MySQL database password /
/* MySQL hostname /
Save and close the file, then give proper permissions to WordPress:
chown -R www-data:www-data /var/www/html/
chmod -R 775 /var/www/html/
Finally, restart the Nginx and HHVM services.
systemctl restart nginx
systemctl restart hhvm
Then you can access your WordPress Web Installation Wizard, and you can see the details here.
Related Blog Posts
Zabbix is an open source and enterprise-class network monitoring tool that can be used to monitor performance and availability of the server, network devices and other network components. Zabbix uses MySQL, PostgreSQL and Oracle to store its data. Zabbix also provides a user friendly web interface to monitor and track data and settings. Zabbix uses a Zabbix agent to collect the data and send it to the Zabbix server.
In this tutorial, we will go through step by step installation of Zabbix server and Zabbix client on Ubuntu 16.04 server.
This article shows how to install lamp on Ubuntu and some guides to install applications on your Ubuntu machine with LAMP.
Related Market Products
There are some products with php infrastructures built by partners can be quickly launched on Alibaba Cloud servers.
Websoft9 HHVM is a pre-configured, ready to run image for running HHVM on Alibaba Cloud.HHVM (HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in PHP.
On latest CentOS, integrated with one of the world’s most popular web publishing platforms for building blogs and websites. We, IGS, provide a list of images pre-integrated with most popular software for web solution. It includes ready-to-run versions of Apache/Nginx, MySQL, PHP, phpMyAdmin and all of the other software required to run each of those components. IGS image greatly simplifies the development and deployment of web applications.
There are some documentation may be useful to you.
ACM provides PHP SDK for managing application configurations with ACM for PHP programs.
ACM PHP SDK is now open-sourced. For instructions, see Github.
Web Hosting supports PHP and uses PHP 5.3 by default.
If the default PHP version is different from what is required by your program, you can change the PHP version.
ApsaraDB for RDS is an on-demand database service that frees you up from the administrative task of managing a database, and leaves you with more time to focus on your core business. ApsaraDB for RDS is a ready-to-use service that is offered on MySQL, SQL Server and PostgreSQL. RDS handles routine database tasks such as provisioning, patch up, backup, recovery, failure detection and repair.
Distributed Relational Database Service is a lightweight (stateless), flexible, stable, and efficient middleware product independently developed by Alibaba Group to resolve scalability issues with single-host relational databases.
DRDS is primarily used for large-scale online data operations to operate, maintain and manage distributed databases throughout their entire lifecycle. Due to is compartmentalized structure, DRDS provides an efficient way to perform operations to meet the demand of the online services for relational databases.
Alibaba Cloud Virtual Private Cloud allows the flexibility to build your cloud architecture in a logically isolated and secure environment. This means users can control their virtual networking environment, including the selection of IP address range, the creation of subnets and configuration of route tables and network gateways. Users can also segregate VPC instances into different security domains using security group features.
In this clouder lesson, you will learn the concepts and features of RDS and how to use RDS console to host and manage a SQL database.
Data Transmission Service (DTS) helps you migrate data between data storage types, such as relational database, NoSQL, and OLAP. The service supports homogeneous migrations as well as heterogeneous migration between different data storage types.
This demonstration session shows you how to use DTS to migrate a local database to RDS instance in Alibaba Cloud.