How to Install Anchor CMS 0.12.7v on CentOS 7.6
Installation Of Anchor CMS 0.12.7 on Centos 7.6
Anchor is an open-Source content management system which is super-simple, lightweight blog system, which just made to let us write. This article covers the tutorial on Installation of anchor cms 0.12.7 on CentOS 7.6
Features:
Markup made modren
Markdown happy
teeny-tiny
Drag and Drop
Simple Theming
Extensible
Art directed blogging
Requirements:
LAMP Stack
PHP 5.6+
MYSQL 5.6+
PHP Modules:
php-curl php-mcrypt php-gd php-mbstring php-mysql pdo_sqlite
Download Link:
https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
Configure the MariaDB for Anchor CMS using the root password.
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 13
Server version: 10.1.39-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 character set utf8mb4;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> use anchor;
Database changed
MariaDB [anchor]> create user auser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)
MariaDB [anchor]> grant all on anchor.* to auser@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [anchor]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [anchor]> exit
Bye
Change the directory to Apache’s Document root directory.
[root@linuxhelp ~]# cd /var/www
Create a directory for Anchor CMS.
[root@linuxhelp www]# mkdir anchor
Change the directory to anchor.
[root@linuxhelp www]# cd anchor
You shall now download Anchor CMS using wget as follows. The link to download is given in the following command.
[root@linuxhelp anchor]# wget https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
--2019-05-07 13:01:00-- https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/1697736/6dd0c6f6-47af-11e8-86a5-ffef4d0402f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190507T073030Z&X-Amz-Expires=300&X-Amz-Signature=348a88190bc5dd30f117d58614eb9774f765e7997449468ff9239403f69870bc&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Danchor-cms-0.12.7-bundled.zip&response-content-type=application%2Foctet-stream [following]
--2019-05-07 13:01:03-- https://github-production-release-asset-2e65be.s3.amazonaws.com/1697736/6dd0c6f6-47af-11e8-86a5-ffef4d0402f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190507T073030Z&X-Amz-Expires=300&X-Amz-Signature=348a88190bc5dd30f117d58614eb9774f765e7997449468ff9239403f69870bc&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Danchor-cms-0.12.7-bundled.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.16.120
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.16.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1612327 (1.5M) [application/octet-stream]
Saving to: ‘anchor-cms-0.12.7-bundled.zip’
100%[===================================================================================================>] 1,612,327 395KB/s in 4.0s
2019-05-07 13:01:08 (395 KB/s) - ‘anchor-cms-0.12.7-bundled.zip’ saved [1612327/1612327]
List the contents to check the downloaded zip file of Anchor CMS.
[root@linuxhelp anchor]# ll
total 1576
-rw-r--r-- 1 root root 1612327 Apr 24 2018 anchor-cms-0.12.7-bundled.zip
Extract the zip file of Anchor CMS.
[root@linuxhelp anchor]# unzip anchor-cms-0.12.7-bundled.zip
Archive: anchor-cms-0.12.7-bundled.zip
creating: anchor-cms-0.12.7/
inflating: anchor-cms-0.12.7/.editorconfig
creating: __MACOSX/
creating: __MACOSX/anchor-cms-0.12.7/
inflating: __MACOSX/anchor-cms-0.12.7/._.editorconfig
creating: anchor-cms-0.12.7/.github/
inflating: anchor-cms-0.12.7/.github/anchor-bg.jpeg
creating: __MACOSX/anchor-cms-0.12.7/.github/
inflating: __MACOSX/anchor-cms-0.12.7/.github/._anchor-bg.jpeg
inflating: anchor-cms-0.12.7/.github/CODE_OF_CONDUCT.md
inflating: __MACOSX/anchor-cms-0.12.7/.github/._CODE_OF_CONDUCT.md
inflating: anchor-cms-0.12.7/.github/CONTRIBUTING.md
inflating: __MACOSX/anchor-cms-0.12.7/.github/._CONTRIBUTING.md
.
.
.
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/bootstrap.php
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/composer.json
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/LICENSE
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/Mbstring.php
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/README.md
creating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/Resources/
creating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/Resources/unidata/
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php
inflating: anchor-cms-0.12.7/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php
inflating: __MACOSX/._anchor-cms-0.12.7
finishing deferred symbolic links:
anchor-cms-0.12.7/vendor/bin/peridot -> ../peridot-php/peridot/bin/peridot
List the contents to check the extracted files
[root@linuxhelp anchor]# ll
total 1580
drwxr-xr-x 10 root root 4096 Apr 24 2018 anchor-cms-0.12.7
-rw-r--r-- 1 root root 1612327 Apr 24 2018 anchor-cms-0.12.7-bundled.zip
drwxrwxr-x 3 root root 58 Apr 24 2018 __MACOSX
Rename the anchor directory to final.
[root@linuxhelp anchor]# mv anchor-cms-0.12.7 final
Change the directory to final.
[root@linuxhelp anchor]# cd final/
Assign Ownership permissions to the final directory.
[root@linuxhelp final]# chown -R apache. ./
Assign Writable permissions to the final directory.
[root@linuxhelp final]# chmod -R 775 ./
Create a customised configuration file for Anchor CMS
[root@linuxhelp final]# vim /etc/httpd/conf.d/anchor.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/anchor/final/
<directory /var/www/anchor/final/>
allowoverride all
allow from all
</directory>
</virtualhost>
Restart the service of APache
[root@linuxhelp final]# systemctl restart httpd
Open the Browser and enter the server name that had configured inside the virtual hosting of Apache server for Anchor CMS 0.12.7.
Click on Run Installer On the welcome page of anchor CMS to start the installation process.
Choose the language and select the time-zone then click Next Step
Enter the database details that had configured inside the MariaDB for Anchor CMS 0.12.7v and click Next Step
Personalize your Anchor blog by adding some metadata about the site and click Next step.
Enroll the admin credentials to log in the admin area then click Next Step.

Visit your new site to view your frontend or portal.
Go to the URL and Append /admin to access the backend area
Provide the login credentials that had created during the installation process and manage the portal.
Therefore, Installation of Anchor CMS 0.12.7v On CentOS 7.6 comes to end.
Comments ( 0 )
No comments available