摘要:官方地址: https://software.opensuse.org
阅读全文
摘要:1) Add the following line to your /etc/sysctl.conf Then : 2) Using iptables: 3) The cron job way , run crontab -e , then add the following line: Start
阅读全文
摘要:linux服务器新添加一块硬盘,可以直接将盘格式化挂载就能用,比如挂载在/usr/local目录,但是这样有一个弊端,就是如果这一块磁盘满了,后续想要扩容的话,不能继续挂载这个/usr/local挂载点上,对扩容造成一定的麻烦,为此我们建议采用lvm的方式,这样可以支持动态扩容磁盘。下面介绍详细的操
阅读全文
摘要:测试运行环境: SLES12SP2 #!/bin/bash #系统名称;os_type=$(uname -o | awk '{print " | "$0}') #系统位数;32/64os_bit=$(uname -m | awk '{print " | "$0}') #内核发型版本kernal_ve
阅读全文
摘要:1. 设置hostname hostnamectl set-hostname hostname***
阅读全文
摘要:ntpdate -u ntp.api.bz 可以写到定时任务里,每天矫正一次
阅读全文
摘要:系统型号: SUSE Enterprise mv systemd-228-117.12.src.rpm systemd cd systemd 执行下面的命令解压: rpm2cpio systemd-228-117.12.src.rpm | cpio -idv tar Jxvf systemd-228
阅读全文
摘要:查看CPU信息(型号) # cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (看到有8个逻辑CPU, 也知道了CPU型号) # cat /proc/cpuinfo
阅读全文