A web development company developed a site for me using Joomla and set it up at the hosting service. I wanted to make a copy of that site on my local machine. I had to go through some troubleshooting, I am recording it here for my and others' benefit.
You need to have administrator access to the Joomla site.
Remote machine
archive site using akeeba
download the zip file
backs at my SQL database and download
Local machine
MySQL
creative user name and password exactly as you have on remote site for Joomla
create database and assign access rights to the newly created user to the database with the correct hostname
Local Apache
enable mod_rewrite (used for seo URLs): ap2enmod rewrite
restart Apache
set " allowoverride all " in /etc/apache2/sites-available/default (at all the places in the file, if you are smart enough and you know what you are doing, do it only where required)
create virtual host for a new site, this is required so that the rewrite rules for URLs will work properly. Initially I put the Joomla site under a folder but that doesn't work properly that the rewrite rules.
Local - machine from where you will access the site on browser
make the correct entry in /etc/hosts to match the virtual host setting an Apache so that your browser goes to your local Joomla installation.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment