我使用的是最新版本的 Ubuntu,但无法正常运行xvkbd。我收到这些错误:
$ xvkbd
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
xvkbd: Mode_switch not available as a modifier
xvkbd: although ISO_Level3_Shift is used instead, AltGr may not work correctly
Warning: Cannot convert string "-*-lucida-bold-i-*-*-14-*-*-*-*-*-iso8859-1" to type FontStruct
xvkbd: Mode_switch not available as a modifier
xvkbd: although ISO_Level3_Shift is used instead, AltGr may not work correctly
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?我正在尝试将其与xbindkeys.
概括:
如何删除通过 /etc/fstab 中的 bind 或 bindfs 安装的文件夹,使其不显示为 nautilus 左列“位置”视图中的设备?
详细的:
你好,
我通过在我的主目录中的 /etc/fstab 中的绑定从我的数据分区挂载各种目录,例如:
#using bind:
/mnt/sda5/bazon/Musik /home/Bazon/Musik none bind,user 0 0
#or using bindfs
bindfs#/mnt/sda5/tobi/Downloads /home/tobi/Downloads fuse user 0 0
Run Code Online (Sandbox Code Playgroud)
(背景:/dev/sda5 挂载到 /mnt/sda5 是我的旧主分区,但我不想将其挂载为主分区,因为我的计算机上总是至少有 2 个 Linux ......)
这很好用,但从 12.10 开始,这些项目中的每一项都列在 Nautilus 中“设备”下的左列中。(通常出现 USB 驱动器的地方等) 这是一种空间浪费(因为我有很多这样的安装......)所以我想隐藏这些安装,就像在 12.04 之前一样。我怎样才能做到这一点?
谢谢!
不确定这里是否是正确的提问地点,如果不是 - 请指出我正确的方向。
假设有一个包,为了现实世界的例子 - bind9。在 Precise 和 Quantal 中是 9.8.1 版。原始开发人员 (ISC) 当前提供版本 9.8.4,这是 9.8 系列中的错误修复版本,以及 9.9.2,这是一个“新功能”分支。看起来当遇到安全问题时,特定的错误修复被反向移植到 9.8.1。
现在的问题是:为什么维护人员不只是更新到最新的错误修复版本?为什么只向后移植某些补丁?是有意还是只是没有维护人员会努力更新到最新的错误修复版本?
我想在我的本地主机(服务器)上拥有强大的 DNS 缓存服务器。所以我需要将名称服务器更改为我的本地主机。
我怎样才能改变它?通过这个配置,我似乎不能通过编辑器更改它,所以我该如何更改它?
root@asqar# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 4.2.2.4
search asqar.net
Run Code Online (Sandbox Code Playgroud)我正在使用bind9如何设置 DNS 缓存,任何配置?
所有安装都从 digitalocean 的 vps 和 ispconfig https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3的以下文档开始在此过程中,我通过 ispconfig 接口添加了我的域,并使用 ispconfig 创建的域名服务器更新了我的域名服务器。
我的问题是找不到解决方案,当我尝试 nslookup crisubogdan.com 时,出现以下错误:
root@sv:~# nslookup crisubogdan.com
;; Got SERVFAIL reply from 8.8.8.8, trying next server
Server: 8.8.4.4
Address: 8.8.4.4#53
** server can't find crisubogdan.com: SERVFAIL
Run Code Online (Sandbox Code Playgroud)
当我尝试 dig crisubogdan.com 时,我收到以下错误:
root@sv:~# dig crisubogdan.com
; <<>> DiG 9.9.5-3ubuntu0.1-Ubuntu <<>> crisubogdan.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 46265
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; …Run Code Online (Sandbox Code Playgroud) 这是我的 fstab 条目:
"/mnt/c/Users/clego/OneDrive - ESEO/Cours/I2/" /home/clego/I2 none defaults,bind 0 0
Run Code Online (Sandbox Code Playgroud)
但是当我打字时sudo mount -a
我有
mount: /etc/fstab: parse error at line 1 -- ignored
Run Code Online (Sandbox Code Playgroud) 我在 fstab 中有这些行
# binds
/media/DataNtfs/Music /home/can/Music none rw,bind
/media/DataNtfs/Pictures /home/can/Pictures none rw,bind
/media/DataNtfs/Downloads /home/can/Downloads none rw,bind
/media/DataNtfs/Documents /home/can/Documents none rw,bind
/media/DataNtfs/Backups /home/can/Backups none rw,bind
/media/DataNtfs/Notes /home/can/Notes none rw,bind
/media/DataNtfs/Other /home/can/Other none rw,bind
/media/DataNtfs/Packages /home/can/Packages none rw,bind
/media/DataNtfs/Photos /home/can/Photos none rw,bind
/media/DataNtfs/Videos /home/can/Videos none rw,bind
/media/DataNtfs/WorkSpace /home/can/WorkSpace none rw,bind
Run Code Online (Sandbox Code Playgroud)
我尝试bind在 Ubuntu 中设置DNS。
我有两台机器:
机器 A 是客户端:
IP: 192.168.190.176
hostname: example.com
Run Code Online (Sandbox Code Playgroud)
机器 B 是 DNS 服务器:
IP: 192.168.190.171
Run Code Online (Sandbox Code Playgroud)
在 DNS 服务器中:
/etc/bind/named.conf.local:
zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
//reverse zone
zone "190.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
Run Code Online (Sandbox Code Playgroud)
/etc/bind/db.example.com:
$TTL 604800
@ IN SOA example.com. root.example.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS example.com.
@ IN A 192.168.190.176 …Run Code Online (Sandbox Code Playgroud) 我已经使用以下方法将我的目录 Music 从 /bakup 安装到我的主文件夹 Music 中:
sudo mount --bind -o default /bakup/Music $HOME/Music/
Run Code Online (Sandbox Code Playgroud)
我该怎么做,在启动系统中自动执行这个?
我在 14.04 LTS 上使用 bind9 时遇到问题
sudo service bind9 start 产生下一个日志
May 20 21:47:46 c1 named[1110]: starting BIND 9.9.5-3-Ubuntu -u bind
May 20 21:47:46 c1 named[1110]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2'
May 20 21:47:46 c1 named[1110]: ----------------------------------------------------
May 20 21:47:46 c1 named[1110]: BIND 9 is maintained by Internet Systems Consortium,
May 20 21:47:46 c1 named[1110]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
May …Run Code Online (Sandbox Code Playgroud) bind ×10
mount ×4
dns ×3
12.10 ×2
14.04 ×2
server ×2
directory ×1
fstab ×1
hostname ×1
keyboard ×1
nautilus ×1
networking ×1
permissions ×1
resolv.conf ×1
versions ×1