Posted: 2014-09-07 21:14:02
Ghost CMS is a blogging platform like WordPress, except with a minimalistic feel. Ghost uses Node.JS and SQLite, but can be connected and ran through a full Apache, PHP, and MySQL web-server platform such as WampDeveloper Pro (for Windows).
1. Download Ghost CMS:
2. Extract the Ghost CMS package into your website’s non-DocumentRoot folder (e.g., not into \webroot):
3. Open the command-line, change to the ghost folder, and install Ghost CMS:
C: cd C:\WampDeveloper\Websites\www.example.com\ghost npm install --production npm start
This will automatically download a number of Ghost CMS dependencies (node.js modules) and set up a default configuration file.
* WampDeveloper Pro already comes with Node.JS and NPM.
4. Test the installation by going to URL:
Open the website’s HTTP VirtualHost file, and add all configuration inside the “
Transparently proxy all http://www.example.com/blog requests through Apache:
ProxyPass /blog http://127.0.0.1:2368/ghost
And if you want to secure /blog to local system access only:
<Location "/blog"> Options None AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 ::1 </Location>
Save VirtualHost file. Restart Apache.
See your Ghost CMS installation hosted by Apache (on the regular HTTP port 80):
Ghost’s configuration file is
config.js, located in Ghost’s folder, and the settings are listed here: