It’s Open source content Management tool.

https://www.youtube.com/watch?v=8P2-ymx9qa4

Package Requirement:

PHP:- 7.1 or above
MariaDB:- 10 or above
apache:- 2.0 or above

Step1. Install epel/remi repository

yum install epel-release yum-utils -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

Step2. Enable repository

yum-config-manager --enable remi-php70 

Step3. Install PHP

yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd php-pdo php-xml php-mcrypt php-gd php-devel php-mysql php-intl php-mbstring php-bcmath php-json php-iconv php-pecl-zip
yum install httpd* elinks -y

Step4. Add entries in php.ini file.

max_input_time = 30
memory_limit= 512M
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
error_log = /var/log/php/error.log
date.timezone = Asia/Calcutta

Step5. Add entry in httpd.conf file

Allowoverride ALL

Step6. Create repo file for MariaDB

vim /etc/yum.repos.d/MariaDB.repo             
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Step7. Install database

yum install mariadb-server mariadb MariaDB-client

Step8. Enable and start service

systemctl enable mariadb
systemctl start  mariadb

Step9. Setup database

mysql_secure_installation

Step10. Create database

create database magento;
CREATE USER magento@localhost IDENTIFIED BY "Redhat@123_000";
GRANT ALL ON magento.* TO magento@localhost;
FLUSH PRIVILEGES;
exit

Step11. Download and setup composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/bin/composer
composer -V

Step12. Download Magento using git

cd  /var/www/html/
git clone https://github.com/magento/magento2.git

Step13. Checkout package

cd magento2
git checkout tags/2.1.0 -b 2.1.0
shopt -s dotglob nullglob
mv /var/www/html/magento2/* /var/www/html/

Step14. Set Allowoverride in httpd.conf file

Allowoverride all

Step15. Set permission

chown -R apache:apache /var/www/html/
chmod -R 775 /var/www/html/

Step16. Run composer

cd /var/www/html
composer install

Step17. Access via browser

http://ip
or
http://localhost

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=8P2-ymx9qa4

LEAVE A REPLY

Please enter your comment!
Please enter your name here