<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>development Archives - gj</title>
	<atom:link href="https://blog.gaiterjones.com/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.gaiterjones.com/tag/development/</link>
	<description>gaiterjones</description>
	<lastBuildDate>Fri, 26 Aug 2011 09:03:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.3</generator>
	<item>
		<title>Magento 1.6.0.0 development server installation</title>
		<link>https://blog.gaiterjones.com/magento-1-6-0-0-development-server-installation/</link>
					<comments>https://blog.gaiterjones.com/magento-1-6-0-0-development-server-installation/#respond</comments>
		
		<dc:creator><![CDATA[PAJ]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 08:56:44 +0000</pubDate>
				<category><![CDATA[development]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[magento 1.6]]></category>
		<guid isPermaLink="false">http://blog.gaiterjones.com/?p=523</guid>

					<description><![CDATA[MagentoCommerce made the first stable release of Magento 1.6.0.0 Community Edition available to download on the 18th of August 2011. I like to have various versions of Magento installed on...<a class="more-link" href="https://blog.gaiterjones.com/magento-1-6-0-0-development-server-installation/" title="Continue reading">Continue reading</a>]]></description>
										<content:encoded><![CDATA[<p>MagentoCommerce made the first stable release of Magento 1.6.0.0 Community Edition available to <a href="http://www.magentocommerce.com/download">download </a>on the 18th of August 2011.</p>
<p>I like to have various versions of Magento installed on my development virtual server (Ubuntu distro) for testing and developing my <a title="FREE Magento Extension Buy One Get One Free" href="https://blog.gaiterjones.com/free-magento-extension-buy-one-get-one-free-discounted/">magento modules</a> and I thought it might be useful to share the notes I made to very quickly install another dev instance of Magento, this time the newly released version 1.6.</p>
<p>I use the Magento test data package which includes configured products, images, reviews etc.</p>
<p>Download the Magento Community Edition you wish to install from this link (login required).</p>
<p><a href="http://www.magentocommerce.com/download">http://www.magentocommerce.com/download</a></p>
<p>From this page you can also download the Sample Data v1.2.0 which although it was released in 2009 still works fine with all Magento versions.</p>
<p>So login to your dev server with an admin account and  change into a suitable location for your dev environment, i.e. <strong>/home/www/mydev</strong> download the Magento 1.6.0.0 source &#8211;</p>
<p><strong>wget http://www.magentocommerce.com/downloads/assets/1.6.0.0/magento-1.6.0.0.tar.gz</strong></p>
<p>and untar the install package</p>
<p><strong>tar -xvf magento-1.6.0.0.tar.gz</strong></p>
<p>This will create a magento folder containing the 1.6.0.0 release. Rename the magento folder to something more meaningful</p>
<p><strong>mv magento magento-1-6-0-dev</strong></p>
<p>remove the downloaded package or if you want to keep it copy it somewhere nice.</p>
<p>Now download the sample data from</p>
<p><a href="http://www.magentocommerce.com/getmagento/1.2.0/magento-sample-data-1.2.0.tar.gz">http://www.magentocommerce.com/getmagento/1.2.0/magento-sample-data-1.2.0.tar.gz</a></p>
<p>Copy it to the same folder containing your magento-dev-1-6-0 folder. You will need to login to the Magento site to get it. Extract with</p>
<p><strong>tar -xvf magento-sample-data-1.2.0.tar.gz</strong></p>
<p>This will create a media folder called  magento-sample-data-1.2.0 containing the images used by the sample data in a media folder, and the sample data itself in an sql file :magento_sample_data_for_1.2.0.sql</p>
<p>Change into the test data directory and copy the media folder to the Magento 1.6 source folder</p>
<p><strong>cp -r ./media/* ../magento-1-6-0-dev/</strong></p>
<p>You can remove the test data folder now if you want. Now we need to set the permissions on the new files for the magento install</p>
<p>Change to the folder containing magento-dev-1-6-0 and set ownership with</p>
<p><strong>chown -R admin-user.www-user</strong></p>
<p>Where admin-user is the admin account you use for administration and www-user is the built in www account, i.e. www-data with Apache and Ubuntu.</p>
<p>Now change into the magento-dev-1-6-0 folder and set the file permissions, For my dev site  I use</p>
<p lang="en-GB">for folders:<br />
<strong>find ./ -type d | xargs chmod 775</strong><br />
for files: (group and owner read write)<br />
<strong>find ./ -type f | xargs chmod o+w,o+r,g+w,g+r</strong></p>
<p lang="en-GB">and don&#8217;t forget to set the permissions for the mage installer</p>
<p lang="en-GB"><strong>chmod 550 ./mage  </strong></p>
<p>Now you need to prepare the SQL database for this dev installation. So create a new database in phpMyAdmin or the SQL command line e.g.</p>
<p lang="en-US">CREATE DATABASE  `magento-dev-1-6-0` ;</p>
<p lang="en-US">and import the test data into the new database with</p>
<p lang="en-US"><strong>mysql -h localhost -uUSERNAME-pPASSWORD magento-dev-1-6-0 &lt; magento_sample_data_for_1.2.0.sql</strong></p>
<p>Where username and password are your SQL credentials with admin rights over the new database.</p>
<p>This creates a magento database and populates it with the test data. Its important to do this before installing Magento. The Magento installation will detect the test data and make the necessary upgrades changes to the database as it installs.</p>
<p>I like to install each dev instance of magento with its own virtual server i.e. dev160.mywebshop.com , so I copy an existing Magento apache site config file and update the paths to my new installation, install it in Apache</p>
<p><strong>a2ensite magento-dev-1-6-0</strong></p>
<p><strong></strong>and restart apache to enable the new site. You can also simply use your default web site.</p>
<p>Now we are ready to install Magento 1.6.0.0, point your browser at your default site and the magento install folder, or the virtual server you created i.e. http://dev160.mywebshop.com and the Magento install screen should appear.</p>
<p>Follow the normal Magento install procedure to finish your dev magento 1.6.0.0 install.</p>
<figure id="attachment_524" aria-describedby="caption-attachment-524" style="width: 595px" class="wp-caption alignnone"><a href="https://blog.gaiterjones.com/wp-content/uploads/2011/08/magento-1-6-0-dev.jpg"><img fetchpriority="high" decoding="async" class="size-large wp-image-524" title="Magento 1.6.0 development site with test data" src="https://blog.gaiterjones.com/wp-content/uploads/2011/08/magento-1-6-0-dev-595x620.jpg" alt="Magento 1.6.0 development site with test data" width="595" height="620" srcset="https://blog.gaiterjones.com/wp-content/uploads/2011/08/magento-1-6-0-dev-595x620.jpg 595w, https://blog.gaiterjones.com/wp-content/uploads/2011/08/magento-1-6-0-dev-422x440.jpg 422w, https://blog.gaiterjones.com/wp-content/uploads/2011/08/magento-1-6-0-dev.jpg 951w" sizes="(max-width: 595px) 100vw, 595px" /></a><figcaption id="caption-attachment-524" class="wp-caption-text">Magento 1.6.0 development site with test data</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gaiterjones.com/magento-1-6-0-0-development-server-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
