how to Install bash script in ubuntu 16.04

江枫思渺然 提交于 2020-01-25 23:20:35

问题


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.

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

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

回答1:


Please install extra utility packages.

Here's the command sequence:

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


来源:https://stackoverflow.com/questions/48314065/how-to-install-bash-script-in-ubuntu-16-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!