차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:phpvirtualbox [2016/09/29 16:26] – [Error logging in to vboxwebsrv.] V_Ltech:phpvirtualbox [2018/03/21 13:55] (현재) V_L
줄 1: 줄 1:
 {{tag>phpvirtualbox}} {{tag>phpvirtualbox}}
-====== Phpvirtualbox ======+====== PhpVirtualbox ======
  
- +서버에 장착된 
-headless [[virtualbox]] 를 웹으로 접속하여 관리할 수 있다. +headless [[virtualbox]]를 웹으로 접속하여 관리할 수 있다. 
  
 http://phpvirtualbox.sourceforge.net/ http://phpvirtualbox.sourceforge.net/
줄 11: 줄 11:
 웹서비스 폴더에 넣고 접속하면 된다. 웹서비스 폴더에 넣고 접속하면 된다.
  
-초기 접속은 admin/admin +초기 접속은 ''admin''/''admin''
  
 +이제 [[tech:xpenology|]]를 설치하자.
 =====오류===== =====오류=====
  
줄 21: 줄 22:
  
 ====Could not connect to host (http://127.0.0.1:18083/)==== ====Could not connect to host (http://127.0.0.1:18083/)====
-서비스를 완전히 종료 후 다시 시작해 본다. restart 말고.+ 
 + 
 +[[Virtualbox]]서버에 연결이 안된다는 것인데, 서버가 제대로 돌아가지 않고 있을 가능성이 있다. 설정을 확인해보고, 서비스를 완전히 종료 후 다시 시작해 본다. ''restart'' 말고.
  
   sudo service vboxweb-service stop   sudo service vboxweb-service stop
줄 32: 줄 35:
  
  
-유저 아이디 문제 인경우 가 많다.  +유저 아이디 문제인 경우가 많다.  
-확인해본다.+확인해 본다. 
 + 
 +admin 계정과 암호를 초기화 하려면, PVB가 설치된 곳의 reset.php-disabled를 .php 로 이름을 바꾸고 웹에서 실행하면 된다. 다시 초기암호로 변경된다.  
 +====This version of phpVirtualBox (5.0-5) is incompatible with VirtualBox 5.1.6==== 
 + 
 + 
 +5.1을 깔고 phpVirtualBox 5.0을 실행하면 에러가 난다. 
 +5.0을 강제로 실행시켜도 별탈 없이 실행되므로 다음과 같이 수정한다. 
  
-====This version of phpVirtualBox (5.0-5) is incompatible with VirtualBox 5.1.6. You probably need to download the latest phpVirtualBox 5.1-x.==== 
  
-I was able to get v5.0-5 working with vbox 5.1 by commenting out the version check line and replacing it with a static value in the endpoints/api.php file: +<file php endpoints/api.php>
-<file>+
 // $response['data']['responseData']['phpvboxver'] = @constant('PHPVBOX_VER'); // $response['data']['responseData']['phpvboxver'] = @constant('PHPVBOX_VER');
-$response['data']['responseData']['phpvboxver'] = "5.1-0";+$response['data']['responseData']['phpvboxver'] = "5.1-6";
 </file> </file>
- 87 줄+ 87 줄 즈음의 버전을 받아오는 문구를 주석처리하고, 그냥 값을 넣어주는 문구를 삽입한다.