Ubuntu

Ubuntu用户和开发人员的问答



2
Firefox鼠标中键滚动
如何在Ubuntu中使鼠标中键正常工作?单击中间按钮不会显示箭头,该箭头使我可以通过移动鼠标来滚动页面。 信息: Firefox 3.6.8 鼠标:Microsoft Intellimouse Explorer 3.0
62 firefox  mouse 

8
如何删除/安装未完全安装的软件包?
前几天我去安装了bsnes,无论出于什么原因安装都失败了。现在,我无法更新,安装新软件包或执行任何apt-get命令,因为它们都会尝试处理此损坏的软件包并失败。尝试安装新软件包也注定了它的命运。我得到的错误是: Setting up google-chrome-stable (33.0.1750.152-1) ... /var/lib/dpkg/info/google-chrome-stable.postinst: 124: /var/lib/dpkg/info/google-chrome-stable.postinst: update-alternatives: not found dpkg: error processing google-chrome-stable (--configure): subprocess installed post-installation script returned error exit status 127 Setting up bsnes (0.088-7) ... /var/lib/dpkg/info/bsnes.postinst: 5: /var/lib/dpkg/info/bsnes.postinst: update-alternatives: not found dpkg: error processing bsnes (--configure): subprocess installed post-installation script returned error exit status …

5
如何在Vagrant VM上增加磁盘大小?
我有一个由Vagrant管理的VM,它在Ubuntu主机服务器上使用VirtualBox。My Vagrant框使用Puppetlabs Debian 6.0.7 basebox,它使用LVM作为其根分区。 默认情况下,该磁盘为8GB,对于我的目的来说太小了。我想要: 在不破坏和重新创建我的VM的情况下,增加现有磁盘和文件系统的大小。 配置Vagrant,以便将来为该项目创建更大的磁盘。 谁能解释如何做到这一点?

7
获取处理器信息
我只是lshw想获得有关一台我一无所知的机器的信息,我只是想确认一些信息。 这是否基本上意味着已安装了双核64位处理器? *-logicalcpu:0 description: Logical CPU physical id: 0.1 width: 64 bits capabilities: logical *-logicalcpu:1 description: Logical CPU physical id: 0.2 width: 64 bits capabilities: logical 往下看,我看到了 *-cpu:1 physical id: 1 bus info: cpu@1 version: 6.7.6 serial: 0001-0676-0000-0000-0000-0000 size: 3150MHz capabilities: vmx ht configuration: id=0 *-logicalcpu:0 description: Logical CPU physical …

2
ssl-cert-snakeoil.key的用途是什么
现在,我安装了我想通过ssh访问的ubuntu 12.04.3服务器。因此,我创建了一个私钥,并将其移至 /etc/ssl/private/ 我只是想知道为什么那里已经有私钥ssl-cert-snakeoil.key了。该私钥在哪里使用,我可以删除它吗?
62 ssl 





5
/etc/profile.d中的脚本被忽略?
我是Ubuntu的新手。我正在运行13.10桌面。 我想设置一些系统范围的别名和bash的自定义提示。我发现这篇文章: https://help.ubuntu.com/community/EnvironmentVariables 按照本文的建议,我创建了/etc/profiles.d/profile_local.sh。它由root拥有,并且与那里的其他脚本一样具有644的权限: root@ubuntu:/etc/profile.d# ll total 28 drwxr-xr-x 2 root root 4096 Mar 23 08:56 . drwxr-xr-x 135 root root 12288 Mar 23 09:15 .. -rw-r--r-- 1 root root 660 Oct 23 2012 bash_completion.sh -rw-r--r-- 1 root root 3317 Mar 23 07:36 profile_local.sh -rw-r--r-- 1 root root 1947 Nov …
61 bash  .profile 

9
SSH到本地网络上的计算机的最佳方法是什么?
我有两台计算机,一台是我用的,一台是给孩子用的。我希望能够通过ssh进入他们的计算机来对其进行控制(例如将其关闭等),但是我很好奇这样做的最佳方法。我们俩都在同一个房子里,共享相同的互联网连接。 最好的方法是什么?从研究中,我读到了在远程计算机上安装openssh-server的信息,但是在尝试连接时却迷惑了主机名的使用方法。通常用于VPS,它是外部IP,但既然我们俩都共享wifi连接,那么它将是硬件IP吗?我们应该直接通过局域网还是通过互联网进行接口?
61 networking  ssh 


4
有程序自动安装所有驱动器吗?
有时,当我重新启动计算机时,驱动器会挂载,但有时却无法挂载(就像现在输入此问题时一样)。 有没有简单的方法,例如可以为我安装它们的程序?进入控制台,创建文件夹等不是我想要的。我喜欢Windows在任何情况下始终将驱动器安装在任何地方的方式。 如果没有程序,如何才能轻松地安装所有驱动器?
61 mount 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.