Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

A proper way to install magento on your local MacSystem
 
xornot
Jr. Member
 
Total Posts:  1
Joined:  2011-09-06
 

Requirements:

Macintosh OS X 10.6.8
XAMPP 1.7.3
magento-1.6.0.0
magento-sample-data-1.2.0

= 01 =

Download the application and the sample data from http://www.magentocommerce.com/download
and from http://www.apachefriends.org/de/xampp.html

= 02 =

Extract magento to the folder where you store your local webprojects. This is normaly the your htdocs-Folder in the XAMPP-Folder.
Extract the sample data and copy the content of the media-Folder to the media-Folder within the magento-Folder

= 03 =

Configure your XAMPP: Even if it is possible to set up several applications in one single XAMPP
installation, I recomment to start with a fresh XAMPP installation.
(Rename your XAMPP Folder if you have an existing installation on already installed and) copy the Application data to your Application Folder.

= 04 =

Configure your httpd.conf within XAMPP:
Add the following line to the configuration file to make sure that the mod_rewrite module rewriting is enabled:

LoadModule rewrite_module modules/mod_rewrite.so

Then enable the vhost Extension by adding the following line

Include etc/extra/httpd-vhosts.conf

= 05 =

Configure the vhosts:
Add the following virtual host entry to your configuration. (Replace the ***** with your personal path)

<VirtualHost *:80>
ServerName magento.localhost
DocumentRoot \"/******/magento\"
<Directory \"/******/magento\">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog \"logs/magento_error_log\"
CustomLog \"logs/magento_log\" common
</VirtualHost>

= 06 =

Configure a local domain under which the shop system will be accessible
(You must have root-rigths to do this)

Open the following file in an editor

/etc/hosts

and add the following line to the file

127.0.0.1 magento.localhost

= 07 =

Change the rights on the magento folder to 777 (or 775).
There is no need to make the entire Folder writeable but it\’s easier wink
(http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/magento_filesystem_permissions)

= 08 =

Use the xampp-control panel to start run the MySQL Server.
Login to the MySQL server and create a database for the Magento installation and
import the SQL-File from the example-data Folder into the created database.

= 09 =

Now there is some need to do some modifications from the Magento Forums:

http://www.magentocommerce.com/boards/viewthread/248132/
http://www.magentocommerce.com/boards/viewthread/234325/#t343399
http://www.magentocommerce.com/boards/viewthread/242270/#t342547

= =

Rename the local.xml.sample to local.xml

= =

Open the file /app/etc/config.xml in an editor and do the following modifications:
Search for the following line
SET NAMES utf8
and replace it with the following line
SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; SET UNIQUE_CHECKS=0;

= =

Open the app/Mage.php and comment:
//self::throwException(’Mage registry key “‘.$key.’” already exists’);

Don’t use it on production stores!

= 10 =

Make sure that the Apache WebServer and the MySQL Server of your XAMPP installation is running.
Now open the magento installation wizard by opening http://magento.localhost in a web browser.
Follow the instructions and start the installation process. This will take a while.
There will be no status bar but u can use the Health-Window of MySQL-Administrator to see the process. wink

= 11 =

After finishing the installation the personal information should be updated. Visit the Front- and the Backend-Store to change the information.

You have to \"remap\" the Products (follow the instructions in the backend.)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top