Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Joomla installation
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:PHP]] Follow these steps to install joomla with php, apache, mysql Installing RPMForge & EPEL Repository in CentOS 6 # RHEL/CentOS 6 64 Bit OS ## # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm # rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm Note : The RPMForge repository will be installed under /etc/yum.repod directory as a file rpmforge.repo. Importing RPMForge Repository Key in Cent-Os Next, you’ll need to download and install DAG’s GPG key for your system. # wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt # rpm --import RPM-GPG-KEY.dag.txt Once the installation has finished and you are back into your system (remember to remove the mounted iso) I decided to install not only mandatory packages but also optional so I added this line to /etc/yum.conf: group_package_types=default,mandatory,optional :wq ###INSTALL REQUIRED SOFTWARES### #yum groupinstall "Web Server" #yum groupinstall "MySQL Database server" #yum install man wget php php-mysql unzip policycoreutils-python -y Create a temporary directory to extract and download Joomla: #mkdir /joomla; cd /joomla Download Joomla:- #wget http://joomlacode.org/gf/download/frsrelease/16512/72038/Joomla_3.1-Stable-Full_Package.zip Extract downloaded package: #unzip Joomla_2.5.1-Stable-Full_Package.zip Move all files to home web directory: #mv /joomla/* /var/www/html Start MySQL and set it to start at boot time: #service mysqld start; chkconfig mysqld on Set root's password to MySQL and get MySQL production-ready (Essentially type Y to everything): #/usr/bin/mysql_secure_installation Note:- while run this cammand, set root password, and disabled anonymous login Create Joomla User: #mysql -u root -p #CREATE USER 'Admin'@'localhost' IDENTIFIED BY 'asd1234f'; Create Joomla Database: #mysqladmin -u root -p create Joomla Provide appropriate privileges to the JoomlaUser user: #mysql -u root -p mysql> GRANT ALL PRIVILEGES ON Joomla.* TO Admin@localhost IDENTIFIED BY 'asd1234f'; where: 'Joomla' is the name of your database 'JoomlaUser@localhost' is the userid of your webserver MySQL account 'mypass' is the password required to log in as the MySQL user mysql> flush privileges; \q Turn output buffering off by editing /etc/php.ini change: output_buffering=4096 {change to} output_buffering=Off Create empty configuration.php file and set permissions: #cp /var/www/html/joomla254/installation/configuration.php-dist /var/www/html/joomla254/configuration.php #chmod 777 /var/www/html/joomla254/configuration.php #touch /var/www/html/configuration.php #chmod 666 /var/www/html/configuration.php Start Apache and set it to start on boot: #service httpd start; chkconfig httpd on Disable SELinux (I recommend having a look at this post for a fix that will allow you to run SELinux and Joomla. Do ensure that you test everything that you are likely and unlikely to do, e.g. add articles, add blogs, etc..). Alternatively edit /etc/selinux/config and change: SELINUX=enforcing {change to} SELINUX=disabled Start the Joomla install proper by navigating to: #http://<192.168.1.45/joomla> { Set all mandatory options & after deleted installation directory from this path} #rm -rf /var/www/html/joomla/installation To access your Joomla 3.1 administrator’s page : http://192.168.1.45/joomla/administrator/ To browse your Joomla 3.1 CMS : http://192.168.1.45/joomla/
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)