• 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 » OpenStack Object Storage WordPress Plugin (Alpha)

By Abhishek Ghosh July 7, 2015 6:41 pm Updated on July 7, 2015

OpenStack Object Storage WordPress Plugin (Alpha)

Advertisement

This is a universal OpenStack Object Storage WordPress Plugin in Alpha version which uses a command line to execute Python Client commands. It is universal because whoever supports the official Python Clients can use it. It is Alpha for only one reason – the shell needs a bit tweak to limit the level of privilege. It has higher privilege than we need. It uses many libraries which are used to create Web Shell.

 

OpenStack Object Storage WordPress Plugin (Alpha) : Whats Inside

 

OpenStack Object Storage WordPress Plugin adds a Web Shell to the instance running WordPress to upload the objects to a container and run all OpenStack Python Client Commands without the need of SSH to run the Python clients. It is compatible with All OpenStack installations except setups which do not support Python Client Tools. So we can upload the objects to a container published as CDN. We can set real cronjob and avoid WordPress cron in future.

We do not need the OpenStack PHP library – it is allowing to use the Python Clients. This is an Alpha release. This is release bears no credit as it is for testing the vulnerabilities. All credits will be given. This does not uses the OpenStack PHP library. This uses OpenStack Python Clients. This is not for the newbies. Mnimum idea about shell, OpenStack etc. is needed. It is a beautiful way to invite hacking attempts if used by a noob who has ssh access.

Advertisement

---

OpenStack Object Storage WordPress Plugin (Alpha)

 

OpenStack Object Storage WordPress Plugin (Alpha) : How to Install it RIGHTLY

 

USE a TAGGED Version of this WordPress Plugin from our GitHub repo and normally install like a WordPress Plugin.

SSH to the instance. Rename the dot file .index.php to index.php and chgrp it rightly. You need to uncomment the user and password in index.php file, use tight username-password combo using vim or nano to activate the functions :

index.php
Vim
1
2
3
4
5
6
From
//$USER = 'dev';
//$PASSWORD = 'dev';
to
$USER = 'stongusername987654321';
$PASSWORD = '123456strongpassworg7890';

The console will be located at your-domain.tld/wp-content/plugins/WordPress-HP-Cloud-CDN-Plugin-0.9/index.php.

You need to install Python Swift Client on the instance but no need to configure the bash profile file. To run swift list command, you need to run command with this format :

Vim
1
swift --os-auth-url https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/ --os-tenant-name tenant --os-username user --os-password password list

https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/ is for HP Cloud. Change the tenant, user, password to real values. Other docs will match with Official doc – http://docs.openstack.org/cli-reference/content/swiftclient_commands.html

Copy-Paste disabled.

 

OpenStack Object Storage WordPress Plugin (Alpha) : WHY IT IS ALPHA?

 

WordPress has a Plugin editor located at domain.tld/wp-admin/plugin-editor.php ; WE SUGGEST TO COMMENT OUT THE USER AND PASSWORD TO MAKE THE SHELL UNUSABLE AT your-domain.tld/wp-content/plugins/WordPress-HP-Cloud-CDN-Plugin-0.9/index.php WHEN YOU ARE NOT USING.

Sadly, it has a higher privilage now. You can factually run apt-get update like commands! We will limit the access level to OpenStack specific commands only. Your code contribution is welcome. It is very easy to use Plugin for the sysadmins.

Yes, it is too dirty way. But basically universal plugin does not exist for OpenStack. We can not use the shell from all devices.

Tagged With NAQP , wordpress openstack object storage , wordpress swift storage
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 OpenStack Object Storage WordPress Plugin (Alpha)

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

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

  • Python Script to Upload Files to OpenStack Swift (HP Cloud CDN)

    Here is a Simple Python Script to Upload Files to OpenStack Swift, for Our Case HP Cloud CDN. Very easy to use from Mac or Linux Server.

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