DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Running Joomla OpenShift for Free

Running Joomla OpenShift for Free

Alen Komljen user avatar by
Alen Komljen
·
Jan. 21, 13 · Interview
Like (0)
Save
Tweet
Share
5.10K Views

Join the DZone community and get the full member experience.

Join For Free

My first post was running WordPress on OpenShift, so for all Joomla users I decided to show how easily you can get running Joomla on OpenShift for free also. I assume that you have OpenShift account and you read my first two posts if you are new with all of this.

For Joomla there is no predefined cartridge so you will need to install it manually. So go to create application and add PHP cartridge, give application name and create it. After that you will get git repo for your application, so you will have to install git client if you already don’t have one. Look at Git on Windows post if you want to use it on Windows machine. In this post I will use git on Linux.

When your application is created you will get name of your git repo and how to clone it locally. For Joomla installation you will need MySQL cartridge also, so go to your applications and add new cartridge along with PHP. Adding MySQL you will get all database information, like root user credentials. Write this info somewhere secure because you will need it for Joomla installation.

When both are added you need to add Joomla to you git repo. So go to Joomla web site and get Joomla. I prefer “.tar.gz” package, so I will use this.

Commands used on Linux machine:

wget http://joomlacode.org/gf/download/frsrelease/17715/77261/Joomla_2.5.8-Stable-Full_Package.tar.gz
tar zxvf Joomla_2.5.8-Stable-Full_Package.tar.gz -C joomla
git clone ssh://user@appName-namespace.rhcloud.com/~/git/appName.git/
cd appName/
cp -r ../joomla/* php/.
git add .
git commit -m "Joomla added"
git push

After all is done go to your application URL and install Joomla. As I already said in first two posts any change on application outside git repo will not be there if in meantime you do git push. The procedure for WordPress manual installation is basically the same. For features like adding custom domain read my first two posts.

Joomla OpenShift Git application

Published at DZone with permission of Alen Komljen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Path From APIs to Containers
  • How To Handle Secrets in Docker
  • Fargate vs. Lambda: The Battle of the Future
  • REST vs. Messaging for Microservices

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: