Adding webmin and joomla to a centos box

Post LAMP on centos:

install webmin:

rpm -qa webmin
cd /tmp
wget http://www.webmin.com/jcameron-key.asc
rpm –import jcameron-key.asc
vi /etc/yum.repos.d/webmin.repo
edit to contain:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

yum install webmin
service iptables stop
iptables -I INPUT -p tcp -m tcp –dport 10000 ;
service iptables save
service iptables start
browse to http://ip.address:10000 login with root

install joomla:

acquire latest joomla
mkdir /var/www/html/joomla
unzip joomla -d /var/www/html/joomla
chown -R apache:apache /var/www/html/joomla/
touch /var/www/html/joomla/configuration.php
chmod 777 /var/www/html/joomla/configuration.php

add joomla user to mysql:

mysql -u root -p
CREATE DATABASE joomla;
CREATE USER juser@localhost;
SET PASSWORD FOR juser@localhost= PASSWORD(“password”);
GRANT ALL PRIVILEGES ON joomla.* TO juser@localhost IDENTIFIED BY ‘password’;
FLUSH PRIVILEGES;
exit;

sudo service httpd restart

web to http://your.ip.address/joomla to configure

after configuration is completed:
sudo rm -rf /var/www/html/installation/ (if you didn’t do it in web)
sudo chmod 755 /var/www/html/configuration.php

http://ip.address/joomla should now show joomla

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>