摘要:redhat8.4 本地源配置(redhat-local.repo) 一、配置软件仓库(软件仓库位置:/media/redhat) 1、建立目录 “redhat” 。 (建立目录命令:mkdir -p /media/redhat) 2、挂载光盘“rhel-8.4-x86_64-dvd.iso”。 3
阅读全文
随笔分类 - os
操作系统内容
摘要:CentOS8-stream 本地源配置 一、配置软件仓库(软件仓库位置:/media/CentOS) 1、建立目录 “CentOS” 。(mkdir -p /media/CentOS) 2、挂载光盘“CentOS-Stream-8-x86_64-20210506-dvd1.iso”。 3、将光盘文
阅读全文
摘要:redhat8.4 更换网络源的方法 一、修改dnf插件配置:(/etc/dnf/plugins) 1、本配置方法,redhat8.4能使用网络源,但无法关闭redhat8.4注册信息提示。在新安装的系统上(rhel-8.4-x86_64-dvd.iso),直接配置dnf相关文件。注意,千万不要卸载
阅读全文
摘要:服务器家用化额外购买的硬件: 1、声卡(必选): pcie插槽-声卡 2、显卡(必选): pcie插槽-显卡 3、usb扩展卡(可选): pcie插槽-usb扩展卡 4、raid扩展卡(可选): pcie插槽-raid扩展卡
阅读全文
摘要:Linux内核学习路线 Linux内核学习分为四个阶段。首先,了解操作系统基本概念。其次,了解Linux内核机制。其次,研读内核源码。最后,确定个人的发展方向:驱动开发方向;网络开发方向;Linux应用开发方向。任何东西认真学习都能学会的,看你恒心和毅力了。另外,不要走弯路,直接学你要学的东西。不要
阅读全文
摘要:OS:Linux - 首次之旅 一、第一封Linux邮件 这是我第一次使用Linux系统发送的第一封邮件。
阅读全文
摘要:OS:Arch Linux 纪念首次安装 一、Arch Linux(VMware_虚拟机安装) 观看视频资料,Arch Linux第一次安装成功。下面图片是开机界面,以此纪念首次安装Arch LinuxOS。 二、安装注意事项: (一)、硬盘分区: 1、硬盘分区: 硬盘分区相关资料 /dev/sda
阅读全文
摘要:OS:SecureCRT配置(v8.5.0) 一、界面设置: 1、session 前景和背景颜色设置:Options --> Edit Default Session... --> Appearance --> Current scheme(Black / Floral White)--> Font
阅读全文
摘要:shell:重定向的问题(2>&1) -- 命令内容: [root@novice ~]# echo "hello world " > /dev/null 2>&1 (此处的“1”代表文件描述符) [root@novice ~]# echo "hello world " > /dev/null 2>1
阅读全文
摘要:CentOS8英伟达显卡驱动的安装和卸载 一、重要说明: -- 本文全程使用root权限操作。 二、禁用nouveau -- 1、打开/etc/modprobe.d/blacklist.conf ,添加: blacklist nouveau -- 2、打开 /usr/lib/modprobe.d/d
阅读全文
摘要:MYSQL8在CentOS8环境的安装方法(DNF/YUM) 一、必要的说明和注意事项: 0、全程使用”root“账户,安装数据库。 1、mysql存放数据文件的文件夹,必须是mysql用户所有,且mysql用户拥有读写执行的权限。使用dnf安装的mysql数据库,”数据库文件“默认存放在这个路径下
阅读全文
摘要:开机启动项管理 1、开启服务开机自启动: systemctl enable 服务名称 systemctl enable mysqld 2、关闭服务开机自启动: systemctl disable 服务名称 systemctl disable mysqld 服务管理 1、服务开启: systemctl
阅读全文
摘要:centOS8/Linux:系统安装 一、系统安装U盘制作(全程使用root账户): 1、系统安装盘本质:将“CentOS-8.1.1911-x86_64-dvd1.iso”解压后的文件复制到U盘。 2、环境: 2.1 镜像:CentOS-8.1.1911-x86_64-dvd1.iso 2.2 系
阅读全文
摘要:centOS8:网络配置 [root@centos ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=no# BOOTPROTO=dhcpDEFROUTE=yesI
阅读全文
摘要:Linux文件与目录的权限设置:SUID SGID STICKY_BIT 一、文件和目录权限的基础知识: -rwxrwxrwx. 1 root root 0 May 29 00:59 test 说明: 文件和目录的第1个字段的第2个字符至第10个字符,为文件权限设置字符串。 文件所有者权限owner
阅读全文
摘要:Linux:SUID SGID STICKY_BIT 总结(本质为权限限制)(这个文档我写的不满意,仅为总结) 一、SUID(set user id) 1、案例: [root@test ~]# ls -l /usr/bin/passwd-rwsr-xr-x. 1 root root 34928 Ma
阅读全文
摘要:CentOS8/Linux:用户组设置密码和删除密码 一、建立用户组和删除:horse [root@test ~]# groupadd horse [root@test ~]# groupdel horse 二、用户组的密码管理 1、gpasswd基础知识 [root@test ~]# gpassw
阅读全文
摘要:CentOS8:Install flash 1. download flash : web:https://get.adobe.com/flashplayer/ selection: .rpm for Linux 2. install flash : [root@test Downloads]# r
阅读全文
摘要:CentOS8:删除多余内核 一、删除内核方法: [root@rocky tmp]# rpm -qa | grep ^kernel; rpm -qa |grep ^kernel |grep -E -v `uname -r` |xargs rpm -e --nodeps [root@rocky tmp
阅读全文
摘要:CentOS8_Install_Python2 1、查询python2: [root@centos8 ~]# whereis python2 2、安装python2: [root@centos8 ~]# dnf install python2 3、将python2设置为默认python(houdin
阅读全文

浙公网安备 33010602011771号