Linux(九、十)文件权限及网络配置管理
目录
一、第九章课后思维导图总结
二、第十章课后思维导图总结
三、装包命令练习
1、RPM软件管理
1)通过rpm -ivh安装vsftpd软件。
2)查询vsftpd软件包的信息。
3)卸载软件包vsftpd。
2、YUM软件管理
1)挂载本地光盘,配置yum源为rhel8.repo。
2)通过yum来安装httpd。
一、第九章课后思维导图总结
二、第十章课后思维导图总结
三、装包命令练习
1、RPM软件管理
1)通过rpm -ivh安装vsftpd软件。
2)查询vsftpd软件包的信息。
使用rpm -qi +软件包名
3)卸载软件包vsftpd。
通过rpm -evh 卸载查看
2、YUM软件管理
1)挂载本地光盘,配置yum源为rhel8.repo。
【1】创建文件
[root@localhost ~]# mkdir /media/cdrom
【2】将本地光盘挂载至本地目录下
[root@localhost cdrom]# mount /dev/cdrom /media/cdrom/
【3】修改配置文件
[root@localhost yum.repos.d]# vim rhel8.repo
2)通过yum来安装httpd。
[root@localhost yum.repos.d]# yum install httpd
Updating Subscription Management repositories.
Unable to read consumer identityThis system is not registered with an entitlement server. You can use subscription-manager to register.Last metadata expiration check: 23:25:48 ago on Sat 27 Aug 2022 06:17:37 PM CST.
Dependencies resolved.
=========================================================================================Package Arch Version Repository Size
=========================================================================================
Installing:httpd x86_64 2.4.37-41.module+el8.5.0+11772+c8e0c271 APPSTREAM 1.4 M
Installing dependencies:apr x86_64 1.6.3-12.el8 APPSTREAM 130 kapr-util x86_64 1.6.1-6.el8 APPSTREAM 105 khttpd-filesystem noarch 2.4.37-41.module+el8.5.0+11772+c8e0c271 APPSTREAM 39 khttpd-tools x86_64 2.4.37-41.module+el8.5.0+11772+c8e0c271 APPSTREAM 106 kmod_http2 x86_64 1.15.7-3.module+el8.4.0+8625+d397f3da APPSTREAM 154 kredhat-logos-httpd noarch 84.5-1.el8 BASEOS 29 k
Installing weak dependencies:apr-util-bdb x86_64 1.6.1-6.el8 APPSTREAM 25 kapr-util-openssl x86_64 1.6.1-6.el8 APPSTREAM 27 k
Enabling module streams:httpd 2.4 Transaction Summary
=========================================================================================
Install 9 PackagesTotal size: 2.0 M
Installed size: 5.4 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transactionPreparing : 1/1 Installing : apr-1.6.3-12.el8.x86_64 1/9 Running scriptlet: apr-1.6.3-12.el8.x86_64 1/9 Installing : apr-util-bdb-1.6.1-6.el8.x86_64 2/9 Installing : apr-util-openssl-1.6.1-6.el8.x86_64 3/9 Installing : apr-util-1.6.1-6.el8.x86_64 4/9 Running scriptlet: apr-util-1.6.1-6.el8.x86_64 4/9 Installing : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 5/9 Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noar 6/9 Installing : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noar 6/9 Installing : redhat-logos-httpd-84.5-1.el8.noarch 7/9 Installing : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64 8/9 Installing : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 9/9 Running scriptlet: httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 9/9 Verifying : redhat-logos-httpd-84.5-1.el8.noarch 1/9 Verifying : apr-1.6.3-12.el8.x86_64 2/9 Verifying : apr-util-1.6.1-6.el8.x86_64 3/9 Verifying : apr-util-bdb-1.6.1-6.el8.x86_64 4/9 Verifying : apr-util-openssl-1.6.1-6.el8.x86_64 5/9 Verifying : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 6/9 Verifying : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noar 7/9 Verifying : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 8/9 Verifying : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64 9/9
Installed products updated.Installed:apr-1.6.3-12.el8.x86_64 apr-util-1.6.1-6.el8.x86_64 apr-util-bdb-1.6.1-6.el8.x86_64 apr-util-openssl-1.6.1-6.el8.x86_64 httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noarch httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64 redhat-logos-httpd-84.5-1.el8.noarch Complete!
[root@localhost yum.repos.d]# yum install httpd -y
Updating Subscription Management repositories.
Unable to read consumer identityThis system is not registered with an entitlement server. You can use subscription-manager to register.Last metadata expiration check: 23:26:11 ago on Sat 27 Aug 2022 06:17:37 PM CST.
Package httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost yum.repos.d]#
Linux(九、十)文件权限及网络配置管理相关推荐
- Linux基础之文件权限详解
Linux中对于权限的制定虽然没有Windows的那么精细,但是如果你了解并掌握Linux中文件的权限知识,也可以像Windows那样对权限做到精确配置. Linux中的文件权限是什么? 如何查看Li ...
- linux权限源码分析,Linux基础之文件权限详解
Linux中对于权限的制定虽然没有Windows的那么精细,但是如果你了解并掌握Linux中文件的权限知识,也可以像Windows那样对权限做到精确配置. Linux中的文件权限是什么? 如何查看Li ...
- linux 下某文件权限为drw -r r--,用数值形式表示该权限,则八进制数为_____,文件类型为______
原文链接 linux 下某文件权限为drw -r r--,用数值形式表示该权限,则八进制数为_____,文件类型为______ 各权限用十进制数字表示分别是: 值 表示的意义 4 表示文件或者目录的读 ...
- 深入理解Linux中的文件权限
Linux中文件权限 Linux中每个文件都有一个特定的拥有者(一般是创建它的用户)和所属用户组,这是它的固有属性.文件可以利用这两个固有属性来规定它的拥有者或者是所属用户组内的用户是否拥有对它的访问 ...
- linux编程参数列表,Linux编程 14 文件权限(用户列表passwd,用户控制shadow,useradd模板与useradd命令参数介绍)...
一. 概述 linux安全系统的核心是用户账户. 创建用户时会分配用户ID(UID). UID是唯一的,但在登录系统时不是用UID,而是用登录名.在讲文件权限之之前,先了解下linux是怎样处理用户账 ...
- linux 文件权限 rwt,Linux下修改文件权限(所有权)
Linux与Unix是多用户操作系统,所以文件的权限与所有权的实现就显得很有必要:每个文件主要与三组权限打交道,分别是用户(user),用户组(group),其他用户(other) 用户(u)是文件的 ...
- linux系统电脑的权限设置,Linux下的文件权限设置修改详解linux操作系统 -电脑资料...
在linux中更改所属用户组是使用chgrp,更改文件拥有者, chown,更改9个属性, chmod这三种常用的问题,在linxu中这三个命令就是对文件目录权限的控制命令了,下面我来介绍它们的用法与 ...
- linux 774是什么权限,7.6 Linux用户与文件权限操作实例
<7.6 Linux用户与文件权限操作实例>由会员分享,可在线阅读,更多相关<7.6 Linux用户与文件权限操作实例(15页珍藏版)>请在人人文库网上搜索. 1.Linux用 ...
- Linux增加/删除文件权限
Linux增加/删除文件权限 ubuntu系统中,对于不同用户及不同用户组中用户对文件的操作权限都不相同,通过控制台我们可以快速的对文件权限进行操作. 对于修改权限可以使用两种方案来更改其权限,下面认 ...
- linux用命令设置读权限,linux中的文件权限和chmod命令的使用
1.linux中的文件权限 linux中用ls -al列出文件列表时,会看到第一列有rwx这样的字样,这个表示该文件的权限设置属性.在linux中,权限划分主要分为三种身份:所有者(owner或者us ...
最新文章
- 当引用com类dll时,在VS2005下会出现,dll虽然更换了但是引用没有更换或找不到的错误
- Groove 线上办公室
- linux ubuntu ssh,Linux(Ubuntu)安装ssh服务
- python的注释符_Python3 注释和运算符
- 两个相邻盒子的边框怎么只显示一个_【前端小课堂】0044 盒子
- 7月-伟大的事业,一般都是在下半年完成的
- CSS3背景图片百分比及应用
- 出场顺序很重要下一句_人生如戏,出场顺序很重要:再见,不负遇见
- mysql入门很简单(一)
- 《编译原理》学习笔记 ·003【第二章:文法和语言(形式语言理论)-2】
- python 老师和父亲_父亲节丨有个当老师的爸爸是怎样的体验
- 软考项目管理师考试随笔
- 使用lombok时可以自定义get、set方法
- Windows下使用HDFView查看hdf5文件
- PS抠头发妙法(原创技巧)
- struct的基本使用-go篇
- java多线程系列(一)
- C语言讲义——链表的实现
- 红杉资本推出两支总规模达28.5亿美元的新基金,将扩大Web3领域投资
- Div高度自适应内容高度之最简处理