• [Linux/Unix] ubuntu 20.04 sysctl 文件不能正常加载 2020-05-01 12:13:09

    今天发现一个问题, 升级到ubuntu20.04之后, 原本启动系统的时候,能正常加载sysctl.conf文件, 现在不能正常加载了。然后我就找到一个办法。 新建一个sysctlp.service文件, 位于/etc/systemd/system/这个目录下面 [Unit] Description=Apply Kernel Variables After=systemd-modules-load.service [Install] WantedBy=multi-user

  • [Linux/Unix] CentOS 6 fixes dns slow by add options single-request-reopen to /etc/resolv.conf 2014

    CentOS 6 fixes dns slow by add optionssingle-request-reopen to /etc/resolv.conf. Slow DNS lookups can have many reasons. Mostly they are easy to fix because it simply is a wrong IP address of the DNS  f.ex. But today i had a harder one, but was easy

  • [Linux/Unix] Persist dns nameserver for ubuntu 14.04 2014

    If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file. But there always have wa

  • [Linux/Unix] Solution: centos6 can't connect to /root/.gnupg/S.gpg-agent 2013

    Today i faced a problem, when i want to git commit -S --signoff for my repository, i recieved error message:can't connect to /root/.gnupg/S.gpg-agent i have done many research, google for more than ten page solution, at last i found the right solution:&nb