Installing Node and Ghost in [mt]
After installing Node and Ghost, my suggestion is initially you follow the following
Steps to install Ghost
1. Update everything available via yum
2. Get Node into a temp folder where you are going to compile it
cd /temp/ curl -O http://nodejs.org/dist/v0.10.19/node-v0.10.19.tar.gz3. Gunzip the folder
tar -zxvf node-v0.10.19.tar.gz4. Get inside the folder
cd node-v0.10.195. Then compile it doing the following:
./configure make make install
Steps to install Ghost
1. Hopefully you were one of the guys that back them too, but if not, Ghost will release their Blogging software soon enough.
2. Go in to the site and download your copy.
3. Create a folder, I choose to install it where the Apache is located so it can be related so
4. Make the folder for my site
5. Now navigate inside that folder
6. Here you will upload the copy of Ghost.
7. Unzip the folder
8. Then install it by doing
Ta-da! its installed!!
Now lets configure Apache to work with NodeJS
Steps to configure Apache with NodeJS
1. Hopefully you have configured vhosts, my folder is
2. Create my file for my domain
3. Here if you know your IP (you should | if not do a tracerout to your domain and get the Public IP attached to it) create the directive:
<VirtualHost 184.108.40.206:80> This includes the Port that Apache is displaying content.
4. Then create the following content inside that directive
ServerName enriquemanuel.me ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> <Location > ProxyPass http://localhost:2368/ ProxyPassReverse http://localhost:2368/ </Location>
- Now close the
Please be aware that you need to change the servername to yours and also change the virtualhost directive with your IP
Now lets configure and start everything
List: 1. Lets restart apache if not already done by doing
service httpd restart /etc/init.d/httpd restart
- Either of the options above do the same thing, so its up to you.
- Now lets configure and start NodeJS, go to your domain or where you create the folder in our case is
- Lets copy the configuration and make our own
cp config.example.js config.js
- Now lets open the
config.jsand make it our own
- Change the domain name to your own, in my case it was
enriquemanuel.meso we change it accordingly
url: 'http://enriquemanuel.me',In the different sections that its needed.
Please be aware that most of the links that start with http:// are creating the link
<a href if you see this in the end content, please remove it or just use the direct url removing this.
Not for me by any means, I'm still trying to move everything here. I have use a varierity of Blog Systems before including: Wordpress, Joomla, Mambo, Concrete 5, Jekyll, NestaCMS and other stuff but for one in the time its good to use one that is solely made to Bloggin.
And to finalize this blog post, I need to migrate all my content from my previous posts, so wait for more posts to hit the page.
If you have access to the Ghost System you should got an email how to install it in Centos, I use that as a starter on how to do this. So you can use both to guide you.