DreamFactory Stack 4.8.0-2 ============================== 1. OVERVIEW The Bitnami Project was created to help spread the adoption of freely available, high quality, open source web applications. Bitnami aims to make it easier than ever to discover, download and install open source software such as document and content management systems, wikis and blogging software. You can learn more about Bitnami at https://bitnami.com DreamFactory is an Open Source Customer Relationship Management alternative that is mobile, social, and gamified. A test-driven methodology has been utilized for building every part of the application. You can learn more about DreamFactory at http://www.dreamfactory.com/ The Bitnami DreamFactory Stack is an installer that greatly simplifies the installation of DreamFactory and runtime dependencies. It includes ready-to-run versions of Apache, NGINX, MariaDB, mongoDB and PHP. DreamFactory Stack is distributed for free under the Apache 2.0 license. Please see the appendix for the specific licenses of all open source components included. You can learn more about Bitnami Stacks at https://bitnami.com/stacks/ 2. FEATURES - Easy to Install Bitnami Stacks are built with one goal in mind: to make it as easy as possible to install open source software. Our installers completely automate the process of installing and configuring all of the software included in each Stack, so you can have everything up and running in just a few clicks. - Independent Bitnami Stacks are completely self-contained, and therefore do not interfere with any software already installed on your system. For example, you can upgrade your system's MariaDB or Apache without fear of 'breaking' your Bitnami Stack. - Integrated By the time you click the 'Finish' button on the installer, the whole stack will be integrated, configured and ready to go. - Relocatable Bitnami Stacks can be installed in any directory. This allows you to have multiple instances of the same stack, without them interfering with each other. 3. COMPONENTS Bitnami DreamFactory Stack ships with the following software: - DreamFactory 4.8.0-2 - Apache 2.4.48 - NGINX 1.21.1 - MariaDB 10.4.21 - mongoDB 100.1.1 - PHP 7.3.30 - phpMyAdmin 5.1.1 3. REQUIREMENTS To install Bitnami DreamFactory Stack you will need: - Intel x86 or compatible processor - Minimum of 256 MB RAM - Minimum of 150 MB hard drive space - TCP/IP protocol support - Compatible operantig systems: - An x86 Linux operating system. - An OS X operating system x86. 4. INSTALLATION The Bitnami DreamFactory Stack is distributed as a binary executable installer. It can be downloaded from: https://bitnami.com/stacks/ The downloaded file will be named something similar to: bitnami-dreamfactory-4.8.0-2-linux-installer.run on Linux or bitnami-dreamfactory-4.8.0-2-linux-x64-installer.run on Linux 64 bit or bitnami-dreamfactory-4.8.0-2-osx-x64-installer.dmg on OS X x64. On Linux, you will need to give it executable permissions: chmod 755 bitnami-dreamfactory-4.8.0-2-linux.run To begin the installation process, double-click on that file, and you will be greeted by the 'Welcome' screen. Pressing 'Next' will take you to the Component Selection screen, where you can select the phpMyAdmin component. This tool intended to handle the administration of MariaDB over the web. The next screen is the Installation Folder, where you can select where Bitnami stack will be installed. If the destination directory does not exist, it will be created as part of the installation. The next screen will prompt you for data necessary to create the initial admin user: Username and password: You will use this information to log-in into the administrative interface. The password you provide here will also be used to protect other parts of the installation. Please see the section named "Usernames and Passwords" later in this document. First Name: Your first name. Last Name: Your last name. The name that will be displayed in the application will be your First Name and your Last Name. Email address: Your email address. This will allow DreamFactory to send you lost password information. The next screen will vary, depending on whether the ports needed by the bundled Apache and MariaDB are already taken. The default listening port for Apache is 8080 on Linux, for NGINX is 7739, for MariaDB is 3306 and for mongoDB is 27017. If those ports are already in use by other applications, you will be prompted for alternate ports to use. Once the information has been entered, the installation will proceed to copy the files to the target installation directory and configure the different components. One this process has been completed, you will see the 'Installation Finished' page. You can choose to launch Bitnami DreamFactory Stack at this point. If you do so, your default web browser will open and display the Welcome page for the Bitnami DreamFactory Stack. If you received an error message during installation, please refer to the Troubleshooting section. The rest of this guide assumes that you installed Bitnami DreamFactory Stack in /home/user/dreamfactory-4.8.0-2 on Linux and that you use port 8080 for Apache on Linux, 7739 for NGINX, 3306 for MariaDB, and 27017 for mongoDB. 5. STARTING AND STOPPING BITNAMI DREAMFACTORY STACK To start/stop/restart application on Linux you can use the included ctlscript.sh utility, as shown below: ./ctlscript.sh (start|stop|restart) ./ctlscript.sh (start|stop|restart) mariadb ./ctlscript.sh (start|stop|restart) apache ./ctlscript.sh (start|stop|restart|status) nginx ./ctlscript.sh (start|stop|restart|status) mongodb start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) The Bitnami Control Panel is a simple graphical interface included in the OS X stacks that can start and stop the Bitnami servers. It is are located in the same installation directory. To start the utility, double click the file named ‘control’ from your file browser. That will start Apache service. Once started, you can open your browser and access the following URL on Linux or OS X: http://127.0.0.1:8080/ If you selected an alternate port during installation, for example 18080, the URL will look like: http://127.0.0.1:18080/ If you are accessing the machine remotely, you will need to replace 127.0.0.1 with the appropriate IP address or hostname. 6. DIRECTORY STRUCTURE The installation process will create several subfolders under the main installation directory: apache2/: Apache Web server. nginx/: NGINX Web server. php/: PHP Scripting Language. mariadb/: MariaDB Database. mongodb/: mongoDB Database. apps/ dreamfactory/: DreamFactory application folder conf/: DreamFactory Apache configuration files htdocs/: DreamFactory PHP application files phpMyAdmin/: phpMyAdmin application folder 7. DEFAULT USERNAMES AND PASSWORDS The DreamFactory administrative user and password are the ones you set at installation time. MariaDB admin user is called 'root', and its password is the same as the DreamFactory administrative user password. The default MariaDB non-root account used to access the database is named bitnami, and its password is also bitnami. mongoDB admin user is called 'root', and its password is the same as the DreamFactory administrative user password. The phpMyAdmin administrative user is 'root'. 8. TROUBLESHOOTING This version of the Bitnami DreamFactory stack is a preview version, and as such, may contain a number of bugs and be a little bit rough around the edges. We are working on the next release, which will contain several improvements along with expanded documentation. In addition to the resources provided below, we encourage you to post your questions and suggestions at: https://community.bitnami.com/ We also encourage you to sign up for our newsletter, which we'll use to announce new releases and new stacks. To do so, just register at: https://bitnami.com/newsletter. 8.1 Installer # Installer Payload Error If you get the following error while trying to run the installer from the command line: "Installer payload initialization failed. This is likely due to an incomplete or corrupt downloaded file" The installer binary is not complete, likely because the file was not downloaded correctly. You will need to download the file and repeat the installation process. # Installer execution error on Linux If you get the following error while trying to run the installer: "Cannot open bitnami-dreamfactory-4.8.0-2-linux.run: No application suitable for automatic installation is available for handling this kind of file." In some operatings systems you can change permissions with right click properties -> permissions -> execution enable. Or from the command line: $ chmod 755 bitnami-dreamfactory-4.8.0-2-linux.run 8.2 Apache If you find any problem starting Apache, the first place you should check is the Apache error log file: /home/user/dreamfactory-4.8.0-2/apache2/logs/error.log on Linux or /Applications/dreamfactory-4.8.0-2/apache2/logs/error.log on OS X. Most errors are related to not being able to listen to the default port. Make sure there are no other server programs listening at the same port before trying to start Apache. Some programs, such as Skype, may also use port 80. For issues not covered in this Quick Start guide, please refer to the Apache documentation, which is located at http://httpd.apache.org/docs/ 8.3 MariaDB The following are some common problems: # Access denied when trying to connect to MariaDB. If you get an Access Denied message while trying to connect to MariaDB, make sure you are using the correct username and password. # "Can't connect to server" message. Make sure that the MariaDB daemon is up and running. Remember also that if during installation you selected a different listening port for MariaDB, you may need to pass that as an extra command line option. For help in troubleshooting MariaDB errors, you may want to reference the MariaDB manual, which you will find at https://mariadb.com/kb/en/documentation/ 8.4 DreamFactory For any problem related to DreamFactory, please visit http://www.dreamfactory.com/ 9. LICENSES DreamFactory is distributed under the Apache License v2.0, which is located at http://www.apache.org/licenses/LICENSE-2.0 Apache Web Server is distributed under the Apache License v2.0, which is located at http://www.apache.org/licenses/LICENSE-2.0 Nginx is released under 2-clause BSD-like license, which is located at http://nginx.org/LICENSE MariaDB is distributed under the GNU General Public License v2, which is located at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html mongoDB is distributed under the GNU AGPL v3.0 License, which is located at http://www.mongodb.org/about/licensing/ PHP and related libraries are distributed under the PHP License v3.01, which is located at http://www.php.net/license/3_01.txt curl is distributed under the Curl License, which is located at http://curl.haxx.se/docs/copyright.html expat is distributed under the MIT License, which is located at http://www.jclark.com/xml/copying.txt gd is distributed under the gd License, which is located at http://www.boutell.com/gd/manual2.0.33.html IMAP is distributed under the University of Washington Free-Fork License, located at http://www.washington.edu/imap/legal.html jpegsrc is distributed under The Independent JPEG Group's JPEG software license, which is located at http://dev.w3.org/cvsweb/Amaya/libjpeg/README?rev=1.2 libiconv is distributed under the Lesser General Public License (LGPL), located at http://www.gnu.org/copyleft/lesser.html Freetype is released under The Freetype Project License, that is located at http://freetype.sourceforge.net/FTL.TXT