{"_id":"59365227e16643001bac5035","category":{"_id":"59365227e16643001bac5032","version":"59365226e16643001bac5030","project":"543026235eceb608003fde5f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-06-05T10:03:36.502Z","from_sync":false,"order":1,"slug":"getting-started-from-supportghostorgdevelopers","title":"Self-Host Install & Setup"},"project":"543026235eceb608003fde5f","user":"55acc88c6b4ff90d00784b61","parentDoc":null,"version":{"_id":"59365226e16643001bac5030","project":"543026235eceb608003fde5f","__v":1,"createdAt":"2017-06-06T06:56:38.999Z","releaseDate":"2017-06-06T06:56:38.999Z","categories":["59365227e16643001bac5031","59365227e16643001bac5032","59365227e16643001bac5033","59365227e16643001bac5034"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-05T10:38:56.273Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Warning\",\n  \"body\": \"Ghost 1.0 Beta is not suitable for production!\"\n}\n[/block]\nGhost is an Open Source platform that allows you to write and publish your own blog – giving you the tools to make it easy and even fun to do. This guide will walk you through everything from installing Ghost to writing your first post using Markdown.\n[block:api-header]\n{\n  \"title\": \"Step 1: Installing Ghost\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"If you’re looking to avoid any manual installation of Ghost, [Ghost(Pro)](https://ghost.org) is our managed service that requires zero setup, configuration or maintenance.\",\n  \"title\": \"Note\"\n}\n[/block]\nTo get started with Ghost, you’ll first need to install it. The one true way to install Ghost `1.0` beta is to use our [Ghost-CLI](https://github.com/TryGhost/Ghost-CLI) tool. We have written this tool to easily install Ghost and minimise installation problems for the community.\n\n- [Installing Ghost via the CLI](doc:installing-ghost-via-the-cli) \n- [1-Click Installer & Hosting](doc:install-with-3rd-party-tools) \n[block:api-header]\n{\n  \"title\": \"Step 2: Basic Ghost Configuration\"\n}\n[/block]\nPlease follow these guides:\n\n- [Configuring Ghost](doc:configuring-ghost)\n- [Mail Configuration](doc:mail-config) \n[block:api-header]\n{\n  \"title\": \"Step 3: Setup your server\"\n}\n[/block]\nOnce Ghost is installed, running and configured, you’ll need to take steps to ensure that Ghost stays running, is accessible on a custom domain and is secure.\n\n### Ghost as a long running process\n\nNode applications like Ghost will only stay running whilst you have the command line open. You can use [Ghost CLI](doc:installing-ghost-via-the-cli#start-and-stop-ghost) to start Ghost and keep it running in the background.\n\n### Proxy a custom domain with nginx\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"Do not run Ghost on port 80 directly. This is considered a security risk. We always recommend using a proxy such as nginx.\",\n  \"title\": \"Warning:\"\n}\n[/block]\nThe next step after setting up Ghost as a long running process, is to configure a custom domain by using a web server as a proxy. We recommend using [nginx](http://nginx.org/en/) and cover the steps in our [NGINX Config](doc:basic-nginx-config-self-hosted-with-custom-domain) guide.\n\n### Configure SSL\n\nFinally, once you’ve got the basic nginx config in place, we also highly recommend [SSL Setup](doc:how-to-setup-ssl-for-self-hosted-ghost). This is particularly important for the Ghost admin so that you can login securely.","excerpt":"","slug":"getting-started-guide","type":"basic","title":"Introduction"}
[block:callout] { "type": "warning", "title": "Warning", "body": "Ghost 1.0 Beta is not suitable for production!" } [/block] Ghost is an Open Source platform that allows you to write and publish your own blog – giving you the tools to make it easy and even fun to do. This guide will walk you through everything from installing Ghost to writing your first post using Markdown. [block:api-header] { "title": "Step 1: Installing Ghost" } [/block] [block:callout] { "type": "info", "body": "If you’re looking to avoid any manual installation of Ghost, [Ghost(Pro)](https://ghost.org) is our managed service that requires zero setup, configuration or maintenance.", "title": "Note" } [/block] To get started with Ghost, you’ll first need to install it. The one true way to install Ghost `1.0` beta is to use our [Ghost-CLI](https://github.com/TryGhost/Ghost-CLI) tool. We have written this tool to easily install Ghost and minimise installation problems for the community. - [Installing Ghost via the CLI](doc:installing-ghost-via-the-cli) - [1-Click Installer & Hosting](doc:install-with-3rd-party-tools) [block:api-header] { "title": "Step 2: Basic Ghost Configuration" } [/block] Please follow these guides: - [Configuring Ghost](doc:configuring-ghost) - [Mail Configuration](doc:mail-config) [block:api-header] { "title": "Step 3: Setup your server" } [/block] Once Ghost is installed, running and configured, you’ll need to take steps to ensure that Ghost stays running, is accessible on a custom domain and is secure. ### Ghost as a long running process Node applications like Ghost will only stay running whilst you have the command line open. You can use [Ghost CLI](doc:installing-ghost-via-the-cli#start-and-stop-ghost) to start Ghost and keep it running in the background. ### Proxy a custom domain with nginx [block:callout] { "type": "warning", "body": "Do not run Ghost on port 80 directly. This is considered a security risk. We always recommend using a proxy such as nginx.", "title": "Warning:" } [/block] The next step after setting up Ghost as a long running process, is to configure a custom domain by using a web server as a proxy. We recommend using [nginx](http://nginx.org/en/) and cover the steps in our [NGINX Config](doc:basic-nginx-config-self-hosted-with-custom-domain) guide. ### Configure SSL Finally, once you’ve got the basic nginx config in place, we also highly recommend [SSL Setup](doc:how-to-setup-ssl-for-self-hosted-ghost). This is particularly important for the Ghost admin so that you can login securely.