Versions Compared

Key

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

Step-by-step guide

 

Step 1 - Installing System Updates and Prerequisites:

...

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 : 

...

# sudo wget http://mirror.fibergrid.in/apache/tomcat/tomcat-7/v7.0.69/bin/apache-tomcat-7.0.69.tar.gz

 # cd /usr/share 

 # sudo tar xvf /home/ubuntu/apache-tomcat-7.0.69.tar.gz 

 # sudo mv apache-tomcat-7.0.69 tomcat7

Install nano - text editor 

# sudo apt-get install nano

OPTIONAL (date/time settings) 

Check date:

# date

and if needed update with

# dpkg-reconfigure tzdata 


Step 2 - Tomcat setup

Enabling SSL

...

# cd /usr/share/tomcat7/lib

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

...

Place it under the lib folder. 

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: 

tail -f /usr/share/tomcat7/logs/catalina.out 

...

 

...

titleOptional title - Appendix A

Appendix A - To change mysql username/password

Change Mifos default mysql password:

# apt-get install phpmyadmin

...

 

...

 

 

Page properties
hiddentrue