027前端CMS ghost安装
一、安装命令如下
sudo adduser ghost sudo usermod -aG sudo ghost su - ghost cd /data/fe-doc-center curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash nvm install v18.17.1 npm config set registry https://registry.npm.taobao.org npm install -g npm@9.6.7 node -v npm -v # 安装ghost-cli npm install ghost-cli -g # 如果报错node_modules文件夹Access deny,执行授权 sudo chown xxx /usr/local/lib/node_modules # 本地安装 # npm install sqlite3 --save ghost install local # 启动 ghost start