• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install textpattern 4.7.3 on centos 7.5

  • 01:03 rpm -q centos-release
  • 01:21 mysql -u root -p
  • 02:56 wget https://textpattern.com/File+download/91/textpattern-4.7.3.zip
  • 03:11 unzip textpattern-4.7.3.zip
  • 03:23 mv textpattern-4.7.3 /var/www/textpattern
  • 03:40 chown -R apache:apache /var/www/textpattern
  • 03:56 chmod -R 755 /var/www/textpattern
  • 04:16 vim /etc/httpd/conf.d/textpattern.conf
  • 05:17 systemctl restart httpd
  • 06:27 cd /var/www/textpattern
  • 06:38 cd textpattern
  • 06:56 vim config.php
  • 07:17 systemctl restart httpd
{{postValue.id}}

Installation of textpattern cms 4.7.3 on centos 7.5

Requirements for textpattern cms:

Apache Mariadb php 5.6 and its module (yum install -y php php-xml php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt)

You need to configure the LAMP setup For the Installation of Textpattern CMS If you dont have the Lamp setup Refer Here

Installation proccedure

Check the centos version by using the following command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64

configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database textdb;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'textuser'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on textdb.* to 'textuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted

Once the database configuration is done, you shall download the Textpattern cms with the help of the following command.

[root@linuxhelp ~]# wget https://textpattern.com/File+download/91/textpattern-4.7.3.zip
--2019-04-20 23:45:30--  https://textpattern.com/File+download/91/textpattern-4.7.3.zip
Resolving textpattern.com (textpattern.com)... 46.101.158.114, 2a03:b0c0:3:d0::db2:5001
Connecting to textpattern.com (textpattern.com)|46.101.158.114|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1822787 (1.7M) [application/octet-stream]
Saving to: ‘textpattern-4.7.3.zip’
100%[==========================================================>] 1,822,787    722KB/s   in 2.5s   
2019-04-20 23:45:33 (722 KB/s) - ‘textpattern-4.7.3.zip’ saved [1822787/1822787]

Once the download is completed extract the download package using unzip command

[root@linuxhelp ~]# unzip textpattern-4.7.3.zip
Archive:  textpattern-4.7.3.zip
   creating: textpattern-4.7.3/
  inflating: textpattern-4.7.3/.htaccess  
  inflating: textpattern-4.7.3/css.php  
   creating: textpattern-4.7.3/files/
  inflating: textpattern-4.7.3/files/.htaccess-dist  
.
.
.
  inflating: textpattern-4.7.3/textpattern/vendors/Textpattern/Validator/FormConstraint.php  
  inflating: textpattern-4.7.3/textpattern/vendors/Textpattern/Validator/SectionConstraint.php  
  inflating: textpattern-4.7.3/textpattern/vendors/Textpattern/Validator/TrueConstraint.php  
  inflating: textpattern-4.7.3/textpattern/vendors/Textpattern/Validator/Validator.php  
  inflating: textpattern-4.7.3/textpattern/vendors/Txp.php  
   creating: textpattern-4.7.3/themes/
  inflating: textpattern-4.7.3/themes/.htaccess  

Move the textpattern cms directory to apache root directory

[root@linuxhelp ~]# mv textpattern-4.7.3 /var/www/textpattern

Set the ownership and permission for textpattern cms by using the following command

[root@linuxhelp ~]# chown -R apache:apache /var/www/textpattern
[root@linuxhelp ~]# chmod -R 755 /var/www/textpattern

Configure the virtualhost for accesing the textpattern cms

[root@linuxhelp ~]# vim /etc/httpd/conf.d/textpattern.conf
<Virtualhost *:80>
        servername www.linuxhelp1.com
        documentroot /var/www/textpattern
</Virtualhost>

Restart the apache service by using the following command

[root@linuxhelp ~]# systemctl restart httpd

Switch to your browser and enter your domain name snap1 Select the required language snap2 Enter the required database details and click next. snap3 A configuration file is prompted to the user to enter into the Textpattern directory. snap4

[root@linuxhelp ~]#cd /var/www/textpattern
[root@linuxhelp textpattern]# ls
css.php  files  HISTORY.txt  images  index.php  LICENSE.txt  README.txt  rpc  textpattern  themes
[root@linuxhelp textpattern]# cd textpattern
[root@linuxhelp textpattern]# vim config.php
<?php
$txpcfg['db'] = 'textdb';
$txpcfg['user'] = 'textuser';
$txpcfg['pass'] = '123456';
$txpcfg['host'] = 'localhost';
$txpcfg['table_prefix'] = '';
$txpcfg['txpath'] = '/var/www/textpattern/textpattern';
$txpcfg['dbcharset'] = 'utf8mb4';
?>
[root@linuxhelp textpattern]# systemctl restart httpd

after adding the configuration file and click " I did it" option.

Enter the database tables details and click next. snap5 The installation is complete. Click login now option. snap6 The login page appears on the screen. Enter the admin credentials and login. snap7 The admin page of Textpattern appears on the screen. snap8

The installation procedure of Textpattern CMS 4.7.3 on CentOS 7.5 comes to end

Tags:
gabriel
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Textpattern CMS?

A

Textpattern CMS is specially designed for web developers, designers, and bloggers. It allows the users to publish their content with the easy interface. The Textpattern tool is developed with advanced features to create, edit and publish content in the websites. It contains features like conversion of plain text to XHTML code, tag-based template system, built-in site statistics and separation of content from presentation.

Q

IS it Possible to use MySQL instead of MariaDB in Textpattern CMS?

A

Yes. You can use any type of database as per your choice and preference.

Q

Where, the official documentation for the Textpattern can be found?

A

For accessing the official documentation of the Textpattern, use the following link as given below "https://docs.textpattern.com/"

Q

How to get the Github repository for the Textpattern?

A

For accessing the Github repository for the Textpattern, use the following link as given below "https://github.com/textpattern/textpattern"

Q

How to configure the hostentry for textpattern cms?

A

Enter into #vim /etc/hosts



Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.