如何在 ubuntu 16.04 中安装 bash 脚本 [英] how to Install bash script in ubuntu 16.04

查看:171
本文介绍了如何在 ubuntu 16.04 中安装 bash 脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是 Ubuntu 环境中的新手,我尝试运行 DCM4CHEE-ARC-LIGHT 但此自动安装脚本无法运行,请帮助我执行此 bash 脚本

Hello i am new in Ubuntu environment i am try to run DCM4CHEE-ARC-LIGHT but this Auto install script unable to run please help me to execute this bash script

----Instructions---
It must be installed by root, download and decompress the attached shar file to your /root folder
You must have an internet connection, because it downloads a lot from the net.


Install shar utils
apt-get install sharutils

bash run_me.sh
x - created directory Downloads.
x - extracting Downloads/pacs_start.sh (text)
x - extracting Downloads/pacs_stop.sh (text)
x - extracting install_dcm4chee5_cli_5.10.3.sh (text)
uudecoding file install_dcm4chee5_cli_5.10.3.sh
x - removed lock directory _sh25000.

chmod +x install_dcm4chee5_cli_5.10.3.sh

./install_dcm4chee5_cli_5.10.3.sh

Press enter when asked.


At the end there are some instruction, and hopefully ,  you will have the server (dcm4chee 5.10.3 Mysql secure ui) installed and running.

执行后bash run_me.sh.xz这个命令下面的错误显示

after execute bash run_me.sh.xz this command following error show

run_me.sh.xz: run_me.sh.xz: cannot execute binary file

推荐答案

请安装额外的实用程序包.

Please install extra utility packages.

这是命令序列:

$ sudo apt-get install xz-utils 
$ unxz run_me.sh.xz

这篇关于如何在 ubuntu 16.04 中安装 bash 脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