http://www.sf.net/projects/yellowleaf
Licensed under the GNU General Public License.
Copyright © 2005, YellowLeaf Project.
- Before You Begin
- Overview
- Requirements
- Installation
- Overview
- Preparing the File System
- Preparing the Database
- Running the Installation Script
- Troubleshooting
GreenGene is a web-based application to enable instructors to provide genetic breeding simulation to students.
This manual will describe the necessary pre-requisites and steps necessary to complete a successful installation.
MySQL 8+ Apache web server (any version should work) PHP 8+ (Apache must have PHP support – either via php_cgi or mod_php) LDAP
sudo apt-get install php-ldap
The above should be pre-installed and working correctly prior to commencing installation.
Including with the installation package is an installation script, install.sh. This is a Bash shell installation script that will assist with the installation of GreenGene, creation of the database schema, etc.
First, choose a physical location in which you intend to install GreenGene.
An example of a good location might be /usr/share/greengene.
You must also create a link to a virtual path within Apache. Please see the Apache reference manual for instructions.
Create a new database and database user. If you are unable to do so, ask your system administrator to do this for you. Grant full access to this new database to the user.
Run the provided install.sh installation script.
You will be guided through a process to create the database schema, create a default user, and check for appropriate file permissions. You will need to know the virtual, web file location (not include http:// or a server name – just a path), as well as the database host, name, and username and password.
Error logging, primarily used for tracking down database-related and SQL errors, are located in the file located at /logs/error.log (located directly below the root GreenGene folder).