CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi Presented by: Mukesh A. Pund Principal Scientist CSIR-NISCAIR, New Delhi
LINUX (CentOS) INSTALLATION & JOOMLA ON THIS PLATFORM
JOOMLA INSTALLATION ON LINUX SYSTEM REQUIREMENTS Joomla Version : 3.6.5 Database: MySQL 5.1 + Web Hosting: Linux Apache Server Operating System: Centos 6.6 Browser Support: IE (Internet Explorer 7), Firefox, Google chrome SSL (Secure Socket Layer): A valid security certificate is required for HTTPS PHP Compatibility: PHP 5.4+ or PHP 5.3.10+
PACKAGES REQUIREMENTS DURING CENTOS INSTALLATION PACKAGES REQUIREMENTS Select all right hand side packages except Languages Select Database -> All Right Side Packages -> MySQL Server -> Select Optional packages Select Web Services -> All Right Side Packages -> PHP Support -> Select Optional packages Select Web Services -> All Right Side Packages -> Web Server -> Select Optional packages
STEPS FOR INSTALLATION JOOMLA INSTALLATION STEPS FOR INSTALLATION Login as root. Copy Joomla folder from pen drive or CD/DVD into /tmp directory Go to terminal (Applications -> System Tools -> Terminal) Change subdirectory to /tmp/joomla # cd /tmp/joomla Run the script install.sh # sh install.sh
JOOMLA INSTALLATION Install PHP # yum install php56w-fpm php56w-opcache-y Install PHP Plugins and Upgrade PHP # yum install yum-plugin-replace -y # yum replace php-common --replace-with=php56w-common -y Restart services # service httpd restart # service mysqld restart Create MySQL User and Password # MYSQL_USER="root" # MYSQL_PWD=""
Creating Database, Grant Privileges to Users # if [ $MYSQL_PWD ] then mysql -u "$MYSQL_USER" -p"$MYSQL_PWD" -e "CREATE DATABASE IF NOT EXISTS joomla" mysql -u "$MYSQL_USER" -p"$MYSQL_PWD" -e "GRANT ALL PRIVILEGES ON joomla.* TO 'root@localhost'" mysql -u "$MYSQL_USER" -p"$MYSQL_PWD" -e "FLUSH PRIVILEGES" mysql -u "$MYSQL_USER" -p"$MYSQL_PWD" -e "exit" else mysql -u "$MYSQL_USER" -e "CREATE DATABASE IF NOT EXISTS joomla" mysql -u "$MYSQL_USER" -e "GRANT ALL PRIVILEGES ON joomla.* TO 'root@localhost'" mysql -u "$MYSQL_USER" -e "FLUSH PRIVILEGES" mysql -u "$MYSQL_USER" -e "exit" fi
Install Joomla Package, Extract it and change ownership to access it # mkdir /var/www/html/joomla # cd /tmp/joomla # unzip /tmp/joomla/Joomla_3.6.5-Stable-Full_Package.zip -d /var/www/html/joomla && # chown -R apache:apache /var/www/html/joomla # chmod 755 /var/www/html/joomla After Joomla is installed, configuration file is created with the settings you have done while installation # cd /usr/bin # firefox http://localhost/joomla/installation/index.php && # touch /var/www/html/joomla/configuration.php && # gedit /var/www/html/joomla/configuration.php && # rm -rf /var/www/html/joomla/installation
Thank You