How to Install b2evolution blog on Linux

In this post, i will show on how to install b2evolution blog on Linux. This howto used Red Hat Enterprise Linux 6 as a sample, therefore it’s should be working on other linux distributions as well. b2evolution is an advanced weblog tool, i-e software allowing you to run your own blogs, newsfeeds or even photo stream. It is a medium scale CMS centered around the blog concept and fully featured with multiple blogs. Follow the following steps to install b2evolution blog on Linux.

1. Go to your Documentroot directory. As a sample i used default apache root directory :

[root@rhel6 html]# pwd
/var/www/html

2. Download the b2evolution into the root directory :

[root@rhel6 html]# wget http://sourceforge.net/projects/evocms/files/b2evolution/b2evo%204.1.2-stable/b2evolution-4.1.2-stable-2011-11-02.zip/download

3. Extract the .zip file using unzip commmand as below :

[root@rhel6 html]# unzip b2evolution-4.1.2-stable-2011-11-02.zip

4. List all files inside root directory. The extracted .zip file will be inside b2evolution folder :

[root@rhel6 html]# ls
b2evolution  b2evolution-4.1.2-stable-2011-11-02.zip

5. Proceed to create the database for b2evolution. On your server, try to create a new (empty) MySQL database for b2evolution (For example, you can call it “b2evodb”. If your the newbie, you can follow this basic steps to create a new database and assign a user and it’s permission :

[root@rhel6 b2evolution]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.47 Source distribution

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> CREATE DATABASE b2evodb;
Query OK, 1 row affected (0.01 sec)

mysql> CREATE USER 'b2evouser'@'localhost' IDENTIFIED BY 'b2evopassword';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON b2evodb.* to b2evouser@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> SHOW GRANTS FOR 'b2evouser'@'localhost';
+------------------------------------------------------------------------------------------------------------------+
| Grants for b2evouser@localhost                                                                                   |
+------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'b2evouser'@'localhost' IDENTIFIED BY PASSWORD '*9565663E85992CAA389CF05321B712B71C125D18' |
| GRANT ALL PRIVILEGES ON `b2evodb`.* TO 'b2evouser'@'localhost'                                                   |
+------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)

mysql>

6. Make conf folder writable, otherwise you will get an error during the installation :

[root@rhel6 ~]# chmod 777 /var/www/html/b2evolution/blogs/conf/

7. Run the installation script on your server. Go to the following address in your web browser :
http://192.168.1.43/b2evolution/blogs/install/

See also  How to use Basic Regular Expression with grep command on Linux

b2evolution

b2evolution

Installing b2evolution...
Checking files...

