Mifos Quick Install
This is quick installation guide using the executable WAR package built by Michael Vorburger.
- Set up folder and download Mifos
- Create a directory at the root-level of your local machine or on your web server. (i.e. C:/MifosInstall)
- Download Mifos: Save the Mifos download zip file to the folder you just created. Unzip or extract the contents of the folder here to Mifos Install. We're going to first install the other required software before installing Mifos. Â
- Install and configure Java
- Before you do install a Java SDK, check to see if you have any previous versions of Java installed and uninstall them (unless you need them for something else) - either the JVM (Java Virtual Machine) or the JDK (Developers Kit)
- Download and install the Java SE JDK installer (JDK 6.0)
- Current version is JDK 6 Update 30 (as of Feb 5, 2012)
- Select x86 if you have a 32 bit Windows machine.
- Current version is JDK 6 Update 30 (as of Feb 5, 2012)
- Install and Configure MySQL
- Download mySQL Community Edition 5.1 and save to MifosInstall (choose Windows Essentials 32-bit version with MSI Installer)
- For the series of prompts, select the following parameters:
- Installation:
- Setup Type --> Typical
- After the Installation Wizard has complete, select to Configure the MySQL Server now and click Finish
- Configuration:
- Configuration Type --> Detailed
- Server Type --> Developer Machine
- Database Usage --> Multifunctional Database
- InnoDB Tablespace Settings --> C: Installation Path
- Number of Concurrent Users -->Â Decision Support (DSS)/OLAP
- Select Enable TCP/IP Networking, choose Port Number: 3306, select Enable Strict Mode
- Default Character Set --> Best Support for Multilingualism
- Install as Windows Service. Check to include bin directory in Windows PATH
- Set up your root password under security options. Select Modify Security Settings. Enter your root password and confirm it.  You can leave the password as its default, mysql, if you like.  Please note if you make any changes.Â
- If you've previously installed a Mifos database, you'll need to authenticate with current root password before selecting a new one.
- Press Execute to Start Configuration.
- Configure my.ini file
- Locate your my.ini file in the folder where MySQL server is installed
- Open this file in a text editor and edit or add the following six parameters:
This is quick installation guide using the executable WAR package built by Michael Vorburger.
- Set up folder and download Mifos
- Create a directory at the root-level of your local machine or on your web server. (i.e. C:/MifosInstall)
- Download Mifos: Save the Mifos download zip file to the folder you just created. Unzip or extract the contents of the folder here to Mifos Install. We're going to first install the other required software before installing Mifos. Â
- Install and configure Java
- Before you do install a Java SDK, check to see if you have any previous versions of Java installed and uninstall them (unless you need them for something else) - either the JVM (Java Virtual Machine) or the JDK (Developers Kit)
- Download and install the Java SE JDK installer (JDK 6.0)
- Current version is JDK 6 Update 30 (as of Feb 5, 2012)
- Select x86 if you have a 32 bit Windows machine.
- Current version is JDK 6 Update 30 (as of Feb 5, 2012)
- Install and Configure MySQL
- Download mySQL Community Edition 5.1 and save to MifosInstall (choose Windows Essentials 32-bit version with MSI Installer)
- For the series of prompts, select the following parameters:
- Installation:
- Setup Type --> Typical
- After the Installation Wizard has complete, select to Configure the MySQL Server now and click Finish
- Configuration:
- Configuration Type --> Detailed
- Server Type --> Developer Machine
- Database Usage --> Multifunctional Database
- InnoDB Tablespace Settings --> C: Installation Path
- Number of Concurrent Users -->Â Decision Support (DSS)/OLAP
- Select Enable TCP/IP Networking, choose Port Number: 3306, select Enable Strict Mode
- Default Character Set --> Best Support for Multilingualism
- Install as Windows Service. Check to include bin directory in Windows PATH
- Set up your root password under security options. Select Modify Security Settings. Enter your root password and confirm it.  You can leave the password as its default, mysql, if you like.  Please note if you make any changes.Â
- If you've previously installed a Mifos database, you'll need to authenticate with current root password before selecting a new one.
- Press Execute to Start Configuration.
- Configure my.ini file
- Directly edit your my.ini file (this is located in the folder where MySQL server has been installed.
- In a text editor, or edit the following parameters: Â Â Â
max_connections=300 innodb_buffer_pool_size=1024M
- Add the following parameters:
innodb_file_per_table log-error=mysql_error.log log-slow-queries=mysql_slow_query.log long_query_time=1
- Save the changes.
- Create Mifos database and user
- Go into DOS command line (cmd) and log in using root account (password should be mysql unless you changed it)
- Once logged in, let's first create database by entering this command:Â
- Confirm the database was created successfully by typing:Â
- Now let's create the user, mifos, its password, and grant it the necessary privileges
- The password is determined by the string that follows identified by. _For this example, I've made my password _nonsecure _but you should choose a secure password.  All commands would be different according to which password you select. So the command works like this: _GRANT ALL on '<DATABASE NAME>'.* to '<USER ID>'@'<HOST NAME>' identified by '<PASSWORD>';Â
- Type the following (making necessary change for your password after "identified by") and press enter:
- Complete the user creation process, by entering the following command:
- Now let's exit out of MySQL command line by typing _exit _and pressing enter.Â
- Initiate MySQL
- Next we need to initialize the Mifos database, by running the three commands below from the directory that contains this INSTALL file.  These commands assume a database username of "mifos" and in my case I'm using the password "nonsecure". Adjust them if your database password is different
- MAKE EDIT REGARDING DB text
- Update local.properties file if you changed mysql password for user id mifos to something other than mifos
- Set up Environment Variables
- Â