Tag: Cloud

Joomla on Uhuru cloud
2012.10.31 08:02:28

Some time ago I reveiced a message on LinkedIn from one gentlemen to try Uhuru cloud. Since I have not had time to try the cloud immediately, do it myself these days, so simple give you the impression.

I have not any problem with loging, because Uhuru cloud system support loging via Google, Facebook or Microsoft account. I choce Google account of course.

I do not know if this is the finished product, but User control panel (I gave it that name) is very very simple. Of course, first step after watching the introduce video I tryed to create my application. Uhuru cloud contain integrated support for Joomla and my choce is Joomla.

Creating application is very simple. You should clilck on "+" icon in Apps tab and you get popup window with many integrated application. As I said, here is my choce is Joomla. Uhuru cloud will copy for you one Joomla instancies on Uhuru filesystem and create one database service (MySQLi). You can find these services on Services tab.

For manage services I'm slightly disappointed, but I'll explain it later.

After creating my (Joomla) application I clicked on new square in Apps tab (It is PHP application). On a new popup window I saw several blue square. When I saw it, I was happy because I thought that I would be able to manage all. But, soon enough I was disappointed. On this screen it is possible only to:

  • run or stop application (In my case PHP-Joomla)
  • view services without any, anyt managing
  • delete or create new URI, but you do not need this options for clasic web page
  • add or remove provision (Unfortunately I do not know benefit of this at the moment), and view how much application is running
  • of course, do not forget. Here we have one very cute option. We can define how much memory will be provisioned used.

In the next few days I'm trying to access my application from URL on which I have found on above screen, but unsuccessfully. As you know, my knowledge and experience are not trivial, so I'm trying to run my application alone, without help Uhuru Team. Unsuccessfully again.

The home page (User home page) has links to some of the tools for managing services, application, ..., but they are all for Windows. I contacted a gentleman from the beginning of this story. But he obviously did not know wha my problem is. In the end, I had to use the my business laptop and use Windows for install tools how could I managing services on cloud. From my perspectiv Uhuru cloud has a big minus from me for this.

Once I installed the tools I conected on Uhuru cloud via Uhuru Cloud Admin. Ho I was able to manage with services (DB and FS) I had to install FileZilla and HeidiSQL. I think that even now think that everything and to complicated. And I'm of the same opinion. But on the other hand, it is a cloud. and it is logical that it can'not all be easily. Frankly, I'm hoping that everything will be easy because the User control panel (web page) is very simple.

However, with FileZilla i was able to access file system and see what it actually does. On file system I said complete Joomla file/directory structure but configuration.php file is not populated correctly.

Here, I used my knowladge and my skills for populate configuration.php file with properitary values.

I'm trying to create new application from web pages, only to steps when I can select what I want to install. I selected joomla for download. On my local machine I got file. Unpack and find very interesting files.

I modified install.php file like as:

$services = getenv("VCAP_SERVICES");
$services_json = json_decode($services,true);
$joomla_config = $services_json["mysql-5.1"][0]["credentials"];
echo "
echo "
echo "
$dir = dirname(__FILE__);
echo $dir;
echo "

Now we can run this script from our URL, and see all the necesssary data for populating configuration.php

Second step is create tables in DB. For this procedure we need tool HeidiSQL which will be automatically started from Uhuru Cloud Admin tool. When HeidiSQL opened we are see two schemas, one information_schema and second in any rundom name. That's our database. In unpacked you can find file joomla.sql. Open this document and replace all #_ with your prefix. Copy content of this file to Query window in HeidiSQL and click on Run.

Now we need add two very important records into database:

insert into PREFIX_user_usergroup_map (user_id,group_id) values (490,8);

INSERT INTO PREFIX_users (id, name, username, email, password, usertype, block, sendEmail, registerDate, lastvisitDate, activation, params, lastResetTime, resetCount) VALUES (490, 'Super User', 'admin', 'EMAIL', '01eed551c6e915cbdb8518600612bda5:eaZ7VDKwHfq7g9HaSYeeocGR1pY3gaXh', 'deprecated', 0, 1, '2012-01-01 00:00:00', '0000-00-00 00:00:00', 0, '', '0000-00-00 00:00:00', 0);


  • PREFIX is your prefix table
  • EMAIL is your email address
  • Password is administrator12345 (you can change password from Joomla after installation)

I need joomla 3.0 for my testing and after this steps I deleted all content from file system and from database and copy joomla file/directory structure on file system (except installation directory, of course) and fill database with default table (data) for joomla 3.0. After that I populated configuration.php file with same data as for joomla 2.5 (standard Uhuru installation) and now I have Joomla 3.0.1 on my Uhuru url: Muderris

Predict light future Uhuru cloud system and I hope that the problems that I noticed as soon be resolve. Go boys!

Tags: Joomla | Uhuru | Cloud

Comments 2 | Hits: 5387 |


IDOBlog - blog for joomla 1.5