홈 › 설치 및 설정 › Bahmni 설치 › CentOS에 Bahmni 설치 CentOS에 Bahmni 설치 Bahmni의 CentOS 설치 방식은 지원 종료 예정입니다! 앞으로는 모든 OS에서 사용할 수 있는 Bahmni Docker 버전을 권장합니다. 자세한 내용은 관련 문서를 참조하십시오.관련 문서: Docker에서 Bahmni 실행 운영 환경에서 Bahmni 0.92 이상을 실행할 때 권장되고 검증된 플랫폼은 CentOS 7.6(64비트)입니다(CentOS 7.5도 사용 가능). 아래 절차는 RPM 설치를 기반으로 합니다. 설치하려는 Bahmni 패키지에 맞는 RPM을 선택할 수 있습니다. 각 RPM에는 Tomcat 또는 웹 서버가 내장되어 독립 서비스로 실행·중지할 수 있습니다. RPM 목록: bahmni-emr(Bahmni 백엔드), bahmni-web(Bahmni EMR UI), bahmni-reports(Bahmni Reports), bahmni-lab(OpenELIS), bahmni-erp(OpenERP/Odoo 패키지), bahmni-event-log-service(Bahmni에서 생성된 이벤트를 동기화하는 별도 웹 앱), pacs-integration(방사선 주문을 PACS/Modality로 보내는 웹 앱), dcm4chee(오픈 소스 PACS).
??
1단계: 새 CentOS v7.6 구성 새 CentOS v7.6 시스템을 만드십시오. 자세한 안내 문서를 참조할 수 있습니다.관련 문서: 시스템 요구사항
클라우드에 배포
CentOS 시스템이 없거나 인터넷이 느리다면 DigitalOcean 또는 AWS 같은 클라우드 기반 CentOS에서 이 단계를 수행할 수 있습니다. 관련 Wiki 문서를 참조하십시오.관련 문서: 클라우드에 Bahmni 설치(DigitalOcean)
2??: RPM ?? 최신 릴리스
Bahmni 최신 버전은 2021년 10월 26일 출시된 v0.93입니다. 최신 안정 릴리스에 관한 문서를 참조하십시오.관련 문서: 모든 Bahmni 릴리스
? Bahmni ?? Bahmni 0.93 설치(권장)
Bahmni v0.93 설치 단계
먼저 bahmni 명령줄 프로그램을 설치해야 합니다. 'bahmni' 명령을 설치한 뒤 특정 Bahmni 설치에 필요한 설정과 구성을 선택할 수 있습니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 고급 단계는 나중에 관련 문서를 참조하십시오. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# setup.yml 파일을 편집하고 Bahmni 저장소 URL 추가
vi /etc/bahmni-installer/setup.yml
bahmni_repo_url: https://repo.mybahmni.org/releases/
# 파일 내용을 확인합니다. 다음 파일과 같은 형태여야 합니다: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# 위 setup.yml에는 시간대 항목이 있습니다. 필요한 시간대로 변경할 수 있습니다. 유효한 옵션은
# 다음 문서를 참조하십시오: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 선택적으로 BAHMNI_INVENTORY 환경 변수의 인벤토리 파일 이름을 local로 설정합니다. 그러면 'bahmni' 명령을 사용할 때마다 '-i local'을 지정할 필요가 없습니다.
# local 대신 사용자 지정 인벤토리 파일을 구성할 수도 있습니다.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
# 필요한 구성 요소를 설정합니다. 인벤토리 파일(또는 사용자 지정 인벤토리 파일)을 편집합니다.
vi /etc/bahmni-installer/local
# 설치 프로그램을 실행합니다. 위와 같이 변수를 내보냈다면 "-i local" 옵션을 생략할 수 있습니다.
bahmni -i local install
# 인터넷 속도에 따라 약 15~30분 후 설치가 완료됩니다.
# 다음 명령으로 설치된 구성 요소를 확인합니다.
yum list installed | grep bahmni]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here #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
yum install -y epel-release
pip install --upgrade pip
pip install babel==v1.0 python-stdnum urllib3==1.21.1 idna==2.5 chardet==3.0.2 certifi==2017.4.17 qrcode pyserial pypdf python-chart psycogreen passlib ofxparse requests
# Install the bahmni command line program (Choose the version you want)
yum install -y https://repo.mybahmni.org/releases/bahmni-installer-0.93-219.noarch.rpm
# download the postgres repo rpm. This is because wget fails to verify the keys.
# If you prefer the default download by wget, then you have to install the ca-certificates module
# and configure wget. Alternatively you can use curl like below.
# for more info check: https://talk.openmrs.org/t/bahmni-0-92-install-on-centos-7-6-minimal-fails/25416/48
# download postgres rpm
rm -f /opt/pgdg-redhat-repo-*
yum install -y wget
cd /opt && wget https://repo.mybahmni.org/releases/pgdg-redhat-repo-42.0-23.noarch.rpm
# Install Repo RPM and remove repo file
yum install -y /opt/pgdg-redhat-repo-42.0-23.noarch.rpm
rm -f /etc/yum.repos.d/pgdg-redhat-all.repo
# 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.
# Note, before running the below command check whether the /etc/bahmni-installer/setup.yml already exists or not.
curl -L https://tinyurl.com/yyoj98df >> /etc/bahmni-installer/setup.yml
# Edit the setup.yml file and add the Bahmni Repo URL
vi /etc/bahmni-installer/setup.yml
bahmni_repo_url: https://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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# Optionally 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
# configure components you require. Edit the inventory file (or your custom inventory file)
vi /etc/bahmni-installer/local
# Now fire the installer. If you have exported the variable as above you can ignore the "-i local" option.
bahmni -i local 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 이전 Bahmni 버전을 보려면 여기를 펼치십시오...
Bahmni v0.92 이하
Bahmni 릴리스 저장소가 Bintray에서 이전되었습니다. 0.92 이하 버전을 설치하려면 다음 절차를 수행해야 합니다.# Bahmni installer location
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.92-155.noarch.rpm
# Setting up the RPM repo. Edit the setup.yml file and add the Bahmni Repo URL
bahmni_repo_url: https://repo.mybahmni.org/releases/
# Running the installer
bahmni -i local -aru https://repo.mybahmni.org/releases/ansible-2.4.6.0-1.el7.ans.noarch.rpm install Bahmni 0.92 설치
Bahmni v0.92 설치 단계
먼저 bahmni 명령줄 프로그램을 설치해야 합니다. 'bahmni' 명령을 설치한 뒤 설치 설정과 관련 구성을 선택할 수 있습니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 고급 단계는 관련 문서를 참조하십시오. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# setup.yml 파일에 Bahmni 저장소 URL 추가(0.92 이하)
bahmni_repo_url: https://repo.mybahmni.org/releases/
# 파일 내용을 확인합니다: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# 시간대와 기타 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 인벤토리 파일 이름 local을 BAHMNI_INVENTORY에 설정합니다. 그러면 매번 '-i local'을 지정할 필요가 없습니다.
# local 대신 사용자 지정 인벤토리 파일도 사용할 수 있습니다.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
# 설치 프로그램 실행
# 0.92 이하
bahmni -aru https://repo.mybahmni.org/releases/ansible-2.4.6.0-1.el7.ans.noarch.rpm install
# 또는 0.93
bahmni install
# 인터넷 속도에 따라 약 15~30분 후 설치가 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here #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 https://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: https://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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 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 https://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 Bahmni v0.91 이하
Bahmni v0.91 이하는 CentOS v7.x에서 작동하지 않습니다. Bahmni v0.91 설치에는 CentOS 6.7 또는 CentOS 6.9를 선택해야 합니다. 보안 경고
OpenMRS의 webservices.rest 모듈에 대한 보안 권고가 발표되었습니다. Bahmni 0.89, v0.90 또는 v0.91을 설치하려는 사용자와 이미 설치한 사용자는 기존 webservices.rest 모듈을 2.24.0 버전으로 교체해야 합니다. webservices.rest 모듈 교체 절차를 따르십시오.#Go to openmrs modules path on Bahmni server
sudo cd /opt/openmrs/modules
# Stop openmrs service
sudo service openmrs stop
# Take a backup of existing webservice.rest module (Eg for Bahmni v0.91)
sudo mv webservices.rest-2.20.0.omod webservices.rest-2.20.0.omod.backup
# Download webservices.rest-2.24.0.omod using below command
sudo wget https://repo.mybahmni.org/packages/libraries/webservices.rest-2.24.0.omod
# Give ownership to bahmni user
sudo chown bahmni:bahmni webservices.rest-2.24.0.omod
# Start Openmrs service
sudo service openmrs start 보안 권고에 관한 자세한 내용은 아래 Talk 스레드를 참조하십시오.
CentOS에서 이 버전의 지원을 종료했으므로 Bahmni 0.91 이하에서는 CentOS 6.8 설치를 더 이상 지원하지 않습니다. CentOS 6.7 또는 CentOS 6.9를 선택해야 합니다. Bahmni 0.91 설치
Bahmni v0.91 설치 단계
먼저 bahmni 명령줄 프로그램을 설치한 뒤 설치 설정과 구성을 선택합니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# 파일 내용 확인: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# setup.yml에 mx_download_url을 추가
printf "\nmx_download_url: https://repo.mybahmni.org/releases/mx-1.4.5-1-mdv2012.0.i586.rpm" >> /etc/bahmni-installer/setup.yml
# 시간대 등 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# BAHMNI_INVENTORY에 local 설정
# 사용자 지정 인벤토리 파일도 사용할 수 있습니다.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
# 설치 프로그램 실행
bahmni install
# 인터넷 속도에 따라 약 15~30분 후 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here #Prerequisite for the fresh installation of Bahmni
yum upgrade python-setuptools
# Prerequisite Click 7.0 for fresh installation of Bahmni
# Download Click 7.0 to /home/bahmni
wget https://files.pythonhosted.org/packages/f8/5c/f60e9d8a1e77005f664b76ff8aeaee5bc05d0a91798afd7f53fc998dbc47/Click-7.0.tar.gz -P /home/bahmni
# Extract tar file
cd /home/bahmni
tar -xvf Click-7.0.tar.gz
# Install Click 7.0
cd Click-7.0
python setup.py install
# Install the bahmni command line program (Choose the version you want).
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.91-89.noarch.rpm #version 0.91
# 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://goo.gl/R8ekg5 >> /etc/bahmni-installer/setup.yml
# Confirm the contents of the file. It should look like this file: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# Run below command to add mx_download_url to setup.yml file
printf "\nmx_download_url: https://repo.mybahmni.org/releases/mx-1.4.5-1-mdv2012.0.i586.rpm" >> /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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 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
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 Bahmni 0.90 설치
Bahmni v0.90 설치 단계
먼저 bahmni 명령줄 프로그램을 설치한 뒤 설치 설정과 구성을 선택합니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# 파일 내용 확인: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# setup.yml에 mx_download_url 추가
printf "\nmx_download_url: https://repo.mybahmni.org/releases/mx-1.4.5-1-mdv2012.0.i586.rpm" >> /etc/bahmni-installer/setup.yml
# 시간대 등 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# BAHMNI_INVENTORY에 local 설정
# 사용자 지정 인벤토리 파일도 사용할 수 있습니다.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
# 설치 프로그램 실행
bahmni install
# 인터넷 속도에 따라 약 15~30분 후 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here #Prerequisite for the fresh installation of Bahmni
yum upgrade python-setuptools
# Prerequisite Click 7.0 for fresh installation of Bahmni
# Download Click 7.0 to /home/bahmni
wget https://files.pythonhosted.org/packages/f8/5c/f60e9d8a1e77005f664b76ff8aeaee5bc05d0a91798afd7f53fc998dbc47/Click-7.0.tar.gz -P /home/bahmni
# Extract tar file
cd /home/bahmni
tar -xvf Click-7.0.tar.gz
# Install Click 7.0
cd Click-7.0
python setup.py install
# Install the bahmni command line program (Choose the version you want).
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.90-308.noarch.rpm #version 0.90
# 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://goo.gl/R8ekg5 >> /etc/bahmni-installer/setup.yml
# Confirm the contents of the file. It should look like this file: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# Run below command to add mx_download_url to setup.yml file
printf "\nmx_download_url: https://repo.mybahmni.org/releases/mx-1.4.5-1-mdv2012.0.i586.rpm" >> /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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 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
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 Bahmni 0.89 설치
Bahmni v0.89 설치 단계
먼저 bahmni 명령줄 프로그램을 설치한 뒤 설치 설정과 구성을 선택합니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# 파일 내용 확인: ( http://tiny.cc/defaultsetup )
cat /etc/bahmni-installer/setup.yml
# 시간대 등 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# BAHMNI_INVENTORY에 local 설정
# 사용자 지정 인벤토리 파일도 사용할 수 있습니다.
echo "export BAHMNI_INVENTORY=local" >> ~/.bashrc
source ~/.bashrc
# 설치 프로그램 실행
bahmni install
# 인터넷 속도에 따라 약 15~30분 후 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni
]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here # Prerequisite for the fresh installation of Bahmni
yum upgrade python-setuptools
# Install the bahmni command line program.
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.89-193.noarch.rpm #version 0.89
# 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 http://tiny.cc/defaultsetup >> /etc/bahmni-installer/setup.yml
# Confirm the contents of the file. It should look like this file: ( http://tiny.cc/defaultsetup )
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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 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
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 Bahmni 0.88 설치
Bahmni v0.88 설치 단계
먼저 bahmni 명령줄 프로그램을 설치합니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# 파일 내용 확인: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# 시간대 등 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 설치 프로그램 실행
bahmni -i local install # local 대신 사용자 지정 인벤토리 파일을 사용할 수 있습니다.
# 인터넷 속도에 따라 약 15~30분 후 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni
]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here # Prerequisite for the fresh installation of Bahmni
yum upgrade python-setuptools
# Install the bahmni command line program (Choose the version you want).
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.88-101.noarch.rpm #version 0.88
# 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://goo.gl/R8ekg5 >> /etc/bahmni-installer/setup.yml
# 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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# Now fire the installer
bahmni -i local install #instead of local you can use your custom inventory file
# 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 Bahmni 0.87 설치
Bahmni v0.87 설치 단계
먼저 bahmni 명령줄 프로그램을 설치합니다. 여기서는 기본 구성과 데모 데이터베이스로 설치합니다. 모든 RPM은 지정된 저장소에 있습니다.> /etc/bahmni-installer/setup.yml
# 파일 내용 확인: (https://goo.gl/R8ekg5)
cat /etc/bahmni-installer/setup.yml
# 시간대 등 유효한 옵션은 다음 문서를 참조하십시오.
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# 설치 프로그램 실행
bahmni -i local install # local 대신 사용자 지정 인벤토리 파일을 사용할 수 있습니다.
# 인터넷 속도에 따라 약 15~30분 후 완료됩니다.
# 설치된 구성 요소 확인:
yum list installed | grep bahmni
]]>관련 문서: CentOS에 Bahmni 설치(고급 설치 옵션) here # Install the bahmni command line program (Choose the version you want).
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.87-81.noarch.rpm #version 0.87
# 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://goo.gl/R8ekg5 >> /etc/bahmni-installer/setup.yml
# 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
# please read this document: https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
# Now fire the installer
bahmni -i local install #instead of local you can use your custom inventory file
# 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
Bahmni를 최신 버전으로 업그레이드 서버에 이전 버전의 Bahmni가 이미 설치되어 있고 최신 릴리스로 업그레이드하려면 여기에 설명된 단계를 따르십시오.
Bahmni 0.93 업그레이드 안내
Bahmni를 0.93.2 버전으로 업그레이드하는 단계# Install the bahmni command line program
yum update https://repo.mybahmni.org/releases/bahmni-installer-0.93-219.noarch.rpm #version 0.93.2
# Confirm that the bahmni command is correctly installed (you should see a help message for the command)
bahmni --help
# Now fire the installer
bahmni -i local 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 Bahmni 0.92 업그레이드 안내
Bahmni를 0.92 버전으로 업그레이드하는 단계
Bahmni 0.92는 CentOS 7.6용이므로 CentOS 6.x에서 실행되는 이전 버전을 단순히 덮어쓸 수 없습니다. 먼저 CentOS 7.6이 설치된 새 시스템을 준비해야 합니다. 기존과 같이 데이터베이스, 이미지, 문서는 복원할 수 있습니다.# Install the bahmni command line program
yum install https://repo.mybahmni.org/releases/bahmni-installer-0.92-155.noarch.rpm #version 0.92
# Confirm that the bahmni command is correctly installed (you should see a help message for the command)
bahmni --help
# Now fire the installer
bahmni -i local 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 Bahmni 0.91 업그레이드 안내
Bahmni를 0.91 버전으로 업그레이드하는 단계
아래 명령은 Bahmni를 0.91로 업그레이드하지만 기존 인벤토리 파일을 덮어씁니다. install 명령을 실행하기 전에 인벤토리(local) 파일을 확인하십시오.# Install the bahmni command line program
yum update https://repo.mybahmni.org/releases/bahmni-installer-0.91-89.noarch.rpm #version 0.91
# Confirm that the bahmni command is correctly installed (you should see a help message for the command)
bahmni --help
# Now fire the installer
bahmni -i local 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
3단계: 애플리케이션 접속 아래 URL에서 Bahmni가 실행되지 않는다면 해당 서비스를 확인하고 시작하십시오(MySQL과 PostgreSQL DB 서비스를 먼저 시작). 방화벽(SELinux, ip4tables, ip6tables)이 포트 접근을 차단하는지도 확인하십시오. Application URL Credentials (v0.91) Credentials (v0.92) Bahmni EMR UI http://<machine-ip>/home superman/Admin123 superman/Admin123 Bahmni Lab (OpenELIS) http://<machine-ip>/openelis admin/adminADMIN! admin/adminADMIN! Bahmni ERP (OpenERP/Odoo) http://<machine-ip>:8069 admin/password admin/admin OpenMRS http://<machine-ip>/openmrs superman/Admin123 superman/Admin123 Radiology (Dcm4Chee) http://<machine-ip>/dcm4chee-web3 admin/admin admin/admin Reports Accessible from Reports button in EMR UI Dashboard Bahmni Event Log Service http://<machine-ip>/event-log-service
Bahmni 서비스 시스템에서 Bahmni와 관련된 서비스는 다음과 같습니다.
# command to list all services
sudo service --status-all
# command to list all configured services
chkconfig --list
# Command to start or stop a service is: service <service-name> start | stop | status | restart
# -----------------------------------------------------------------------------------------------
# Check status of Apache httpd service (runs Bahmni EMR UI)
sudo service httpd status
# Check status of OpenMRS Backend (needed for Bahmni EMR UI to talk to OpenMRS)
sudo service openmrs status
# Check status of Reports (needed to see reports inside EMR UI)
sudo service bahmni-reports status
# Check status of OpenELIS / Bahmni-Lab
sudo service bahmni-lab status
# Check status of Odoo (For Bahmni version 0.92 and above)
sudo service odoo status
# Check status of OpenERP (For Bahmni version 0.91 and earlier)
sudo service openerp status
# Check status of Bahmni and ERP Connector (for data sync between systems)
sudo service bahmni-erp-connect status
# Check the status of atomfeed-console Service (Looking at the failed events and retrying failed events)
sudo service atomfeed-console status
# Databases needed to be running (mysqld for Bahmni EMR / OpenMRS, and Postgres for Lab and ERP)
sudo service mysqld status
# Check status of postgres (For Bahmni version 0.92 and above)
sudo service postgresql-9.6 status
# Check status of postgres (For Bahmni version 0.91 and earlier)
sudo service postgresql-9.2 statusService start commands for Bahmni # Start all services
sudo service mysqld start
sudo service postgresql-9.6 start
sudo service openmrs start
sudo service httpd start
sudo service bahmni-reports start
sudo service bahmni-lab start
sudo service odoo start
sudo service bahmni-erp-connect start
sudo service atomfeed-console start
sudo service pacs-integration start
파일 시스템 탐색 설치 후 여러 하위 시스템은 다음 위치에 설치되어 접근할 수 있습니다.
Application Install Locations # All applications are installed in /opt
cd /opt
# Location for Bahmni EMR UI and config (app deployed in Apache httpd server)
cd /var/www
# Location for OpenMRS (contains embedded tomcat)
cd /opt/openmrs
# Location for OpenMRS modules
cd /opt/openmrs/modules
# Location for Bahmni lab / OpenELIS (contains embedded tomcat)
cd /opt/bahmni-lab
# Location for Bahmni ERP / OpenERP
cd /opt/bahmni-erp
# Location for Bahmni reports (accessed from EMR UI Reports Button on Home Screen)
cd /opt/bahmni-reports
# Location for Bahmni pacs-integration service
cd /opt/pacs-integrationLog Files # Most Bahmni related Log files are located in /var/log in respective sub-folders bahmni-lab, openmrs, etc.
# These are all soft links into /opt/app-name/log folder.
cd /var/log
# Client side logs (javascript errors) -- uses StackTrace.js library
cd /var/log/client-side-logs
# pgsql logs (Bahmni 0.92 and above)
cd /var/lib/pgsql/9.6/data/pg_log/
# pgsql logs (Bahmni 0.91 and earlier)
cd /var/lib/pgsql/9.2/data/pg_log/
# mySQL log file /var/log/mysqld.log
# DCM4CHEE log file /var/lib/bahmni/dcm4chee-2.18.1-psql/server/default/log/server.log
설치된 Bahmni RPM 버전 확인 [root@localhost vagrant]# yum list installed | grep bahmni
atomfeed-console.noarch 1.1-1 @bahmni
bahmni-appointments-frontend.noarch 0.93-31 @bahmni
bahmni-emr.noarch 0.93-131 @bahmni
bahmni-erp.noarch 0.93-76 @bahmni
bahmni-erp-connect.noarch 0.93-76 @bahmni
bahmni-implementer-interface.noarch 0.93-97 @bahmni
bahmni-installer.noarch 0.93-197 installed
bahmni-lab.noarch 0.93-58 @bahmni
bahmni-lab-connect.noarch 0.93-131 @bahmni
bahmni-reports.noarch 0.93-45 @bahmni
bahmni-web.noarch 0.93-131 @bahmni
방사선용 dcm4chee 및 pacs-integration 서버 설치 Dcm4chee 및 PACS 내용을 보려면 여기를 펼치십시오...
Bahmni는 X-Ray와 기타 DICOM 이미지를 내부에서 보고, 방사선 주문을 장비(Modality)로 자동 전송하는 기능을 지원합니다. 이를 위해 dcm4chee (오픈 소스 PACS/DICOM 서버)와 Bahmni 및 dcm4chee 간 연결 역할을 하는 bahmni pacs-integration 서비스를 설치해야 합니다. Bahmni는 내부적으로 Ansible을 사용해 Linux 서버에 구성 요소를 설치합니다. 두 구성 요소를 설치하려면 local(기본) 인벤토리 파일을 편집하고 다음 절에 localhost를 추가하십시오(파일 소유자가 root이므로 root로 실행). vi /etc/bahmni-installer/local
# 다음 절 아래에 "localhost" 추가
[pacs-integration]
localhost
[pacs-integration-db]
localhost
[dcm4chee]
localhost
[dcm4chee-db]
localhost
]]>> vi /etc/bahmni-installer/local
# Add "localhost" under the following sections like this:
[pacs-integration]
localhost
[pacs-integration-db]
localhost
[dcm4chee]
localhost
[dcm4chee-db]
localhost
Bahmni ?? ?? ? ?? 서버 보안을 중요하게 다루어야 합니다. 방화벽, 강력한 암호, 키 기반 SSH 접근, HTTPS 인증서 등 Bahmni 서버에 충분한 보안 통제를 구성하십시오. 반드시 관련 문서를 읽으십시오.관련 문서: Bahmni 서버 보안 및 보호 원문 정보 Bahmni Wiki · CC BY-SA 4.0
원문 보기 ↗