Ubuntu 20.04 安装Orthanc

## 安装

$ apt update
$ DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common wget curl nano gnupg apt-transport-https
$ apt install --upgrade ca-certificates
$ wget -qO - https://debian.orthanc-labs.com/archive.key | apt-key add -
$ apt-add-repository "deb https://debian.orthanc-labs.com/ `grep VERSION_CODENAME /etc/os-release | cut -d'=' -f 2` main"
$ apt clean && apt update
$ apt install orthanc-stone-webviewer

## 配置

创建自己的配置文件

Orthanc --config=Configuration.json

改,vim Configuration.json

"StorageDirectory" : "/var/lib/orthanc/OrthancStorage",
"IndexDirectory" : "/var/lib/orthanc/OrthancStorage",
"RemoteAccessAllowed" : true,
"AuthenticationEnabled" : true,
"RegisteredUsers" : {
	"admin":"123456"
},

 测试启动

Orthanc /etc/orthanc/Configuration.json

改systemct启动参数,/usr/lib/systemd/system/orthanc.service 

# ExecStart=/usr/sbin/Orthanc --logdir=/var/log/orthanc /etc/orthanc
ExecStart=/usr/sbin/Orthanc --logdir=/var/log/orthanc /etc/orthanc/Configuration.json

## 启动

systemctl start orthanc.service

## 访问

http://localhost:8042/app/explorer.html

注意:如果是云服务器,记得防火墙和云安全组放开8042 4242等必要的端口。 

相关推荐

  1. Ubuntu 20.04 安装Orthanc

    2023-12-08 07:44:01       55 阅读
  2. Ubuntu 下 Docker安装 2024

    2023-12-08 07:44:01       28 阅读
  3. Ubuntu2204安装小熊猫C++/DevCpp

    2023-12-08 07:44:01       75 阅读
  4. ubuntu2204,mysql8.x安装

    2023-12-08 07:44:01       59 阅读
  5. ubuntu2004,自动安装mysql5.7.37

    2023-12-08 07:44:01       33 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-08 07:44:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-08 07:44:01       106 阅读
  3. 在Django里面运行非项目文件

    2023-12-08 07:44:01       87 阅读
  4. Python语言-面向对象

    2023-12-08 07:44:01       96 阅读

热门阅读

  1. extern”C”的作用及注意事项

    2023-12-08 07:44:01       61 阅读
  2. 微信小程序uni-app:常用Form表单组件使用示例

    2023-12-08 07:44:01       61 阅读
  3. Boost:asio多io_service,多线程run

    2023-12-08 07:44:01       49 阅读
  4. 使用单例模式+观察者模式实现参数配置实时更新

    2023-12-08 07:44:01       45 阅读
  5. 芯知识 | 什么是单片机语音芯片?

    2023-12-08 07:44:01       69 阅读
  6. GO设计模式——11、装饰器模式(结构型)

    2023-12-08 07:44:01       55 阅读
  7. TrustZone概述

    2023-12-08 07:44:01       57 阅读
  8. 生信数据分析高效Python代码

    2023-12-08 07:44:01       49 阅读