• 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 » WordPress Auto Installation : HP Cloud + Cloud-Init Script

By Abhishek Ghosh May 25, 2015 7:13 pm Updated on May 25, 2015

WordPress Auto Installation : HP Cloud + Cloud-Init Script

Advertisement

We Will Use a Simple Cloud-Init Script For WordPress Auto Installation on HP Cloud’s OpenStack Client Infrastructure. Script is Provided Here in This Guide. You should read the previous article about cloud-init to get started. These falls among the class called cloud automation. You should not use if you are a newbie – we suggest to learn about the unix commands instead of using automated methods from the beginning.

 

WordPress Auto Installation : HP Cloud + Cloud-Init Script

 

This creates a LAMP server configuration. Nowadays we use Nginx to speed up. This is an example, tested script :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#cloud-config
 
packages:
 
- apache2
- php5
- php5-mysql
- mysql-server
 
runcmd:
 
- wget http://wordpress.org/latest.tar.gz -P /tmp/
- tar -zxf /tmp/latest.tar.gz -C /var/www/
- mysql -e "create database wordpress; create user 'wpuser'@'localhost' identified by 'changemetoo'; grant all privileges on wordpress . \* to 'wpuser'@'localhost'; flush privileges;"
- mysql -e "drop database test; drop user 'test'@'localhost'; flush privileges;"
- mysqladmin -u root password 'changepass'

Edit the runcmd: parameters above under mysql, change it with your username and password. /var/lib/cloud directory will have useful information, lgo files can be found in /var/log/cloud-init.log, copy of cloud-config will be stored in /var/lib/cloud/instance/cloud-config.txt.

Advertisement

---

We kept a gist here on Github.

WordPress Auto Installation HP Cloud Cloud-Init Script

 

WordPress Auto Installation : Where to Place Cloud-Init Script on HP Cloud?

 

Here you’ll put the script and then press the button to create the instance :

It is better to work from Horizon those who are new both to HP Cloud and OpenStack. We can, use this script from command line without any need of using the web GUI.

Do not send complains or start an issue on Github without the error logs. Without log and other minimal data, we can not debug.

Tagged With NRVL

This Article Has Been Shared 231 Times!

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 WordPress Auto Installation : HP Cloud + Cloud-Init Script

  • Setup own URL Shortening Service for Websites on Rackspace Cloud

    Setup own URL Shortening Service for Websites on Rackspace Cloud within fraction of a minute using Free Google Apps Labs Short Links service.

  • Cloud Computing Disaster Recovery For WordPress After Hacking

    Cloud Computing Disaster Recovery Cheat Sheet for WordPress presents the clever ways to make the hacker fool and get your website back within few minutes.

  • PubSubHubbub and Rackspace Cloud Queue

    PubSubHubbub is a networking protocol. Rackspace is Open Source but infamous for difficult to understand API documentation by normal human.

  • How to Upload Backup to Dropbox from Cloud Server

    Here is How to Upload Backup to Dropbox from Cloud Server in Case You Want To Keep Your Backup of Files and Database on a Free Cloud Storage.

  • Install Nginx PHP5-FPM on HP Cloud

    Here is How To Install Nginx PHP5-FPM on HP Cloud. HP Cloud means HP Helion Public Cloud. It is basically very easy to work with HP Cloud. People fear HP Helion Public Cloud very much. The basic reason possibly is not understanding the basics of Security Group Rules. So, you need to read our previous […]

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 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 (22.1K 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

  • Cutting Out The Coding: Serverless Computing In Action May 24, 2022
  • Types of Blackjack Variants: Discover the Different Versions of the Game May 23, 2022
  • How Cloud, Robotics And Sensor Technologies Are Changing The Business Landscape May 23, 2022
  • Modernizing Your Business With a Hybrid Cloud Strategy May 22, 2022
  • Big Data in Sports May 20, 2022

About This Article

Cite this article as: Abhishek Ghosh, "WordPress Auto Installation : HP Cloud + Cloud-Init Script," in The Customize Windows, May 25, 2015, May 25, 2022, https://thecustomizewindows.com/2015/05/wordpress-auto-installation-hp-cloud-cloud-init-script/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

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

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

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