How to install WebsiteBaker on OpenSUSE leap 42.3
To install WebsiteBaker on OpenSUSE Leap 42.3
WebsiteBaker is an open source content management system (CMS) written in PHP and it uses a database to store the data. Website Baker has an easy to use interface, template based front-end, multi-user administration with privilege levels etc. It is simple to install WebsiteBaker, and in this tutorial, you will learn the method to install WebsiteBaker on OpenSUSE Leap 42.3
Requirements
-LAMP Stack
-Apache
-Mariadb
-php7
Zipper in php php-mysqli
Installing WebsiteBaker
You need to download latest stable installation package of Website Baker, you can use the wget command followed by the download link as follows.
linuxhelp:~ # wget http://wiki.websitebaker.org/wbdownload/Wb2-8-3WithSP4.zip
--2017-10-27 11:38:18-- http://wiki.websitebaker.org/wbdownload/Wb2-8-3WithSP4.zip
Resolving wiki.websitebaker.org (wiki.websitebaker.org)... 81.169.128.202
Connecting to wiki.websitebaker.org (wiki.websitebaker.org)|81.169.128.202|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://wiki.websitebaker.org/wbdownload/Wb2-8-3WithSP4.zip [following]
--2017-10-27 11:38:21-- https://wiki.websitebaker.org/wbdownload/Wb2-8-3WithSP4.zip
Connecting to wiki.websitebaker.org (wiki.websitebaker.org)|81.169.128.202|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4149323 (4.0M) [application/zip]
Saving to: ‘ Wb2-8-3WithSP4.zip’
100%[==============================================================================================================================================> ] 4,149,323 58.3KB/s in 82s
2017-10-27 11:39:46 (49.5 KB/s) - ‘ Wb2-8-3WithSP4.zip’ saved [4149323/4149323]
Once the file is downloaded, you need to extract the downloaded package as follows.
linuxhelp:~ # unzip Wb2-8-3WithSP4.zip -d /srv/www/htdocs/websitebaker
Archive: Wb2-8-3WithSP4.zip
inflating: /srv/www/htdocs/websitebaker/UPGRADE
inflating: /srv/www/htdocs/websitebaker/README
inflating: /srv/www/htdocs/websitebaker/LICENSE
inflating: /srv/www/htdocs/websitebaker/INSTALL
inflating: /srv/www/htdocs/websitebaker/DEVINFOS
inflating: /srv/www/htdocs/websitebaker/COPYING
inflating: /srv/www/htdocs/websitebaker/CHANGELOG
inflating: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif
extracting: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif
inflating: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif
extracting: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif
inflating: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif
extracting: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif
extracting: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif
inflating: /srv/www/htdocs/websitebaker/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif
.
.
.
.
inflating: /srv/www/htdocs/websitebaker/wb/templates/index.php
extracting: /srv/www/htdocs/websitebaker/wb/config.php.new
inflating: /srv/www/htdocs/websitebaker/wb/favicon.ico
inflating: /srv/www/htdocs/websitebaker/wb/htaccess.txt
inflating: /srv/www/htdocs/websitebaker/wb/index.php
inflating: /srv/www/htdocs/websitebaker/wb/README-FIX
inflating: /srv/www/htdocs/websitebaker/wb/upgrade-script.php
creating: /srv/www/htdocs/websitebaker/wb/media/
Later, you need to move inside that document root, you can run the following command for the same purpose.
linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ll
total 16
drwxrwxrwx 2 wwwrun www 4096 Oct 9 23:15 gif
-rwxrwxrwx 1 wwwrun www 2356 Mar 18 2017 info2html.css
drwxr-xr-x 3 root root 4096 Oct 27 11:43 websitebaker
In here you need to provide appropriate owner permission and file execution permission. Run the following commands for the same purpose.
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 775 /srv/www/htdocs/
Once it is done, make sure you configure your Apache VirtualHost. Run the following command to open the .conf file.
linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/website.conf
In the file, you need to make the following configuration.
< VirtualHost *:80> DocumentRoot " /srv/www/htdocs" ServerName www.linuxhelp1.com < Directory " /srv/www/htdocs/" > DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
Once it is done, you need to restart your Apache service by running the following command.
linuxhelp:/srv/www/htdocs # systemctl restart apache
Now, switch over to your browser and enter your WebsiteBaker directory

Here, it asks you to rename your config.php file.

So, get into your website baker directory by running the following command.
linuxhelp:/srv/www/htdocs/websitebaker # cd wb/
Here you can rename the config.php as follows.
linuxhelp:/srv/www/htdocs/websitebaker/wb # mv config.php.new config.php
Back to your browser, refresh it and check all the details.

Also, you should enter all your necessary details. And then, click on Install WebsiteBaker.

Once it is done, you will be asked to Log into WebsiteBaker. Enter your login credentials and click on Login
Once you are inside WebsiteBaker, you will be asked to delete your instalation folders.

Switch back to your terminal and run the following command to move the php file to some other location.
linuxhelp:/srv/www/htdocs/websitebaker/wb # mv upgrade-script.php /tmp/
Also, you should delete or move your install directory.
linuxhelp:/srv/www/htdocs/websitebaker/wb # mv install /tmp/
Once it is done, move back to your browser.

With this, the installation of Website Baker comes to an end.
Comments ( 0 )
No comments available