It’s Open source content Management tool.

https://www.youtube.com/watch?v=gR2Eh90ezag

Package Requirement:

PHP:- 5.6 or above
MariaDB:- 5.6 or above
nginx:- 1.15

Step1: Install webtatic repository

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Step2. Install PHP

yum install -y php72w php72w-cli php72w-fpm php72w-mysql php72w-curphp72w-sqlite3 php72w-mbstring php72w-gd php72w-dom elinks  wget vim unzip bash-completion curl git  -y

Step3. Check PHP version

php --version

Step4. Enable and start service

systemctl enable php-fpm.service 
systemctl start php-fpm.service 

Step5. Create repo file for nginx

vim /etc/yum.repos.d/nginx_mainline.repo
[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=1
enabled=1

Step6. Download sign key

wget https://nginx.org/keys/nginx_signing.key

Step7. Import sign key

rpm --import nginx_signing.key

Step8. Install nginx

yum install nginx -y

Step9. Check nginx version

nginx -v

Step10. Enable and start service

systemctl enable nginx.service
systemctl start nginx.service

Step11. Create repo file for database

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

Step12. Install MariaDB

yum install  MariaDB-server MariaDB-client -y

Step13. Check database version

mysql --version

Step14. Enable and start service

systemctl enable mariadb.service
systemctl start mariadb.service

Step15. Create database

mysql  -u root -p
create database pyro;
grant all on pyro.* to 'pyro' identified by 'Redhat@123_000';
exit

Step16. Create virtual host file

vim /etc/nginx/conf.d/pyro.conf
 server {
   listen 80;
   server_name 192.168.72.130; # Check this 
   root /var/www/pyro/public; # Check this
   index index.php index.html;
   charset utf-8;
   location / {
     try_files $uri $uri/ /index.php?$args;
   }
     location ~ .php$ {
     fastcgi_pass 127.0.0.1:9000; # Check this
     fastcgi_index index.php;
     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
     include fastcgi_params;
   }
 }

Step17. Validating configuration

nginx -t

Step18. Reload service

systemctl reload nginx.service

Step19. Download and install composer.

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

Step20. Check composer version

composer --version

Step21. Download Anchor using composer

mkdir -p /var/www/pyro
cd /var/www/pyro
composer create-project pyrocms/pyrocms.

Step22. Set permission

chown -R nginx:nginx /var/www/pyro

Step23. Change User and Group

vim /etc/php-fpm.d/www.conf 
user = nginx                 
group = nginx

Step24. Restart PHP-fpm service

systemctl restart php-fpm.service

Step25: Create session folder in PHP

mkdir -p /var/lib/php/session

Step26. Set permission

chown -R nginx:nginx /var/lib/php/session

Step27. Access on browser

http://ip/installer
or 
http://localhost/installer

Username : MailID
Password: password (Set during install fork via GUI)

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=gR2Eh90ezag

LEAVE A REPLY

Please enter your comment!
Please enter your name here