Install Magento 2 on Ubuntu with apache2 without error

preview_player
Показать описание
Step 1: Install apache 2.4
sudo apt-get install apache2

Step 2: Install the PHP extension
sudo apt-get install php7.0-fpm php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-xsl php7.0-json php7.0-intl php-pear php7.0-dev php7.0-common php7.0-mbstring php7.0-zip php-soap libcurl3 curl -y

Step 3: Install mysql
sudo apt-get install mysql-server

User: root
Pass: root

Step 4: Download the sample data magento2
Permision html directory
sudo chmod-R 777
Extract to / var / www / html / magento2 (your site's name)

Step 5: Allow the directory
- Run the command on the root directory of magento2:
sudo chown -R www-data: www-data ./

Step 6: Install phpMyadmin (download zip file)
- Extract to / var / www / html / phpmyadmin
Yogurt:
Run: sudo apt install php libapache2-mod-php
- Create a database

max_execution_time = 1800
max_input_time = 6000
memory_limit = 1024M
post_max_size = 128M
upload_max_filesize = 32M

Step 8: a2enmod rewrite apache
- run command:
sudo a2enmod rewritten
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</ Directory>
Restart apache2
Step 9: Install magento2
Рекомендации по теме
Комментарии
Автор

thank you..exact video for this purpose

sachinmohan
Автор

You are the only person who has solved my problem! THANKS!

Jess
Автор

Thanks a lot for the detailed description of installing magento . I completed successfully. Thank you once again.

chaithraramakrishna
Автор

i must try this tutorial, thanks bro, i'll try and update result on here

lilikzone
Автор

Ban oi, o buoc thu 8 sau khi sua file thi minh khong restart apache2 duoc, ban co the xem giup minh duoc khong, rat cam on ban

QuanHoang-tkpf
visit shbcf.ru