In this guide, we will be installing Magento Community Edition v18.104.22.168. This is the last official release of Magento 1 created by Adobe back in May 2020.
On June 30, 2020, Adobe ended support for the 12-year-old Magento 1.x release line for both Magento Commerce and Magento Open Source. However, still many merchants are using Magento 1 on their live stores. This Magento 1.9 installation guide can become handy for those developers who are assisting Merchants in migrating their stores to Magento 2 or simply for adding new features to existing Magento 1 installation.
We will be using Docker with Devilbox for our LAMP environment, but you can use any other web server solution to host your Magento 1 store on Apache or Nginx.
Magento 1 System Requirements
Below are the Magento 1 system requirements needed for the proper functioning of Magento 22.214.171.124:
- RAM: minimum 512MB (1GB+ recommended)
- Apache v1.3.x, 2.0.x, 2.2.x, 2.4.x
- Nginx v1.7.x+
- MySQL 5.6 or higher, MariaDB 10.x
- PHP v5.4, 5.5, 5.6 or 7.0
- PHP modules:
Install Magento 1.9.4
We will be installing the last official version of Adobe Magento 1 from the OpenMage Magento Github repository.
Download the Magento v126.96.36.199
git clone https://github.com/OpenMage/magento-mirror cd magento-mirror git checkout 188.8.131.52
Create a database for Magento 1
mysql -u root -h 127.0.0.1 -p -e 'CREATE DATABASE my_magento194;'
Magento 1 Web Installer (Clean Database)
If you need a clean Magento installation, you can proceed to install Magento 1 via the web interface now and skip the next steps (just open your website URL to see the web installer as shown below).
However, in this tutorial, we want to install the Magento sample data first and then come back to Magento 1 installation.
Download & Install Magento 1 Sample Data
# download and unpack sample data wget https://raw.githubusercontent.com/Vinai/compressed-magento-sample-data/184.108.40.206/compressed-magento-sample-data-220.127.116.11.tgz tar -xf compressed-magento-sample-data-18.104.22.168.tgz cp -rv magento-sample-data-22.214.171.124/* ./ # import sample database mysql -u root -h 127.0.0.1 -p my_magento194 < magento_sample_data_for_126.96.36.199.sql; # delete temporary files rm magento_sample_data_for_188.8.131.52.sql rm -rf magento-sample-data-184.108.40.206/ rm compressed-magento-sample-data-220.127.116.11.tgz
Magento 1 Web Installer (With Sample Data)
Now open your Magento 1 domain, and follow the step by step web wizard:
After the installation is complete, you can go to the front end:
As well as backend:
We hope you found this article useful. Please comment and share. Thanks for reading!