Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titlejava license agreement

On prompting for accepting oracle java agreement, accept the agreement by pressing y(yes) key.

 
On completion of java installation,one could verify the installed version by & should be 1.8v:-
# java -version 


Install mysql-server :  (Only version 5.5 or version 5.6)

# sudo apt-get install mysql-server

Info
titlemysql password

set mysql root password to: mysql

(Bad for security, but just to get all installed and instructions on how to change it will be provided later in this guide)

  • You could skip to Appendix A below and setup a custom mifos db user/password right away.
 
On completion of javaMySQL installation,one could verify the installed version by & should be 5.5v or 5.6v:-
# mysql --version

 

Install tomact : 

...

# cd /usr/share/tomcat7/lib

# sudo wget http://central.maven.org/maven2/org/drizzle/jdbc/drizzle-jdbc/1.3/drizzle-jdbc-1.3.jar

Download mysql jdbc connector

...

Edit /etc/init.d/tomcat7

# sudo nano /etc/init.d/tomcat7

...

Step 3 - Fineract Platform and Database Setup/Population

Download and extract Fineract platform:

Info

For latest release you can download from or If wget/download fails, this link:- http://sourceforge.net/projects/mifos/files/Mifos%20X/ )

# cd /usr/src

# sudo wget https://sourceforge.net/projects/mifos/files/Mifos%20X/fineractplatform-16.03.03.RELEASE.zip

# sudo apt-get install unzip

# sudo unzip fineractplatform-16.03.03.RELEASE.zip

# cd fineractplatform-16.03.03.RELEASE

...

Initialize Fineract Platform Database(s)

# # mysql -u root -p

Enter mysql root password, and in mysql console type: 

create database `mifosplatform-tenants`;
create database `mifostenant-default`;
exit # mysql -u root -pmysql mifosplatform-tenants < database/mifospltaform-tenants-first-time-install.sql 

Optional - If you want to load sample data, otherwise you could skip this parpart

# mysql -u root -p mifostenant-default < database/migrations/sample_data/load_sample_data.sql

Step 4 -

...

Copy Apache Fineract war file into webapps directory

Extract the release binary and copy fineract platform war file Copy fineract-platform and community app into Tomcat's webapps folder: 

# sudo cp fineract-provider.war /usr/share/tomcat7/webapps/# cd /usr/share/tomcat7/webapps

 and finally to start

Finally start tomcat as service with below command

sudo /etc/init.d/tomcat7 start

Setup is complete and mifos Fineract platform should be running

 

OPTIONAL:
*in separate terminal you may watch your Mifos(logs) come to life like this: 

...

.

...

(if all is good, after a while of loading, you should see something like: Root WebApplicationContext: initialization completed in 45876 ms)

 

...

titleOptional title - Appendix A

Appendix A - To change mysql username/password

Change Mifos default mysql password:

# apt-get install phpmyadmin

...

 

...

 

 

Page properties
hiddentrue