Install Ubuntu 8.04 server (1) In virtualbox)

Source: Internet
Author: User

This article describes how to install Ubuntu server 8.04 on a virtualbox virtual machine. Before installation, it is necessary to explain the hardware and operating system I use:

    • Lenovot400 laptop, memory 4G ;
    • Microsoft Windows 7 (64-bit) flagship edition;

 

Next we will introduce the installation process of virtualbox and Ubuntu Linux. Virtualbox is an open-source Virtual Machine Software owned by Sun (which should be Oracle now). It is lightweight and powerful. I personally think virtualbox is much better than wmware of the paid version. You can download virtualboxthrough http://www.virtualbox.org/wiki/downloads. Write this article at meArticleVirtualbox has been updated 3.1.6 Version. I am using version 3.1.4, and the entire installation process should be slightly different. Ubuntu is a Linux operating system based on desktop applications.CommunityPower. Users can easily get help from the Ubuntu community, which is very suitable for beginners to learn and use the Linux operating system. You can download the Ubuntu server version at http://www.ubuntu.com/getubuntu/download-server. I use version 8.04.

 

Install virtualbox:

1. Start virtualbox InstallationProgramClick "Next" on the welcome page ";

 

 

 

2. on the software license page, select "I agree" and click "Next ";

 

 

 

3. Select the installation path. The default installation path is used. Click "Next ";

 

 

 

4. Create a desktop shortcut and create a shortcut in the Quick Start bar. Click "Next ";

 

 

 

5. The system prompts you to install the network interface. After the network interface is installed, virtualbox can be connected to the Internet or local network. Select "yes ";

 

 

 

6. Prepare for installation and click "Install ";

 

 

 

7. Install the SDK;

 

 

 

8. The installation is complete. Click "finish ";

 

 

 

9. Start virtualbox. Prompt for registration. skip this step. Click "cancel ";

 

 

 

10. Go to the virtualbox main interface;

 

 

 

11. After virtualbox is successfully installed, the "virtualbox host-only network" connection will appear in the network connection. This is because the network interface is installed. Click "properties" on the connection to view the IPv4 address. The IPv4 address has been set to 192.168.56.1. You do not need to modify this!

 

 

 

12. Before creating a virtual machine, perform the settings. It mainly modifies the Virtual Machine creation location and hot key. By default, it is created on drive C, which is the same as that of my Windows 7 drive. After Ubuntu is installed, the space on the C drive will become fewer and fewer. I don't want it to affect my local operating system. Click "manage --> global settings" in the main menu to open the Settings dialog box;

 

 

 

13. In the general settings, I changed "Default virtual hard disk location" and "Default virtual computer location", pointing to "V: \ harddisks" and "V: \ machines" respectively ". In the past, these two locations were directed to drive C;

 

 

 

14. Modify the hotkey. The hotkey allows the mouse cursor to switch in or into virtualbox. By default, it is set on the left-side Alt key. But I feel very inconvenient! After Windows XP is installed on the virtual machine, I cannot use Alt + shift to switch the Chinese input method. The cursor is automatically switched out when you press the Alt key. So I changed the hotkey to an uncommon F11;

 

 

 

15. Create a VM for Ubuntu and click "new" in the toolbar to create it. In the wizard window, click "Next ";

 

 

 

16. Enter the name "ubuntu_8.04_server", the operating system is "Linux", and the version is "ubuntu ". Click "Next ";

 

 

 

17. Select the memory size, and I adjusted it to 512 MB. Click "Next ";

 

 

 

18. Create a virtual hard disk and click "Next ";

 

 

 

19. When the wizard window appears, click "Next ";

 

 

 

20. Select the virtual hard disk type and retain the default "dynamic expansion. Click "Next ";

 

 

 

21. allocate disk space. 16 GB . Click "Next ";

 

 

22. The creation is complete. Note that a file named ubuntu_8.04_server.vdi is generated under the V: \ harddisks directory. If I do not specify the Virtual Machine creation location through step 1, it will be created on the C drive by default. Click "finish ";

 

 

23. The summary is displayed. Click "finish ";

 

 

24. Go back to the virtualbox main interface and we can see the created Virtual Machine "ubuntu_8.04_server". Its status is "disabled ";

 

 

25. Before installing Ubuntu, you must first plug the Ubuntu disc into the VM optical drive. This is the same as using a real computer. To do this, we also need to make simple settings for the virtual machine. Click "Settings" in the toolbar to open the dialog box. Select the optical drive icon under "Ide controller" in "media. The optical drive icon is marked as "empty". In the "attributes" column, select the tool icon at the rightmost of "CD/DVD Device;

 

 

26. In the virtual Media Manager, click "register;

 

 

27. register the Ubuntu server CD image file and you will see "ubuntu- 8.04.4 -Server-i386.iso ". Steps 26th and 27 show that virtualbox manages the disc image files through a unified manager. The manager is also responsible for virtual hard disks and virtual floppy disks. Click "OK;

 

 

28. Return to the settings window. You can see that "CD/DVD Device" has selected "ubuntu- 8.04.4 -Server ";

 

 

29. Finally, you need to set up the network connection. Select "network" to view the network connection options. "Network connection 1" Nat is used. Using Nat, virtualbox can connect to the Internet. However, Nat cannot connect to the local network. To allow virtualbox to connect to the local network, we can establish a second network connection for the virtual machine. Click "network connection ". 2" ;

 

 

30. Enable network connection 2 and select "Host-only adapter" as the connection method ". In this way, virtualbox can connect to the Internet or local network. Click "OK ";

 

 

31. Everything is ready. Click "start" to start running the VM. We can see the Ubuntu Server Installation interface. Some prompts may appear during the VM startup process. Click "OK" to skip the prompt;

 

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.