I finally changed my work platform yesterday. I was wondering if I had to install a VBox on my work platform to create several machines. The answer is yes. After yesterday's DPKG locking problem, experienced people said, I have a Linux base and I am not familiar with commands. It is necessary to simulate a machine similar to my work platform, first, the command passed on the simulator, and then on the real machine, let's talk about experience.
First, of course, it is to install Vbox, which is explained on the official Vbox website.
First, add the source to the third-party Dongdong.
Deb http://download.virtualbox.org/virtualbox/debian saucy contrib
Deb http://download.virtualbox.org/virtualbox/debian raring contrib
Deb http://download.virtualbox.org/virtualbox/debian quantal contrib
Deb http://download.virtualbox.org/virtualbox/debian precise contrib
Deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
Deb http://download.virtualbox.org/virtualbox/debian maid
Deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
Select a version corresponding to your sub-version and add it to/etc/apt/sources. list (this is officially recommended ).
However, I still hope this will not happen in the future. I am creating a virtualbox. list in/etc/apt/sources. list. d/. It will be convenient to delete it later.
Step 2: Add KEY.
Sudo apt-key add Oracle_vbox.asc
Or
Wget-q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc-O-| sudo apt-key add-
In the third part, you can install it.
Sudo apt-get update
Sudo apt-get install virtualbox-4.2
You will find that your small water pipe is working, and I am in the company, maybe it is the official reason of Vbox, I cannot wait, so I will resume installation using the next package, and so on.
* *** I have downloaded and downloaded the package from the official website. Remember to find the correct version. My working platform is Ubuntu12.04 lts, Which is Vbox 4.2.
Run the following command in the downloaded package directory:
Sudo dpkg-I virtualbox-4.2_4.2.20-90983 ~ Ubuntu ~ Precise_i386.deb
Execute link repair
Sudo apt-get install-f
***
Step 4: Install the extension package. Go to the official website to download the Vbox. Remember to make it consistent with your Vbox version. If it is wrong, stop shouting.
Now you can open the Vbox manager you installed and add the downloaded extension package to the global variable extension.
File-> Preferences-> Extensions
Now your Vbox is working properly, and there are a few sub-screens that you have virtualized, because you still have driver packages not installed.
This ISO is under the installation directory of your Vbox. After installing the system, exit the installed ISO, mount the driver extension package, and install it. Your screen will not be small, in addition, you can switch your mouse freely without any smoothness.
VirtualOS-> setting-> storage
Next, we will focus on installing RemoteBox today. If you are a Windows virtual machine, you can avoid it because it can only be run on Linux MAC, and not all are supported, it's really troublesome to pick the system. Fortunately, Ubuntu can be installed.
The first step is to enable the vboxweb-service on the host of the installed Vbox.
Sudo nano/etc/default/virtualbox
----> VBOXWEB_USER = robinson -- the user you log on
----> VBOXWEB_TIMEOUT = 0 -- latency
----> VBOXWEB_HOST = 172.16.80.186 -- mapped IP Address
Sudo update-rc.d vboxweb-service defaults
Sudo service vboxweb-service restart
In this way, your service will get up and you can use RemoteBox to connect.
Step 2: Go to the RemoteBox official website to download the supported version, which is clearly stated above. This is a rule by people, maybe it is to despise Window.
Vbox4.2 corresponds to RemoteBox1.6 1.5. Do not make an error.
Download the package and decompress it. Because it is a green software and does not need to be installed, you can put it in any directory for execution. Decompress the package and go to the directory to execute remotebox.
./Remotebox
Generally, an error is reported. Of course, it is difficult for you to find the answer in China, because everyone is writing this step. In fact, it is because the system is missing something and the foreigner is authentic and needs to explain everything to you. I really asked Baidu, and asked Google.
Sudo apt-get install libgtk2-perl libsoap-lite-perl rdesktop
Install the above stuff and your RemoteBox will be able to start.
After the VM is started, you can connect to the VM remotely. Click connect, enter the IP address bound to the vboxweb-service, and enter the service user name and password to connect to the VM.
At this time, the remote connection is complete, but an error will still be reported when it is started.
There are two reasons:
1. Remote Desktop is not enabled for your remote virtual machine, which can be set in Vbox and RemoteBox.
Select virtualOS-> display-> remote display, set the remote port number, and select External as the Method. (RemoteBox setting is recommended)
2. No connection parameter is added to RemoteBox.
File-> RemoteBox Preferences: add the-u username-p password to the RDP Client (that is, enable the vboxweb-service username and password)
RemoteBox details: click here
RemoteBox: click here