Install Ghost to /var/www/
- Code: Select all
sudo mkdir -p /var/www/
cd /var/www/
sudo unzip -d ghost [Name-of-Ghost-zip].zip
Install Python-software-properties packages
- Code: Select all
sudo apt-get install python-software-properties
Add chris-lea’s Node.js repository
Update ubuntu packages again since you added a respository
Install Nodejs
- Code: Select all
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Navigate to ghost folder
- Code: Select all
cd /var/www/ghost
Install Ghost
- Code: Select all
sudo npm install --production
Edit Ghost’s config file so it can be seen on the network (by default only works on local machine)
Open config.js with in the Ghost directory
Replace all “127.0.0.1″ with your machines IP “XXX.XXX.XXX.XXX”
Save
OR open http://127.0.0.1:2368 and http://127.0.0.1:2368/ghost/signup