We have followed below approaches however we are stuck in installation. Requested to please help us.
Document of Mosip Installation
Approach : 1
We are assuming that the installation is via different modules so we tried first via modules based installation.
Machine Configuration :
OS : Ubuntu 20.04
RAM : 16 GB
ROM : 500 GB SSD
JDK : 11
IDE : IntelliJ IDEA
Apache Maven : 3.6.3
pgAdmin
Postman
Git/GitHub Desktop : 2.25.1
lombok.jar (file)
settings.xml
Installation via modules based :
Administration Module :
Step 1 : Software setup (done)
Step 2 : Code setup (done)
Step 3 : Environment setup (done)
Commons Module :
Step 1 : Software setup (done)
Step 2 : Code setup (throws error)
We get stuck while execute step 2 & Throwing error related to maven while executing below command :
$ mvn clean install -Dgpg.skip=true -DskipTests=true
Approaches for solving error related to maven :
Step 1 : Changes dependencies in pom.xml file (done)
Step 2 : Apache maven uninstall & reinstall it (done)
Step 3 : Apache maven configured with jdk 11 (done)
(still not execute command)
We are facing lots of challenges via module based installation so we stop the approach via modules based installation & research for another way to install the mosip.
Approach 2 :
After research we got a sandbox installer, we thought they provide sandbox so we started R&D on sandbox installer & trying to implement.
Machine Configuration :
OS : Ubuntu 20.04
RAM : 16 GB
ROM : 500 GB SSD
We tried to install mosip on the local machine.
Installation via sandbox installer :
Step 1 : Software prerequisites (throws error)
We get stuck while installation process of yum in ubuntu 20.04 & Throwing error while executing below command :
$ sudo apt install yum -y
Approaches for solving yum installation :
Step 1 : sudo apt-get install rpm (done)
Step 2 : sudo apt-get install dnf (done)
Step 3 : sudo apt-get install yum (throws same error)
We format the machine & installed Ubuntu 18.04 on the same machine.
Then We have successfully installed yum in ubuntu 18.04 & we continue the next step of installation.
Step 3 : Git clone repo in the user home directory. Switch to the appropriate
Branch (done)
Step 4 : Install Ansible and create shortcuts (throws error)
We get stuck while execute step 4 & Throwing error related to yum repos not enabled while executing below shell script :
$ . / preinstall.sh
Approaches for solving error while executing shell script :
Step 1 : All repos installed (done)
Step 2 : Enable all repos (done) (still not run shell script)
We understand that we can’t install mosip in ubuntu so we move on to the next approach. Next approach is installation via VM & in centos 7.
Approach 3 :
We installed virtualbox & configured it in ubuntu 18.04 machine.
We downloaded the iso file of Centos 7, installed it in the VM & configured it.
VM Configuration :
OS : Centos 7
RAM : 8 GB
ROM : 20 GB
Machine configuration :
OS : Ubuntu 20.04
RAM : 16 GB
ROM : 500 GB SSD
We tried to install mosip on the VM machine.
Installation via VMs & in Centos 7 :
Step 1 : Software prerequisites (done)
Step 2 : Installing Mosip
Step 1 : Site settings (done)
Step 2 : Network interface (done)
Step 3 : Ansible vault (done)
Step 4 : Mosip configuration (done)
Step 5 : Install mosip (throws error)
We get stuck while execute step 4 & Throwing error related to host not connected while executing below command :
$ an site.yml
Approaches for solving error while executing ansible command :
Step 1 : Changes IP addresses in hosts.ini file (done)
Step 2 : Add hosts in /etc/ansible/hosts (done)
Step 3 : Disable firewall
Step 1 : sudo firewall-cmd --state (done)
Step 2 : sudo systemctl stop firewalld (done)
Step 3 : sudo systemctl disable firewalld (done)
Step 4 : sudo systemctl mask --now firewalld
Step 5 : sudo firewall-cmd --state (done) (still not execute command)
We do different types of approaches for solving errors while executing ansible commands.
Approach 4 :
Creating VMs in aws server :
Status : In progress