CentOS 7 安装Meteor和OHIF查看器

2018-03-26  本文已影响385人  溯水心生

1.命令安装

curl https://install.meteor.com/ | sh

此方式下载meteor速度过慢,因此不建议采用这种下载方式

2.手动下载安装包,编辑脚本,实现安装

手动下载如下地址包,可通过迅雷下载:

https://d3sqy0vbqsdhku.cloudfront.net/packages-bootstrap/1.2.1/meteor-bootstrap-os.linux.x86_64.tar.gz

4.下载脚本,更改脚本文件位置信息

下载脚本

curl https://install.meteor.com > install.meteor.sh

更改脚本内容,通过VIM编辑打开,查找TARBALL_URL所在位置


脚本信息

注释信息,并新增如下信息:

TARBALL_URL="file:///home/meteor/meteor-bootstrap-os.linux.x86_64.tar.gz"

路径根据实际下载的包位置进行更换

5.增加脚本可执行权限并执行

# chmod +x install.meteor.sh
# sh install.meteor.sh

等待安装完成

6.启动OHIF

54.192.225.217 warehouse.meteor.com
[root@localhost OHIFViewer]# pwd
/home/OHIF/Viewers-master/OHIFViewer
[root@localhost OHIFViewer]# METEOR_PACKAGE_DIRS="../Packages" meteor npm install

等待安装成功

{
  "servers": {
    "dicomWeb": [
      {
        "name": "DCM4CHEE",
        "wadoUriRoot": "http://192.168.43.50:8080/dcm4chee-arc/aets/DCM4CHEE/wado",
        "qidoRoot": "http://192.168.43.50:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
        "wadoRoot": "http://192.168.43.50:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
        "qidoSupportsIncludeField": false,
        "imageRendering": "wadouri",
        "requestOptions": {
          "auth": "admin:admin",
          "logRequests": true,
          "logResponses": false,
          "logTiming": true
        }
    }],
    "dimse": [{
      "name": "DCM4CHEE_DIMSE",
      "wadoUriRoot": "http://192.168.43.50:8080/dcm4chee-arc/aets/DCM4CHEE/wado",
      "requestOptions": {
        "auth": "admin:admin",
        "logRequests": true,
        "logResponses": false,
        "logTiming": true
      },
      "peers": [
        {
          "host": "192.168.43.50",
          "port": 4242,
          "aeTitle": "DCM4CHEE",
          "default": true,
          "supportsInstanceRetrievalByStudyUid": false
        },
        {
          "host": "192.168.43.50",
          "port": 11112,
          "aeTitle": "DCM4CHEE",
          "default": true,
          "server": true
        }
      ]
    }]
  },
  "defaultServiceType": "dimse",
  "dropCollections": true,
  "public": {
    "verifyEmail": false,
    "ui": {
        "studyListFunctionsEnabled": true
    }
  }
}

启动 OHIF

METEOR_PACKAGE_DIRS="../Packages" meteor --settings ../config/dcm4cheeDIMSE.json  --allow-superuser

访问地址:http://192.168.43.50:3000

OHIF
OHIF
上一篇下一篇

猜你喜欢

热点阅读