Skip to main content

How to Install Bahmni on Azure Server or on AWS Cloud

How to Install Bahmni on Azure Server or AWS Cloud

Bahmni is an Opensource Software for Hospital Management System which is having different modules for various purposes such as OpenMRS, OpenElis and Odoo.

Today we will learn How to Install Bahmni on Azure Server

Requirements

  • At least 2-8 GB Ram 2 CPU Processor and 20 GB Hard Disk.
  • Centos OS 7.6 Installed.

Instructions

Launch the instance and connect using SSH

Creating Swap Space

# Informs you of how much swap space is allocated. if nothing is returned, then it's not set up.
swapon -s  
  
# To setup 4096k (4GB swap space) do these steps:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4096k
sudo mkswap /swapfile
 
# Activate the swap file
sudo swapon /swapfile 
echo '/swapfile   swap   swap    defaults        0 0' | sudo tee --append /etc/fstab
  
# Check if swap space is setup
swapon -s

After Creating Swap Memory Follow the below Steps.

#Prerequisite for the fresh installation of Bahmni
yum install -y https://kojipkgs.fedoraproject.org//packages/zlib/1.2.11/19.fc30/x86_64/zlib-1.2.11-19.fc30.x86_64.rpm
 
#Due to the non-availability of certain python distributions, the following steps needs to be executed to have a successful installation.
 
sudo yum install epel-release
sudo yum install python-pip
sudo pip install pip==v19.0
sudo pip uninstall click
sudo pip install click==v7.0
sudo pip install pyusb
sudo pip install babel==v0.9.6
sudo pip install decorator==v3.4.0
sudo pip install beautifulsoup4
 
# Install the bahmni command line program (Choose the version you want)
yum install  http://repo.mybahmni.org/releases/bahmni-installer-0.92-155.noarch.rpm
 
# Confirm that the bahmni command is correctly installed (you should see a help message for the command)
bahmni --help
  
# Now setup a configuration file for bahmni command in /etc/bahmni-installer.
curl -L https://tinyurl.com/yyoj98df >> /etc/bahmni-installer/setup.yml
 
# Edit the setup.yml file and add the Bahmni Repo URL (for version 0.92 and earlier)
bahmni_repo_url: http://repo.mybahmni.org/releases/
  
# Confirm the contents of the file. It should look like this file: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
 
# The above setup.yml, has a timezone entry. You can change it to suit your timezone if you like. For valid options
 
# Set the inventory file name to local in BAHMNI_INVENTORY environment variable. This way you won't need to use the '-i local' switch every time you use the 'bahmni' command
#You can also configure custom inventory file instead of local.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
  
# Now fire the installer
# For 0.92 or earlier
bahmni -aru http://repo.mybahmni.org/releases/ansible-2.4.6.0-1.el7.ans.noarch.rpm install
# or for 0.93
bahmni install 
  
# The installation should be done in about 15 - 30 minutes depending on your internet speed.
# Verify installed components using the command:
yum list installed | grep bahmni

For the Latest Version of Bahmni.

If you face any issues during installation, please install the following packages.
Babel==2.3.4
decorator==4.0.10
docutils==0.12
ebaysdk==2.1.4
feedparser==5.2.1
gevent==1.1.2
greenlet==0.4.10
jcconv==0.2.3
Jinja2==2.10.1
lxml==3.5.0
Mako==1.0.4
MarkupSafe==0.23
mock==2.0.0
ofxparse==0.16
passlib==1.6.5
Pillow==3.4.1
psutil==4.3.1
psycogreen==1.0
psycopg2==2.7.3.1
pydot==1.2.3
pyparsing==2.1.10
pyPdf==1.13
pyserial==3.1.1
Python-Chart==1.39
python-dateutil==2.5.3
python-ldap==2.4.27
python-openid==2.2.5
pytz==2016.7
pyusb==1.0.0
PyYAML==3.12
qrcode==5.3
reportlab==3.3.0
requests==2.20.0
six==1.10.0
suds-jurko==0.6
vatnumber==1.2
vobject==0.9.3
Werkzeug==0.11.11
wsgiref==0.1.2
XlsxWriter==0.9.3
xlwt==1.1.2
xlrd==1.0.0 






Popular posts from this blog

How to install Burp Suite Professional for free on Windows

