Linux系统(CentOS7.9)安装

安装流程

type
Post
status
Published
date
Nov 7, 2025
slug
linux-xi-tong-centos7-9-an-zhuang
summary
安装流程
tags
Centos7
category
学习笔记
icon
password

一、Linux系统概述

1、Linux系统介绍

Linux,一类操作系统的统称
部署在服务器上,部署项目、应用
服务器:
硬件设备,柜式服务器(华为、浪潮、联想)
提供服务的机器

2、Linux的优势

  • 开源,open source,开放源代码
  • 稳定性
  • 最大化发挥硬件资源

3、常见的发行版本 release

3.1 Linux系统分支

  • 红帽
    • 1.RHEL,红帽企业版
      2.CentOS,社区版,稳定性好,部署业务环境
  • Debian
    • Ubuntu,更新快,稳定性好,部署业务环境

3.2 国产化系统

  • 麒麟
    • 银河麒麟,服务器版/CentOS 二次开发
      中标麒麟,桌面版/Ubauntu 二次开发
  • 统信
    • 桌面版系统 UOS/Ubauntu 二次开发
  • 方得科技
    • 桌面版系统
  • 其他产品
    • 1.华为 Euler OS/CentOS
      2.阿里 Alia Cloud OS/CentOS3
      3.Rocky Linux /CentOS

Linux系统组成

  • 内核,驱动硬件正常工作
    • 内核版本:x.y.z
      x:主版本,3.Y 4.Y
      y:次版本号,技术开发测试、偶数稳定版
  • 应用程序

二、CentOS 7.9系统安装

1 Linux虚拟机创建

1、打开虚拟机 文件-新建虚拟机

notion image

2、选择典型

notion image

3、选择稍后安装操作系统

notion image

4、选择Linux,版本选择CentOS 7 64位

系统架构:
32位,最大识别4G内存(淘汰)
64位
notion image

5、命名虚拟机,选择安装位置

notion image

6、选择磁盘大小

notion image

7、完成创建

notion image

8、编辑虚拟机设置

notion image

9、选择CD/DVD(IDE),点击启动时连接,将系统安装光盘放入光驱

notion image

2 系统安装过程

Install CentOS 7 直接安装
Test this media & install CentOS 7 检测安装

1、进入安装界面

notion image

2、选择合适的语言

notion image

3、日期和时间设置

notion image
notion image

4、软件选择

最小安装只有字符界面
GNOME桌面 拥有桌面图形界面
notion image
notion image

5、安装位置(配置分区)

notion image
notion image
不添加期望容量,直接添加挂载点,默认分配全部剩余容量
notion image
notion image

6、网络和主机名

notion image
notion image

7、点击开始安装,进入安装界面

notion image
设置root账户密码
notion image
创建用户
notion image
notion image

3 虚拟机创建快照

notion image

三、Linux系统目录结构

设计哲学:一切皆文件!!!!
  • /root ,root用户的家目录/宿主目录
  • /home ,所有普通用户的家目录
  • /dev ,存放设备文件(键盘、鼠标、硬盘、分区、光盘)的目录
  • /boot , 启动分区,内核、系统启动相关配置文件
  • /proc , 动态数据,cpu、内存、硬盘、网卡使用率、进程
  • /lib64 , 库文件,保证某个应用程序/软件可以正常运行
  • /opt , 个人工作目录
  • /tmp , 临时目录
  • /bin,/sbin , 可执行程序
Loading...