vmware상의 페도라에 wiki를 윈도우에서 어떻게 접근해야 하나요?

jungjury의 이미지

Guest os인 리눅스에 웹서버를 설치하고 wiki를 깔았습니다.

네트워크를 NAT로 하고

ms윈도우에서 ip(192.168.1.129)를 입력해서 wiki에 접근했더니..

mysql서버에 접근 할수 없다고 에러가 납니다..

그냥 index.html를 작성해서 보면 잘보이는데.. 이상합니다:?:

wariua의 이미지

VMWare 호스트와 게스트 사이의 통신은 잘 이루어지고 있네요. 웹서버도 잘 돌고 있구요. 말 그대로 wiki 웹프로그램에서 같은 호스트에 있는 MySQL 서버에 접속할 수 없다는 내용입니다. 생각해 볼 점들은...

MySQL 서버는 떠 있나요?
wiki 설치 문서에서 DB 설정과 관련된 부분을 빠짐없이 확인해 주셨나요?
DB 접속용 ID/패스워드로 localhost에서 접근할 수 있도록 MySQL에 설정이 되어 있나요?
등등등... 입니다.

어떤 위키 프로그램을 설치하신 건지는 잘 모르겠습니다만 설치 문서에서 DB 설정과 관련된 부분을 다시 한번 확인해 주시는 것이 필요하리라 생각됩니다. 그리고 MySQL에 익숙치 않으시다면 KLDP wiki의 "데이터베이스" 페이지에 있는 문서나 기타 HOWTO들을 참고하실 수 있습니다.
----
$PWD `date`

$PWD `date`

jungjury의 이미지

구글로 한참 검색하다가 port forwarding이 필요하다는 것을 알게되었습니다.

윈도우즈용 vmware workstation에서
[edit]-[virtual network settings]-[NAT]
에서 [edit]를 누르고 [port forwarding] 누른후

웹서버를 위한 80번 포트와 mysql를 위한 3306포트를 host port에 적고
가상머신의 ip주소인 192.168.1.129과 포트번호를
추가 시켜주니 윈도우에서 vmware상의 wiki에 접속이 됩니다...

host와 가상머신의 포트번호를 같은 것으로 해놓았는데..
괜찮은지 모르겠습니다.

안녕하세요 : )

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.