• 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
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

  • 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.

  • Join/Merge Multiple Log Files For Big Data Analysis

    Here Are The Ways To Join/Merge Multiple Log Files For Big Data Analysis, Store Them To OpenStack Based Cloud Storage And Delete Old Files.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • 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.

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