Hi, thanks for all the support.
I first installed ghost (v1.22.4) as a local/development mode.
ghost install local -d $HOME/ghost --db sqlite3 --no-setup-linux-user
Because I don’t have sudo, I need to use --no-setup-linux-user
, otherwise ghost will not work for me.
Once installed, I also start ghost like this: ghost start --no-setup-linux-user
and ghost runs perfectly, and my site runs well.
But this is in development mode.
For real use, I read that I must use production mode.
I install like this: ghost install -d $HOME/ghost --db sqlite3 --no-setup-linux-user
(same as before but no local)
I say no to setting up nginx and systemd, and no to starting ghost. Install completes.
When I do to start ghost --no-setup-linux-user
, it asks me for a password.
Running sudo command: systemctl is-active ghost_localhost
But my account is not sudo and I do not have these permissions… and so I cannot proceed.
Does it really mean I cannot use ghost in production mode?
What are the main differences? Speed/security/something?
If I cannot use production mode, is it dangerous to continue using local development mode?
Debug Information:
OS: Debian, v9.4
Node Version: v6.14.1
Ghost-CLI Version: 1.7.1
I hope someone can give some advice.
Thank you very much.