• 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 Opensuse15.1

  • 00:30 cat /etc/os-release
  • 00:40 mysql -u root -p
  • 01:40 wget https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
  • 01:52 unzip anchor-cms-0.12.7-bundled.zip -d /srv/www/htdocs/
  • 02:09 cd /srv/www/htdocs/
  • 02:24 chown -R wwwrun. anchor-cms-0.12.7
  • 02:36 chmod -R 775 anchor-cms-0.12.7
  • 02:50 vim /etc/apache2/conf.d/anchor.conf
  • 03:09 cd anchor-cms-0.12.7/
  • 03:25 zypper install composer
  • 03:45 composer install
  • 03:56 composer update
  • 04:14 systemctl restart apache2
{{postValue.id}}

How to Install Anchor-CMS on Opensuse15.1

prerequisites:

Apache

Mysql

PHP

To check the Installed version of OS

LinuxHelp:~ # cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Configure Mysql Database for Anchor-CMS

LinuxHelp:~ # mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 10.2.25-MariaDB SUSE package
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;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'anchorusr'@localhost identified by '123456';
Query OK, 0 rows affected (0.04 sec)
MariaDB [(none)]> grant all privileges on anchor.* to 'anchorusr'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit
Bye

Download the Anchor-CMS through below the link

LinuxHelp:/mnt # wget https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
--2019-12-08 04:09:21--  https://github.com/anchorcms/anchor-cms/releases/download/0.12.7/anchor-cms-0.12.7-bundled.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|: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%2F20191207%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191207T223920Z&X-Amz-Expires=300&X-Amz-Signature=6850d2edf6ebdbd92b39b7daa82641ea81915d443d7229501c557c24d41da4d3&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]

Unzip the Downloaded Zip file by using below command

LinuxHelp:/mnt # unzip anchor-cms-0.12.7-bundled.zip -d /srv/www/htdocs/
Archive:  anchor-cms-0.12.7-bundled.zip
   creating: /srv/www/htdocs/anchor-cms-0.12.7/
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.editorconfig  
   creating: /srv/www/htdocs/__MACOSX/
   creating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/
  inflating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/._.editorconfig  
   creating: /srv/www/htdocs/anchor-cms-0.12.7/.github/
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.github/anchor-bg.jpeg  
   creating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/.github/
  inflating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/.github/._anchor-bg.jpeg  
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.github/CODE_OF_CONDUCT.md  
  inflating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/.github/._CODE_OF_CONDUCT.md  
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.github/CONTRIBUTING.md  
  inflating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/.github/._CONTRIBUTING.md  
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.github/ISSUE_TEMPLATE.md  
  inflating: /srv/www/htdocs/__MACOSX/anchor-cms-0.12.7/.github/._ISSUE_TEMPLATE.md  
  inflating: /srv/www/htdocs/anchor-cms-0.12.7/.github/PULL_REQUEST_TEMPLATE.md  

Change Directory to htdocs

LinuxHelp:/mnt # cd /srv/www/htdocs/

Change Ownership for the Anchor-CMS directory

LinuxHelp:/srv/www/htdocs # chown -R wwwrun. anchor-cms-0.12.7

Change permission for the Zimplit-CMS directory

LinuxHelp:/srv/www/htdocs # chmod -R 775 anchor-cms-0.12.7

Configure Virtual host for Accessing the Anchor-CMS

LinuxHelp:/srv/www/htdocs # vim /etc/apache2/conf.d/anchor.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot "/srv/www/htdocs/anchor-cms-0.12.7"
<directory "/srv/www/htdocs/">
AllowOverride All
Require all granted
</directory>
</virtualhost>

Change Directory to Anchor-CMS

LinuxHelp:/srv/www/htdocs # cd anchor-cms-0.12.7/

Long listing the Directory

