如题所示,根据metersphere官方文档执行离线安装步骤,在执行install命令后,执行结果如下所示
lingyuan@lingyuandeMacBook-Pro metersphere-offline-installer-v2.10.20-lts % sudo sh install.sh
hostname: illegal option -- I
usage: hostname [-f] [-s | -d] [name-of-host]
hostname: illegal option -- I
usage: hostname [-f] [-s | -d] [name-of-host]
hostname: illegal option -- I
usage: hostname [-f] [-s | -d] [name-of-host]
/Users/lingyuan/Downloads/metersphere-offline-installer-v2.10.20-lts/install.conf: line 85: getent: command not found
存在已安装的 MeterSphere, 安装目录为 /opt/metersphere, 执行升级流程
-e [MeterSphere Log]: 拷贝安装文件到目标目录
cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file ... target_directory
-e [MeterSphere Log]: ======================= 开始安装 =======================
-e [MeterSphere Log]: 检测到 Docker 已安装,跳过安装步骤
-e [MeterSphere Log]: 启动 Docker
install.sh: line 84: service: command not found
-e [MeterSphere Log]: 检测到 Docker Compose 已安装,跳过安装步骤
hostname: illegal option -- I
usage: hostname [-f] [-s | -d] [name-of-host]
hostname: illegal option -- I
usage: hostname [-f] [-s | -d] [name-of-host]
/Users/lingyuan/Downloads/metersphere-offline-installer-v2.10.20-lts/install.conf: line 85: getent: command not found
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
install.sh: line 165: syntax error near unexpected token >' install.sh: line 165: exec > >(tee -a ${__current_dir}/install.log) 2>&1'
|