一、安装命令如下
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 [email protected] 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
标签:ghost,npm,node,sudo,027,install,nvm,CMS From: https://www.cnblogs.com/arun-python/p/17788377.html