Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ubuntu16.04 in linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to install ubuntu16.04 in linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Experimental environment

Ubuntu16.04 image [1]

VMware 15.5.6

two。 Installation steps

Click next to create a new virtual machine. Click next to install the operating system later, and click next. Select linux ubuntu 64-bit and click next.

Name and location, feel free to click on the next step.

Just fill in the number of cores yourself (be careful not to exceed the number of host CPU cores) the memory is configured according to your own needs (this memory only sets the maximum memory available for the virtual machine, rather than taking up system resources immediately). Click next, click Browse, select the path (random path), click the image downloaded before the custom hardware selection, click close, and then click finish. Click to turn on the virtual machine. Select English for the language and enter. Enter to select English, enter. This is to choose a country, first choose other, enter. Select Asia (Asia) Select China (China) enter without testing the keyboard (just use the English keyboard), enter. Enter and wait to set host name (please feel free) user name (please feel free) set account (please feel free to use when logging in) set password (at will, but be sure to remember) you have to enter twice

Whether to select a weak password, select yes, and press enter. Waiting for your time zone is Chongqing, select yes. Just enter yes and choose yes to wait for setting the http proxy. If you don't enter directly, the waiting time is a bit long. (you can click enter to try, whether to skip it) and choose not to update the system automatically. Note: openSSH server must be selected (point space can be selected), LAMP (linux + apache + mysql + php), Virtual Machine host is not selected, it is originally a virtual machine (there must be problems in virtual machines). Waiting to set the mysql root password (be sure to remember it) will have to be typed twice.

Go back to the car and load it. Enter the user name and password to log in. Note: when entering a password on Linux, it will not be echoed (there is no response on the screen). If you enter the wrong password, enter directly and enter again.

3. Connect to the server

As the command line displayed by the virtual machine looks a little annoyed, so I found you a tool MobaXterm [official account can be obtained by replying to shell] (from the Internet) Click session in the upper left corner. Click SSH to enter the command ifconfig in the virtual machine to view the ip. My ip is 192.168.190.132. Fill in ip and user name, and click OK. Enter the password. Sudo su switches to root ($is a normal user, # is a root user)

Enter the command vim / etc/apt/sources.list (change the domestic source to speed up the installation of the software), delete the original or comment it with #. For the simple use of vim, please check it on the Internet. Thank you.

Deb http://mirrors.aliyun.com/ubuntu/ xenial maindeb-src http://mirrors.aliyun.com/ubuntu/ xenial main

Deb http://mirrors.aliyun.com/ubuntu/ xenial-updates maindeb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main

Deb http://mirrors.aliyun.com/ubuntu/ xenial universedeb-src http://mirrors.aliyun.com/ubuntu/ xenial universedeb http://mirrors.aliyun.com/ubuntu/ xenial-updates universedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe

Deb http://mirrors.aliyun.com/ubuntu/ xenial-security maindeb-src http://mirrors.aliyun.com/ubuntu/ xenial-security maindeb http://mirrors.aliyun.com/ubuntu/ xenial-security universedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

Save. Perform an apt-get update (update).

Thank you for reading! This is the end of the article on "how to install ubuntu16.04 in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report