Use VirtualBox in Vista to install Ubuntu8.04

Source: Internet
Author: User
Tags netbeans
Last week, the original HPnx6120 suddenly crashed, and the boot failed. In order to complete the tasks assigned above, a new ThinkpadX61 was added and the operating system was Windows Vista. I have been working in Ubuntu7.1 in VMware5.5 of XP and have backed up the Ubuntu7.1 virtual machine on the mobile hard disk. For convenience, I am going to install VMware5.5 in Vista, then, read the Ubuntu Virtual Machine file and it will be OK. VMw

Last week, the original HP nx6120 suddenly crashed, and even the boot failed. In order to complete the tasks assigned above, a new Thinkpad X61 was created, and the operating system was Windows Vista. I have been working in Ubuntu 7.1 In VMware5.5 of XP and have backed up the Ubuntu 7.1 virtual machine on the mobile hard disk. For convenience, I am going to install VMware5.5 in Vista, then, read the Ubuntu Virtual Machine file and it will be OK.

After VMware5.5 is installed, copy the Virtual Machine file to Vista and read it into the virtual machine. After the VM is started, VMware5.5 prompts that it cannot be run in windows. Then, the entire Vista will die and only restarts.

I don't want to upgrade VMware5.5 to 6 any more. First, I don't have 6 licenses, and second, I think 6 is the huge "Devil's figure" after installation ". Think of the VirtualBox link I saw on the NetBeans website in the first few days, so I want to try VirutalBox. I didn't expect it to surprise me.

First, the installation file of VirualBox is only 23 MB, which can be said to be quite small. Secondly, VirtualBox and Vista have good compatibility, which may lead to Vista crashes unlike VMware5.5. Thirdly, the installation process is very simple, after installation, it is easy to add virtual machines. However, we encountered a serious problem when installing Ubuntu7.1:

The screen resolution required by the installer 7.1 is 1024*768, so that you can see all the options of the installer. In VirtualBox, only 800*600 resolution is displayed on the installation page. In this resolution, the "Next" button below cannot be seen. Fortunately, you can press enter to enter the next installation interface. However, when you select the current country, the Enter key becomes useless after you select Asia/Shanghai. You cannot use the tab key to move the focus. The worst thing is that, the size of the installer window of 7.1 cannot be adjusted. Therefore, 7.1 cannot be installed.

There is no way to install 7.1. Fortunately, a 8.04 installation disk was installed a few days ago, but I felt that the upgrade was troublesome and I had never installed it. If you change the 8.04 installation disk, everything will be fine. First, the English system is installed with the default option, and then Chinese support is added by adding a Language Pack. At present, I think 8.04 is good. Let's talk about several advantages:

(1) The browser in the system is Firefox 3. Firefox3 is much better than Firefox 3.

(2) The wenquanyi font is installed by default in Chinese.

(3) The SCIM input method is no longer in conflict with the Swing program in JDK. You can directly enter Chinese characters in the text box of the Swing Program (of course, you still need to set the JDK)

By the way, I would like to summarize the two solutions for garbled Chinese Characters in Java programs after the Chinese language is added in Ubuntu8.04:

Method 1:

In the JDK installation directory, go to the jre/lib/fonts directory, create a directory named fallback, and create a symbolic link to the Chinese TrueType font in this directory. Because 8.04 of Chinese support on the/usr/share/fonts/truetype/wqy directory installed wenquanyi normal black font (font file name is wqy-zenhei.ttf ), you can use the following command to create a symbolic link in the fallback directory:

Sudo ln-s/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf

In this way, both common Java programs and NetBeans development tools can use Chinese, including SCIM input methods. This method is simple and recommended for use.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.