| lang | ko |
|---|---|
| layout | installation |
| meta_title | How to Install Ghost on Your Server - Ghost Docs |
| meta_description | Everything you need to get the Ghost blogging platform up and running on your local or remote environement. |
| heading | Installing Ghost & Getting Started |
| subheading | The first steps to setting up your new blog for the first time. |
| permalink | /ko/installation/linux/ |
| chapter | installation |
| section | linux |
| prev_section | windows |
| next_section | deploy |
- Either download the
.tar.gzarchive from http://nodejs.org, or you may prefer to follow the instructions on how to install from a package manager instead. - Double check that you have Node and npm installed by typing
node -vandnpm -vinto a terminal window
- Log in to http://ghost.org, and then click the blue 'Download Ghost Source Code' button
- On the downloads page, press the button to download the latest zip file & then extract the file to the location you want to run Ghost from
- In a terminal window, change directory to the root of the extracted Ghost folder
- In the terminal type
npm install --productionnote the two dashes - When npm is finished installing, type
npm startto start Ghost in development mode - In a browser, navigate to
127.0.0.1:2368to see your newly setup Ghost blog - Change the url to
127.0.0.1:2368/ghostand create your admin user to login to the Ghost admin
If you are using linux as a guest OS or through SSH and only have the terminal, then:
- Use your normal operating system to find the URL of the Ghost zip file (it changes with each version), save the url but change '/zip/' to '/archives/'
- In the terminal use
wget url-of-ghost.zipto download Ghost - Unzip the archive with
unzip -uo Ghost-#.#.#.zip -d ghost, and thencd ghost - Type
npm install --productionto install Ghost note the two dashes - When npm is finished installing, type
npm startto start Ghost in development mode - Ghost will now be running on localhost