Installation

From DreamFactory
Jump to: navigation, search
(Created page with "= Prerequisites = * Install git, curl, zip, unzip ** <source lang="bash">$ sudo apt-get install git curl zip unzip</source> = Database = You'll need a database for the system...")
(No difference)

Revision as of 13:00, 21 October 2016

Prerequisites

  • Install git, curl, zip, unzip
    • $ sudo apt-get install git curl zip unzip

Database

You'll need a database for the system to store configuration information. We recommend MariaDB for this. Other supported system databases are SQLite, PostgreSQL, and Microsoft SQL.

MariaDB

= Install

  • Install the server and client from Apt
    • $ sudo apt-get install mariadb-server mariadb-client

Setup

  • Login to the database
    • $ sudo mysql
  • Create a database. You can name it whatever you like. Just make sure you save this information. For the example we called it dreamfactory.
    • CREATE DATABASE dreamfactory;
  • Create a user with all privileges on that database. You can name the user and password whatever you like. Just make sure you save this information. For the example we used dfadmin for both the user and the password.
    • GRANT ALL PRIVILEGES ON dreamfactory.* to 'dfadmin'@'localhost' IDENTIFIED BY 'dfadmin';
  • Flush privileges on the database and quit.
    • FLUSH PRIVILEGES;
    • quit