How to install Burp Suite Professional for free on Windows As this is an illegal way to use Burp Suite I am not responsible for it. It is just for educational purpose information. Burp Suite is an integrated platform for performing security testing of web applications. It is designed to be used by hands-on testers to support the testing process. Here we will see how you can install it for free on your Windows 7/8/10 64-bit machine. Requirements:   Java JDK   Burp Suite Pro Zip   Burp Suite Latest Version After you have downloaded both the files, follow these steps: * Run the downloaded file JDK-13.0.2_windows-x64_bin.exe and let it install. * Search environment in the Windows search bar. You will see a match for Edit the system environment variables . Open it and then click the Environment Variables button at the bottom. You will see a window containing a part like this: Under the System variables tab, click New and add the following variables: Variable name: CLASSPATH Variable valu

CEH V11 vs CEH V10 Difference

 CEH V11 vs CEH V10 Latest Certification By EC-Council CEH V11 is recently introduced by EC-Council as the Latest Basic Certificate for Cyber Security As Certified Ethical Hacker V11. But many of you want to the Key difference between CEH V11 vs CEH V10. What are the changes are brought for the CEH V11?  Let's find out. CEH V11 has introduced with Adhering to their approach of thinking like a hacker, EC-Council is all set to launch the latest version of CEH: CEH v11, adding in the curriculum the latest advancements in the field of cybersecurity. Domains have been kept intact, but new segments have been introduced with the addition and removal of a few topics. The latest version will see the addition of OT Technology, Serverless Computing, WPA3 Encryption, APT, File less Malware, Web API, and Web Shell on the list. On the practical aspects, the OS used for labs includes Windows 10, Windows Server2016, Parrot Security, Windows Server2019, Android, and Ubuntu Linux. CEH V 11 will teac

MIUI 12 Theme Editor

Design Your MIUI 12 Themes With New MIUI Theme Editor For MIUI 12. Download New Version Here! Designing a User Interface is not an easy task to do. A person needs to have creativity in mind along with intuitive instinct to create a sleek UI design. Not all people are good at design. However, with just enough tools to use, anyone can now design their own theme bundling their own UI styles. You might have enough design skills and good art instincts. However, you won’t be able to manifest that design without a proper tool. Actualizing a design concept into a usable theme needs a certain level of coding skills. The MIUI Theme Editor allows you to customize almost any aspects of the MIUI user interface (UI). You can configure the general apps’ icons and system apps’ icons. You can also specify the default wallpaper image used within the theme. Furthermore, the lock screen and home screen areas are also customize-able. Even deeper, you can also adjust the appearance of all not

CEH V12 vs CEH V11 Difference

 The EC-Council update launched on 7th September 2022 from its predecessor version 11 Certified Ethical Hacker Version 12 (CEH v12) is now a more up-scaled and advanced version of EC. There are various changes made in the new version 12 in the Certified Ethical Hacker credential. Understand the Difference Between CEH V11 and CEH V12 The attack methodologies and lab techniques have been enhanced and are given a new boost. The CEH v12 is one of the most sought-after and desired programs globally based on information security. In this new version, 500+ new threats and vulnerabilities are included, which can help learners work with better skills and knowledge. Difference Between CEH v11 and CEH v12 CEH V11 CEH V12 Total Number of Modules 20 20 Total Number of Slides 1640 1676 Total Number of Labs 200 220 Total Number of New Labs 92 33 Attack Techniques 420 519 New Technology Added IoT Technology, Serverless Computing, WPA3 Encryption, APT, Fileless Malware, Web   API, and Web Shell MITRE A

SAST vs DAST

SAST vs DAST If you come across what is SAST and DAST. Than probably you are looking for application source code review. we will know what exactly SAST and DAST is and What’s the best approach for application security testing? The differences between SAST and DAST include where they run in the development cycle and what kinds of vulnerabilities they find. Learn why you need both. Recent high-profile data breaches have made organizations more concerned about the financial and business consequences of having their data stolen. They know they need to identify vulnerabilities in their applications and mitigate the risks. So they’re adding application security testing, including SAST and DAST, to their software development workflows.   What are SAST and DAST? SAST and DAST are application security testing methodologies used to find security vulnerabilities that can make an application susceptible to attack. Static application security testing (SAST) is a white box method of testing. It exam

