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

System installation and basic configuration

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

November 26, 2019

I. Characteristics of Linux

Mature technology, high reliability, strong scalability, powerful network capabilities, support for deployment of many database programs, powerful development capabilities

Linux development history

3. Linux version Ubuntu Red Hat cenosdebiansusFedora

IV. Install the system to modify the name of the network card

net.ifnames=0 biosdevname=0 system network and host name configuration

10.0.0.200/24

10.0.0.254 partition

Partition Method 1: General Partition Method:

boot system disk 256M kernel of the operating system and files used during boot

swap swap partition 1.5 times memory (8G and above for 8G)(learning for 768)

The remaining space in the root partition is equivalent to Windows C drive.

Partitioning Method II: Data Important Partitioning Method:

/boot partition similar to system partition, boot partition 200M

swap partition swap partition (hard disk space-swap-> memory usage)

Memory =8G swap Partition Size = 8G

/Division 20G~500G

/data Remaining space

Zoning Scheme III: Flexible Zoning Scheme

/boot partition similar to system partition, boot partition 200M

swap partition swap partition (hard disk space-swap-> memory usage)

Memory =8G swap Partition Size = 8G

/Division 20G~500G 40G

The remaining space is not divided

Preinstalled software password

V. Network configuration (after any configuration modification, the service must be restarted) Graphical interface configuration

nmtui(c6 setup)

systemctl restart network

ip address show

configuration in file

vi Similar to notebook, open edit file

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Name information: name device

Address information: 10.0.0.200

Mask information: 255.255.255.0

Gateway information: 10.0.0.254

Network card status: onboot=yes

Basic usage of edit command:

trilogy

1)Enter i ---to enter edit mode

2)Enter esc ---to exit editing

3)Enter:wq ---save and exit (:wq! Save Edit Forced Exit)

systemctl restart network

inspection test

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

Servers

Wechat

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

12
Report