标签 Debian 下的文章

Procedure
Ubuntu, Debian, and Related OSes

If the VM has a GUI (X11, and so on), install or upgrade open-vm-tools-desktop:

apt-get install open-vm-tools-desktop

Otherwise, use the command to install open-vm-tools:

apt-get install open-vm-tools

- 阅读剩余部分 -

编辑网络配置文件

/etc/network/interfaces

新增内容

iface ens3 inet6 static
address 2001:4860:4860:1111/112
gateway 2001:4860:4860::1
dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844

重新载入网络配置

/etc/init.d/networking reload

昨天发布了Debian 10稳定版,马上就升级了,然后php-fpm就翻车了,出现了两个报错

Starting php-fpm /usr/local/php/sbin/php-fpm: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/local/php/sbin/php-fpm)

Starting php-fpm /usr/local/php/sbin/php-fpm: error while loading shared libraries: libicui18n.so.57: cannot open shared object file: No such file or directory

然后修复办法是安装两个lib

apt install libcurl3 libicu57

突然发现我的debian机器不能使用dig和nslookup

root@jp:~# dig
-bash: dig: command not found
root@jp:~# nslookup
-bash: nslookup: command not found

使用下面命令安装软件包即可解决上述问题

apt install dnsutils