安装elasticsearch提示 E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation 解决办法: apt-get install -y gnupg2 Views: 612
安装elasticsearch提示 E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation 解决办法: apt-get install -y gnupg2 Views: 612
iredmail服务器,debian10系统服务器不能被ping,自己ping别人正常。上网也正常。但别人ping服务器自己不通。 修改配置文件允许ping vi /etc/nftables.conf ip6 nexthdr icmpv6 icmpv6 type { echo-request, destination-unreachable, packet-too-big, time-exceeded, parameter-problem, mld-listener-query, mld-listener-rep…
在Linux系统里面,密钥登录是比较安全的一种方法,这里只说在debian 10里面,如何用密钥进行登录。 一,用ssh方式登录到debian 10系统,建议用putty这个软件 二,生成密钥,输入 ssh-keygen -t rsa 按两次回车,即可完整的生成密钥了,就会在当前目录(一般为root目录)生成一个.ssh的文件夹 输入ssh-keygen -t rsa生成密钥 三,设置密钥 cd .ssh 查看目录内有哪些文件 ls -la 发现有id-rsa和id-rsa.pub两个文件,其中 id-rsa为私钥…
由于安装debian选择语言时选择了简体中文安装,但内核没有中文字库,导致某些字符显示为乱码(菱形,方块)。 解决办法:运行下面两行的命令 apt-get install locales dpkg-reconfigure locales 进入语言设置界面: 其中,空格键为选取/取消,Tab键为切换到确认选择。 通过方向键与空格键选择en_us.UF-8,其余全部取消,然后按Tab选择<Aceptar>,回车进入下一个界面: 选择es_US.UTF-8,回车。然后用locale命令查看一下情况: 这样乱码…