当我尝试在vi
编辑器的插入模式下使用箭头键时,编辑器中插入了以下字符:
请帮我解决这个问题。
我只是想知道是否有人可以告诉我这是什么意思:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
reidsr@ubuntu:~$ sudo dpkg --configure -a
dpkg: error: dpkg status database is locked by another process
reidsr@ubuntu:~$
Run Code Online (Sandbox Code Playgroud)
如何sudo dpkg --configure -a
手动运行?
我有一个美式英语键盘。如何在 Ubuntu 中输入欧元符号?我在字符映射中找不到符号,我真的不想改变键盘布局只是为了偶尔输入一个符号。
Ufw 有一个命令列出配置文件,您可以进一步探索其配置文件定义
$ ufw app list
Run Code Online (Sandbox Code Playgroud)
和
$ ufw app PROFILE {app profile title}
Run Code Online (Sandbox Code Playgroud)
我想知道如何为未定义的程序创建配置文件,例如虚拟机,并让该配置文件运行与我为 Ubuntu 发行版提供的 iptables 相同的定义。
我不仅要尝试使用 Ubuntu 防火墙来为我的虚拟机提供服务。我也很想知道如何为没有附带的应用程序创建配置文件。
什么是 Unix、Linux、Ubuntu?
它们是相同的东西还是不同的版本还是完全不同的东西?
这一直让我感到困惑,任何解释都会很棒。
在 Gnome 3 的 Nautilus 中,“连接到服务器”对话框缺少“类型”字段。
如何建立 WebDAV 连接?
我已将来宾 Ubuntu 的网络适配器配置为在桥接模式下工作,因此我可以从主机通过 ssh 连接到它。
问题是来宾 Ubuntu ip 地址不断变化。
即使它在非常短的范围 192.168.0.4-10 内更改,但每次配置 Putty 和其他程序仍然需要时间。
有没有办法让来宾 Ubuntu ip 地址是静态的?
我的来宾操作系统具有完整的 GUI。
当我在没有寻呼机的情况下运行程序(例如grep
或ls
)时,其输出是彩色的。但是,当我运行它时,它的输出通过管道传输到less
,没有显示颜色。
例如,此命令输出彩色输出:
grep -r something
Run Code Online (Sandbox Code Playgroud)
但这不是:
grep -r something | less
Run Code Online (Sandbox Code Playgroud)
为什么?我怎样才能看到颜色less
?
我可以停止使用
/etc/init.d/apache2 stop
Run Code Online (Sandbox Code Playgroud)
但是当我想使用以下方法再次启动它时:
/etc/init.d/apache2 start
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
Starting web server apache2 /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]
Run Code Online (Sandbox Code Playgroud) command-line ×2
apache2 ×1
disk-usage ×1
dpkg ×1
firewall ×1
iptables ×1
keyboard ×1
less ×1
nautilus ×1
networking ×1
permissions ×1
server ×1
system ×1
text-editor ×1
ufw ×1
vi ×1
webdav ×1