LinuxHelp:/srv/www/htdocs/anchor-cms-0.12.7 # ls -la
total 112
drwxrwxr-x 1 wwwrun wwwrun   430 Apr 24  2018 .
drwxr-xr-x 1 wwwrun wwwrun    66 Dec  8 04:10 ..
-rwxrwxr-x 1 wwwrun wwwrun   293 Mar  7  2018 .editorconfig
drwxrwxr-x 1 wwwrun wwwrun   176 Mar  7  2018 .github
-rwxrwxr-x 1 wwwrun wwwrun   774 Mar  7  2018 .gitignore
-rwxrwxr-x 1 wwwrun wwwrun  1889 Mar  7  2018 .travis.yml
-rwxrwxr-x 1 wwwrun wwwrun  1431 Mar  7  2018 Dockerfile
drwxrwxr-x 1 wwwrun wwwrun   190 Mar  7  2018 anchor
-rwxrwxr-x 1 wwwrun wwwrun  1057 Mar  7  2018 composer.json
-rwxrwxr-x 1 wwwrun wwwrun 23650 Mar  7  2018 composer.lock
drwxrwxr-x 1 wwwrun wwwrun    18 Mar  7  2018 content
-rwxrwxr-x 1 wwwrun wwwrun   558 Mar  7  2018 docker-compose.yml
-rwxrwxr-x 1 wwwrun wwwrun  6558 Mar  7  2018 gulpfile.js
-rwxrwxr-x 1 wwwrun wwwrun   885 Mar  7  2018 index.php
drwxrwxr-x 1 wwwrun wwwrun   142 Mar  7  2018 install
-rwxrwxr-x 1 wwwrun wwwrun   852 Mar  7  2018 jest.config.js
-rwxrwxr-x 1 wwwrun wwwrun 35121 Mar  7  2018 license.md
-rwxrwxr-x 1 wwwrun wwwrun  1447 Mar  7  2018 package.json
-rwxrwxr-x 1 wwwrun wwwrun  2583 Mar  7  2018 readme.md
-rwxrwxr-x 1 wwwrun wwwrun     1 Mar  7  2018 scss-lint.yml
drwxrwxr-x 1 wwwrun wwwrun   394 Mar  7  2018 system
drwxrwxr-x 1 wwwrun wwwrun   170 Mar  7  2018 test
drwxrwxr-x 1 wwwrun wwwrun    14 Mar  7  2018 themes
drwxrwxr-x 1 wwwrun wwwrun   156 Apr 24  2018 vendor

We need to install Composer package to execute the composer

LinuxHelp:/srv/www/htdocs/anchor-cms-0.12.7 # zypper install composer
Retrieving repository 'Main Update Repository' metadata ........................................................[done]
Building repository 'Main Update Repository' cache .............................................................[done]
Loading repository data...
Reading installed packages...
'composer' not found in package names. Trying capabilities.
Resolving package dependencies...
….
…..
 (1/6) Installing: libzip5-1.5.1-lp151.2.3.x86_64 ...............................................................[done]
(2/6) Installing: php7-openssl-7.2.5-lp151.6.13.1.x86_64 .......................................................[done]
(3/6) Installing: php7-phar-7.2.5-lp151.6.13.1.x86_64 ..........................................................[done]
(4/6) Installing: php7-zlib-7.2.5-lp151.6.13.1.x86_64 ..........................................................[done]
(5/6) Installing: php7-zip-7.2.5-lp151.6.13.1.x86_64 ...........................................................[done]
(6/6) Installing: php-composer-1.8.5-lp151.1.1.noarch ..........................................................[done]

Run the Below command to execute the composer package in the current directory

LinuxHelp:/srv/www/htdocs/anchor-cms-0.12.7 # composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files

To update the Composer files use the below command

LinuxHelp:/srv/www/htdocs/anchor-cms-0.12.7 # composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 4 updates, 0 removals
  - Updating psr/log (1.0.2 => 1.1.2): Downloading (100%)         
  - Updating symfony/debug (v4.0.5 => v4.4.1): Downloading (100%)         
  - Updating symfony/polyfill-mbstring (v1.7.0 => v1.13.1): Downloading (100%)         
  - Updating symfony/console (v3.4.5 => v3.4.36): Downloading (100%)         
Writing lock file
Generating autoload files

Restart the apache service to update the changes

LinuxHelp:/srv/www/htdocs/anchor-cms-0.12.7 # systemctl restart apache2

To install Anchor-CMS, Open Browser Type ip address of your system with index.php in address bar

1

2

3

Provide here Database Credentials 4

Create site Meta Data 5

Create Admin credential 6

7

8

9

With this, method to install Anchor-CMS on Opensuse15.1 comes to end

Tags:
benjamin
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 is the Latest version of Anchor-CMS?

A

The Latest version of Anchor-CMS is anchor-cms-0.12.7

Q

IS Composer package required for this Anchor-CMS?

A

Yes, Composer Package is required for this Anchor-CMS

Q

How to install the Composer Package in OpenSuse?

A

The command to install the Composer Package in OpenSuse is
# zypper install composer

Q

How to update the composer files in the current directory?

A

The command to update the composer files in the current directory is
#composer update

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 Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

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.