# Script for Downloading and Installing Joomla 3.8.10 on Centos 6.x

# PHP Update or install

yum remove php* -y

rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm

yum install php70w php70w-mysql -y

# Downloading Installing and Joomla 3.8.10

cd /tmp

wget https://downloads.joomla.org/cms/joomla3/3-8-10/Joomla_3-8-10-Stable-Full_Package.zip?format=zip

mkdir /var/www/html/joomla

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

cd /var/www/html/joomla

unzip /tmp/Joomla_3-8-10-Stable-Full_Package.zip\?format\=zip 

chown -R apache:apache /var/www/html/joomla

service httpd restart

service mysqld restart

firefox http://localhost/joomla

