标签为 "ubuntu" 的博客
2019年1月22日

问题描述 在编辑/etc/resolv.conf文件,添加dns服务器记录后,重启系统,dns服务器记录丢失。 解决方案 通过systemd-resolved对dns服务进行配置 sudo rm /etc/resolv.conf sudo vi /etc/systemd/resolved.conf # 并在[resolved] 中添加目标DNS服务器 sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf sudo service

2017年12月10日

问题描述 wireshark要监控eth0,但是必须要root权限才行。但是,直接用root运行程序是相当危险,也是非常不方便的。 解决方案 添加wireshark用户组 sudo groupadd wireshark 将dumpcap更改为wireshark用户组 sudo chgrp wireshark /usr/bin/dumpcap 让wireshark用户组有root权限使用dumpcap sudo chmod 4755 /usr/bin/dumpcap 将需要使用的用户名加入w

2017年11月15日

什么是albert? 一款类似于Mac系统Spotlight搜索的软件 官方网站:https://albertlauncher.github.io/ 代码仓库:https://github.com/albertlauncher/albert 安装 wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_16.04/Release.key -O Release.key sudo apt-key

1