Fun to centos7 linux --- A Case Study

He said at the top

centos is based on redhat linux, so the best course in Red Hat's official website https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/
In addition, ubuntu is based on debian, ubuntu so learning the best tutorials, also debian official website https://www.debian.org/doc/manuals/debian-faq/index.zh-cn.html

installation

Centos official website to download to install mini iso, we step by step from the most basic Lite system.

networking

Do some prep before the start of knowledge

CentOS7 card name

en: Ethernet wired LAN
wl: wlan Wireless LAN
ww: wwan wireless WAN
----------
O : Integrated device device index number
s : Expansion slot index number
x : Name-based mac address
p s : enp2s1

Networking Program

After installing mini system, we can directly network through a wired network, in order to facilitate the following configuration or wifi network. There are two available solutions (CentOS built):
. 1, which is a similar nmtui graphical wifi the software, the console input directly nmtui scan for available wireless networks, it is very simple.
Detailed command:
2, which is a command line nmcli connection scheme.
Detailed command:

Your card hardware to work yet?

With the above solutions can accurately networking of
using the command nmcli dev statusto view the current all card information, if we can see the beginning of wl card can work that hard drive up, if not drive up (you determine the installed wireless card but wl not found at the beginning of the equipment, or whatever tips) then I suggest, for the card, do not recommend tossing drive, linux kernel for intel or Qualcomm's wireless card support is very good basic can directly drive up, if it appears unable to drive wireless card, direct another kernel hardware support is very fast and effective way.

Formal networking

At this point we think the hardware is working properly, then the next networking now!
List available wifi

nmcli dev wifi list

Connect Network

nmcli  dev  wifi  connect  <name>  password  <password>    不指定网卡连接wifi
nmcli   dev  wifi  connect  <name>  password  <password>  ifname  wlan1 [profile_name] 指定网卡

These are nmcli scheme used, in view of the use of nmtui really simple to do here is not explained in detail.

Test whether the network is working properly

ping 8.8.8.8If you can ping each other, has been networking, but do not worry, you may also need to configure dns, try yum updateit, you may experience could not retrieve mirrorlist error, the general is no reason dns configuration.
Adding dns we can still use nmcli command nmcli con mod eno1 ipv4.dns "8.8.8.8", which is set to 8.8.8.8 dns, re-run yum updatethe general no problem.

other

dns?
ip?
iw?
All network configuration, hardware

Installing the Desktop environment

Start Process

multi-language

Input

Firewall

To be continued -

Guess you like

Origin www.cnblogs.com/feipeng8848/p/11210358.html