问题标签 [ubuntu-12.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 回答
913 浏览

php - 我在 php 中收到 404 错误

我在 windows8 操作系统中制作了我的 php 项目。它在 windows8 的 WAMP 中运行良好。我正在使用决斗启动,所以我启动了我的 ubuntu 12.10 操作系统。之后,我将相同的项目复制到 /var/www/Day4(My project name) 文件夹中。并使用“ sudo /etc/init.d/apache2 start ”启动 apache 服务器。当我运行简单的索引页面时,我得到了这个错误。

未找到

在此服务器上未找到请求的 URL /day4/index.php。sApache/2.2.22 (Ubuntu) 服务器在 localhost 端口 80

我想知道如何在 ubuntu 中运行相同的 php 项目。我正在使用 netbeans 7.3 进行开发。

0 投票
3 回答
5439 浏览

android - 在eclipse下调试android中的原生代码失败

我正在尝试使用该Debug As->Android Native Application选项在“csipsimple”android 应用程序中调试本机代码。我使用教程来做到这一点。我不断收到这些错误:

我试过了

尝试调试 NDK 时无法检测到应用程序 ABI(不相关,我没有使用 Sequoya),

http://www.cocos2d-x.org/boards/6/topics/24216(没用)

https://groups.google.com/forum/?fromgroups#!topic/android-ndk/icsQtRy1FZQ(只神秘地工作过一次)

http://www.mjbshaw.com/2012/11/android-ndk-eclipse-fixing-unknown.html(不是问题)

http://en.it-usenet.org/thread/12874/17301/(没用)

我在 Ubuntu 12.10 下使用带有 Android NDK r8e 的 ADT bundle v22 (eclipse 4.2.1)。

csipsimple 使用 jni 和 swig 调用本机代码。

我很绝望,救救我!

0 投票
3 回答
1491 浏览

android - Android中调试原生代码的工具有哪些

我对适用于 android 的 csipsimple 应用程序进行了一些更改,我想调试它的本机代码。我正在使用 ADT bundle v21.1 在 Ubuntu 12.10 下开发(eclipse 3.7,cdt 8.1)。

我在 Eclipse 下遇到了本机调试教程,但它对我不起作用(请参阅我的问题Debugging native code in android under eclipse failed)。我现在正在尝试ARM DS-5解决方案,没有额外的运气。我也遇到了这个nvidia 解决方案,但不确定是否值得付出努力。我还没有尝试使用 Sequoyah 插件,因为它看起来已经过时了。

谁能指导我找到一个好的稳定的 gui 调试工具或方法,用于在设备上调试 Android 中的本机代码(我的设备是 htc dream)。

0 投票
1 回答
2739 浏览

ftp - filezilla 和 ubuntu 的问题

在我当前的 Ubuntu 12.10 安装中,我的 FileZilla 存在一个大问题,因此它无法使用。首先是一些事实:

  • FileZilla 与我在 Windows 上的路由器/无线局域网等设置完美配合。
  • 它甚至可以在升级之前在 Ubuntu 上运行(尽管我不确定它是否会影响到 12.04 或 12.10)
  • 所以我猜的问题与我的 Ubuntu 有关

问题如下:

  • 很慢
  • 在传输几个文件或更改目录时,我经常遇到连接超时
  • 通常文件在没有内容的情况下被传输
  • 此外,如果更大的上传超时或停止,我无法确定已经上传的内容,因为它似乎没有遵循任何子目录顺序。

我也是一个 Linux 初学者,所以我不知道我能做些什么。希望任何人都可以提供帮助。

0 投票
0 回答
421 浏览

gitlab - gitlab 无法通过 http 克隆,检查错误

我已经安装了 gitlab 并且网站还可以,但是当我使用克隆时,我总是得到

但是用户名和密码是正确的,当我使用

bundle exec rake gitlab:check RAILS_ENV=production

答案是

我是否错误地安装了 gitlab-shell?我该如何解决?

0 投票
1 回答
366 浏览

webgl - WebGL 疑难解答

我正在使用 ubuntu 12.10 操作系统。我想学习 WebGL 编程。

突然间,我的 WebGL 停止工作了。最初 Firefox 提供了查看网页元素的 3D 方式。但现在它不起作用。在警告框中说“无法初始化 Tilt,请查看http://get.webgl.org/troubleshooting上提供的故障排除信息”。

任何帮助表示赞赏。

0 投票
1 回答
1922 浏览

audio - My speakers and headphones are not working on ubuntu 13.04

I used to work on Ubuntu 12.10 but then suddenly my speakers stopped working, my headphones didn't used to work before and still they are not working, i then upgraded to 13.04 in hope that it may solve my problem, but it was not the case. I have read dozens of websites and suggestion and tried them out, but none worked. As i open my sound configurations the only option available there is "Play sound through Dummy output" and i am unable to change that. Please help me out. P.S I have my ubuntu dual booted with windows 7. And the speakers and headphones work fine on windows.

0 投票
1 回答
796 浏览

mysql - 使用 solr 和 tomcat6 的数据导入问题(HTTP 状态 404)

版本列表

  • 索尔 4.2.0
  • Ubuntu 12.10
  • 雄猫 6
  • sql 5.5.29

我在我的服务器上成功设置了 solr,并且可以使用此链接访问 solr 管理页面

问题出在数据导入上,我在尝试数据导入时看到 http 状态 404 错误...

描述:请求的资源(/solr/dataimport)不可用。

这是我的目录结构

root@web:~/solr-4.2.0/example/solr/collection1/conf# ls

admin-extra.html 映射-FoldToASCII.txt stopwords.txt
admin-extra.menu-bottom.html 映射-ISOLatin1Accent.txt synonyms.txt admin-extra.menu-top.html
protwords.txt update-script.js currency.xml
schema.xml 速度 data-config.xml
scripts.conf xslt elevate.xml
solrconfig.xml lang spellings.txt

root@web:~/solr-4.2.0/example/lib# ls

jetty-continuation-8.1.8.v20121106.jar jetty-server-8.1.8.v20121106.jar jetty-deploy-8.1.8.v20121106.jar
jetty-servlet-8.1.8.v20121106.jar jetty-http-8.1。 8.v20121106.jar
jetty-util-8.1.8.v20121106.jar jetty-io-8.1.8.v20121106.jar
jetty-webapp-8.1.8.v20121106.jar jetty-jmx-8.1.8.v20121106.jar
jetty -xml-8.1.8.v20121106.jar jetty-security-8.1.8.v20121106.jar
servlet-api-3.0.jar

root@ web:~/solr-4.2.0/dist# ls -l total 20716 -rw-r--r-- 1 root root 17359734 Mar 7 06:32 solr-4.2.0.war -rw-r-- r-- 1 根根 16714 Mar 7 06:31 solr-analysis-extras-4.2.0.jar -rw-r--r-- 1 根根 29896 Mar 7 06:32 solr-cell-4.2.0.jar -rw-r--r-- 1 根 50435 3 月 7 日 06:31 solr-clustering-4.2.0.jar -rw-r--r-- 1 根 2106321 3 月 7 日 06:32 solr-core-4.2 .0.jar -rw-r--r-- 1 根 217076 3 月 7 日 06:31 solr-dataimporthandler-4.2.0.jar -rw-r--r-- 1 根 31134 3 月 7 日 06:31 solr -dataimporthandler-extras-4.2.0.jar -rw-r--r-- 1 根 766460 3 月 7 日 06:32 solr-langid-4.2.0.jar -rw-r--r-- 1 根 392357 3 月 7 日 06:32 solr-solrj-4.2.0.jar -rw-r--r-- 1 根根 149825 3 月 7 日 06:31 solr-test-framework-4.2.0.jar -rw-r--r -- 1 根 38743 Mar 7 06:32 solr-uima-4.2.0。jar -rw-r--r-- 1 root root 20286 Mar 7 06:32 solr-velocity-4.2.0.jar drwxr-xr-x 2 root root 4096 Jun 20 17:59 solrj-lib drwxr-xr-x 4 root root 4096 Jun 20 17:59 test-framework

root@ web:~/solr-4.2.0/contrib# ls -l total 28 drwxr-xr-x 4 root root 4096 Mar 7 06:33 analysis-extras drwxr-xr-x 3 root root 4096 Jun 20 17:59聚类 drwxr-xr-x 3 root root 4096 Jun 20 17:59 dataimporthandler drwxr-xr-x 3 root root 4096 Jun 20 17:59 提取 drwxr-xr-x 3 root root 4096 Jun 20 17:59 langid drwxr-xr- x 4 root root 4096 Mar 7 06:33 uima drwxr-xr-x 3 root root 4096 Jun 20 17:59 速度

root@web:~/solr-4.2.0/example/solr# ls -l 总计 20

-rw-r--r-- 1 根 2473 2012 年 10 月 17 日 README.txt drwxr-xr-x 2 根 4096 2012 年 10 月 17 日 bin drwxr-xr-x 3 根 4096 6 月 20 日 17:59 集合 1 -rw- r--r-- 1 根 2222 Jun 25 15:44 solr.xml -rw-r--r-- 1 根 501 2012 年 10 月 17 日 zoo.cfg

在位于 /solr-4.2.0/example/solr/collection1/conf 的solarconfig.xml文件中添加了 dataimport lib 路径

我已经尝试将路径更改为不同的目录,但仍然是相同的响应..

在同一个solarconfig.xml文件中定义了这个

在其他字段名称下的schema.xml文件中添加了我自己的字段名称...

以及这些后缀这些字段......

在同一目录中创建data-config.xml文件并添加以下行

solr.xml文件中添加了sharedLib="../lib"

关于如何让 solr 识别数据导入的任何帮助将不胜感激谢谢...

0 投票
0 回答
1101 浏览

ubuntu-12.10 - 在 ubuntu 12.10 中安装 mysql5.6.12 错误:/etc/mysql/conf.d is missing

我正在尝试在 ubuntu 12.10 中安装 mysql。从http://dev.mysql.com/downloads/mysql/下载了“MySQL-5.6.12-1.linux_glibc2.5.i386.rpm-bundle” 。提取它并尝试使用“rpm -i MySQL-server-5.6.12-1.linux_glibc2.5.i386”安装。由于不可能,因此使用了“sudo alien -i MySQL-server-5.6.12-1.linux_glibc2.5.i386”。对 MySQL-5.6.12-1.linux_glibc2.5.i386.rpm-bundle 目录中的所有其他文件执行相同操作。然后在终端中尝试了'mysql'命令,但它显示错误

“mysql:无法读取'/etc/mysql/conf.d/'的目录(错误代码:2 - 没有这样的文件或目录)默认处理中的致命错误。程序中止”

检查 /etc/mysql 目录。里面唯一的文件是 my.cnf 内容:

不知道如何解决这个错误。我正在尝试学习 mysql 并第一次安装它。不知道这个论坛是否适合这个问题。请帮助...在此先感谢。

0 投票
1 回答
141 浏览

red5 - 如何在 ubuntu12.04 中运行 openlaszlo 4.9.0?

我正在使用 Ubuntu 12.04,我想在我的系统中运行 OpenLaszlo 4.9.0。我已经阅读了很多教程,例如

http://wiki.openlaszlo.org/Installing_OpenLaszlo#Installing_the_DevKit_on_Unix.2FLinux

说将服务器放在 JAVA_HOME 但我不知道 Ubuntu 12.04 中的 JAVA_HOME 在哪里。

我也有 OpenLaszlo。但我不知道如何启动 OpenLaszlo 的服务器以及将它放在哪里?或者它需要多少东西?请告诉我。我有 Red5 服务器,我安装了 java-7-openjdk。
提前致谢。