NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## 如何重启或关闭系统服务(Ghost-CLI)? Ghost-Cli是一个与Ghost配套的命令行工具,用于安装、配置MySQL, Nginx , SSL、更新和维护Ghost > 官方解释:Ghost-CLI is a fully loaded tool to help you get Ghost installed, setup & configured and to make it super easy to keep your Ghost install up to date.The main aim of Ghost CLI is to make it possible to install and update Ghost in a single command. 运行**Ghost-CLI**,且为了保证nodejs程序运行安全。本镜像新增一个操作系统用户(用户名为:ghost 密码为:ghost ),请使用ghost运行**Ghost-CLI**。 Ghost的使用过程中,有时候会由于错误的设置、升级失败等原因导致系统无法访问,一般可以通过重启服务的方式进行恢复,具体方式如下: 使用putty远程登录到Linux系统,运行命令: ``` ghost stop ghsot restart ``` 更多命令使用参考:https://docs.ghost.org/docs/ghost-cli