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