How to install b2evolution on Linuxmint 18.03
To install b2evolution on Linuxmint 18.03
b2evolution is an open-source CMS, based on PHP and MySQL with the ability to run multiple blogs using one installation and one database without any need of external plugins. It contains features like file and photo management, advanced skinning, multiple domain support, detailed user permissions and W3C standards compliance.
Installation
Prerequisites
Install LAMP(Apache, MariaDB, and php7.2)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-mcrypt php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2 php7.2-common php7.2-xmlrpc php7.2-soap php7.2-xml php7.2-intl
php7.2-cli php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-recode php7.2-sq php7.2-intl
Download the b2evolution package using wget command
linuxhelp ~ # wget http://b2evolution.net/media/blogs/downloads/b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020
--2018-06-14 09:43:49-- http://b2evolution.net/media/blogs/downloads/b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020
Resolving b2evolution.net (b2evolution.net)... 50.22.201.156
Connecting to b2evolution.net (b2evolution.net)|50.22.201.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17933622 (17M) [application/zip]
Saving to: ‘ b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020’
b2evolution-6.10.1-stabl 100%[=================================> ] 17.10M 251KB/s in 83s
2018-06-14 09:45:13 (211 KB/s) - ‘ b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020’ saved [17933622/17933622]
The downloaded package is a zip file, so Unzip the package using the following command.
linuxhelp ~ # unzip b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020
Archive: b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020
creating: b2evolution/
creating: b2evolution/skins_email/
inflating: b2evolution/skins_email/contact_message_new.html.php
inflating: b2evolution/skins_email/scheduled_task_error_report.txt.php
inflating: b2evolution/skins_email/comments_unmoderated_reminder.txt.php
inflating: b2evolution/skins_email/contact_message_new.txt.php
inflating: b2evolution/skins_email/index.html
.
.
.
extracting: b2evolution/media/users/admin/faceyourmanga_admin_boy.png
creating: b2evolution/media/users/mary/
inflating: b2evolution/media/users/mary/mary.jpg
creating: b2evolution/media/users/larry/
inflating: b2evolution/media/users/larry/larry.jpg
creating: b2evolution/media/users/dave/
inflating: b2evolution/media/users/dave/dave.jpg
creating: b2evolution/media/users/jay/
inflating: b2evolution/media/users/jay/jay.jpg
inflating: b2evolution/media/sample.htaccess
Change the ownership and permission for b2evolution directory
linuxhelp ~ # ls b2evolution b2evolution-6.10.1-stable-2018-05-30.zip?mtime=1527694020 linuxhelp ~ # chmod -R www-data:www-data b2evolution linuxhelp ~ # chmod -R 775 b2evolutio
Move the b2evolution directory into the /html location
linuxhelp ~ # mv b2evolution /var/www/html/
Create a new virtual host configuration for accessing the b2evolution application
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim b2.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/b2evolution/
< Directory /var/www/html/b2evolution/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Enable the site access
linuxhelp sites-available # a2ensite b2.conf
Enabling site b2.
To activate the new configuration, you need to run:
service apache2 reload
Make an entry to the host file as follows
linuxhelp sites-available # vim /etc/hosts
< your ip address> < your domain name>
Restart the apache2 service
linuxhelp sites-available # systemctl restart apache2.service
Open a browser and type the following URL http://local IP (or ) domain name
The installation wizard of b2evolution will appear as shown below
Configure the database setup as follows
Setup the additional settings and click " update the config file" option
Choose the method of installation and Click Next
Once all the configurations are done Click on Install
You will see the progress of installation as shown
After the successful installation, you will see the following screen as shown below.
These language packs are add-ons that you can download and then upload to a specific folder where you originally setup your b2evolution. Simply follow the setup instructions for the specific b2evolution version that you want to use.
If time is not of an essence, we prefer that you upload your chosen language pack onto your b2evolution setup folder before you run the b2evolution installation. But if you’re time-constrained or if this sounds too complicated for you right now, just go ahead with the installation and worry about this later.
If you don’t have your own web space/web server yet, we have a list of good web hosting providers to get you started. They all support b2evolution. Choose the one you trust the most.
Even, if you’ve decided to use a pre-installed or downloaded design, you can still customize the design to your own taste and preference. It’s perfectly normal to want to personalize the look of your blog to match your personality or your blog’s theme.
If you really wanted to provide your own design, and depending on your knowledge and skills, you can create your own skin from scratch or integrate b2evolution on an existing website with an existing design.