etc

/etc/samba/smb.conf 配置文件用于文件共享

[global] security = user workgroup = WORKGROUP printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad Us ......
文件 samba conf etc smb

docker启动mysql报错Can't read dir of '/etc/mysql/conf.d/'

执行命令: docker run -p 3306:3306 --privileged=true -v /mysql/data:/var/lib/mysql -v /mysql/log:/var/log/mysql -v /mysql/conf:/etc/mysql-e MYSQL_ROOT_PASS ......
mysql 39 docker conf read

NFS /etc/exports参数解释

nfs 安装 - 执行以下命令安装 nfs 服务器所需的软件包 `yum install -y nfs-utils` - 执行命令 vim /etc/exports,创建 exports 文件,文件内容如下: `/root/nfs_root/ *(insecure,rw,sync,no_root_s ......
参数 exports NFS etc

docker容器的设置本地时间(/etc/localtime)和本地时区(/etc/timezone)

本地时区的修改 一般情况下,我们启动docker容器时指定了环境变量:-e TZ:=Asia/Shanghai,容器内的时区就会变成东八区,某些软件则会读取该环境变量作为其使用的时区,该环境变量相当于"残缺版"的命令: echo 'Asia/Shanghai' >/etc/timezone 为什么说 ......
容器 etc localtime 时区 timezone

Linux 密码密文格式/etc/shadow

## 一、密码密文格式 /etc/shadow ![image](https://img2023.cnblogs.com/blog/597729/202309/597729-20230901104054844-1745630588.png) 加密格式: > $1 = MD5 hashing algo ......
密文 密码 格式 shadow Linux

/etc/rc.d/rc.local开机并未执行其中的命令

# 前言 在某些 Linux 发行版中,`rc.local` 脚本可以用来在系统启动时执行自定义命令或脚本。然而,有些最新的发行版(如 Ubuntu 20.04 和 CentOS 8)已经停止使用传统的 `rc.local` 方式,并引入了 `systemd` 初始化系统。 在这些新发行版中,使用 ......
命令 local rc etc

k8s 部分节点 nodelocaldns [ERROR] Failed to read node-cache coreFile /etc/coredns/Corefile.base

部分K8S节点nodelocaldns CrashLoopBackOff状态报错,报错信息如下: # kubectl logs nodelocaldns-w9mgz -n kube-system 2023/08/07 03:18:33 [INFO] Using Corefile /etc/cored ......

linux设置登录失败处理功能(密码错误次数限制、pam_tally2.so模块)和操作超时退出功能(/etc/profile)

原文链接:https://blog.csdn.net/hjxloveqsx/article/details/129004832 一、登录失败处理功能策略1、登录失败处理功能策略(服务器终端)(1)编辑系统/etc/pam.d/system-auth 文件,在 auth 字段所在的那一部分添加如下pa ......
功能 pam_tally 模块 次数 错误

Linux:/etc/passwd各项含义

学习自:/etc/passwd详解 1、用途 记录了所有的用户信息。 2、读写 所有用户均可读取该文件,但是只有超级用户才能写/etc/passwd 3、内容 打开文件后如下所示 解释说明 每行记录一个用户信息。以第一行和最后一行为例 root:x:0:0:root:/root:/bin/bash ......
含义 passwd Linux etc

linux中【/etc/environment】【~/.bashrc】【/etc/profile】【/etc/bashrc】【~/.bash_profile】 的区别

【/etc/environment】 1.属性 系统的环境变量,系统应用程序的执行与用户环境可以是无关的,但与系统环境是相关的 2. 修改environment文件: 1 vim /etc/environment 2 PATH="/usr/local/sbin:/usr/local/bin:/usr ......
profile bashrc etc bash_profile environment

docker容器/etc/docker/daemon.json配置文件详解

daemon.json 文档说明: docker安装后默认没有daemon.json这个配置文件,需要进行手动创建,docker不管是在哪个平台以何种方式启动, 默认都会来这里读取配置,使用户可以统一管理不同系统下的 docker daemon 配置。 如果在daemon.json文件中进行配置,需 ......
docker 容器 文件 daemon json

/etc/sysctl.conf配置文件参数详解

【net.ipv4.ip_local_port_range 32768-61000】 原文解释是: The /proc/sys/net/ipv4/ip_local_port_range defines the local port range that is used by TCP and UDP ......
参数 文件 sysctl conf etc

Linux /etc/passwd and /etc/shadow All In One

Linux /etc/passwd and /etc/shadow All In One Linux 用户管理 Linux 用户权限管理 Raspberry Pi ......
etc passwd shadow Linux All

麒麟V10服务器安装MySQL报错file /etc/my.cnf from install of mysql-community-server-8.0.33-1.el7.x86_64 conflicts with file from package mariadb-common-3:10.3.9-9.p02.ky10.x86_64

1.问题描述 具体地说,"/etc/my.cnf" 文件与 "mysql-community-server-8.0.33-1.el7.x86_64" 包中的文件发生冲突,并与 "mariadb-common-3:10.3.9-9.p02.ky10.x86_64" 包中的文件相冲突。 这种冲突是由于系 ......

kubelet 报 Failed to run kubelet" err="failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory" 处理方法

1、 kubelet 启动 报 unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory" ,原因是kubelet.conf的证书权限有问题 ......

/etc/profile 和 ~/.bashrc的区别

/etc/profile 和 ~/.bashrc 是两个不同的文件,它们在环境变量设置和启动脚本方面扮演着不同的角色。 /etc/profile: /etc/profile 是系统级别的配置文件,用于设置全局的环境变量和执行系统范围的初始化命令。 当登录到系统时,会首先读取 /etc/profile ......
profile bashrc etc

CentOS7 开机异常Failed to open /sysroot/etc/fstab:Input 和 mysql无法启动 Ignoring the redo log due to missing MLOG

出现问题,系统进不去; 参考: 亲测有效 https://blog.csdn.net/Nightwish5/article/details/119640728 ......
Ignoring CentOS7 missing sysroot CentOS

CentOS 7 下/etc/ssh/sshd_config 文件解释

CentOS 7 下/etc/ssh/sshd_config 文件详解 SSH由客户端和服务端的软件组成,在客户端可以使用的软件有SecureCRT、putty、Xshell等,而在服务器端运行的是一个sshd的服务,通过使用SSH,可以把所有传输的数据进行加密,而且也能够防止dns和IP欺骗,此外 ......
sshd_config 文件 CentOS config sshd

ln -s /dev/null /root/etc/systemd/system/snapd.service

disable snapd during dell-recovery run It's not needed, this speeds up the reboot between stages and prevents OOM on low memory configs for installer. ......
systemd service system snapd null

Bertviz: 在Transformer模型中可视化注意力的工具(BERT,GPT-2,Albert,XLNet,RoBERTa,CTRL,etc.)

BertViz BertViz是一个在Transformer模型中可视化注意力的工具,支持transformers库中的所有模型(BERT,GPT-2,XLNet,RoBERTa,XLM,CTRL等)。它扩展了Llion Jones的Tensor2Tensor可视化工具和HuggingFace的tr ......
Transformer 注意力 模型 Bertviz RoBERTa

macOS 12.6 关闭 SIP 后仍无法修改 /etc 文件夹下文件 如hosts

关闭sip开机按住Commond+R,进入系统Recovery模式,从terminal中将系统保护SIP关掉(csrutil authenticated-root disable;csrutil disable)重启开机进入系统,可以在终端查看是否已将SIP关掉(csrutil status;csr ......
文件 文件夹 macOS hosts 12.6

linux中,如何在/etc/hosts中将一个域名解析为多个IP地址?工作原理是什么?

可以在/etc/hosts文件中,将一个域名配置多个IP地址 比如: [root@nccztsjb-node-23 yamls]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.local ......
中将 原理 多个 地址 域名

/etc/resolv.conf中options ndots是什么意思?

意思是,当查询的名称,也就是主机名中,包括大于等于ndots定义的 . 的个数时,优先使用全名称查询,查询不到再和search进行拼接,之后查询 示例: ......
意思 options resolv ndots conf

DNS的配置/etc/resolve.conf中的search字段是什么意思?

search的意思是在你搜索的主机名后面,自动增加这个域名,拼成一个完整的域名地址 然后在DNS中进行查询 比如,ping web,会自动组合为web.cs1758coud.yyuap.yonyou这个域名 示例:在dns服务器里面建立example.local域,然后建立web.example.l ......
字段 意思 resolve search conf

sudo: /etc/sudoers 中第 21 行附近有解析错误sudo: 没有找到有效的 sudoers 资源

https://blog.csdn.net/weixin_49223002/article/details/121038236 ![image](https://img2023.cnblogs.com/blog/1144139/202306/1144139-20230617181914202-125 ......
sudoers sudo 错误 资源 etc

/etc/containerd/config.toml 配置文件参考

> /etc/containerd/config.toml 配置文件参考 ``` disabled_plugins = [] imports = [] oom_score = 0 plugin_dir = "" required_plugins = [] root = "/var/lib/conta ......
containerd 文件 config toml etc

