FTP服务配置与自动化运维操作指南.pdfVIP

  • 1
  • 0
  • 约1.35千字
  • 约 2页
  • 2026-11-17 发布于北京
  • 举报

FTP配置

所有命令都用root用户执行1。

重启服务(不修改ftp配置不用操作)

systemctlrestartvsftpd.service2。

挂载数据mount--bind/

home/ubuntu/server/Game/jsonData//home/xl/ftp/jsonData/3.添加相应的

文件touch/home/xl/ftp/shell/restartModify.txt(用于重启,如果有不用

创建)touch/home/xl/ftp/shell/flushData.txt(用于删档,如果有不用创建)

mkdir/home/xl/ftp/charge4。

修改相应权限chmoda+w-R/

home/xl/ftp/jsonData/chmoda+r/home/xl/ftp/shell/*chmoda+w/

home/xl/ftp/charge/5.删除相应文件(如果是新机器运行)rm‑rf/

home/xl/ftp/charge/*

自动重启和删档

1.切换到ubuntusuubuntu2.启动自动重启服务nohup/

home/ubuntu/shell/watcherGame.sh/home/ubuntu/shell/watcherGame.log删档没

文档评论(0)

1亿VIP精品文档

相关文档