Installation Ubuntu 16
From DreamFactory
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 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
- <source lang="bash">$ sudo apt-get install mariadb-server mariadb-client</source>
Setup
- Login to the database
- <source lang="bash">$ sudo mysql</source>
- Create a database. You can name it whatever you like. Just make sure you save this information. For the example we called it dreamfactory.
- <source lang="mysql">CREATE DATABASE dreamfactory;</source>
- 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.
- <source lang="mysql">GRANT ALL PRIVILEGES ON dreamfactory.* to 'dfadmin'@'localhost' IDENTIFIED BY 'dfadmin';</source>
- Flush privileges on the database and quit.
- <source lang="mysql">FLUSH PRIVILEGES;</source>
- <source lang="mysql">quit</source>