问题标签 [ubuntu-15.10]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1315 浏览

phpmyadmin - Lamp: Phpmyadmin 显示空白页面,localhost 页面正在工作

我根据链接http://sourcedigit.com/17602-install-lamp-on-ubuntu-15-10-desktop-using-terminal/ .localhost 页面在 ubuntu 15.10 中安装了灯泡,但每当我运行http:// /localhost/phpmyadmin/它什么也没显示。

0 投票
0 回答
24 浏览

ubuntu-15.10 - 编译和安装问题

我正在从源代码编译一个程序,因为它当前没有打包并且已经能够安装除 osm-gps-map 之外的所有需要​​的库。每次尝试时,我都会收到以下消息;
找不到包“osmgpsmap”

如果您以非标准前缀安装软件,请考虑调整 PKG_CONFIG_PATH 环境变量。

或者,您可以设置环境变量 BRAINSTORM_CFLAGS 和 BRAINSTORM_LIBS 以避免调用 pkg-config。有关更多详细信息,请参见 pkg-config 手册页。

我正在运行 Ubuntu 15.10 Wily。任何帮助将不胜感激。

0 投票
1 回答
1053 浏览

ipython - 如何在不使用 Anaconda“ipython notebook”的情况下在浏览器中运行“sudo ipython notebook”?

我的 ubuntu 上安装了两个 python

  1. sudo which python
  2. which python(蟒蛇)

并且两个python都安装了ipython。当我运行ipython notebook (anaconda)时,它只是将我带到浏览器并完美运行。但是,当我像 sudo ipython notebook (从系统 python 调用)一样运行它时,它给了我一个错误。在这两种情况下,我都想在浏览器中运行 ipython。

我所做的:

快照我做了什么!

0 投票
0 回答
1806 浏览

ubuntu - Why can't I get a Vagrant box up with ubuntu/wily64? (Networking issue)

When I try to make a Vagrant instance with the ubuntu/wily64 box, it hangs when I try to vagrant ssh or vagrant provision (it was working fine with older versions of Ubuntu). I'm pretty sure that I'm having a common issue, due to a change in Wily's networking. I've had some success in making the changes suggested in this post.

(I'm using Vagrant 1.8 and Vbox 5.0.10)

What I’ve done:

Created a Vagrant box and then modified the /etc/network/interfaces.d/*.cfg files as as mentioned in the second part of that post:

First, determine the name(s) of the new interface(s). You may run ifconfig -a or check dmesg (i.e. dmesg | grep renamed) for a line like this:

[2.671805] e1000 0000:00:03.0 enp0s3: renamed from eth0

In this example, the new interface name is enp0s3.

Once you have determined the new interface name(s), go to /etc/network/interfaces.d. There should be a file named eth0.cfg with the following contents:

# The primary network interface
auto eth0
iface eth0 inet dhcp

Now copy eth0.cfg to enp0s3.cfg (or whatever the name of your interface is). Edit the new file and replace all use of eth0 with enp0s3. Do this for each interface you need configured. Remove eth0.cfg when you are finished.

Finally, restart networking with sudo systemctl restart networking.service.

I've tried two options: Modify only the eth0 interface, and then modify both the eth1 and the eth0 interfaces (see Note #1 below). When I modify only eth0, I can then vagrant ssh, but can’t vagrant halt then vagrant up without getting a timeout. Alternatively, when I modify both eth0 and eth1 vagrant up will get past the ssh timeout, but then I see this behavior (see Note #2 below):

Note #1: The eth1 interface is not created when doing a vagrant up from a bare vagrant init. This seems to be created because I'm using private networking)
Note #2: I am creating a file for the renamed eth1, because none exists

Question: Given the steps that I've taken, and the info in that post, what can I do next to debug this issue?

Vagrantfile

0 投票
4 回答
24689 浏览

cuda - CUDA 7.5 安装:不支持的编译器错误

我刚刚尝试在我的笔记本电脑上安装 CUDA 7.5。我禁用lightdm并做到了sudo sh cuda7.5.run。驱动程序安装通过但随后出现错误Unsupported compiler ...并且安装失败。我该如何解决这个问题?

0 投票
1 回答
72 浏览

linux - 对 bash 行为感到困惑 - Bash / awk 之谜

为什么我在使用 Bash shell 时会得到这个输出?我不明白,因为如果我直接运行命令,我总是得到相同的输入(“:0”)

但是之后:

编辑 1:“w -h oneUser”的输出

编辑 2:也打印 0 美元:

编辑3:我发现有时:

0 投票
1 回答
188 浏览

segmentation-fault - 将 Upstart 脚本移植到 Systemd

我目前正在构建一个基于 Ubuntu 15.10 的 miniroot。因此我想使用systemd。我的标准脚本 '/etc/init.d/script' 由 systemd 找到并执行。但是,我也确实有一个位于 /etc/init/script.conf 的脚本的 conf 未执行。因此我编写了这个 systemd 脚本

此脚本在启动时执行,但未显示预期行为

startmaster.py #!/bin/sh 的内容

dmesg 显示以下段错误

任何建议如何解决这个问题

0 投票
3 回答
10777 浏览

ubuntu - 无法在 Ubuntu 15.10 上安装 Allure CLI

根据文档,可以使用命令安装Allure CLIsudo apt-get install allure-commandline

但仅支持 Trusty 和 Precise 发行版,因此我无法在我的 Ubuntu 15.10 系统上安装它。

结果:

还有其他方法可以在 Ubuntu 15.10 上安装 Allure CLI 包吗?

0 投票
1 回答
365 浏览

php - mongodb php-driver:php启动错误

我按照此处显示的指南安装了 mongodb php-driver:
https ://github.com/mongodb/mongo-php-driver

但是当我运行#php命令时,它显示以下错误:


我在用 :

p>

如果您有任何解决方案,请提出任何建议。提前致谢 。

0 投票
1 回答
2286 浏览

apache - apache2 在 AllowOverride All, localhost 后抛出内部服务器错误 500

我是配置服务器的新手。现在,我必须使用 LAMP 和 opencart 框架配置 localhost。但它仍然抛出内部服务器错误 500。

即使我尝试过以下事情

/etc/apache2/sites-available/000-default.conf 文件

/etc/apache2/apache2.conf

/var/www/opencart/.htaccess