小编jas*_*nes的帖子

如何管理可用的无线网络优先级?

我想上下移动可用的无线接入点,设置优先级,就像我们在 Microsoft Windows 中所做的那样。我不记得自从使用network-manager. 也许与 conf 文件有关的东西是可能的......

我对不同的网络管理员不感兴趣。

network-manager wireless-access-point

84
推荐指数
5
解决办法
4万
查看次数

如何修复“分区未在物理扇区边界上启动”警告?

我的笔记本电脑上有一个硬盘驱动器,有两个分区(一个安装了 Ubuntu 12.04 的 ext3 和一个交换分区)。

fdisk 给我以下警告:

Partition 1 does not start on physical sector boundary
Run Code Online (Sandbox Code Playgroud)

是什么原因,我需要修复它吗?如果是这样,如何?


这是sudo fdisk -l

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 testine, 63 settori/tracce, 91201 cilindri, totale 1465149168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Identificativo disco: 0x5a25087f

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63  1448577023   724288480+  83 …
Run Code Online (Sandbox Code Playgroud)

partitioning gparted hard-drive

53
推荐指数
4
解决办法
26万
查看次数

自 16.04 以来不再有引导日志记录?

我注意到我的/var/log/boot.log文件日期为 2016-04-22,上次我是在 15.10 启动的。Xenialboot.log文件位于何处?

boot logging log 16.04

26
推荐指数
2
解决办法
3万
查看次数

dnsmasq 是否因为网络管理器冲突而无法加载?

我在 12.10,并且一直使用dnsmasq. 几天前,我在启动过程中注意到奇怪的消息:

NetworkManager[1316]: <warn> DNS: plugin dnsmasq update failed
dnsmasq[1302]: failed to create listening socket for 127.0.0.1: Address already in use
dnsmasq[1302]: FAILED to start up
NetworkManager[1316]: <info> DNS: starting dnsmasq...
NetworkManager[1316]: <error> [1362028900.869958] [nm-dns-dnsmasq.c:390] update(): dnsmasq not available on the bus, can't update servers.
NetworkManager[1316]: <error> [1362028900.869979] [nm-dns-dnsmasq.c:392] update(): dnsmasq owner not found on bus: Could not get owner of name 'org.freedesktop.NetworkManager.dnsmasq': no such name
NetworkManager[1316]: <warn> DNS: plugin dnsmasq update failed
dnsmasq[1876]: warning: no upstream …
Run Code Online (Sandbox Code Playgroud)

network-manager dnsmasq 12.10

12
推荐指数
1
解决办法
9832
查看次数

每次登录 Ubuntu 14.04 时如何使程序自动启动?

我阅读了这个问题的先前答案,并试图遵循,但它不起作用。我想将 Chromium 和 Skype 添加到启动应用程序中,但我不知道应该在其中写入什么命令。我尝试了另一种建议的方法:右键单击启动器中的图标,但弹出菜单中没有名为“添加到启动”的项目。我是 Linux 和 Ubuntu 的新手,抱歉,如果有明显的答案,请帮忙。谢谢彼得

unity startup-applications

12
推荐指数
1
解决办法
7万
查看次数

Bumblebee:无法访问辅助 GPU - 错误:[XORG] (EE) 未检测到设备

升级到 13.04 后,我收到此错误和其他答案(Optirun glxgears:无法访问辅助 GPU - 错误:[XORG] (EE)检测到设备Bumblebee 的“无法访问辅助 GPU”错误)没有帮助。

dpkg -l | grep nvidia

ii  bumblebee-nvidia                              3.2.1-1~raringppa2                          amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-310                                    310.44-0ubuntu2                             amd64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-settings-310                           310.44-0ubuntu1                             amd64        Tool for configuring the NVIDIA graphics driver
Run Code Online (Sandbox Code Playgroud)

这是我的/etc/bumblebee/bumblebee.confhttp : //pastebin.com/G9R55VMr

这是/etc/bumblebee/xorg.conf.nvidiahttp : //pastebin.com/9xNUPp6b

这是/etc/modprobe.d/blacklist.confhttp : //pastebin.com/tCnSCz0B

这是/etc/modprobe.d/bumblebee.confhttp : …

nvidia-optimus bumblebee 13.04

11
推荐指数
2
解决办法
3万
查看次数

让长按像右键单击一样?

大约 3 秒前,我的上网本版 Ubuntu 与平板电脑触摸屏一起工作......但马上,我注意到了一些事情 - 当我按住左键单击时,是否可以显示右键单击菜单,例如在我的 Win 7 分区上?

现在,如果你愿意指责我,我只是要去让鼠标手势工作......

mouse tablet accessibility click-policy

9
推荐指数
1
解决办法
1万
查看次数

如何在 Ubuntu 14.04 LTS 中安装 Tomcat7?

如果我apt-get install tomcat7正在安装损坏的 tomcat7。一个简单的 startup.sh 会给我错误,而不是固定时说 tomcat 已经启动但没有显示在 localhost:8080 中。shutdown.sh 会给我错误,甚至抛出 Java 异常。这在以前的一些 Ubuntu 版本中没有发生,在那里它只是工作。所以,看起来最近没有维护的tomcat包。

当我测试我的 Web 应用程序时,我可以从 Eclipse(顺便说一下它也没有得到正确维护)让它工作。但是,有些事情我需要在独立的 tomcat 安装中进行测试。到目前为止,谷歌还没有帮助。

你们中有没有人设法在 Ubuntu 14.4LTS 中正确安装 tomcat7?如果是这样,你能指出我正确的方向吗?

编辑:

这是一些日志。

启动tomcat:

$ sudo /usr/share/tomcat7/bin/startup.sh 
Using CATALINA_BASE:   /usr/share/tomcat7
Using CATALINA_HOME:   /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Tomcat started.
Run Code Online (Sandbox Code Playgroud)

浏览到localhost:8080(和http://127.0.0.1:8080, http://127.0.0.1, http://[my network ip here]):

Oops! Google Chrome could not connect to localhost:8080
Run Code Online (Sandbox Code Playgroud)

停止 tomcat 也会失败:

$ sudo /usr/share/tomcat7/bin/shutdown.sh 
Using CATALINA_BASE:   /usr/share/tomcat7 …
Run Code Online (Sandbox Code Playgroud)

tomcat7 software-installation 14.04

9
推荐指数
2
解决办法
3万
查看次数

为什么某些指标在 Unity 中不显示?

几天前我升级到 Raring,并注意到某些指标没有出现在我的 Unity 面板中,而所有其他指标都出现了。

基本上我指的是:pyAlienFX(来自http://code.google.com/p/pyalienfx/)、Thunderbird(带有Firetray扩展,https://github.com/foudfou/FireTray.git)和pidgin

显然,它们都适用于以前的 12.10。

indicator unity 13.04

8
推荐指数
2
解决办法
3409
查看次数

为什么我的每周 anacron 工作没有执行?

我想在 Ubuntu 13.04 上每周使用 anacron。

这是我的 /etc/crontab:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * …
Run Code Online (Sandbox Code Playgroud)

cron anacron

8
推荐指数
2
解决办法
3万
查看次数