{"id":755,"date":"2011-12-11T21:36:16","date_gmt":"2011-12-11T13:36:16","guid":{"rendered":"https:\/\/umarzuki.org\/blogku\/?p=755"},"modified":"2011-12-11T21:36:16","modified_gmt":"2011-12-11T13:36:16","slug":"antaramuka-web-untuk-virtualbox-4-1","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2011\/12\/11\/antaramuka-web-untuk-virtualbox-4-1\/","title":{"rendered":"Antaramuka web untuk VirtualBox 4.1"},"content":{"rendered":"<p><a href=\"https:\/\/umarzuki.org\/blogku\/wp-content\/uploads\/2011\/12\/vboxweb.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/umarzuki.org\/blogku\/wp-content\/uploads\/2011\/12\/vboxweb-300x210.png\" alt=\"\" title=\"vboxweb\" width=\"300\" height=\"210\" class=\"alignnone size-medium wp-image-760\" \/><\/a><\/p>\n<ol>\n<li>Sebagai pengguna root, pasang VirtualBox 4.1<br \/>\n<code>wget -q http:\/\/download.virtualbox.org\/virtualbox\/debian\/oracle_vbox.asc -O- | apt-key add -<br \/>\naptitude update<br \/>\naptitude install virtualbox-4.1<\/code><\/li>\n<li>Muaturun phpvirtualbox dari <a href=\"http:\/\/code.google.com\/p\/phpvirtualbox\/downloads\/list\" title=\"phpvirtualbox\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/code.google.com\/p\/phpvirtualbox\/downloads\/list<\/a> dan pasang<br \/>\n<code>cp phpvirtualbox-4.1-5.zip \/var\/www\/<br \/>\naptitude install unzip<br \/>\ncd \/var\/www\/<br \/>\nunzip phpvirtualbox-4.1-5.zip<br \/>\nln -s \/var\/www\/phpvirtualbox-4.1-5 \/var\/www\/phpvirtualbox<br \/>\ncp phpvirtualbox\/config.php-example phpvirtualbox\/config.php<\/code><\/li>\n<li>Tukar format config.php ke format unix<br \/>\n<code>aptitude install dos2unix<br \/>\ncd phpvirtualbox\/<br \/>\ndos2unix config.php<\/code><\/li>\n<li>Konfigur tetapan phpvirtualbox (sesuaikan dengan tetapan anda)<br \/>\n[code=&#8217;plain&#8217;]\/* Username \/ Password for system user that runs VirtualBox *\/<br \/>\nvar $username = &#8216;vbox&#8217;;<br \/>\nvar $password = &#8216;vbox&#8217;;<\/p>\n<p>\/* SOAP URL of vboxwebsrv (not phpVirtualBox&#8217;s URL) *\/<br \/>\nvar $location = &#8216;http:\/\/192.168.1.104:18083\/&#8217;;[\/code]<\/li>\n<li>Pasang pelayan web<br \/>\n<code>aptitude install apache2<br \/>\naptitude install libapache2-mod-php5<br \/>\naptitude install php-soap<br \/>\nservice apache2 restart<\/code><\/li>\n<li>Cipta fail konfigurasi servis web virtualbox<br \/>\n<code>touch \/etc\/default\/virtualbox<\/code><\/li>\n<li>Konfigur tetapan servis web virtualbox (sesuaikan dengan tetapan anda)<br \/>\n[code=&#8217;plain&#8217;]VBOXWEB_USER=&#8217;vbox&#8217;<br \/>\nVBOXWEB_HOST=&#8217;192.168.1.104&#8242;<br \/>\nVBOXWEB_LOGFILE=&#8217;\/var\/log\/vboxweb'[\/code]<\/li>\n<li>Cipta dan beri kebenaran menulis untuk fail log servis web virtualbox<br \/>\n<code>touch \/var\/log\/vboxweb<br \/>\nchmod o+w \/var\/log\/vboxweb<\/code><\/li>\n<li>Tambah pengguna servis web virtualbox dan masukkannya ke kumpulan vboxusers<br \/>\n<code>useradd -m vbox<br \/>\npasswd vbox<br \/>\nusermod -a -G vboxusers vbox<\/code><\/li>\n<li>Mulakan servis web virtualbox<br \/>\n<code>service vboxweb-service start<\/code><\/li>\n<li>Muaturun Oracle VM VirtualBox Extension Pack dan pasang<br \/>\n<code>VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.6-74713.vbox-extpack<\/code><\/li>\n<li>Tetapkan supaya servis web virtualbox bermula tiap kali debian dimulakan<br \/>\n<code>update-rc.d vboxweb-service defaults<\/code><\/li>\n<li>Akses pada URL <strong>http:\/\/192.168.1.104\/phpvirtualbox<\/strong><code><\/li>\n<\/ol>\n<p>Pengguna adalah <strong>admin<\/strong> dengan katalaluan <strong>admin<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sebagai pengguna root, pasang VirtualBox 4.1 wget -q http:\/\/download.virtualbox.org\/virtualbox\/debian\/oracle_vbox.asc -O- | apt-key add &#8211; aptitude update aptitude install virtualbox-4.1 Muaturun phpvirtualbox dari http:\/\/code.google.com\/p\/phpvirtualbox\/downloads\/list dan pasang cp phpvirtualbox-4.1-5.zip \/var\/www\/ aptitude install unzip cd \/var\/www\/ unzip phpvirtualbox-4.1-5.zip ln -s \/var\/www\/phpvirtualbox-4.1-5 \/var\/www\/phpvirtualbox cp phpvirtualbox\/config.php-example phpvirtualbox\/config.php Tukar format config.php ke format unix aptitude install dos2unix cd phpvirtualbox\/ dos2unix config.php [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,38,198],"tags":[18,223,224,140,89,76],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-linux","category-perisian","category-virtualbox","tag-debian","tag-interface","tag-phpvirtualbox","tag-squeeze","tag-vbox","tag-web"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}