It’s Open source content Management tool.

https://www.youtube.com/watch?v=a8HlBhm-swA

Package Requirement:

PHP:- 5.6 or above
apache:- 2.0 or above
MariaDB:-5.6 or above

Step1. Install PHP and apache

yum -y install php php-mbstring php-gd php-common php-pdo php-pecl-imagick php-mysqlnd httpd* elinks -y

Step2. Create database

mysql -u root -p
CREATE DATABASE modx_data CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'modx_user'@'localhost' IDENTIFIED BY 'Redhat@123_000';
GRANT ALL PRIVILEGES ON modx_data.* TO 'modx_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step3. Download Software

cd /var/www/html/
wget https://modx.com/download/direct?id=modx-2.6.0-pl.zip
mv direct\?id=modx-2.6.0-pl.zip modx.zip

Step4. unzip file

unzip modx.zip
cd  modx-2.6.0-pl/
mv * /var/www/html/

Step5. Set permission

chown -R apache:apache /var/www/html/* 

Step6. Configure allowoverride in httpd.conf file

Allowoverride ALL

Step7. Enable and start service

systemctl enable httpd
systemctl start httpd

Step8. Access via Browser

http://localhost/setup
or
http://ip/setup

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=a8HlBhm-swA

LEAVE A REPLY

Please enter your comment!
Please enter your name here