• Home
  • Archive
  • Tools
  • Contact Us
  • Forum

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 / Computer and Internet / Cloud Computing / 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 :

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
Advertisement

---

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 create php app in free openshift youtube , wordpress hhvm openshift
Facebook Twitter Google+ Pinterest

About Abhishek Ghosh

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

Follow the Author of this article :

13.7K+ Followers 18.7K+ Followers 2.5K+ Followers 1.5K Followers

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

Articles Related to OpenShift Nginx HHVM WordPress Multisite

  • Adding Schema.org Structured Data in Genesis Theme

    Adding Schema.org Structured Data in Genesis Theme without using any plugin is quite easy as Genesis has great documentation and has excellent existing markups.

  • Making WordPress to Load Faster on Rackspace Cloud Sites

    Making WordPress to Load Faster on Rackspace Cloud Sites needs WP Super Cache,CDN Sync Tool, HyperDB, .htaccess tricks and tweaks to make buggy plugins working.

  • Cloud Computing and Legal Issues

    Cloud Computing and Legal Issues. People has been used with Cloud Computing Security Issues, an article named Cloud Computing and Legal Issues is a bit newer.

  • Lisp Programming Language

    Lisp is second oldest High-Level Programing Language??, which was developed in 1958 and has been specified at the Massachusetts Institute of Technology (MIT).

  • Core Components of Cloud Computing

    Core Components of Cloud Computing platform includes the identity and authorization management apart from virtualization software, hardwares and network used.

Additionally, 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 Google+ or Twitter to join the conversation right now!

If you want to Advertise on our Article or want Business Partnership, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

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

Search this website...

 

 

Popular Articles

All articles of this Website are fully Free to read. Here are some, which possibly you'll like to read! Do not hesitate to contact us for any concern.

Contact Us

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

Recent Posts

  • Fix Problems & Issues of Yoast SEO WordPress Plugin April 19, 2018
  • Extra Battery, Inverter For Car For DIY Electronics Car Automation April 18, 2018
  • Blink AC Bulb With Arduino Relay Module April 17, 2018
  • Router Setup to Watch IP Camera Online Remotely via Browser April 17, 2018
  • Initial Repo Setup For Termux Android Linux Environment April 15, 2018

About This Article

Title: OpenShift Nginx HHVM WordPress Multisite
January 28, 2015
Author: Abhishek Ghosh
Subjects: Cloud Computing, Computer and Internet, WordPress Weblogs tips
Is Part Of:

TheCustomizeWindows, January 28, 2015, Vol.1(01),
p.1–39075 [IoT Ready Journal]

Source:The Customize Windows
ISSN: 0019-5847 ;
E-ISSN: 0019-5847 ;
Publisher: jima.in

Cite this article as: Abhishek Ghosh, "OpenShift Nginx HHVM WordPress Multisite," in The Customize Windows, January 28, 2015, April 19, 2018, https://thecustomizewindows.com/2015/01/openshift-nginx-hhvm-wordpress-multisite/.
This website uses cookies.

Read Cookie Policy

Contents are copyright protected and reproduction demands our permission.


PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

web analysis

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

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