Linux就该这么学 第2版1-36 设置系统安装设备 读者可能会有这样的疑问:“为什么我们不像其他 Linux 图书那样,讲一下手动分 区的方法呢?”原因很简单,因为 Linux 系统根据 FHS(Filesystem Hierarchy Standard, 文件系统层次标准)为不同的目录定义了相应的不同功能,这部分内容会在第 6 章详 细介绍。通过刘遄老师最近这几年的教学经验来看,即便现在写出了操作步骤,各位 随其后的命令作进一步处理。它十分类似于第 3 章将要讲解的管道符技术,并且由于 find 命 令对参数有特殊要求,因此虽然 exec 是长格式形式,但它的前面依然只需要一个减号(-)。 根据文件系统层次标准(Filesystem Hierarchy Standard)协议,Linux 系统中的配置文件 会保存到/etc 目录中(详见第 6 章)。如果要想获取该目录中所有以 host 开头的文件列表,可 以执行如下命令: apr-util-openssl-1.6.1-6.el8.x86_64 apr-1.6.3-9.el8.x86_64 apr-util-1.6.1-6.el8.x86_64 httpd-filesystem-2.4.37-10.module+el8+2764+7127e69e.noarch httpd-tools-2.4.37-10.module+el8+2764+7127e69e.x86_640 码力 | 552 页 | 22.25 MB | 1 年前3
鸟哥的Linux私房菜:服务器架设篇 第三版Quota 机制来控制每个账号的磁盘使用量。 所以说,你得知道 Linux 目录下的 FHS (Filesystem Hierarchy Standard) 的规范,否则分割槽给到错误 的目录,会造成无法开机!那为什么要将 /home 独立放入一个分割槽? 那是因为 quota 仅支持 filesystem 而不支持单一目录啊!好了,如果给你一部全新的主机,那你该如何安装你的系统呢? 实作题-全新安装:请到昆山科大 次吧! 1.2.2-3 服务器本身的基本操作系统操作 3.2. 1.2 基本架设服务器流程 - 24 - 本文档使用 书栈(BookStack.CN) 构建 1. # 1\. 启动 filesystem 的 Quota 支持 2. [root@localhost ~]# vim /etc/fstab 3. UUID=01acf085-69e5-4474-bbc6-dc366646b5c8 /dev/mapper/server-myhome on /home type ext4 (rw,usrquota,grpquota) 14. # 做完使用 mount 去检查一下 /home 所在的 filesystem 有没有上述的字眼! 15. 16. # 2\. 制作 Quota 数据文件,并启动 Quota 支持 17. [root@localhost ~]# quotacheck -avug0 码力 | 795 页 | 17.63 MB | 1 年前3
ubuntu server guidetraditional method of partitioning a disk into one or more segments and formatting that partition with a filesystem. It can be used to combine several disks into one larger pool of storage but it offers advantages configured so that it will continue to boot after a failure of any one drive (assuming the root filesystem is placed on a RAID). The bootloader will be installed to each of these drives, and the operating space for root filesystem • Between 10-20 GiB: 10 GiB root filesystem • Between 20-200 GiB: use half of remaining space for root filesystem • Greater than 200 GiB: 100 GiB root filesystem Action-based0 码力 | 486 页 | 3.33 MB | 1 年前3
鸟哥的Linux私房菜:基础学习篇 第四版理,这个内存控制是非常重要的,因为系统所有的 程序码与数据都必须要先存放在内存当中。 通常核心会提供虚拟内存的功能,当内存不足时可以提供内存交换 (swap)的功能哩。 文件系统管理(Filesystem management)文件系统的管理,例如数据的输入输出(I/O)等等的工作啦! 还有不同文件格式的支持啦等等, 如果你的核心不认识某个文件系统,那么您将无法使用该文件格式的文件 啰!例如:Windows 默认的情况下,在安装的时候系统会要求你一定要分区出来的两个Partition为何?就是根目录“/”与内存交 换空间“Swap” 默认使用 MBR 分区方式的情况下,在第二颗 SATA 磁盘中,分区“六个有用”的分区 (具有 filesystem 的) ,此外,已知有两个 primary 的分区类型!请问六个分区的文件 名?/dev/sdb1(primary)/dev/sdb2(primary)/dev/sdb3(extended)/dev/sdb5(logical 想法来配置文 件放置的目录,那么将可能造成很多管理上的困扰。 你能想像,你进入一个企业之后,所接触到的Linux目录配置方 法竟然跟你以前学的完全不同吗?很难想像吧~所以,后来就有所谓的Filesystem Hierarchy Standard (FHS)标准的出炉了! 根据FHS[2]的标准文件指出,他们的主要目的是希望让使用者可以了解到已安装软件通常放置于那个目录下, 所以 他们希望0 码力 | 1057 页 | 14.60 MB | 1 年前3
鸟哥的 Linux 私房菜:基础学习篇 第四版控制整个系统的内存管理,这个内存控制是非常重 要的,因为系统所有的程序码与数据都必须要先存放在内存当中。 通常核心会提供虚拟 内存的功能,当内存不足时可以提供内存交换(swap)的功能哩。 文件系统管理(Filesystem management) 文件系统的管理,例如数据的输入输出 (I/O)等等的工作啦!还有不同文件格式的支持啦等等, 如果你的核心不认识某个文件 系统,那么您将无法使用该文件格式的文件啰!例如:Windows 要分区出来的两个 Partition为何?就是根目录“/”与内存交换空间“Swap” 默认使用 MBR 分区方式的情况下,在第二颗 SATA 磁盘中,分区“六个有用”的分区 (具 有 filesystem 的) ,此外,已知有两个 primary 的分区类型!请问六个分区的文件 名?/dev/sdb1(primary) /dev/sdb2(primary) /dev/sdb3(extended) 己的想法来配置文件放置的目录,那么将可能造成很多管理上的困扰。 你能想像,你进入一 个企业之后,所接触到的Linux目录配置方法竟然跟你以前学的完全不同吗?很难想像吧~所 以,后来就有所谓的Filesystem Hierarchy Standard (FHS)标准的出炉了! 根据FHS[2]的标准文件指出,他们的主要目的是希望让使用者可以了解到已安装软件通常放 置于那个目录下, 所以他们希望独0 码力 | 1158 页 | 13.73 MB | 1 年前3
Linux命令大全搜索工具 v1.8filter by "usage" (e.g. -u filesystem,raid) blkid 补充说明 语法 选项 blkid 查看块设备的文件系统类型、LABEL、UUID等信息 - 115 - 本文档使用 书栈网 · BookStack.CN 构建 21. -n- # filter by filesystem type (e.g. -n vfat,ext3) 目录中的可用空间量,如以下输出中所示: 实例 df 显示磁盘的相关信息 - 242 - 本文档使用 书栈网 · BookStack.CN 构建 1. df public 2. # Filesystem 1K-blocks Used Available Use% Mounted on 3. # /dev/loop0 18761008 15246924 2554392 如想监控swap,process,sockets,filesystem并显示监控的时间: 1. [root@iZ23uulau1tZ ~]# dstat -tsp --socket --fs 2. ----system---- ----swap--- ---procs--- ------sockets------ --filesystem- 3. date/time | used
0 码力 | 1347 页 | 8.79 MB | 1 年前3
Ubuntu Server Guide 18.04partition table on this device". 4. Next, create standard /boot, swap, and / partitions with whichever filesystem you prefer. 5. For the LVM /srv, create a new Logical partition. Then change "Use as" to "physical later. Choose "Finish" and you should be back at the main "Partition Disks" screen. 9. Now add a filesystem to the new LVM. Select the partition under "LVM VG vg01, LV srv", or whatever name you have chosen adding it to the volume group (VG), extending the logical volume srv and finally extending the filesystem. This example assumes a second hard disk has been added to the system. In this example, this hard0 码力 | 413 页 | 1.40 MB | 1 年前3
古月《ROS入门21讲》12.话题消息的定义与使用.pdffind_package( …… message_generation) • add_message_files(FILES Person.msg) generate_messages(DEPENDENCIES std_msgs) • catkin_package(…… message_runtime) ➢ 创建发布者代码(C++) person_publisher.cpp • • • • 创建订阅者代码(C++)0 码力 | 9 页 | 1.34 MB | 1 年前3
古月《ROS入门21讲》15.服务数据的定义与使用.pdffind_package( …… message_generation) • add_service_files(FILES Person.srv) generate_messages(DEPENDENCIES std_msgs) • catkin_package(…… message_runtime) ➢ 创建服务器代码(C++) person_server.cpp • • • • 创建客户端代码(C++)0 码力 | 9 页 | 1.29 MB | 1 年前3
This Debian Reference (version 2.109) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 Unix-like filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.2 Filesystem internals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2.3 Filesystem permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.3.8 Virtual filesystem of MC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 码力 | 266 页 | 1.25 MB | 1 年前3
共 58 条
- 1
- 2
- 3
- 4
- 5
- 6













