Note: This page will not document steps outside the scope of Ghost and makes a few assumptions including:

  • Windows XP is has service pack 3 installed.
  • A network interface is setup with a static IP address.
  • Any reference to the servers IP address will be 192.168.0.10 but will need to be replaced with your servers IP address.
  • Any reference to Ghost’s domain name will be www.ghostblog.com but will need to be replaced with your domain name.

Installing Node.js and Other Dependencies

Go to nodejs.org and download the Windows Installer (.msi), either the 32-bit or 64-bit depending on your architecture.

Run through the installer with all the defaults.

Reboot your computer.

Download python 2.7.3 (32-bit , 64-bit)

Install Python with all of the defaults.

Open command prompt as Administrator (not needed if your account is an administrator account) and execute

 set PATH=%PATH%;C:Python27;C:Python27Scripts;

To open cmd.exe as administrator go to C:Program Filessystem32 and hold down shift as you right click on cmd.exe

Download and install Visual C++ 2010 Express with all of the defaults.

Download and Install Ghost

Go to the Ghost and download the latest build of Ghost and unpack it wherever you would like.

Install Ghost

Now open cmd.exe and cd into your ghost directory and run the following command:

 npm install

Configure Ghost

Open up the config.example.js in Notepad or any other text editor and change the following:

host: '127.0.0.1',
port: '2368'

to

host: 'your_ip_address',
port: '80'

Once you made those changes, save the file as config.js instead of config.example.js.

Start Ghost

npm start

Troubleshooting

If you see the message:

python is not recognized as an internal or external command, operable program or batch file

make sure you have downloaded and installed python and then run the following command

 set PATH=%PATH%;C:Python27;C:Python27Scripts;

6 thoughts on “How To Install Ghost On Windows XP

    • hmm, do you have Visual C++ 2010 Express installed? and you were able to install node and python just fine?

      you getting that error on npm install?

      Reply
  1. Hi!
    I´m really new into this world and I´m having real issues while trying Ghost.
    I’ve managed to install it on my computer, and try it on 127.0.0.1:2368. I’ve written some posts, changed themes…
    But now I want to publish that blog, and I’ve no idea on how to do it. I want it to be free.
    Any help? (Please detailed instructions as I’m not a techno geek -.-”!)

    Reply
      • Hi David!
        Well thabjs for the fast reply. I already registered in Amazon but its giving me a lot of errors with npm start.

        Reply
        • That´s what it says when running “npm start” on Putty:

          ghost@0.4.2 start /home/ec2-user
          node index

          -
          events.js:72
          throw er; // Unhandled ‘error’ event
          ^
          Error: listen EADDRINUSE
          at errnoException (net.js:904:11)
          at Server._listen2 (net.js:1042:14)
          at listen (net.js:1064:10)
          at net.js:1146:9
          at dns.js:72:18
          at process._tickDomainCallback (node.js:463:13)
          at process._tickFromSpinner (node.js:394:15)

          npm ERR! ghost@0.4.2 start: node index
          npm ERR! Exit status 8
          npm ERR!
          npm ERR! Failed at the ghost@0.4.2 start script.
          npm ERR! This is most likely a problem with the ghost package,
          npm ERR! not with npm itself.
          npm ERR! Tell the author that this fails on your system:
          npm ERR! node index
          npm ERR! You can get their info via:
          npm ERR! npm owner ls ghost
          npm ERR! There is likely additional logging output above.
          npm ERR! System Linux 3.10.37-47.135.amzn1.i686
          npm ERR! command “node” “/usr/bin/npm” “start”
          npm ERR! cwd /home/ec2-user
          npm ERR! node -v v0.10.28
          npm ERR! npm -v 1.4.13
          npm ERR! code ELIFECYCLE
          npm ERR!
          npm ERR! Additional logging details can be found in:
          npm ERR! /home/ec2-user/npm-debug.log
          npm ERR! not ok code 0

          Reply

Leave a reply

required

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>