Skip to content

Commit c39060d

Browse files
authored
Merge pull request #279 from ByteInternet/how-to-install-mag2-docs-outdated-repo
update CLI commands to fix outdated Mag2 version
2 parents e426754 + be247e1 commit c39060d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/ecommerce-applications/magento-2/how-to-install-magento-2-on-hypernode.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,10 @@ [email protected]:~$ ls /data/web # See the magento2 directory and the co
9393

9494
## Install Magento 2 Using the Command Line
9595

96-
### Download and Unzip the Latest Release to /data/web/magento2
96+
### Create project from a certain release to /data/web/magento2
9797

9898
```
99-
mkdir ~/magento2
100-
cd ~/magento2
101-
wget -qO- https://magento.mirror.hypernode.com/releases/magento2-latest.tar.gz | tar xfz -
99+
composer create-project --repository-url=https://mage-os.hypernode.com/mirror/ magento/project-community-edition /data/web/magento2
102100
```
103101

104102
### Create a Database (In This Example, We Named the Database ‘magento2’, but You Can Name It However You Like)
@@ -110,6 +108,7 @@ echo "create database magento2" | mysql
110108
### Enable the Magento 2 Management Tool
111109

112110
```
111+
cd ~/magento2
113112
chmod 755 bin/magento
114113
```
115114

0 commit comments

Comments
 (0)