Learn about Centmin Mod LEMP Stack today
Become a Member

Install Ghost blog?

Discussion in 'Blogs & CMS usage' started by hardousse, Jul 12, 2017.

  1. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    any help how install Ghost on centminmod last beta ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    46,017
    10,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,220
    Local Time:
    12:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Tried doing it yourself ? Seems Ghost install has changed dramatically from when I last tried with ghost-cli command
    Centmin Mod Node.js can be installed via /usr/local/src/centminmod/addons/nodejs.sh

    For Nginx as a reverse proxy in front of Ghost only need from NGINX Config · Ghost Docs the reverse proxy rules pointing to Ghost backend port i.e. 2368
    Code (Text):
     location / {
         proxy_set_header   X-Real-IP $remote_addr;
         proxy_set_header   Host      $http_host;
         proxy_pass        http://127.0.0.1:2368;
    }
    
     
  3. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    Thanks @eva2000 for fast reply,right Ghost Change fast they prepare fit the Ghost version1, i will try and see i was worry about nginx reverse but i think will be Ok.thanks
     
  4. eva2000

    eva2000 Administrator Staff Member

    46,017
    10,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,220
    Local Time:
    12:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Do tests on test VPS or local virtualbox/vmware server first ;)
     
  5. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    After long time rest I want try play with the new version of ghost blog on centminmod.
    @eva2000 do I need to make file proxy.conf and include it to nginx conf to let ghost behind nginx proxy?because I try more solution but evrytime I get 502 bad gateway error?
     
  6. eva2000

    eva2000 Administrator Staff Member

    46,017
    10,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,220
    Local Time:
    12:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    which instructions you following for proxy.conf ? you do need a valid nginx proxy config to use in front of ghost either way
     
  7. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    Thank you for reply,I am trying to adapting your old instructions for ghost,ghost it's installed without problem,just I need to adapted website nginx conf
     
  8. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    I found it ;)
    Soon I will write guide to install ghost with centminmod.
    Thank you for your help
     
  9. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    Hi again I have problem I hope you can help,after restart server ghost not start and all time I get 502 bad gateway and I try the same method in other server with centminmod mod ghost start but I get 502 bad gateway I don't know it's problem with nginx or node?can anyone try ghost help.thank you
     
  10. eva2000

    eva2000 Administrator Staff Member

    46,017
    10,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,220
    Local Time:
    12:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    been ages since i used ghost but node.js needs a way to setup startups after server reboots as it isn't done by default unless you set it up - so nginx gives 502 error as it can't connect to node.js server. When you start node.js server it is only for the life of the server instance. So after server reboot, you need to start up ghost node.js server again.
     
  11. inthecloudblog

    inthecloudblog Active Member

    199
    36
    28
    Jan 26, 2016
    Ratings:
    +83
    Local Time:
    11:06 PM
    1.4.6
    Hi, by chance do you have the guide available ?
    I'll keep digging the forum, cheers.
     
  12. hardousse

    hardousse Active Member

    150
    34
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +50
    Local Time:
    4:06 AM
    1.11.*
    10.1*
    Hi
    Sorry but Ieft ghost and back to wordpress I was tired and not have time to fix things.good luck
     
  13. Mari2000

    Mari2000 Premium Member Premium Member

    6
    1
    3
    Jul 12, 2020
    Ratings:
    +2
    Local Time:
    8:06 PM
    I heard lots of good things about Ghost back in 2014 and it's streamlined low memory footprint compared to WP, great editor, and extra features that require plugins in WP, and the overall lack of bloat. @eva2000 why did you leave ghost for WP? Like hardousse, I'd like to use Ghost, but frankly I'm 'all in' with centminmod and with your native support for WP, I'll just use that. But, I'm curious...

    An interesting article:
    There’s a new blogging platform in town and I’m really digging it
     
    Last edited: Dec 22, 2020
  14. eva2000

    eva2000 Administrator Staff Member

    46,017
    10,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,220
    Local Time:
    12:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Just much more manual work at the time with Ghost compared to Wordpress - automated install and configure and forget and just use. Properly configured for read-only Wordpress blog can be fast like my official Centmin Mod Wordpress blog at https://blog.centminmod.com/