{"id":1915,"date":"2012-02-10T21:37:26","date_gmt":"2012-02-10T13:37:26","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1915"},"modified":"2023-04-28T09:49:56","modified_gmt":"2023-04-28T09:49:56","slug":"how-to-install-b2evolution-blog-on-linux","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-b2evolution-blog-on-linux\/","title":{"rendered":"How to Install b2evolution blog on Linux"},"content":{"rendered":"<p>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&#8217;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.<\/p>\n<p>1. Go to your Documentroot directory. As a sample i used default apache root directory :<\/p>\n<pre class=\"code\">[root@rhel6 html]# pwd\n\/var\/www\/html<\/pre>\n<p>2. Download the b2evolution into the root directory :<\/p>\n<pre class=\"code\">[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<\/pre>\n<p>3. Extract the .zip file using unzip commmand as below :<\/p>\n<pre class=\"code\">\n[root@rhel6 html]# unzip b2evolution-4.1.2-stable-2011-11-02.zip\n<\/pre>\n<p>4. List all files inside root directory. The extracted .zip file will be inside b2evolution folder :<\/p>\n<pre class=\"code\">[root@rhel6 html]# ls\nb2evolution  b2evolution-4.1.2-stable-2011-11-02.zip<\/pre>\n<p>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 &#8220;b2evodb&#8221;. If your the newbie, you can follow this basic steps to create a new database and assign a user and it&#8217;s permission :<\/p>\n<pre class=\"code\">[root@rhel6 b2evolution]# mysql -u root -p\nEnter password:\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 3\nServer version: 5.1.47 Source distribution\n\nCopyright (c) 2000, 2010, Oracle and\/or its affiliates. All rights reserved.\nThis software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL v2 license\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nmysql&gt; CREATE DATABASE b2evodb;\nQuery OK, 1 row affected (0.01 sec)\n\nmysql&gt; CREATE USER 'b2evouser'@'localhost' IDENTIFIED BY 'b2evopassword';\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql&gt; GRANT ALL PRIVILEGES ON b2evodb.* to b2evouser@localhost;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql&gt; SHOW GRANTS FOR 'b2evouser'@'localhost';\n+------------------------------------------------------------------------------------------------------------------+\n| Grants for b2evouser@localhost                                                                                   |\n+------------------------------------------------------------------------------------------------------------------+\n| GRANT USAGE ON *.* TO 'b2evouser'@'localhost' IDENTIFIED BY PASSWORD '*9565663E85992CAA389CF05321B712B71C125D18' |\n| GRANT ALL PRIVILEGES ON `b2evodb`.* TO 'b2evouser'@'localhost'                                                   |\n+------------------------------------------------------------------------------------------------------------------+\n2 rows in set (0.00 sec)\n\nmysql&gt;<\/pre>\n<p>6. Make conf folder writable, otherwise you will get an error during the installation :<\/p>\n<pre class=\"code\">[root@rhel6 ~]# chmod 777 \/var\/www\/html\/b2evolution\/blogs\/conf\/<\/pre>\n<p>7. Run the installation script on your server. Go to the following address in your web browser :<br \/>\nhttp:\/\/192.168.1.43\/b2evolution\/blogs\/install\/<\/p>\n<p><img decoding=\"async\" class=\"alignnone lazyload\" title=\"b2evolution\" data-src=\"http:\/\/4.bp.blogspot.com\/-ztL-9bNf6E4\/TzVDt93pGMI\/AAAAAAAABsU\/NJEYZ4vWWF8\/s1600\/1.PNG\" alt=\"b2evolution\" width=\"612\" height=\"516\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 612px; --smush-placeholder-aspect-ratio: 612\/516;\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone lazyload\" title=\"b2evolution\" data-src=\"http:\/\/1.bp.blogspot.com\/-tTrY4Wdbl0k\/TzVDuIiFA5I\/AAAAAAAABsc\/j0_AuPoDYr4\/s1600\/2.PNG\" alt=\"b2evolution\" width=\"604\" height=\"518\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 604px; --smush-placeholder-aspect-ratio: 604\/518;\" \/><\/p>\n<pre class=\"code\">Installing b2evolution...\nChecking files...\n\nPreparing to install .htaccess ... ERROR!\nFailed to copy files!\nEverything should still work, but for optimization you should follow these instructions.\nCreating b2evolution tables...\nLoading module: _core\/model\/__core.install.php\nLoading module: collections\/model\/_collections.install.php\nLoading module: files\/model\/_files.install.php\nLoading module: sessions\/model\/_sessions.install.php\nLoading module: messaging\/model\/_messaging.install.php\nLoading module: maintenance\/model\/_maintenance.install.php\nCreated table \u00abevo_groups\u00bb\nCreated table \u00abevo_groups__groupsettings\u00bb\nCreated table \u00abevo_settings\u00bb\nCreated table \u00abevo_global__cache\u00bb\nCreated table \u00abevo_users\u00bb\nCreated table \u00abevo_users__fielddefs\u00bb\nCreated table \u00abevo_users__fields\u00bb\nCreated table \u00abevo_locales\u00bb\nCreated table \u00abevo_antispam\u00bb\nCreated table \u00abevo_users__usersettings\u00bb\nCreated table \u00abevo_plugins\u00bb\nCreated table \u00abevo_pluginsettings\u00bb\nCreated table \u00abevo_pluginusersettings\u00bb\nCreated table \u00abevo_pluginevents\u00bb\nCreated table \u00abevo_cron__task\u00bb\nCreated table \u00abevo_cron__log\u00bb\nCreated table \u00abevo_country\u00bb\nCreated table \u00abevo_currency\u00bb\nCreated table \u00abevo_slug\u00bb\nCreated table \u00abevo_skins__skin\u00bb\nCreated table \u00abevo_skins__container\u00bb\nCreated table \u00abevo_blogs\u00bb\nCreated table \u00abevo_coll_settings\u00bb\nCreated table \u00abevo_widget\u00bb\nCreated table \u00abevo_categories\u00bb\nCreated table \u00abevo_items__item\u00bb\nCreated table \u00abevo_postcats\u00bb\nCreated table \u00abevo_comments\u00bb\nCreated table \u00abevo_items__prerendering\u00bb\nCreated table \u00abevo_items__version\u00bb\nCreated table \u00abevo_items__status\u00bb\nCreated table \u00abevo_items__type\u00bb\nCreated table \u00abevo_items__tag\u00bb\nCreated table \u00abevo_items__itemtag\u00bb\nCreated table \u00abevo_items__subscriptions\u00bb\nCreated table \u00abevo_subscriptions\u00bb\nCreated table \u00abevo_blogusers\u00bb\nCreated table \u00abevo_bloggroups\u00bb\nCreated table \u00abevo_links\u00bb\nCreated table \u00abevo_files\u00bb\nCreated table \u00abevo_filetypes\u00bb\nCreated table \u00abevo_sessions\u00bb\nCreated table \u00abevo_basedomains\u00bb\nCreated table \u00abevo_track__keyphrase\u00bb\nCreated table \u00abevo_hitlog\u00bb\nCreated table \u00abevo_track__goal\u00bb\nCreated table \u00abevo_track__goalhit\u00bb\nCreated table \u00abevo_messaging__thread\u00bb\nCreated table \u00abevo_messaging__message\u00bb\nCreated table \u00abevo_messaging__threadstatus\u00bb\nCreated table \u00abevo_messaging__contact\u00bb\nCreating minimum default data...\nCreating default blacklist entries... OK.\nCreating default groups... OK.\nCreating user field definitions... OK.\nCreating admin user... OK.\nActivating multiple sessions for administrator... OK.\nCreating default Post Types... OK.\nCreating default file types... OK.\nActivating selected default locale... OK.\nCreating default settings... OK.\nCreating default currencies... OK.\nCreating default countries... OK.\nCreating default scheduled jobs... OK.\nCreating default \"help\" slug... OK.\nInstalling default skins... OK.\nInstalling plugin: quicktags_plugin... OK.\nInstalling plugin: auto_p_plugin... OK.\nInstalling plugin: autolinks_plugin... OK.\nInstalling plugin: texturize_plugin... OK.\nInstalling plugin: smilies_plugin... OK.\nInstalling plugin: videoplug_plugin... OK.\nInstalling plugin: calendar_plugin... OK.\nInstalling plugin: archives_plugin... OK.\nInstalling plugin: ping_b2evonet_plugin... OK.\nInstalling plugin: ping_pingomatic_plugin... OK.\nInstalling plugin: tinymce_plugin... OK.\nInstalling plugin: twitter_plugin... OK.\nInstalling sample contents...\nAssigning avatar to Admin... OK.\nCreating demo blogger user... OK.\nCreating demo user... OK.\nCreating default blogs... OK.\nCreating sample categories... OK.\nCreating sample posts... OK.\nCreating sample comments... OK.\nCreating default group\/blog permissions... OK.\nInstalling default widgets for blog #1... OK.\nInstalling default widgets for blog #2... OK.\nInstalling default widgets for blog #3... OK.\nInstalling default widgets for blog #4... OK.\nThe \/cache folder could not be created\/written to. b2evolution will still work but without caching, which will make it operate slower than optimal.\nInstallation successful!\n\nNow you can log in with the following credentials:\nLogin:  \tadmin\nPassword:  \tukNx9B44\n\nNote 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.<\/pre>\n<p>http:\/\/192.168.1.43\/b2evolution\/blogs\/admin.php<\/p>\n<p>http:\/\/192.168.1.43\/b2evolution\/blogs\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s should be working&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1917,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2056],"tags":[1211,1316,1536,1715],"class_list":["post-1915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms","tag-b2evolution","tag-content-management-system","tag-linux","tag-rhel-6"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1917"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}