Odoo Interview Question answer

        Interviewing Odoo Question answer   Odoo is very specific software with very specific requirements. Odoo is ERP and Odoo developer should be an ERP developer.  ODOO , formerly known as  OpenERP  (Enterprise Resource Planning), is a platform that companies can  use  to easily manage the basics of the company such as materials and warehouse management, human resources, finance, accounting, sales and many other enterprise features. List of Things Every Odoo Developer Should Know The knowledge of Python itself. Before learning Odoo he must master the Python language. Besides, the knowledge of OOP and understanding of model-view-controller patterns are must-have, as these are strongly used by Odoo. Strong JavaScript skills. Even though, Odoo is “all in one”, modern browsers do not understand Python scripts. And frontend part is written on JavaScript. XML/HTML. This technology will be used more often than JavaScript. Odoo authors have done all they could to minimize y

Covid -19 latest Vaccine Dexamethasone passed by WHO

COVID -19 latest Vaccine Dexamethasone passed by WHO With global coronavirus cases crossing the 8 million mark, the need for an anti-COVID-19  vaccine becomes more urgent. Drug-makers and experts across the world are ramping up efforts to arrive at the potential vaccine against Covid-19. From experimental drug remdesivir making strides to generic steroid drug dexamethasone emerging as the first Covid-19 drug, the race to developing the antidote to Covid-19 is getting more interesting by the day. It Shows a significant result to ventilated patients also to cure the patients. There is significant global media attention on the spread of Coronavirus, which has led to justifiable consumer concern about the risks from COVID-19 and an ‘Infodemic’. Fears about the risks from this outbreak, and the scale of the public health challenge, have resulted in a significant increase in people seeking information about what to do to protect and prevent the virus. Consumers are searching

How to Deploy Multiple Dist file to the Apache Server

How to Deploy Multiple Dist file to the Apache Server   To Deploy Multiple Dist file apache server the Easiest way i have describe below follow the instruction whether your project would be html, PHP or any dist file such as angular you can follow the below Steps. To Deploy any project to the Apache Server We have to make changes in 2 files and one folder. Follow the below process to Deploy the dist file. • Rename the dist file to the project name and copy the file to the Path /var/www/html/   • Make changes in the Index.html or Index.php by giving folder name in base href e.g., /foldername/ • Now Go to /etc/apache2/sites-available and make copy of 000-default.conf or any pervious file for example healthgiggle.conf Copy command cp -r healthgiggle.conf /etc/apache2/sites-available/pjname.conf • Now open the file in vi editor vi pjname.conf and make changes ServerName: Your project name which will appear in URL after main domain e.g., healthgiggle/projectname DocumentRoot: Path of the p

How to add ads.txt in Blogger

How to add ads.txt in Blogger when you get Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact on your revenue. When you are Qualified for Adsense and you get a notification that Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue. To solve this problem Just Click On Fix Now or it will take you to the Site page. As you can See in the above image there is Download TAB just Click on that the ads.txt file will be downloaded automatically or  Click On Account  → Account Information you will get Publisher ID. Now Just Copy paste your Publisher ID in this format. google.com, pub-your ID, DIRECT, f08c47fec0942fa0 Now go to the Blogger settings page → Monetisation → Custom ads.txt Copy-paste  google.com, pub-your ID, DIRECT, f08c47fec0942fa0 over there and save it. To check whether you have added ads.txt successfully you can write your  https://yourdomainname.com/ads.txt it will reflect the same text in it if it fa

LOG4J VULNERABILITY ASSESSMENT AND MITIGATION

LOG4J VULNERABILITY ASSESSMENT AND MITIGATION What is Log4j?   Log4j, Zero-day exploit the popular Javalogginglibrarylog4j2 was discovered that results in Remote Code Execution (RCE) by logging a certain string.Log4j2 is an open-source, Java-based logging framework commonly incorporated into Apache webservers and Spring-Boot web applications. The vulnerability has been reported with CVE-2021-44228 against the log4j-corejar.CVE-2021-44228 is considered an acritical flaw, and it has a base CVSS score of 10, the highest possible severity rating. Who is Impacted !! Too many services are vulnerable to this exploit as log4j is a wild rang used  Java-based logging utility. Cloud  services like Steam, Apple iCloud,  and applications like  Minecraft have already been found to be vulnerable. Anybody using Apache frameworks services or any Spring- Boot Java-based framework applications that uses log4j2 is likely to be vulnerable. HOW THE EXPLOIT WORKS !!   The exploit works when there is a servic