Sunday, March 2, 2008

Installation of Joomla

Go to SSH

login to ssh ( refer to specs )

cd /home/username public_html/DAN/joomla ( path is DAN/joomla ) if the path is not created then create it. to create path in public_html mkdir DAN , cd DAN, mkdir joomla , cd joomla

wgate link from where you can get joomla installation file.

or

you can also use saved .tar joomla installation file. for these you


go to SSh secure file transfer copy the path of the folder where you want to install joomla.
drag and drop the joomla installation file.


tar -xzvf < file name > ( this command is used to untar the .tar file )

now we have to create database for joomla in cpanel.

Go to cpanel DAN

click on mysql database

search for create database and create new database then click on go back

now we have to create user for database

search for create user and create new user then click on go back

now we have to create connection string

search for Add Users To Your Databases: select allabout_DAN(user name of the database)

select allabout_DAN(database name )

click on add user to database

now go to site where you have installed joomla and check permissions. it should be unwritable but we have to set it writable. that means 777 permission. for that we have to go to SSH.
command is chmod 777 < file name or folder name >

chmod 777 administrator/backups/
chmod 777 administrator/components/
chmod 777 administrator/modules/
chmod 777 administrator/templates/
chmod 777 cache/
chmod 777 components/
chmod 777 images/
chmod 777 images/banners/
chmod 777 images/stories/
chmod 777 language/
chmod 777 mambots/
chmod 777 mambots/content/
chmod 777 mambots/editors/
chmod 777 mambots/editors-xtd/
chmod 777 mambots/search/
chmod 777 mambots/system/
chmod 777 media/
chmod 777 modules/
chmod 777 templates/


Once installation is done, delete INSTALL.php file and installation/ directory

now we have to delete installation files.

command is rm -rf INSTALL.php

Now we have to change the ownership for joomla folder. it will show ownership as 1000. it should be username.username( user user )

go to [/home/username/public_html/DAN]#chown username.username joomla/ -R

to change the permission for file. -R is not necessary.

for directory it should be / -R ( -R is to change permission for the files and folder under the mail folder )

done

Username : admin
Password : admin

www.ABC.com/DAN/joomla/

now we have to create configuration.php file

command is touch < file name > ( configuration.php )

now we have to assign 777 permission to configuration.php

for that command is chmod 777 configuration.php

No comments: