• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Textpattern CMS in CentOS

255

Install Textpattern CMS with CentOS 7

Textpattern is a content management systems which is a free source. It is composed of a rich features to create a well refined and powerful website. Installation of Textpattern CMS is explained in this article.

Features

  • Coding knowledge is not mandatory.
  • Plain text can be easily converted into XHTML code.
  • Design and security
  • Easy management


To install Textpattern CMS

Utilise the following command to install the mariadb and mariadb-server.

[root@linuxhelp1 ~]# yum install mariadb mariadb-server -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
-->  Running transaction check
--->  Package mariadb.x86_64 1:5.5.47-1.el7_2 will be installed
--->  Package mariadb-server.x86_64 1:5.5.47-1.el7_2 will be installed
-->  Finished Dependency Resolution
.
.
.
Installed:
 mariadb.x86_64 1:5.5.47-1.el7_2                              mariadb-server.x86_64 1:5.5.47-1.el7_2                             

Complete!

Install the web server by running the following command.

[root@linuxhelp1 ~]# yum install httpd -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
-->  Running transaction check
--->  Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be installed
-->  Finished Dependency Resolution
.
.
.
Installed:
  httpd.x86_64 0:2.4.6-40.el7.centos.4                                                                                             

Complete!

Start and enable the apache and mariadb services.

[root@linuxhelp1 ~]# systemctl start mariadb
[root@linuxhelp1 ~]# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
[root@linuxhelp1 ~]# systemctl start httpd
[root@linuxhelp1 ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

Create a mysql admin password and database as follows.

[root@linuxhelp1 ~]# mysqladmin -u root password linuxc
[root@linuxhelp1 ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 3
Server version: 5.5.47-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  create database linuxhelp 
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]>  create user ' user1' @' localhost'  identified by ' linuxc'  
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  grant all on linuxhelp.* to ' user1' @' localhost'  
Query OK, 0 rows affected (0.02 sec)

MariaDB [(none)]>  flush privileges 
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  exit 
Bye

Install the required packages for the cms

[root@linuxhelp1 ~]# yum install php php-pdo php-common php-mbstring php-mysql -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
-->  Running transaction check
--->  Package php.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
-->  Processing Dependency: php-cli(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-5.4.16-36.1.el7_2.1.x86_64
--->  Package php-common.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
.
.
.
Installed:
  php.x86_64 0:5.4.16-36.1.el7_2.1          php-common.x86_64 0:5.4.16-36.1.el7_2.1    php-mbstring.x86_64 0:5.4.16-36.1.el7_2.1   
  php-mysql.x86_64 0:5.4.16-36.1.el7_2.1    php-pdo.x86_64 0:5.4.16-36.1.el7_2.1      

Dependency Installed:
  php-cli.x86_64 0:5.4.16-36.1.el7_2.1                                                                                             

Complete!

Download the package for the cms

[root@linuxhelp1 ~]# cd /tmp
[root@linuxhelp1 tmp]# wget http://textpattern.com/latest.zip
--2016-07-20 10:56:14--  http://textpattern.com/latest.zip
Resolving textpattern.com (textpattern.com)... 37.153.96.164
Connecting to textpattern.com (textpattern.com)|37.153.96.164|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://textpattern.com/file_download/99/textpattern-4.5.7.zip [following]
--2016-07-20 10:56:14--  http://textpattern.com/file_download/99/textpattern-4.5.7.zip
Reusing existing connection to textpattern.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘ latest.zip’ 
[                                                 < =>                                       ] 6,18,715    45.9KB/s   in 17s    

2016-07-20 10:56:31 (35.9 KB/s) - ‘ latest.zip’  saved [618715]

Extract the downloaded package.

[root@linuxhelp1 tmp]# unzip latest.zip -d /var/www/html/
Archive:  latest.zip
   creating: /var/www/html/textpattern-4.5.7/
  inflating: /var/www/html/textpattern-4.5.7/HISTORY.txt  
   creating: /var/www/html/textpattern-4.5.7/textpattern/
   creating: /var/www/html/textpattern-4.5.7/textpattern/lang/
  inflating: /var/www/html/textpattern-4.5.7/textpattern/lang/en-gb.txt  
  inflating: /var/www/html/textpattern-4.5.7/textpattern/lang/README  
.
.
.
  inflating: /var/www/html/textpattern-4.5.7/js/css3-mediaqueries.js  
  inflating: /var/www/html/textpattern-4.5.7/js/html5shiv.js  
  inflating: /var/www/html/textpattern-4.5.7/index.php  
  inflating: /var/www/html/textpattern-4.5.7/css.php

Changes with permissions and ownership by using the following command.

[root@linuxhelp1 tmp]# chown -R apache.apache /var/www/html/textpattern-4.5.7/

Move the contents that are present inside the textpattern.

[root@linuxhelp1 textpattern]# mv * /var/www/html/

Open the browser and navigate to http://< IP_address> /setup/
Installation-TextpatternCMS-content-management-systems-CentOS7-Open-browser
Enter the database details.
Installation-TextpatternCMS-content-management-systems-CentOS7-database-details

Installation-TextpatternCMS-content-management-systems-CentOS7-setup

Now create a new file called config .php and paste the above code.

[root@linuxhelp1 html]# vim config.php
< ?php
$txpcfg[' db' ] = ' linuxhelp'  
$txpcfg[' user' ] = ' user1'  
$txpcfg[' pass' ] = ' linuxc'  
$txpcfg[' host' ] = ' localhost'  
$txpcfg[' table_prefix' ] = ' '  
$txpcfg[' txpath' ] = ' /var/www/html'  
$txpcfg[' dbcharset' ] = ' utf8'  
?> 

Create the database table by typing the required fields.
Installation-TextpatternCMS-content-management-systems-CentOS7-Create-database
Login with the user credentials.
Installation-TextpatternCMS-content-management-systems-CentOS7-credentials
Choose your preferred language and click Save.
Installation-TextpatternCMS-content-management-systems-CentOS7-language
Now start creating your own blog.
Installation-TextpatternCMS-content-management-systems-CentOS7-own-blog

Tags:
lucas
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How can I use MySQL instead of MariaDB in Textpattern CMS?

A

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

Q

I have an NGiNX webserver installed on my server. Can I use that document root path?

A

You can use any kind of web server if you have prior knowledge on that Web server.

Q

What are the benefits of cms website?

A

There are so many benefits is there some
Simplified content management – Managing content becomes non-technical
Saves time and effort – Its advanced functionality and automation saves time & labor
Complete control- You can make changes anytime, anywhere.

Q

It will reduce maintenance cost in CMS?

A

Yes, It will Reduce Maintenance cost – No need to pay additionally for changes

Q

what is SEO friendly in CMS?

A

Your website sells more because your every page dominates search engines.

Related Tutorials in How to install Textpattern CMS in CentOS

Related Tutorials in How to install Textpattern CMS in CentOS

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install Textpattern CMS in CentOS

Related Forums in How to install Textpattern CMS in CentOS

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
Pligg
aiden class=
CMS : Pligg install on opensuse
Oct 6, 2017

Related News in How to install Textpattern CMS in CentOS

Related News in How to install Textpattern CMS in CentOS

WordPress and Joomla websites infected by new backdoor malware
WordPress and Joomla websites infected by new backdoor malware
May 31, 2019
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 legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

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.