Here is Step by Step Guide For HP Helion Cloud WordPress Installation For the Beginners. On HP Cloud Server, Set the Security Policy First. This guide for HP Helion Cloud WordPress Installation is a special guide and we are explaining and linking to the older articles more than normally we do. HP Public Cloud has Infrastructure Managed Service. There is no support for the software part. It is assumed that the client either can perform the server administration himself/herself or use an employee. If you can use DigitalOcean or Amazon or Rackspace Infrastructure Managed, you can definitely use HP Helion Cloud easily. Carefully read our guide.
HP Helion Cloud WordPress Installation : Setup Your Account Rightly
We use Linux or OS X to SSH to the server instances using Terminal App. If you are a Windows user, you should use PuTTY to SSH to the instances. Actually it is better to dual boot with a GNU/Linux instead of using Windows. Any unix like OS including HP UX, OS X, BSD, GNU/Linux works rightly for this purpose. FileZilla is used for SFTP works.
First, you must configure your security groups rightly. HP has lot of guides for configuration. It is important to understand that, you must allow port 22, port 80 and port 443 separately against the IP, not only the subnet mask. By default, this closed. Create a key and download it. You will use this key both for doing SSH and using SFTP. Up to this part HP has guides and HP will support you for understanding. After this steps, all servers are basically the same.
HP Helion Cloud WordPress Installation : Using a Domain Name
First create a 4 GB Ubuntu 14.04 LTS instance from Dashboard. Add an IP and associate it with the instance. From HP Cloud DNS, add the IP against your domain name with a very low TTL like 300 seconds. This low TTL is for debugging. Add the 6 nameservers from your domain register’s web control panel. You will increase the TTL to 50 years later for optimized caching.
HP Helion Cloud WordPress Installation : One Server LEMP WordPress
cPanel is used by the noobs on poor setup. New Rackspace users, HP Cloud Users, Amazon user – all searches for cPanel. cPanel is a B Grade stuff. You can install it, but basically it will suck RAM and add security issues. One server one domain is the norm, we can increase the number of servers against one domain while our experience increases.
As nginx is more powerful, instead of LAMP server, we use LEMP. E is for (E)ngin(E) X. Rest remaining the same, but nowadays MariaDB is used instead of MySQL. MariaDB is a fork of MySQL, it is forked for better development.
With the above setup, if we install nginx and point towards your domain name, your website should show nginx default webpage. Various types of nginx versions are available for Ubuntu. We use the easiest one and run one command to install.
When you are logging to the server, you are logging as ubuntu, run
sudo su to get the root access. You will get a sudo-hosts related error, you can fix it with hosts file later. If you can run :
then everything is fine. Everyday you have to run
apt-get update and
apt-get upgrade for security reasons. Do not read guides from here and there and apply all on your experiment. After the step you can not do, ask in some question-answer forum. HP can reply by courtesy. It is not their work to give you training on how to use Linux. This command line is the right, long known way to use a computer. The funky GUI sucks a huge RAM. All face the initial problems, all becomes workable after a time.
HP Helion Cloud WordPress Installation : The Commands
Here are all the commands written in a separate guide. That guide is exactly the right guide.
You can follow this guide to install WordPress Multisite on Nginx, do not folow this one if you are fully new. Again we are writing the commands, we are using apt version of nginx here :
apt-get update -y
apt-get dist-upgrade -y
apt-get install php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php-pear php5-dev php5-imap php5-mcrypt
sudo apt-get install php5-snmp
apt-get install nginx nginx-extras
apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-xcache
sudo apt-get install php5-fpm
apt-get install php5-gd libssh2-php
apt-get install mariadb-server
# nano /etc/php5/fpm/php.ini
# fix cgi.fix_pathinfo=0 for php5-fpm
mkdir -p /spool/nginx/client_temp
sudo chown root:www-data /spool/nginx/client_temp -R
Now, if you open your domain, you must see something. We usually run a curl to check the header. You must follow our linked old guide. Only nginx is installed a bit easy way here. Installing WordPress is actually easy :
wget http://wordpress.org/latest.tar.gz && tar -xzvf latest.tar.gz
cd wo* && mv * ..
cd .. rm -r wor* la*
sudo chown ubuntu:www-data /usr/share/nginx/html/ -R
This is one server configuration not two server. So for the database part :
mysql -u root -p
# MySQL Welcome message will appear with " > " # ' and ™ are not same, you should use '
# you should manually correct our basic example
CREATE USER 'abhishekghosh'@'10.0.0.2' IDENTIFIED BY 'put-password-here';
CREATE USER 'abhishekghosh'@'10.0.0.1' IDENTIFIED BY 'put-password-here';
GRANT SELECT,DELETE,INSERT,UPDATE ON wordpress.* TO 'abhishekghosh'@'10.0.0.2';
GRANT SELECT,DELETE,INSERT,UPDATE ON wordpress.* TO 'ahishekghosh'@'10.0.0.1';
GRANT ALL PRIVILEGES ON wordpress.* TO 'abhishekghosh'@'10.0.0.2';
If you point to your domain name, you will get the WordPress installation web GUI. It will complain that
wp-config.php can not be written. That is what we want. From front end, none should be able to write files. Thats a security risk. Copy the stuffs from there and paste here inside text editor :
Add your that database username, password here. After the line “Thats it, Happy Blogging…” or kind of such line, add this :
Now if you run run the installer from where you copied the content of that
wp-config.php file, it will tell you to login. That is right. Delete the sample file of that
wp-config.php later for security.
What is Next?
Tune MySQL/MariaDB, configure Cache, configure Cache for W3TC, upload the files to OpenStack Swift powered Akamai CDN etc.
New WordPress will load within 2 seconds with a good looking theme after 30 minutes – Akamai takes a time to initially prime the cache.
Follow the Author of this article :