【linux就该这么学】-01

【linux】-记"linux就该这么学"学习笔记-01

简述

    对环境的准备和基础知识的介绍,包括

  1. 虚拟机的安装
  2. 系统的安装
  3. 虚拟机的配置
  4. systemd初始化进程的简介
  5. systemctl管理服务进程
    System V init命令(RHEL6) Systemctl 命令(RHEL7) 作用
    service foo start systemctl start foo.service 启动服务

    service foo restart

    systemctl restart foo.service 重启服务
    service foo stop systemctl stop foo.service 停止服务
    service foo reload systemctl reload foo.service 重新加载配置文件(不终止服务)
    service foo status systemctl status foo.service 查看服务状态
  6. systemctl设置服务启动状态
    System V init命令(RHEL6) Systemctl 命令(RHEL7) 作用
    chkconfig foo on systemctl enable foo.service 开机自动启动
    chkconfig foo off systemctl disable foo.service 开机不自动启动
    chkconfig foo systemctl is-enabled foo.service 查看特定服务是否开机自动启动
    chkconfig --list systemctl list-unit-files --type=service 查看各个级别下服务的启动和禁用情况

收获

  1. 了解了虚拟的安装及系统的安装
  2. 虚拟机配置
  3. 系统基础命令的接触
  4. step by step

猜你喜欢

转载自www.cnblogs.com/deblr/p/10810764.html