{"id":3852,"date":"2014-06-24T11:03:38","date_gmt":"2014-06-24T16:03:38","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3852"},"modified":"2022-06-03T03:46:54","modified_gmt":"2022-06-03T08:46:54","slug":"how-to-install-b2evolution-on-an-ubuntu-14-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-b2evolution-on-an-ubuntu-14-04-vps\/","title":{"rendered":"How To Install b2evolution on an Ubuntu 14.04 VPS"},"content":{"rendered":"
B2evolution is an open-source CMS, based on PHP and MySQL with the ability to run multiple blogs using one installation and one database only. It is fairly easy to install b2evolution on an Ubuntu VPS<\/a>. Download the latest stable version of b2evolution available at http:\/\/b2evolution.net\/downloads\/ to the server and extract the downloaded archive to the document root of your web server using the following commands:<\/p>\n Since b2evolution requires a database, create a new MySQL database:<\/p>\n Next, create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘b2evolution.conf’:<\/p>\n and add the following lines:<\/p>\n Then, execute the following command on your virtual server<\/a>:<\/p>\n Edit the ‘\/etc\/php5\/apache2\/php.ini\/php.ini’ PHP configuration file and add\/modify the following lines:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Make the document root and the b2evolution files and directories in it writable by the Apache service which is running as user \u2018www-data\u2019 and group \u2018www-data\u2019 by executing the following command:<\/p>\n Open http:\/\/your-domain.com\/blogs\/install\/index.php using a web browser and enter your MySQL database name, MySQL username, MySQL password, your email address and click on the ‘Update config file’ button. Then, follow the easy instructions and at the end of the last page, you will see\u00a0 the administrator username and a random password.<\/p>\n You can log in to the b2evolution administrator back-end using ‘admin’ as username and the pre-generated password at https:\/\/your-domain.com\/b2evolution\/blogs\/admin.php<\/p>\n That is it. The b2evolution installation is now complete.<\/p>\n For security reasons, it is recommended to delete the ‘\/var\/www\/html\/blogs\/install\/’ directory once you are done with the installation process.<\/p>\n Of course you don’t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install\u00a0b2evolution for you. They are available 24×7 and will take care of your request immediately.<\/p>\n PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" B2evolution is an open-source CMS, based on PHP and MySQL with the ability to run multiple blogs using one installation … <\/p>\n
\nThe installation process should take about 5-10 minutes if you follow the very easy steps described below.<\/p>\n
\nThis install guide assumes that Apache, PHP and MySQL are already installed and configured on your Ubuntu based virtual server.
\nAt the time of writing this tutorial, the latest stable version available is b2evolution 5.0.9 and it requires:<\/p>\n\n
cd \/tmp\/\r\nwget http:\/\/www.b2evolution.net\/downloads\/b2evolution-5.0.9-stable-2014-05-15.zip\r\nunzip -d \/var\/www\/html\/ b2evolution-5.0.9-stable-2014-05-15.zip<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE b2evolutiondb;\r\nmysql> GRANT ALL PRIVILEGES ON b2evolutiondb.* TO 'b2evolutionuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
vi \/etc\/apache2\/sites-available\/b2evolution.conf<\/pre>\n
<VirtualHost *:80>\r\n\u00a0\u00a0 ServerAdmin admin@your-domain.com\r\n\u00a0\u00a0 DocumentRoot \/var\/www\/html\/b2evolution\/\r\n\u00a0\u00a0 ServerName your-domain.com\r\n\u00a0\u00a0 ServerAlias www.your-domain.com\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 <Directory \/var\/www\/html\/b2evolution\/>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Options Indexes FollowSymLinks MultiViews\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AllowOverride All\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Order allow,deny\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 allow from all\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 <\/Directory>\r\n\u00a0\u00a0 ErrorLog \/var\/log\/apache2\/your-domain.com-error_log\r\n\u00a0\u00a0 CustomLog \/var\/log\/apache2\/your-domain.com-access_log common\r\n<\/VirtualHost><\/pre>\n
ln -s \/etc\/apache2\/sites-available\/b2evolution.conf \/etc\/apache2\/sites-enabled\/b2evolution.conf<\/pre>\n
magic_quotes_runtime = Off\r\ndate.timezone = US\/Central<\/pre>\n
service apache2 restart<\/pre>\n
chown www-data:www-data -R \/var\/www\/html\/b2evolution\/<\/pre>\n