Tutorial Installing Mifos

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Installing Mifos linux This file describes how to install Mifos for use in a production environment. 1.

Software Requirements Before you can run Mifos, you will need to download and install the software packages below. Please see their respective web sites for details on how to install each package. * Sun Microsystems Java - JDK/JRE 1.6 (see Note) * MySQL - Community Edition 5.1.45 ( * Jetty - 7.3) jangan lakukan dahulu. Note: While most Mifos testing has been done using the JDK, only the JRE is needed to run Mifos.

Pastikan semua runing Set up the database

OPTIONAL: create a file named mifos.cnf in /etc/mysql/conf.d/ and put in it:


[mysqld] # optional, but saves disk space innodb_file_per_table

Restart the database for the new settings to take effect.

sudo service mysql restart

Create mifos and mifostest databases. Use:

~$ mysql -u root -p mysql> CREATE DATABASE mifos; mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mifos | | mysql |

Grant permissions to user 'mifos' (doing these grants more than once has no effect). If you choose a different user name and password, adjust these instructions accordingly:
mysql> GRANT ALL on mifos.* to 'mifos'@'localhost' identified by 'mifos'; mysql> FLUSH PRIVILEGES;

test database connection as user 'mifos' di root

mysql -u mifos -pmifos mifos

y y

get the install package

download mifos and Unpack the archive into /home create production tables

In the directory where you unpacked the archive, do:di directory mifos
mysql -D mifos -u mifos -pmifos < db/sql/base-schema.sql mysql -D mifos -u mifos -pmifos < db/sql/base-data.sql mysql -D mifos -u mifos -pmifos < db/sql/init_mifos_password.sql

4. Kopikan jetty7.3 ke dalam folder home 5. Setting Java and Jetty Parameters Set the following environment variables: export JAVA_HOME=usr/lib/jvm/java-6-openjdk or directory where the JDK or JRE is installed export JAVA= usr/lib/jvm/java-6-openjdk/bin java binary or points directly to

export JETTY_HOME=usr/share/jetty/webapps or directory where Jetty is installed export JAVA_OPTIONS=-Xms1024M-Xmx1024M-XX:MaxPermSize=256m

Kopikan mifos.war kedalam home/jetty7.3/webpps Running mifos ke folder home/jetty7.3 Java jar start.jar

http://localhost:8080/mifos username: mifos password: testmifos

You might also like