Friday, September 11, 2015

Required package for joomla mail server

Joomla-Installation


Review what components need to be installed.

install remi
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

following are needed
1. php 5.3
2. MySQL
3. Apache 2.2

Install Apaches, 

yum --install httpd

/etc/init.d httpd start /restart 


install mysql

yum install mysql-server
yum install php-mysql
yum install php php-pear


/sbin/chkconfig --levels 235 mysqld on

/etc/init.d/mysqld start 



You could setup MySQL root password during dialogue prompt.

To manual setup,

CentOS5_Joomla# mysqladmin -u root password mysqldata



To access MySQL server. Type:

CentOS5_Joomla# mysql -u root -p ; p option for password input



mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
+--------------------+
2 rows in set (0.00 sec)

mysql>


6. Create the joomla database

mysql> create database joomla_db;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| joomla_db          |
| mysql              |
+--------------------+
3 rows in set (0.00 sec)

7. permission changes

mysql> GRANT ALL ON joomla_db.* TO admin@localhost IDENTIFIED BY "password" \g
Query OK, 0 rows affected (0.00 sec)


Upload Joomla package to CentOS servier. and extract it under /var/www/html/



Unzip the package



CentOS5_Joomla# unzip Joomla_1.5.15-Stable-Full_Package.zip



Open a broswer and http://localhost, then you should see Joom installation page.

http://localhost



fill all the details in the given filleds 




after completing installtion remove the installatin derectory from /var/ww/html/ path

then click on the given link 


if the 

jerrer show in the browser check the configration.php 


and set manually following detils:

/* Database Settings */
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'root';
var $password = '';
var $db = '6562_PSS';
var $dbprefix = 'jos_';


then check

No comments:

Post a Comment

Linux Tables: Block All Incoming Traffic But Allow SSH

  This is very common scenario. You want to permit access to a remote machine only by SSH. You would like to block all incoming traffic to y...