在阿里云服务器上安装 Ghost (1)-- 安装 Node.js
add-apt-repository: command not found Error sudo: add-apt-repository: command not found : For Ubuntu 14.04 you need another package:apt-get install software-properties-common
如何重启mysql:使用 mysqld 脚本启动:/etc/inint.d/mysqld restart
zip文件解压 : unzip
git http://git.oschina.net/dbliu/ghost_blog
把已有项目上传到git上:
cd existing_git_repo
git remote add origin https://git.oschina.net/dbliu/ghost_blog.git
git push -u origin master
npm install 很慢,npm install被抢的解决办法 : 淘宝 NPM 镜像
sudo cnpm install --production
ubuntu 重启 nginx 失败,* Restarting nginx nginx ...fail! : 原因是你配置 nginx 的配置文件出了错误
为什么使用IP访问网页无效,原来是由于nginx的设置。只能用网址浏览。