Joomla on linux

My environment :
Server OS : CentOS 5.6
Joomla : 2.5.4

Install httpd as web server

# yum install httpd

Install mysql as database

# yum install mysql-server

Install php53 as web programming

# yum install php53

Install package which need by joomla

# yum install mbstring

Edit virtualhost on httpd configuration

# nano /etc/http/conf.d/virtualhost.conf

Add sub domain in your dns

# test.myee.web.id A 192.168.10.10 3600

Start httpd

# service httpd start

Or

# /etc/init.d/httpd start

Start mysql

# service mysqld start

Or

# /etc/init.d/mysqld start

Change root password on mysql

# mysqladmin -uroot password ‘myee12*’

Create database for joomla

# mysql -uroot -p
# mysql> create database joomla;

Create user admin for joomla database

# mysql> grant all on joomla.* to ‘joomla’@’localhost’ identified by ‘myee12#';

Apply privileges

# mysql> flush privileges;

Create user with home directory

# useradd -d /var/www/html/joomla joomadmin

Create password for joomadmin

# passwd joomadmin

Login with joomadmin

# su – joomadmin

Check home directory of joomadmin

# pwd
/var/www/html/joomla

Download joomla source from joomla site

# wget http://www.joomla.org/….

Unzip joomla source

# unzip Joomla_2.54.zip

For first time give privileges full access to joomla directory

# chmod -R 777 /var/www/html/joomla

Use your browser with url http://test.myee.web.id or http://192.168.10.10

Follow joomla installation instruction.

After finish, rename or remove installation directory

# mv installation installation_bak
# rm -rf installation

Done !

Posted with WordPress for BlackBerry.

Leave a Reply