Linux部署

1. 使用rz上传文件

# rz -bey file

参数作用: 如果服务器上存在文件, 会覆盖原来的文件

2. 解压缩zip文件

# unzip file.zip

如果出现错误

Archive: file.zip End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.

则使用jar解压文件

# jar xvf file.zip

3. 执行sh文件

# ./start.sh
/bin/bash^M: bad interpreter: No such file or directory

# sed -i -e 's/\r$//' start.sh
# ./start.sh

results matching ""

    No results matching ""