How to install Wolf CMS on Ubuntu 18.04
To install Wolf CMS on Ubuntu 18.04
Wolf CMS is a free and open-source content management system which has a simple and elegant user interface. Wolf CMS is written in PHP programming language and it is light-weight, fast, simple CMS tool. It also contains features such as archiving, comment section, file manager, markdown, statistics, and SQLite 3. In this tutorial, we will be briefed on the installation process of Wolf CMS on Ubuntu 18.04.
Installing Wolf CMS
First, make sure you have a LAMP environment setup and then proceed with the installation. begin with configuring the MySQL database for Wolf CMS by executing the following set of commands.
root@linuxhelp:~# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with or g. Your MySQL connection id is 4 Server version: 5.7.21-1ubuntu1 (Ubuntu) Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type ' help ' or ' h' for help. Type ' c' to clear the current input statement. mysql> CREATE DATABASE wolfcms Query OK, 1 row affected (0.06 sec) mysql> CREATE USER ' wolfcmsuser' @' localhost' IDENTIFIED BY ' password' Query OK, 0 rows affected (0.10 sec) mysql> GRANT ALL PRIVILEGES ON `wolfcms`.* TO ' wolfcmsuser' @' localhost' Query OK, 0 rows affected (0.03 sec) mysql> FLUSH PRIVILEGES Query OK, 0 rows affected (0.07 sec) mysql> exit Bye
Next, download the Wolf CMS package by executing the wget command followed by the download link.
root@linuxhelp:~# wget https://bitbucket.org/wolfcms/wolf-cms-downloads/downloads/wolfcms-0.8.3.1.zip
--2018-04-06 18:18:04-- https://bitbucket.org/wolfcms/wolf-cms-downloads/downloads/wolfcms-0.8.3.1.zip
Resolving bitbucket.org (bitbucket.org)... 104.192.143.1, 104.192.143.2, 104.192.143.3, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.143.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/8b72fc9a-0352-4a62-b1a6-f641e4ea775f/downloads/98cc755f-37e8-43d2-acfe-781006743ce9/wolfcms-0.8.3.1.zip?Signature=HkfWNJF79jXZAH%2BC%2F4FQFGo0u2s%3D& Expires=1523020684& AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ& versionId=null& response-content-disposition=attachment%3B%20filename%3D%22wolfcms-0.8.3.1.zip%22 [following]
--2018-04-06 18:18:06-- https://bbuseruploads.s3.amazonaws.com/8b72fc9a-0352-4a62-b1a6-f641e4ea775f/downloads/98cc755f-37e8-43d2-acfe-781006743ce9/wolfcms-0.8.3.1.zip?Signature=HkfWNJF79jXZAH%2BC%2F4FQFGo0u2s%3D& Expires=1523020684& AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ& versionId=null& response-content-disposition=attachment%3B%20filename%3D%22wolfcms-0.8.3.1.zip%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.97.219
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.97.219|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1278487 (1.2M) [application/zip]
Saving to: ‘ wolfcms-0.8.3.1.zip’
wolfcms-0.8.3.1.zip 100%[===================================================> ] 1.22M 254KB/s in 4.9s
2018-04-06 18:18:12 (254 KB/s) - ‘ wolfcms-0.8.3.1.zip’ saved [1278487/1278487]
Extract the downloaded package to /var/www/html/ location by running the unzip command.
root@linuxhelp:~# unzip wolfcms-0.8.3.1.zip -d /var/www/html/
Archive: wolfcms-0.8.3.1.zip
1b5a6c701b781a632e1364d6865946ee94a9002a
creating: /var/www/html/wolfcms/
inflating: /var/www/html/wolfcms/CONTRIBUTING.md
inflating: /var/www/html/wolfcms/README.md
inflating: /var/www/html/wolfcms/_.htaccess
inflating: /var/www/html/wolfcms/composer.json
extracting: /var/www/html/wolfcms/config.php
creating: /var/www/html/wolfcms/docs/
inflating: /var/www/html/wolfcms/docs/exception.txt
inflating: /var/www/html/wolfcms/docs/install.txt
.
.
inflating: /var/www/html/wolfcms/wolf/plugins/textile/index.php
inflating: /var/www/html/wolfcms/wolf/plugins/textile/readme.txt
inflating: /var/www/html/wolfcms/wolf/plugins/textile/textile.css
inflating: /var/www/html/wolfcms/wolf/plugins/textile/textile.php
inflating: /var/www/html/wolfcms/wolf/utils.php
Next, change the ownership of Wolf CMS directory by executing the following command.
root@linuxhelp:~# cd /var/www/html/
root@linuxhelp:/var/www/html# chown -R www-data.www-data wolfcms
Configure the Apache virtual host for Wolf CMS named wolfcms.conf in the /etc/apache2/sites-available/ directory location.
root@linuxhelp:/var/www/html# touch /etc/apache2/sites-available/wolfcms.conf
Create a soft link for the wolfcms.conf file by running the following command.
root@linuxhelp:/var/www/html# ln -s /etc/apache2/sites-available/wolfcms.conf /etc/apache2/sites-enabled/wolfcms.conf
Add the virtual host configuration content to the wolfcms.conf file. Save and exit the file.
root@linuxhelp:/var/www/html# nano /etc/apache2/sites-available/wolfcms.conf
< VirtualHost 192.168.7.232:80>
ServerAdmin linuxhelpserver@gmail.com
DocumentRoot " /var/www/html/wolfcms"
ServerName linuxhelp1.com
ServerAlias www.linuxhelp1.com
ErrorLog " /var/log/apache2/test-error_log"
CustomLog " /var/log/apache2/test-access_log" combined
< Directory " /var/www/html/wolfcms/" >
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory>
< /VirtualHost>
Restart the Apache web server.
root@linuxhelp:/var/www/html# systemctl restart apache2
Switch over to the web browser and navigate to the machine IP address or hostname The installer page of Wolf CMS appears on the screen. Click Continue to install option to start the installation process.


Enter the database information and administrator details, and click install now.


At next page, you will see the login credentials of CMS but before that, you need to do some post-installation actions.

To continue with the post-installation actions, remove the installation directory in /var/www/html/wolfcms/wolf directory path and run the following command. Remove the write permission for config.php file and also remove the docs directory and README file in same directory location.
root@linuxhelp:/var/www/html# cd wolfcms/wolf/
root@linuxhelp:/var/www/html/wolfcms/wolf# rm -rf install
root@linuxhelp:/var/www/html/wolfcms/wolf# cd ..
root@linuxhelp:/var/www/html/wolfcms# chmod -w config.php
root@linuxhelp:/var/www/html/wolfcms# rm -rf docs README.md
The post-installation works are complete and now the Wolf CMS login page appears on the screen. Enter the required credentials and click Login.

And you will see the interface of Wolf CMS now.

To Add or modify pages in the Wolf CMS, choose any of the option displayed in the menu bar. To upload files itothe site, choose the upload file option or the files displayed on the screen.


You can upload a file to work using the above option. With this, the method to install Wolf CMS on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available