How to Run Joomla on CentOS

How to Run Joomla on CentOS thumbnail
Installing Joomla on a CentOS machine is a good way to build a robust website for no money.

CentOS and Joomla are both enterprise-level open-source systems, making them attractive options for individuals or companies who wish to build a robust Web presence for little to no money. CentOS is an operating system with Java capability based on Linux, while Joomla is a content management system programmed in PHP and MySQL. Installing and maintaining both systems does require some programming knowledge, though users looking for the "out of the box" experience with both systems will find they're not complicated enough to require specialized computer programming training.

Things You'll Need

  • CentOS 5.2 or later
  • PHP 5.2 or later
  • MySQL 5.1 or later
  • Apache 2.2 or later
Show More

Instructions

    • 1

      Install the required packages by typing the following line of code into the command line program for CentOS: "yum -y install mysql mysql-server mysql-devel httpd php php-mysql."

    • 2

      Create the MySQL database for a new Joomla install by typing the following code into the command line program for CentOS: "mysql -u root -p." Hit "Enter" and then type: "create database joomla."

    • 3

      Set up the database password and permissions by typing the following line of code into the command line program for CentOS: "GRANT ALL ON joomla_db.* TO admin@localhost IDENTIFIED BY 'password' \g." Replace the word "password" with the password you choose for the database.

    • 4

      Place the Joomla install zip file in the /var/www/html/ folder and then enter the following line of code into the command line program for CentOS: "unzip Joomla_Stable-Full_Package.zip." The file name after the word "unzip" should match the file name of the package you downloaded.

    • 5

      Restart the Web server by typing the following code into the command line program for CentOS: "service httpd restart." You should now be able to complete the normal Joomla installation steps by pointing your browser to "http://localhost" and following the instructions.

Related Searches:

References

Resources

  • Photo Credit Ablestock.com/AbleStock.com/Getty Images

Comments

Related Ads

Featured