Uma Getting Started Guide - Installation
(Page 3 of 7 )
Download the tar from http://sourceforge.net/projects/Uma/
Untar the source in your web server document directory, tar xzvf Uma-xx.tar.gz. A directory called Uma will be created.
Read the INSTALL file for the latest installation instructions.
Create a database called Uma and load the schema from the file called Uma.sql located in the sql directory. If you need help setting up MySQL and creating databases, visit http://www.mysql.com.
Edit the config.php located in the conf directory and set your database connection parameters. Read through this file, there are other things you should set as well, but the database connection parameters are the only required settings to get Uma up and running.
Point your browser at, http://localhost/Uma/admin to access the Uma admin tool. If you get an error, check your config.php settings and verify that you can connect to the database with the username and password specified using the MySQL shell client.
Login to the admin tool with the username guest and password guest. if you can't get this to work look at the authenticator.php file in the admin directory, make sure the $permissionLevel is set to 1 and that the $serviceId is set to 1. $serviceId corresponds to the PRIMARY_KEYfor the Uma service you are attempting to access. In this case the service is Uma and should have an 'id' of 1. If you are getting a database connection error, repeat step 6 until you get the database parameters correct. You did load the schema right?
Once you get the Uma admin tool working and you can log in, you have successfully installed Uma. You should create yourself a user and grant them a permission level of 99 to the Uma service, Now modify authenticator.php and set $permissionLevel to 99. You should be able to login to the admin tool with your new user and not the guest user - much more secure.
Next: Implementation >>
More Miscellaneous Articles
More By Codewalkers