Joomla Installation and User Management

sutelostnationInternet and Web Development

Dec 7, 2013 (5 years and 7 months ago)


Joomla Installation and User Management
Dhananjay Ambekar
11 August 2012 [week 02]
Chapter 1
1.1 System Requirements
Installing Joomla!for the rst time is very easy.Joomla!'s built-in installer
makes setting up your new site a breeze.
Before we start installing Joomla!,there are a couple prerequisites that need to
be met to install successfully:
Hosting - whether you have a dedicated server,or shared hosting plan,you'll
need some sort of web hosting that meets the following requirements:
 PHPv.5.2+
 MySQL5.04+
 Apache1.3
MySQL Database - you'll need access to a MySQL database,as well as the
following credentials.
 DB Name
 Host Name
 Username
 Password
FTP Client - for transferring les to your server.If you don't already have
an FTP client that you use
1.2 Steps in Installation
With these requirements met,and resources in place,we are ready to install
Joomla To begin our installation,we'll rst need to move our Joomla instal-
lation package to the server.This can be accomplished by simply moving the
Dhananjay[123059008] CHAPTER 1.INSTALLATION
downloaded package to your server,then unpacking it.Or you can unpack the
les on your local computer,then move the Joomla installation over to your
server.Either way,the Joomla installation needs to be unpacked in the root of
your site.
Caution - if you unpack the les on your own computer,then copy them to
your server,be sure to move only the les contained INSIDE the Joomla pack-
age.If you transfer the Joomla folder as well,your site will be accessed atyour- instead of
Step 1 is to select your language in the screen above,then press the'Next'
button in the upper right corner.
Step 2 runs a series of system and server checks to ensure that Joomla will be
able to install,and function correctly.The top section of items should all be
green and'Yes'.If any are not (they'll be red and say"No") then you will need
to take action to correct them.The bottom section of items are not required,
but are recommended to ensure that Joomla can operate smoothly.
Step 3 is to review the GNU license.This is the software license agreement for
Joomla use,and simply requires you to press'Next'in the top right corner after
Step 4 is conguring the database connection for Joomla.Here you will need
to enter the Database type,Hostname,User name,Database name and the
Database prex for the MySQL database you have set up.If your settings are
not correct,you might be unable to connect to the database.An additional
option is to change the Table prex
11 August 2012 2
Dhananjay[123059008] CHAPTER 1.INSTALLATION
Step 5 is the FTP Conguration.This step is unnecessary for most sites and
its need is usually identied if you nd you cannot upload media or images or
install Extensions.The details can be added at a later time directly within
theGlobal Conguration in the Joomla Administration pages.This step is not
required on servers installed on a Windows operating system.
Step 6,and the last to installing Joomla,is the Site Conguration.Here you
must add a Site Name,Admin User Name,Admin Password,and Admin e-mail
address.If you are new to Joomla you should also CLICK Install the Sample
Content,this will help with learning about Joomla.
Step 7 Is the nal step.Joomla is now installed!You must now remove the
installation directory,this needs to be removed for security reasons to prevent
anyone else from coming along and reinstalling Joomla over your existing site.
Click the Remove Installation Directory button.
11 August 2012 3
Chapter 2
User Management
2.1 Brief Introduction about Access Control League
Access control list (ACL) is the set of permissions on objects (which is why need
of user management arises).
ACL denes the dierent permissions on resources that is assigned to a partic-
ular group of users.
Access control denes the actions that can be performed on objects by a
particular group of users.For example in an ecommerce site while the customer
has the access to just view and order the products,a set of data entry operators
have access to edit,add or remove products and promotions but they do not
have the permission to view customer sensitive datas like credit card details etc,
whose access lies with the super admin.In Joomla 2.5,It is managed with the
following tables.
2.1.1 jos assets
Assets are items that you need to set access control on.For example each article
on your site can be an asset and you can set edit permission for them
2.1.2 usergroups
These are user groups that are held in table jos usergroups.You can have nested
user groups.Each group obviously can hold an unlimited number of users and
each user can be assigned to an unlimited number of user groups.
Dhananjay[123059008] CHAPTER 2.USER MANAGEMENT
2.1.3 user usergroup map
This table will simply maps user with a group.
2.1.4 user
This table stores information about users.
11 August 2012 5
Chapter 3
User Data Manipulation
3.1 Administrator Back-End
The Administrator Back-end (Control Panel) is the rst page displayed when
an administrator,be they a Manager,Administrator,or Super Administrator,
logs in to the Back-end of the Joomla!web site.It can be used to access user
3.2 Joomla API
The Joomla Content Management System (CMS) is built on top of a core of
code which presents a standard Application programming interface or API to
the applications built on it.
Following Classes are used while manipulating user Data.
3.2.1 JAuthentication
Authentication class,provides an interface for the Joomla authentication system
3.2.2 JAuthenticationResponse
Authentication response class,provides an object for storing user and error
3.2.3 JUser
User class.Handles all application interaction with a user
3.2.4 JUserHelper
Authorisation helper class,provides static methods to perform various tasks
relevant to the Joomla user and authorisation classes
11 August 2012 7
3.2.JOOMLA APIjj Referances as During week 02,August
11 August 2012 8