# Windows에서 LocalHost에 Discourse 설치하는 방법?

**URL:** https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790
**Category:** Self-hosting
**Created:** [10월 24, 2019, 11:31오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790 "2019-10-24T11:31:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Helical\_Insight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helical_insight/32/159139_2.png) [@Helical\_Insight](https://meta.discourse.org/u/Helical_Insight)
#### Post date: [10월 24, 2019, 11:31오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/1 "2019-10-24T11:31:28Z")

</div>

로컬 머신에 Discourse를 설치하고 싶었습니다. 운영체제는 Windows 8입니다. localhost에 Discourse를 설치하는 방법에 대해 도움을 주실 수 있을까요?

이미 웹사이트를 로컬에 설치해 두었고, 이제 Discourse를 설치하려 합니다.

[helicalinsight.com](http://helicalinsight.com) (이것이 제 웹사이트입니다) 그리고 제 웹사이트에 Discourse 포럼이 있습니다.  
[forum.helicalinsight.com](http://forum.helicalinsight.com)

이제 forum.localhost로 만들고 싶습니다. (이것이 가능한가요?)

Rails 앱에 대한 지식이 전혀 없습니다. (이 가이드를 따라 해 보았지만 도움이 되지 않았습니다: [Discourse as Your First Rails App | BlogDiscourse](https://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/))

감사합니다

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [10월 24, 2019, 4:15오후 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/2 "2019-10-24T16:15:07Z")

</div>

Windows에서 개발 환경을 설정하는 방법에 대한 자세한 내용은 [Install Discourse on Windows for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149) 를 참고하세요. Windows 8에서 업그레이드해야 합니다. 대안으로, 컴퓨터에 Linux를 설치한 후 [Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727) 를 따라 진행할 수도 있습니다.

---

<div class="post-metadata">

### Author: ![D8vid](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@D8vid](https://meta.discourse.org/u/D8vid)
#### Post date: [10월 24, 2019, 11:19오후 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/3 "2019-10-24T23:19:39Z")

</div>

[명령줄 지침이 계속됩니다…]

Ruby로 작성된 가상 머신 매니저인 [Vagrant](https://www.vagrantup.com/intro/getting-started/install.html)는 Windows 8에서 사용할 수 있는 옵션 중 하나입니다. 이 도구는 WSL(Windows Subsystem for Linux, Windows 10 기능)과 유사한 환경을 제공합니다.

Vagrant는 이미 설치되어 있는 경우 Docker, Hyper-V 또는 VirtualBox를 가상 머신 프로바이더로 사용할 수 있습니다. 설치되어 있지 않다면, 설정을 위한 가장 쉬운 도구는 [Chocolatey](https://chocolatey.org/)입니다. Chocolatey가 설치되면 `choco install -y virtualbox vagrant` 명령을 통해 Vagrant와 VirtualBox를 모두 설치할 수 있습니다.

이후 Vagrant의 [Project Setup](https://www.vagrantup.com/intro/getting-started/project_setup.html) 가이드를 따라 Ubuntu VM을 설치하세요. 예를 들어 `vagrant init hashicorp/bionic64`(Windows 8 설치 환경이 32비트인 경우 `bionic32`)를 사용할 수 있습니다.

그 다음부터는 [Install Discourse on Windows for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149) 링크의 내용을 참고할 수 있을 것입니다(희망적으로).

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [10월 25, 2019, 3:57오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/4 "2019-10-25T03:57:22Z")

</div>

참고: Vagrant는 전혀 지원되지 않으며, VM 또는 WSL2를 사용해야 합니다. 그중에서도 WSL2가 가장 쉽습니다.

---

<div class="post-metadata">

### Author: ![D8vid](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@D8vid](https://meta.discourse.org/u/D8vid)
#### Post date: [10월 25, 2019, 9:45오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/5 "2019-10-25T09:45:14Z")

</div>

Vagrant은 Microsoft의 Hyper-V, VirtualBox 또는 VMware(설정이 더 복잡하지만 사용은 가능함)에서 제공하는 VM을 위한 VM 관리 도구일 뿐입니다. 이 관점에서 보면, Vagrant는 Microsoft가 공식적으로 승인한 Windows/Linux 통합 기능이 추가로 포함된 특수한 Hyper-V VM을 제공하는 WSL2와 매우 유사합니다.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [10월 28, 2019, 6:27오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/6 "2019-10-28T06:27:09Z")

</div>

틀린 말일 수 있지만, vagrant의 경우 설정을 유지 관리하고 이미지를 게시하는 것이 기대되는 방식입니다. 그런데 이 두 가지 사항은 현재 논의 대상이 아닙니다.

0에서 100까지 매우 빠르게 진행할 수 있는 최소한의 설정을 원하신다면 WSL2 + Docker 개발 환경을 사용하세요.

[Docker를 사용하여 개발용 Discourse 설치하기: 초보자 가이드](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009)

---

<div class="post-metadata">

### Author: ![D8vid](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@D8vid](https://meta.discourse.org/u/D8vid)
#### Post date: [3월 11, 2020, 10:46오후 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/8 "2020-03-11T22:46:57Z")

</div>

이 스레드가 방치되어 있었다는 걸 잊고 있었습니다. Vagrant는 단순히 개발 도구(VM 관리자)일 뿐이며, 유용하려면 반드시 설정 파일이 필요한 것도 아니고, 전용 이미지도 절대 필요하지 않습니다. Docker를 호스팅하고 `discourse-setup` 및 `launcher` 같은 Discourse 스크립트를 실행할 수 있는 VM을 빠르게 띄울 수 있으니까요.

이미 [discourse\_docker/blob/master/Vagrantfile](https://github.com/discourse/discourse_docker/blob/master/Vagrantfile)에 Vagrantfile이 존재하며, [discourse\_docker/blob/master/README.md](https://github.com/discourse/discourse_docker/blob/master/README.md)의 끝부분에는 discourse\_docker를 개발하기 위한 간단한 설명이 나와 있습니다.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2월 29, 2024, 8:31오후 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/9 "2024-02-29T20:31:05Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [3월 1, 2024, 7:05오전 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-localhost-in-windows/131790/10 "2024-03-01T07:05:15Z")

</div>


