• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » OpenShift Nginx HHVM WordPress Multisite

By Abhishek Ghosh January 28, 2015 12:22 pm Updated on February 16, 2015

OpenShift Nginx HHVM WordPress Multisite

Advertisement

Here are the steps and cartridge to Run OpenShift Nginx HHVM WordPress Multisite Gear for a Faster Loading Website, Ready to Use Solution. I tried to make it working like IaaS, unfortunately many things will not work with a PaaS; there are steps better to do manually by you. This WordPress is normal WordPress – you can use either a separate MySQL database service or create a MySQL gear with PHPMyAdmin on OpenShift. You’ll use that database’s info to install WordPress.

 

OpenShift Nginx HHVM WordPress Multisite : Understanding the Things

 

You should read, how to install WordPress Multisite on Nginx server. Thats what we do on IaaS. Thats what the way you’ll configure your WordPress as Multisite. There is a Plugin too.

On OpenShift, you do not have the Freedom like a Cloud Server. So, Nginx-HHVM for running PHP needs a custom cartridge. I have a ready to use full stuff to get OpenShift Nginx HHVM WordPress Multisite :

Advertisement

---

Vim
1
https://github.com/AbhishekGhosh/OpenShift-Nginx-HHVM-WordPress-Multisite

THIS IS NOT FOR REDHAT HOSTED OPENSHIFT. This is intended for your Cloud Server hosted OpenShift PaaS. I am showing you the stuff to understand why everything can not be packaged altogether.

I am not interested to learn OpenShift specific stuffs. I will forget the major target – optimization of a server and other things which are more important. I dislike the OpenShift’s way of installing WordPress. We do not use wp-config.php in that way. When you are following this guide, you are getting a thing, which is 100% compatible with Cloud Server or even normal Shared server.

OpenShift Nginx HHVM WordPress Multisite

Open the above screenshot in full size.

 

OpenShift Nginx HHVM WordPress Multisite : Steps

 

Instead, do these from command line :

Vim
1
2
rhc app create nginxhhvm http://cartreflect-claytondev.rhcloud.com/github/tengyifei/openshift-cartridge-nginx-hhvm
# nginxhhvm is an arbitrary app name

What till nginxhhvm build is complete. Now,

Vim
1
2
3
4
5
6
cd nginxhhvm && cd www
rm index.php && wget http://wordpress.org/latest.tar.gz
tar -xzvf l* && rm l*
cd w* && mv * ..
cd .. && rm -r word*
ls -al

So, your WordPress stuffs are now on localhost – Mac or Linux. Run :

Vim
1
git remote -v

to check whether the push is pointing towards OpenShift. Now, go to the root of the repo named nginxhhvm in our case. If you run :

Vim
1
git commit -a -m 'hhvm commit'

It will not love the way you want to hug. You have to run :

Vim
1
git add -A

and run :

Vim
1
git commit -a -m 'hhvm commit 7'

It will nicely add all the stuffs. Force the push :

Vim
1
git push --force

Yes, obviously pointing towards the URL will show WordPress installation screen :

OpenShift WordPress Multisite

Read this OpenShift Port related things to discover the internal IP of the MySQL instance. Ultimately you’ll get WordPress installed normally. Full control over WordPress.

Rest is Making WordPress act as MultiSite. That part we have written before for Cloud Server WordPress Multisite installation guide. You will locally change and force the push :

Vim
1
2
3
4
5
# like changing wp-config
nano wp-config.php # at repo's root
git add -A
git commit -a -m 'hhvm commit 7'
git push --force

Simple.

Tagged With wordpress multisite database optimization , create php app in free openshift youtube , wordpress hhvm openshift
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to OpenShift Nginx HHVM WordPress Multisite

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install WordPress on Nginx With HHVM on Ubuntu Cloud Server

    Here is Step by Step Guide to Install WordPress on Nginx With HHVM on Ubuntu Cloud Server. This simple and most easy standalone HHVM only guide. We talked about HipHop Virtual Machine or HHVM in order article. Normally, with Nginx, we use PHP5-FPM. This guide is how to install WordPress on Nginx with HHVM on […]

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy