How to install OpenSuse on virtualbox

How to install OpenSuse on virtualbox

The virtual machine is installed on the host machine.
The CPU and memory need to be shared with the host machine, and the virtual machine's hard disk is a large file on the host machine.
Download the Linux virtual machine opensuse installation image:

Five reasons why you should choose openSUSE

To install opensuse15.2 64-bit mirror download address: https://www.uc23.net/xitong/81274.html

insert image description here

Which virtual machine is better, Vmware or VirtualBox?

Download VirtualBox from: https://www.virtualbox.org/wiki/Downloads
1. Installation file: only 100M, much smaller than VM

insert image description here

2. Install the extension pack

insert image description here

VirtualBox Extension Pack is a multi-functional enhancement pack designed for VirtualBox users. This enhancement pack can greatly enhance the functions of the software itself, including compatibility with USB 3.0 devices, improving CPU utilization, supporting hard disk image files and other functions, and is perfectly compatible with Win, Mac, Linux, Solaris and other operating systems.

VirtualBox's enhanced feature VBoxGuestAdditions is so cool! VirtualBox is really weak without enhanced features installed! It can only be accessed in a small window, and you always have to switch the mouse through the hostkey, which is very troublesome. At first I just wanted to increase the resolution of the virtual machine, I didn't want it to always be so small and difficult to use, then I found that installing VBoxGuestAdditions can solve many problems~~

3. (Note that the three version numbers must be consistent, here they are all 6.1.18) Download VirtualBox GuestAddition

VirtualBox GuestAddition features (partial description of the features is taken from the Internet):

1. Mouse integration: You don’t need to press the VirtualBox HostKey (right Ctrl by default) key to automatically release the mouse from the GuestOS, so you can move the mouse between the Host/Guest OS seamlessly. GuestAddition provides a GuestOS mouse driver that can communicate with the HostOS mouse driver to achieve this.

2. Shared folders: Files can be exchanged between Host/Guest OS. By setting up a folder on the Host OS and specifying it as a shared folder for VirtualBox, you can access it as a network shared folder in the Guest OS, even if the Guest OS has no network access.

3. Better video support: VirtualBox's virtual graphics card only provides the most basic video features, while the graphics card driver in GuestAddition provides ultra-high resolution and 2D3D video acceleration. You can adjust the size of the virtual machine window and the GuestOS will automatically adapt, just like setting any resolution in the GuestOS.

4. Seamless Window: This feature is very powerful. When GuestAddition is not installed, the virtual machine window can only be an independent window. After installing GuestAddition and enabling seamless window mode, GuestOS can jump out of the virtual machine window and embed into the desktop of Host OS, just like working as a normal application of Host OS.

Supported GuestOS include: and <Linux, Solaris running X Window>.

Seamless mode on/off shortcut key: HostKey+L

Note: The default HostKey for VirtualBox is right ctrl.

5. General Host/Guest communication channel: This function is mainly related to programmers. The "Guest Properties" in GuestAddition provides a common string-based mechanism that can be used to exchange data between Host/Guest to control or monitor GuestOS. For example, directly control the startup, running, and shutdown of GuestOS programs on the Host OS.

6. Time synchronization: For some reasons, the system time of Host OS and Guest OS may not be synchronized. Although VirtualBox itself provides synchronization function, the efficiency and method of GuestAddition time synchronization are much better than VirtualBox itself.

7. Shared clipboard: You can copy and paste between Host/Guest OS.

8. Automatic login: You can enable GuestOS to log in automatically, including when using certificates.

Enable Virtualization technology

insert image description here

I have a Dell Inspiron. Press the power button and when the computer boot interface appears, press F2 to enter the BIOS setup interface. ————》When I entered, I found that I had already set it up! !

Start setting up on VirtualBox

1. Modify the virtual computer storage location

insert image description here

2. Add extension packs to extensions

insert image description here

Create a new virtual machine

insert image description here

The number of processors depends on the situation, and the option of hardware acceleration should also be checked.

insert image description here

To allocate the CD-ROM drive, select the virtual disk -> downloaded openSUSE 15.2.DVD_iso.

insert image description here

How to install OpenSUSE Leap 15.0 Be careful not to choose Chinese!

insert image description here

Settings after installing opensuse

1. Open the Chameleon icon and select Konsole

insert image description here

Select device -> select virtual disk -> select file VBoxGuestAddtions.iso

insert image description here

Then you can open the file manager and find it in Removable

insert image description here

Type in the terminal

su

To obtain administrator privileges, switch to the folder location in the terminal (right-click the location and select Properties to see the location

insert image description here

Then enter the folder again, you can view all the files in the file through "ls", and then

./VBoxLinuxAdditions.run

Installing the extension

insert image description here

Install vscode

I couldn't download the rpm package of VScode in opensuse, so I downloaded it in the win10 host machine.
Then pass it to the virtual machine through control--"file manager

insert image description here

use
su
Command to enter administrator mode and then cd to the directory where the installation package is located through

rpm -vih package name

Install and use the which command to check whether gcc, make, and gdb are installed. If not, it will not work.

zypper install name

Just install

This is the end of this article about installing OpenSuse on VirtualBox. For more information about installing OpenSuse on VirtualBox, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • VirtualBox 4.3.12 Installation Tutorial for Windows 7 64-bit Ultimate Edition
  • Solution to E_INVALIDARG (0x80070057) when installing Centos6.8 in VirtualBox
  • VirtualBox installation enhancements in CentOS 7 (shared folders)
  • Install CentOS in VirtualBox to realize automatic mouse switching and copy and paste functions
  • Install CentOS7 on VirtualBox (graphic steps)

<<:  CSS text alignment implementation code

>>:  Vue implements page caching function

Recommend

Spring Boot layered packaging Docker image practice and analysis (recommended)

Table of contents 1. Prepare the springboot proje...

Detailed explanation of the cache implementation principle of Vue computed

Table of contents Initialize computed Dependency ...

In-depth analysis of Linux NFS mechanism through cases

Continuing from the previous article, we will cre...

Why Google and Facebook don't use Docker

The reason for writing this article is that I wan...

Detailed explanation of eight methods to achieve CSS page bottom fixed

When we are writing a page, we often encounter a ...

The main differences between MySQL 4.1/5.0/5.1/5.5/5.6

Some command differences between versions: show i...

JS implements request dispatcher

Table of contents Abstraction and reuse Serial Se...

Linux disk sequential writing and random writing methods

1. Introduction ● Random writing will cause the h...

How to solve the problem of ERROR 2003 (HY000) when starting mysql

1. Problem Description When starting MYSQL, a pro...

Centos builds chrony time synchronization server process diagram

My environment: 3 centos7.5 1804 master 192.168.1...

Implementation method of Mysql tree recursive query

Preface For tree-structured data in the database,...

Nginx stream configuration proxy (Nginx TCP/UDP load balancing)

Prelude We all know that nginx is an excellent re...

Detailed explanation of the solution to font blur when using transform in CSS3

This question is very strange, so I will go strai...