/etc/fstab挂载NAS盘配置_netdev区别

环境说明: ## 添加 `_netdev` 参数配置 ``` # NAS NFS客户端配置 [root@node02 ~]# mount -t nfs 192.168.1.30:/NAS_NFS /data [root@node02 ~]# df -hT | grep data$ 192.168.1 ......
netdev fstab etc NAS

linux下/etc/profile、/etc/bashrc、~/.bashrc 和~/.bash_profile文件的区别

这个一定要理解登录式shell和非登录式shell的区别,前者是完全切换用户,后者是不完全,就算切换过来了,你pwd时家目录还是之前的家目录,所以 登录式顺序为:/etc/bashrc /etc/profile.d/*.sh ~/.bash_profile ~/.bashrc_profile ~/. ......
profile bashrc bash_profile etc 文件

/etc/netplan/network-manager-all.yaml 配置服务器ip

本文为博主原创,转载请注明出处: /etc/netplan 是用于配置 Ubuntu 系统网络接口的目录。在 Ubuntu 中,网络配置的默认工具为 Netplan,而 /etc/netplan 则是 Netplan 配置文件的存储位置。 在 /etc/netplan 目录中,通常会有一个或多个 Y ......

CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none

报错信息:cURL error 77: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none ln -s /etc/pki/ca-trust/extrac ......