In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Advantages of the operating system (Linux)
1) mature technology and high reliability
2) strong scalability to identify the hardware information of many manufacturers
3) powerful network function
4) support the deployment of many database programs
5) powerful development function
Second, the development history of operating system
1969 Unix Bell Laboratories
1986 Professor Minix Tan Bangning
1986 similar to uinx Stallman
Goal: GNU project-to create a unix-like system
Company: FSF Free Software Foundation
Rule: GPL General license Agreement
1) all code information must be open source
2) the code can be modified and must be explained
Results: software (editing software query log) interpreter (bash = = shell) kernel The Hurd (not well developed)
1991 Kernel Torvac (University of Finland student)
GNU+ kernel = = linux
III. Selection of operating system version
Ubantu ubuntu Desktop Domain (graphical Interface) Development
Red Hat redhat server field (fee) state-owned enterprises and foreign enterprises
Centos server area (free) Internet sector *
Debian server domain (security) financial domain
SUSE server domain (network server) to realize network function
Fredora test operating system
New software development-- Fredora (adjustment)-- released-- new version of redhat-new version of centos
IV. Operating system installation process
1) deployment and installation of virtual environment
What does virtual environment mean:
Virtual multiple real system environments, which can make full use of hardware resources.
It can save physical space.
How to deploy virtual environment
The first course: need to install virtual software
Windows: vmware workstation 15 (paid version-with snapshot-moonlight box)
Problem: windows10 checks the vmware version, and if it does not meet the requirements, it will prompt you to download vmware player (free version)
Mac OS: vmware fusion
The second course: software installation and configuration process: problem 1: computer bios needs to be adjusted Let the computer support the virtualization function to boot-- > F1 F2 F10 F11 F12-- > bios-- > Virtualization Settings (Security interface cpu interface configuration interface) question 2: need to enable virtual printing function editing-> preferences-> device-> enable virtual printing function virtual host creation: step omit system digits: 64 bits System (x86 / 64 architecture): identify memory can exceed 4G 32-bit system (i386 architecture): identify memory can only be 4G at most
2) operating system installation and deployment (centos 7.6-1810)
The first course: download the system image file
Download the new version of the system: https://developer.aliyun.com/mirror
Old system download: http://vault.centos.org/
The second course: loading system image files
The third course: install and deploy the operating system
Install centos7-install centos7 system
Test this media & install Centos7-Test the CD media and install the system
Troubleshooting-system repair
1) modify the name of the Nic (eth0)
Select install centos7-- tab-enter net.ifnames=0 biosdevname=0
2) system network and host name configuration
Address: 10.0.0.200 Mask 255.255.255.0 Gateway 10.0.0.254
3) system disk partition
Zoning method 1: general zoning method:
/ boot partition is similar to system partition, boot partition 200m
Swap partition swap partition (hard disk space-swap-> memory usage)
Memory = 8G swap partition size = 8G
/ remaining space in the zone
Partition method 2: data important partition method: / boot partition is similar to system partition Boot partition 200m swap partition swap partition (hard disk space-swap-> memory usage) memory = 8g swap partition size = 8G / partition 20G~500G / data remaining space partition mode 3: flexible partition 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 / partition 20G~500G 40G undivided
4) system pre-installed software
Centos7: minimize 1236
Centos6: minimize 235
5) set root user password
Password information: 123456
Operating system network configuration
1) configure the network in the graphical interface
Nmtui-enter the graphical configuration interface of the system network
Network address: address information where you live
Network mask: limit how many hosts can be in an area
Gateway information: from one area to another
PS: after all configuration changes in the linux system, the service must be restarted
Systemctl (system system ctl-control control)-system control command, control management service program (stop opening restart)
Systemctl restart network
Check Test: ip address show2) configure the network vi in the file-similar to notepad Open and 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 vi editing command basic usage: trilogy 1) enter lowercase I-enter Edit mode 2) enter key esc-exit editing status 3) input: W (write) Q (quit)-save and exit systemctl restart network check test: ip address show restart the operating system
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.