• 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 anchor cms on centos 8

  • 00:28 rpm -q centos-release
  • 00:48 wget https://github.com/anchorcms/anchor-cms/archive/master.zip
  • 01:08 unzip master.zip
  • 01:16 mv anchor-cms-master/ /var/www/anchor
  • 01:28 chown -R apache:apache /var/www/anchor
  • 01:42 chmod -R 755 /var/www/anchor
  • 01:56 vim /etc/httpd/conf.d/anchor.conf
  • 03:04 mysql -u root -p
  • 04:26 systemctl restart httpd
  • 04:34 cd /var/www/anchor/
  • 04:45 composer install
  • 05:10 systemctl restart httpd
{{postValue.id}}

How to Install anchor cms on centos 8

The anchors you can use in NYU's central web content management system (CMS) help site visitors easily jump to content located at various points within your pages.In this tutorial, we will cover the installation of anchors CMS on CentOS 8.

Installation Process:

Check the centos version by using command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-8.1-1.1911.0.8.el8.x86_64

Download the anchor cms by using the following command

[root@linuxhelp ~]# wget https://github.com/anchorcms/anchor-cms/archive/master.zip
--2020-08-26 18:45:16--  https://github.com/anchorcms/anchor-cms/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/anchorcms/anchor-cms/zip/master [following]
--2020-08-26 18:45:17--  https://codeload.github.com/anchorcms/anchor-cms/zip/master
Resolving codeload.github.com (codeload.github.com)... 13.233.43.20
Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                  [         <=>                   ] 423.91K   240KB/s    in 1.8s    

2020-08-26 18:45:20 (240 KB/s) - ‘master.zip’ saved [434084]

Extract the downloaded file by using the following command

[root@linuxhelp ~]# unzip master.zip 
Archive:  master.zip
ce13d4f3f31ea2706be38e71fc472d342ac780e1
  creating: anchor-cms-master/
 inflating: anchor-cms-master/.editorconfig  
  creating: anchor-cms-master/.github/
 inflating: anchor-cms-master/.github/CODE_OF_CONDUCT.md  
 inflating: anchor-cms-master/.github/CONTRIBUTING.md  
 inflating: anchor-cms-master/.github/ISSUE_TEMPLATE.md  
 inflating: anchor-cms-master/.github/PULL_REQUEST_TEMPLATE.md  
 inflating: anchor-cms-master/.github/anchor-bg.jpeg  
 inflating: anchor-cms-master/.gitignore  
 inflating: anchor-cms-master/.travis.yml  
 inflating: anchor-cms-master/Dockerfile  
.
.
extracting: anchor-cms-master/themes/default/img/search.png  
  creating: anchor-cms-master/themes/default/js/
 inflating: anchor-cms-master/themes/default/js/main.js  
 inflating: anchor-cms-master/themes/default/page.php  
 inflating: anchor-cms-master/themes/default/posts.php  
 inflating: anchor-cms-master/themes/default/search.php  

Move the anchor cms to apache root directory

[root@linuxhelp ~]# mv anchor-cms-master/ /var/www/anchor

Set the ownership for anchor cms

[root@linuxhelp ~]# chown -R apache:apache /var/www/anchor

Set the permission for anchor cms

[root@linuxhelp ~]# chmod -R 755 /var/www/anchor

Configure the virtualhost for anchor cms

[root@linuxhelp ~]# vim /etc/httpd/conf.d/anchor.conf
<virtualhost *:80>
       Servername www.linuxhelp1.com
       Documentroot /var/www/anchor
<directory /var/www/anchor>
allowoverride all
allow from all
</directory>
</virtualhost>

Create a database for anchor cms

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 10.3.17-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 anchor_db;
Query OK, 1 row affected (0.001 sec)

MariaDB [(none)]> create user 'anchor_user'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> grant all privileges on anchor_db.* to 'anchor_user'@localhost;
Query OK, 0 rows affected (0.000 sec)

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

MariaDB [(none)]> exit
Bye

Restart the apache service

[root@linuxhelp ~]# systemctl restart httpd

Enter into anchor cms directory

[root@linuxhelp ~]# cd /var/www/anchor/

Run the composer install command

[root@linuxhelp anchor]# composer install 
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 13 installs, 0 updates, 0 removals
 - Installing indigophp/hash-compat (v1.1.0): Downloading (100%)         
 - Installing ircmaxell/password-compat (v1.0.4): Downloading (100%)         
 - Installing ircmaxell/security-lib (v1.1.0): Downloading (100%)         
 - Installing ircmaxell/random-lib (v1.2.0): Downloading (100%)         
 - Installing peridot-php/leo (1.6.1): Downloading (100%)         
 - Installing symfony/polyfill-mbstring (v1.8.0): Downloading (100%)         
 - Installing psr/log (1.0.2): Downloading (100%)         
 - Installing symfony/debug (v4.1.0): Downloading (100%)         
 - Installing symfony/console (v3.4.11): Downloading (100%)         
 - Installing phpunit/php-timer (1.0.9): Downloading (100%)         
 - Installing peridot-php/peridot-scope (1.3.0): Downloading (100%)         
 - Installing evenement/evenement (v2.1.0): Downloading (100%)         
 - Installing peridot-php/peridot (1.19.0): Downloading (100%)         
symfony/console suggests installing psr/log-implementation (For using the console logger)
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
Generating autoload files

Once all the setup is completed Restart the apache service

[root@linuxhelp anchor]# systemctl restart httpd

Go to browser and enter the domain name snap1 This is the welcome page of anchor cms snap2 Select the time zone and click next snap3 Configure the database details here snap4 Configure the site details here snap5 Configure the admin credentials here snap6 The installation is completed go to the admin panel snap7 Enter the admin credentials to login the anchor cms snap8 This is the dashboard of anchor cms snap9 With this the installation anchor cms comes to end.

Tags:
elijah
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Anchor-CMS?

A

Anchor CMS is an open-source, lighter-weight, and ultra-simple blogging system that is written in PHP and uses MySQL.
It is used for markdown support, custom fields, themes, and many more.

Q

What does MArkDown happy feature mean in Anchor CMS?

A

Anchor gives you full freedom over your words. Just write in Markdown or HTML, whatever you prefer.

Q

IS database to be set to Unicode Character in Anchor CMS?

A

Yes, the database has to be set in Unicode Character set in Anchor CMS.

Q

Is Anchor CMS An open-source?

A

Yes, Anchor CMS is open-source.

Q

What is the PHP requirement in Anchor CMS?

A

The least supported PHP requirement is 5.6+

Load more

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 keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

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.