摘要: yum search all --showduplicates nvidia-docker 阅读全文
posted @ 2022-07-06 19:20 小树成长记 阅读(359) 评论(0) 推荐(0) 编辑
摘要: [root@web02 ~]# tail anaconda-ks.cfg -f %addon com_redhat_kdump --enable --reserve-mb='auto' %end %anaconda pwpolicy root --minlen=6 --minquality=1 -- 阅读全文
posted @ 2022-01-02 13:04 小树成长记 阅读(254) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name www.baidu.com; return 302 https://$server_name$request_uri; } 或者 server { listen 80; server_name www.baidu.com; #302跳转 阅读全文
posted @ 2021-12-29 23:00 小树成长记 阅读(32) 评论(0) 推荐(0) 编辑
摘要: [root@lb01 ~]# cat /etc/motd _ooOoo_ o8888888o 88" . "88 (| -_- |) O\ = /O ____/` '\____ .' \\| |// `. / \\||| : |||// \ / _||||| -:- |||||- \ | | \\\ 阅读全文
posted @ 2021-11-27 10:27 小树成长记 阅读(32) 评论(0) 推荐(0) 编辑
摘要: yum deplist 软件包名 whatis vmstat 阅读全文
posted @ 2021-10-05 09:49 小树成长记 阅读(31) 评论(0) 推荐(0) 编辑
摘要: [root@controller ~]# ssh-keygen -q -N "" -f ~/.ssh/id_rsa 阅读全文
posted @ 2021-09-13 18:34 小树成长记 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 例如查找ifconfig是属于那个rpm包上 方法一: [root@nginx-1 ~]# yum provides ifconfig Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: m 阅读全文
posted @ 2021-07-25 18:13 小树成长记 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 自动补全命令插件的安装: yum -y install bash-completion 阅读全文
posted @ 2021-07-25 18:06 小树成长记 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 在/etc/vimrc中添加以下代码后 set ts=4 set expandtab set autoindent 阅读全文
posted @ 2021-06-05 18:08 小树成长记 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1.编辑时间配置文件 # vi /etc/sysconfig/clock ZONE="Asia/Shanghai" UTC=false #设置为false,硬件时钟不于utc时间一致 ARC=false 2.linux的时区设置为上海时区 ln -sf /usr/share/zoneinfo/Asi 阅读全文
posted @ 2021-05-20 10:36 小树成长记 阅读(585) 评论(0) 推荐(0) 编辑