It’s Open source content Management tool.

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

Package Requirement:

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

Step1. Create database

mysql -u root -p 
create database textpattern;
CREATE USER 'textp'@'localhost' IDENTIFIED BY 'textp';
GRANT ALL PRIVILEGES ON textpattern.* TO 'textp'@'localhost';
FLUSH PRIVILEGES;
exit

Step2. Install apache

yum install httpd

Step3. Enable and start service

systemctl status httpd
systemctl enable httpd
systemctl start httpd

Step4. Install epel repository

yum install epel-release

Step5. Install PHP

yum install php php-common  php-mysql php-pdo php-mbstring php-mcrypt

Step6. Add line in php.ini file

vim /etc/php.ini
date.timezone = "UTC"

Step7. Download textpattern

cd /var/www/html/
wget https://textpattern.com/File+download/91/textpattern-4.7.3.zip

Step8. Unzip file

unzip textpattern-4.7.3.zip
mv textpattern-4.7.3 textpattern

Step9. Set permission

chown -R apache:apache.

Step10. Create virtual host file

vim /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
ServerName 192.168.72.130
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
DocumentRoot "/var/www/html/textpattern/"
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
ErrorLog "/var/log/httpd/192.168.72.130-error_log"
CustomLog "/var/log/httpd/192.168.72.130-access_log" combined

<Directory "/var/www/html/textpattern/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Step11. Restart apache service

systemctl  restart httpd

Step12. Access via browser

http://localhost
or 
http://ip

Step13. Configure database file

vim /var/www/html/textpattern/textpattern/config.php
<?php
 $txpcfg['db'] = 'textpattern';
 $txpcfg['user'] = 'textp';
 $txpcfg['pass'] = 'textp';
 $txpcfg['host'] = 'localhost';
 $txpcfg['table_prefix'] = '';
 $txpcfg['txpath'] = '/var/www/html/textpattern/textpattern';
 $txpcfg['dbcharset'] = 'utf8mb4';
?>

Step14. Set Permission

chown apache:apache /var/www/html/textpattern/textpattern/config.php

For Live Installation you may refer below youtube link:-

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here