Jun 252014
 

Before installing Baikal, we should ensure, that we will meet the requirements for Baikal:

  • an hosted webserver running apache 2 and PHP 5.3.0
  • PHP 5.3.1 or newer with the following extensions:
    • PDO and SQLite3 or MySQL
    • DOM (php-xml)

On Ubuntu you can install the following packages to meet the requirements:

sudo apt-get install mysql-server php5 php5-mysql

The Package php5-mysql contains the PDO libraries.

After you have installed the packages, you should setup a database and a database user for baikal. Login to mysql with root user to create the DB and the User:

mysql -u root -p


mysql> create database baikal;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| baikal             |
| database           |
| mysql              |
| performance_schema |
+--------------------+
5 rows in set (0.00 sec)


mysql> create user 'baikalUser'@'localhost' identified by  'baikalPassword';
Query OK, 0 rows affected (0.00 sec)

mysql> grant all on baikal.* to ‘baikalUser'@'localhost’;
Query OK, 0 rows affected (0.00 sec)

Now let’s check if the user has the necessary rights, by doing a login, open the database and do a select:

philipp@eliteX:/var/www/html/baikal$ mysql -u baikalUser -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 48
Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

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

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| baikal             |
+--------------------+
2 rows in set (0.00 sec)

mysql> use baikal;
Database changed
mysql> show tables;
Empty set (0.00 sec)

After the database and user is ready, we can extract the package to our web-root/baikal. After you have extracted the package, open the location in a web browser:

http://<yourServer>/<path_to_baikal>

In the first step, you need to setup basic things like timezone, admin user, etc.

In the second step insert the necessary data for the database configuration (you do not need to insert the port number if you are using the default-port):

Baikal Installation

Baikal Installation

The Installation is done, you should now be able to login to baikal with your admin-user:

http://<yourServer>/<path_to_baikal>

 

Next steps:

Sorry, the comment form is closed at this time.