Hi Pradeep Kumar,
its very simple
first of all you have to make sure that
1) tomcat or any web server is running or not
2) mysql5.x working currectly or not
otherwise you have to configure it
i recently install mifos1.4 in ubunto 9.04.
i briefly tell what i did
download mysql-advanced-gpl-5.1.45-linux-i686-glibc23.tar.gz version from the net
downloand apache-tomcat-6.0.24.tar.gz from apache web site
unzip tomcat and mysql using this command:
tar -xvf apache-tomcat-6.0.24.tar.gz
tar -xvf mysql-advanced-gpl-5.1.45-linux-i686-glibc23.tar.gz
rename it, if you want, using this command:
mv apache-tomcat-6.0.24.tar.gz tomcat6
mv mysql-advanced-gpl-5.1.45-linux-i686-glibc23.tar.gz mysql_5145
follow the steps bellow
-
install java 1.6 JDK :
sudo
apt-get install sun-java6-jdk
-
install mysql 5.1.4.5
-
create a file named mifos.cnf in /etc/mysql/conf.d/
and put in it:
[mysqld]
# due to issue 1513
lower_case_table_names = 1
# optional, but saves disk space
innodb_file_per_table
Restart the database for the new settings to take effect.
sudo /etc/init.d/mysql restart
- Create mifos databases:
mysql> CREATE DATABASE mifos;
-
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' <at> 'localhost' identified by 'mifos';
mysql> GRANT ALL on mifostest.* to 'mifos' <at> 'localhost' identified by 'mifos';
mysql> FLUSH PRIVILEGES;
-
create tables and values using the script given with Mifos
version
-
Set up environment variables for Tomcat:
export
CATALINA_HOME=$HOME/tomcat6
export JAVA_HOME=/usr/lib/jvm/java-6-sun
change the database setting in Mifos
copy mifos.war to the webapps directory of tomcat
-
start Tomcat. Execute the following:
cd /tmp
$HOME/tomcat6/bin/startup.sh
-
Visit http://localhost:8080/mifos/ in a browser to
use Mifos. (username: "mifos", password: "testmifos").
Note :The environment variables may lost if you restart the system.
so you add this path to the .profile file of your home directory,
add this lines to the .profile using any editor
export
CATALINA_HOME=$HOME/tomcat6
export JAVA_HOME=/usr/lib/jvm/java-6-sun
starting mysql automatically in
startup by editing file /etc/rc.local and adding the below line at
the last before the line “exit 0”
/bin/sh -c 'cd
/usr/local/mysql; ./bin/mysqld_safe --user=mysql &'
Regards
Biju
On Sat, May 8, 2010 at 12:32 PM, Pradeep Ku. Panda
<pradeep.mis-jupBDbp2ydTtjTlSAa+CFQ@public.gmane.org> wrote:
Hi All,
we use the mifos_V1.3.0 in windows. And also check its functionality by installing it in our local system.
Now we plan to install the mifos in Ubuntu. And check its functionality. So we also install the Ubuntu 9.10 in our system.
But we are not able to got the required software for installing mifos in Ubuntu.
So if any one use mifos in Ubuntu. Kindly provide us the linking where we freely download the required software for installing the mifos in our local system.
And also guide us how to achieve the goal.
--
Thanks & Regards
_________________
Pradeep Kumar Panda.
MIS Executive
Adhikar Microfinance Pvt. Ltd.
Corporate Office
Bhubaneshwar, Orissa.
Cell: 09338430676
Web:
www.adhikarindia.org
------------------------------------------------------------------------------