Preparing to install .htaccess ... ERROR!
Failed to copy files!
Everything should still work, but for optimization you should follow these instructions.
Creating b2evolution tables...
Loading module: _core/model/__core.install.php
Loading module: collections/model/_collections.install.php
Loading module: files/model/_files.install.php
Loading module: sessions/model/_sessions.install.php
Loading module: messaging/model/_messaging.install.php
Loading module: maintenance/model/_maintenance.install.php
Created table «evo_groups»
Created table «evo_groups__groupsettings»
Created table «evo_settings»
Created table «evo_global__cache»
Created table «evo_users»
Created table «evo_users__fielddefs»
Created table «evo_users__fields»
Created table «evo_locales»
Created table «evo_antispam»
Created table «evo_users__usersettings»
Created table «evo_plugins»
Created table «evo_pluginsettings»
Created table «evo_pluginusersettings»
Created table «evo_pluginevents»
Created table «evo_cron__task»
Created table «evo_cron__log»
Created table «evo_country»
Created table «evo_currency»
Created table «evo_slug»
Created table «evo_skins__skin»
Created table «evo_skins__container»
Created table «evo_blogs»
Created table «evo_coll_settings»
Created table «evo_widget»
Created table «evo_categories»
Created table «evo_items__item»
Created table «evo_postcats»
Created table «evo_comments»
Created table «evo_items__prerendering»
Created table «evo_items__version»
Created table «evo_items__status»
Created table «evo_items__type»
Created table «evo_items__tag»
Created table «evo_items__itemtag»
Created table «evo_items__subscriptions»
Created table «evo_subscriptions»
Created table «evo_blogusers»
Created table «evo_bloggroups»
Created table «evo_links»
Created table «evo_files»
Created table «evo_filetypes»
Created table «evo_sessions»
Created table «evo_basedomains»
Created table «evo_track__keyphrase»
Created table «evo_hitlog»
Created table «evo_track__goal»
Created table «evo_track__goalhit»
Created table «evo_messaging__thread»
Created table «evo_messaging__message»
Created table «evo_messaging__threadstatus»
Created table «evo_messaging__contact»
Creating minimum default data...
Creating default blacklist entries... OK.
Creating default groups... OK.
Creating user field definitions... OK.
Creating admin user... OK.
Activating multiple sessions for administrator... OK.
Creating default Post Types... OK.
Creating default file types... OK.
Activating selected default locale... OK.
Creating default settings... OK.
Creating default currencies... OK.
Creating default countries... OK.
Creating default scheduled jobs... OK.
Creating default "help" slug... OK.
Installing default skins... OK.
Installing plugin: quicktags_plugin... OK.
Installing plugin: auto_p_plugin... OK.
Installing plugin: autolinks_plugin... OK.
Installing plugin: texturize_plugin... OK.
Installing plugin: smilies_plugin... OK.
Installing plugin: videoplug_plugin... OK.
Installing plugin: calendar_plugin... OK.
Installing plugin: archives_plugin... OK.
Installing plugin: ping_b2evonet_plugin... OK.
Installing plugin: ping_pingomatic_plugin... OK.
Installing plugin: tinymce_plugin... OK.
Installing plugin: twitter_plugin... OK.
Installing sample contents...
Assigning avatar to Admin... OK.
Creating demo blogger user... OK.
Creating demo user... OK.
Creating default blogs... OK.
Creating sample categories... OK.
Creating sample posts... OK.
Creating sample comments... OK.
Creating default group/blog permissions... OK.
Installing default widgets for blog #1... OK.
Installing default widgets for blog #2... OK.
Installing default widgets for blog #3... OK.
Installing default widgets for blog #4... OK.
The /cache folder could not be created/written to. b2evolution will still work but without caching, which will make it operate slower than optimal.
Installation successful!

Now you can log in with the following credentials:
Login:  	admin
Password:  	ukNx9B44

Note that password carefully! It is a random password that is given to you when you install b2evolution. If you lose it, you will have to delete the database tables and re-install anew.

http://192.168.1.43/b2evolution/blogs/admin.php

See also  How to Create the tar file then gzip the file on RHEL 6

http://192.168.1.43/b2evolution/blogs/

How to Reset the Directory Manager Password on RHEL 7 / CentOS 7
How to Reset the Directory Manager Password on RHEL 7 / CentOS 7

It is best practice to remember passwords, but because too many passwords, sometimes we forget. We are not encouraged to write the password on any paper or share the password...

How to Find Big Files Size on Linux RHEL/CentOS
How to Find Big Files Size on Linux RHEL/CentOS

As the linux administrator, sometimes we have to identify which files are most take much space in the linux server resulting in low free space. Low disk space can also...

Why Linux users should worry about malware and what they can do about it
Why Linux users should worry about malware and what they can do about it

Don’t drop your guard just because you’re running Linux. Preventing the spread of malware and/or dealing with the consequences of infection are a fact of life when using computers. If...

How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7
How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7

This short howto will explain the steps to reset a lost root password or to reset a forgotten root password on Linux RHEL 7 or CentOS 7. Basically, we will...

How to Update CentOS or Upgrade CentOS to the Latest Version
How to Update CentOS or Upgrade CentOS to the Latest Version

Recently, the latest version of CentOS 7.3 was released. All users of CentOS 7.0, 7.1 and 7.2 can upgrade their system to the most recent. This quick guide will explain...

How to Change your WordPress Username, Nickname and Display Name in MySQL
How to Change your WordPress Username, Nickname and Display Name in MySQL

After you create an account log in WordPress, you may want to change your WordPress username, as appropriate or due to security reason. However, you can not do this from...

How to Enable SSH Root Login on Ubuntu 16.04
How to Enable SSH Root Login on Ubuntu 16.04

As what we wrote in the previous article on how to allow SSH root on Ubuntu 14.04, after installing a fresh new copy of Ubuntu 16.04 LTS, we find that...

How to Change UUID of Linux Partition on CentOS 7
How to Change UUID of Linux Partition on CentOS 7

UUID (Universally Unique IDentifier) should be unique and it is used to identify storage devices on a linux system. If you cloned a virtual machine from vCenter, the metadata containing...