美文网首页
CentOS 7 安装Meteor和OHIF查看器

CentOS 7 安装Meteor和OHIF查看器

作者: 溯水心生 | 来源:发表于2018-03-26 13:32 被阅读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

    • 配置meteor-tool更新配置新
      修改/etc/hosts 文件,增加Meteor-tool站点域名信息
    54.192.225.217 warehouse.meteor.com
    
    • 定位到OHIF文件目录下,开始安装相关依赖包
    [root@localhost OHIFViewer]# pwd
    /home/OHIF/Viewers-master/OHIFViewer
    [root@localhost OHIFViewer]# METEOR_PACKAGE_DIRS="../Packages" meteor npm install
    

    等待安装成功

    • 配置相关启动的DiCOM 归档服务连接信息,如采用Dcm4che 归档服务,请修改 config目录下dcm4cheeDIMSE.json 文件,修改DIOCM server相关IP和AE Title信息,具体修改内容如下:
    {
      "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

    相关文章

      网友评论

          本文标题:CentOS 7 安装Meteor和OHIF查看器

          本文链接:https://www.haomeiwen.com/subject/fvcrcftx.html