NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql,

Made By Muhammad Nafees

Breaking

Showing posts with label Virtual Box. Show all posts
Showing posts with label Virtual Box. Show all posts

Wednesday, 10 July 2019

July 10, 2019

How to Create an Android Virtual Machine Emulator in Windows


How to Create an Android Virtual Machine Emulator in Windows

  • Download and install any Virtual Machine software like Virtual box or Vmware
  • Download the latest version of Android x86 from android-x86.org. You will need the  live and installation iso.
  • Attached ISO with Virtual Machine 
  • Select Installation from the menu. 

  • Select Create/Modify Partitions and Click Ok. A partition menu appears
  

  • Select New then Primary to create a single, primary partition on your virtual hard drive. Click Enter to configure the partition to use all available space on the virtual hard drive.
  
  • Select Bootable then Write and type "yes"  to confirm. Then select Quit to return to the installation program.
  
  •  Click Ok to install onto the partition you just created.


  • Choose ext3 when prompted for a filesystem format. Click Yes to confirm. The system will now copy some files.

  • Click Yes when asked if you want to install GRUB.

  • Click Yes when asked if you want to install /system as read-write. This will allow you to make some hacks if you choose to in the future. The system will now copy a few files.

  • Select Reboot and click Ok. The system will boot into Android and after offering you the chance to boot to Debug or regular mode.
  
  • Step your way through Android setup as you would on any phone or tablet, entering your Google account info and changing any settings you like. Don't configure Wi-Fi because VirtualBox already gets its Internet connection from your PC. After hitting the "Start button" on the welcome screen, there may be a minute or two delay.
  •  Select Disable Mouse Integration from the VirtualBox Machine menu to make sure your mouse pointer stays synced with your movements. Use the right CTRL key to move your mouse pointer out of the VirtualBox window.  Hitting Right CTRL + C will allow you to scale the Android window as you resize it.
  • Waking the Android Emulator from sleep

While Android x86 provides a true Android experience on your PC, it has a few quirks of its own. Perhaps the most obvious of these is that you can't wake it from sleep, simply by clicking on the emulator window. If the screen goes to sleep,  you must hit the menu key on  your keyboard, which is usually between the right Windows key and CTRL key on  your keyboard, to wake it.
Change the Android Emulator's Screen resolution
By default, the emulator window is set to 800 x 600 resolution. To boot into a higher resolution:
  1. Hit the "a" key when the GRUB menu appears at boot time.
  2. Type "vga=ask" at the end of the command that appears and hit Enter.
  3. Hit Enter again to see a list of video modes.
  4. Input the number of the mode you want (ex: 1152x864x24 is number 34B) and hit Enter.
In our experience, many of these video modes did not work and required us to reboot. However, you can feel free to experiment.

Tuesday, 25 July 2017

Tuesday, 2 February 2016

February 02, 2016

PHP Virtual box Console Greyed out or disabled

PHP Virtual box Console Greyed out or disabled


open cmd and type these command
1 VBoxManage modifyvm Machine name --vrdeport 3389-4000
2 VBoxManage modifyvm Machine name --vrde on 


start virtual machine from PHP interface and then click on console

click on connect

Now Ready to use with console 


Note: Virtual box Extension Pack must be installed on Virtual box for extension pack downloading Please visit virtual box official site. download extension pack follow these step

1.
 
2.

3.

Monday, 1 February 2016

February 01, 2016

PHPVirtualBox Accessing VirtualBox from a Browser

PHP VirtualBox — Accessing VirtualBox from a Browser

This article introduces phpVirtualBox, an open source, AJAX and PHP-based implementation of the Oracle VirtualBox user interface.
Oracle VirtualBox is great enterprise-ready virtualisation software. However, what it lacks is a powerful Web-based management interface. Usually, people prefer VMWare over VirtualBox, as it has a good Web-based remote management interface.
phpVirtualBox provides an interface that’s a VirtualBox-look-alike for people who are not command-line savvy. Through phpVirtualBox, you can control a headless VirtualBox VM from a Web browser, including operations such as start/stop VMs, take snapshots, configure VMs, import/export VMs, and much more. Some of its code is based on the now inactive VBoxWeb project.
The requirements are:
  • Any Web server with PHP 5.2.0 or later; xampp will be good.
  • A working installation of Oracle VirtualBox 3.2.2 or later.
  • Any Web browser — Firefox, Opera, Chrome or IE — will do the job.

Installation on Windows

Installation is very simple. Here, I’m using Windows XP SP3.
Install Oracle VirtualBox OSE 3.2.10, and then install xampplite-win32-1.7.3. Download phpVirtualBox and extract the files/folder into the htdocs directory. phpVirtualBox requires thatvboxwebsrv.exe must be running on the Oracle VirtualBox host machine. This file is located atC:\Program Files\Oracle\VirtualBox\.
Vboxmanage setproperty websrvauthlibrary null
Vboxwebsrv.exe >null
Note: you can use by default user name password admin.
Now, edit the config.php file and change it to the following settings:
/* Username / Password for system user that runs Oracle VirtualBox */
var $username = 'administrator';
var $password = 'guesswhat';
var $location = 'http://localhost:18083/';
/*don't change if using single machine for VirtualBox and phpVirtualBox*/
Now navigate to the resulting folder in your Web browser (see Figure 1).

Start Virtual box websrvauthlibrary on start up just put these command in notepad and save with .bat file and set on startup
cd C:\Program Files\Oracle\VirtualBox
Vboxmanage setproperty websrvauthlibrary null
Vboxwebsrv.exe >null
Disabled settings and remove Virtual machine option from Virtual box PHP interface
There is a file in virtualboxphp\js directory with name phpvirtualbox.js edit with notepad and find code with remove vm and settings and delete chooser function.
February 01, 2016

How To Enlarge a Virtual Machine’s Disk in VirtualBox

How To Enlarge a Virtual Machine’s Disk in VirtualBox 


When you create a virtual hard disk in VirtualBox  you specify a maximum disk size. If you want more space on your virtual machine’s hard disk later, you’ll have to enlarge the virtual hard disk and partition.
Note that you may want to back up your virtual hard disk file before performing these operations – there’s always a chance something can go wrong, so it’s always good to have backups. However, the process worked fine for us.

Enlarge a Virtual Disk in VirtualBox

To enlarge a virtual disk in VirtualBox, you’ll need to use the VBoxManage command from a Command Prompt window. First, shut down the virtual machine – ensure its state is set to Powered Off, not Saved.
Second, open a Command Prompt window from your Start menu and change to VirtualBox’s program files folder so you can run the command:
cd “C:\Program Files\Oracle\VirtualBox”
The following command will operate on the VirtualBox virtual disk located at “C:\Users\Chris\VirtualBox VMs\Windows 7\Windows 7.vdi”. It will resize the virtual disk to 81920 MB (80 GB).
VBoxManage modifyhd “C:\Users\Chris\VirtualBox VMs\Windows 7\Windows 7.vdi” --resize 81920
(Use two dashes before resize in the command above.)
Replace the file path in the command above with the location of the VirtualBox disk you want to resize and the number with the size you want to enlarge the image to (in MB).


Note that this process doesn’t enlarge the partition on the virtual hard disk, so you won’t have access to the new space yet – see the Enlarge the Virtual Machine’s Partition section below for more information.