VirtualBox installation Ubuntu record

(Write a custom directory title here)# Please take a look before reading: I am a person who is keen on recording. Every time I write a blog, I will study it repeatedly and try my best to continuously improve the quality of the blog. The article is set to only fans, because blogging really took a lot of effort. Hope to improve each other Thank you! !


提示:以下是本篇文章正文内容

1. Installation tutorial

Specific installation reference: " Virtual Machine Oracle VM VirtualBox Installation and Use Tutorial "

Note: I installed it in 2023.03, the version of the reference above is a bit old, you can download the new version by yourself. But it should be noted that the new version should be consistent. For example, I am version 7.0.6, and the above tutorial is version 6.1.4.

The main thing is to know the functions of the following three files and the order of installation.

insert image description here

Secondly, " Virtual Machine VirtualBox Installing Ubuntu and Building a C/C++ Programming Environment "This article summarizes a lot of essence, you must read it! ! ! There are also nanny-level installation tutorials in it. It is recommended to read it with the first installation tutorial.


2. The continue button cannot be found when installing Ubuntu

insert image description here
Cause Analysis:

In fact, it is a problem of resolution, resulting in too little content in the window, so the button cannot be found.

Solution:

Method 1: ALT + F7, then drag down with the mouse.
Method 2, https://www.bilibili.com/video/BV1Xv411h7S4/?p=2&vd_source=763a5e93fb502e71e42ff76a6fe1ae7c. Teach you how to adjust the resolution


3. In the process of installing ubuntu18 in visualbox, you cannot enter name, password, password, and the solution to the name problem + some basic operations

Solution:
Change the motherboard memory of your Ubuntu, the default value of the motherboard memory is 1024MB

1, Force quit the installation. 2. Select your Ubuntu, select Settings: find the system,
modify the motherboard memory to 1500MB

Reference: " In the process of installing ubuntu18 in visualbox, you cannot enter name, password, password, and the solution to the name problem + some basic operations "


4. After using docker to deploy the image on Ubuntu, start the container, but the host cannot access the port number

docker pull winkemoji/sc-control-plane:latest
docker run -it -d --name sc-control-plane  -e SC_HOST='192.168.230.72'  -p 15674:80   -e TZ=Asia/Shanghai winkemoji/sc-control-plane

Port 80 in docker is mapped to port 15674 of the host host, but accessing http://localhost:15674/ on the host browser cannot release the question.

Solution

Open port 80 on the ubuntu terminal, as follows:

sudo ufw enable       //1、打开防火墙
sudo ufw allow 80     //2、开启80端口
sudo ufw allow 80     //3、查看防护墙状态

Note Note: The text above and the host in the figure below refer to the virtual machine! ! ! Instead of your own computer, you need to visit the corresponding URL on the virtual machine! ! !

insert image description here


Code words are not easy, thank you for your praise! ! !
Code words are not easy, thank you for your praise! ! !
Code words are not easy, thank you for your praise! ! !

Guess you like

Origin blog.csdn.net/qq_40967086/article/details/129792261