问题标签 [gentoo]

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 投票
7 回答
1220 浏览

linux - Does the Gentoo install CD contain everything for C++ development?

I'd like to install Gentoo. I need it to develop GUI C++ applications using wxWidgets, so I need:

  • build tools: make, automake, autoconf, etc.
  • C++ compiler (GCC)
  • X Window System for testing (Fluxbox or something minimal would be enough)

Now, I have two options:

  • download the small network installer (57MB) do a network install
  • download the 600MB CD

I'd like to download as less as possible and still have all the tools above.

I also don't understand whether the network installer will first prompt me for the packages I want, or it will fetch 600 MB of data anyway?

I might want to install it on other computers later, so I'd go with 'full' install from CD if the network install does not save me anything.

0 投票
3 回答
10351 浏览

installation - 如何在 Gentoo 2008 中安装屏蔽包?

我搜索了网络和手册,但我只知道什么是屏蔽包,而不是如何安装它。我确实找到了一些命令,但它们似乎在 2008 年不起作用(看起来,这些命令似乎适用于早期版本)。我有这样的事情:

我想安装 0.8.6 版本,但不知道如何安装?我找到了一些说明,但它们告诉我编辑或写入 /etc/portage 下的某些文件。但是,我的系统上没有 /etc/portage:

0 投票
1 回答
1410 浏览

gentoo - 在 Gentoo 中独立运行 Apache Archiva?

我有一台运行 Gentoo 2.6.12 r6 的服务器,我想在启动时将 Apache Archiva 作为独立服务器运行。有没有人有一个有效的 init.d 脚本来完成这个?谢谢!

0 投票
10 回答
10923 浏览

bash - /etc/motd 在 Gentoo Linux 上打印两次

我遇到了一个问题,我在 Gentoo Linux 上打印了两个 /etc/motd 文件。sshd 正在执行其中一个打印输出,我可以通过配置 /etc/ssh/sshd_config 来切换它,但我不知道是谁在打印第二个副本。由于审核要求,我无法禁用 sshd 打印 motd。我正在运行 bash shell,值得

谁在打印第二个副本有什么想法吗?我不认为它是 bash,因为当我将 /etc/passwd 更改为使用 /bin/ksh 作为我的 shell 时,我仍然会显示 motd。

这不是 /etc/issue,因为它包含字符串“This is \n (\s \m \r) (\l)”,仅当您坐在机器前时才会打印。

0 投票
2 回答
157 浏览

bash - darcs帮助打破我的外壳

我刚刚安装了 darcs 2.1.2.2。当我输入 darcs help 时,会出现一些不太像的东西。当我用 q 关闭它时,它会消失,但我没有得到提示,也无法执行任何命令。抄送也不行。我在gentoo上使用bash。

0 投票
1 回答
850 浏览

apache - mod_rewrite 添加不需要的文件扩展名

我将 Phorum 设置为在我的本地服务器(Ubuntu Jaunty)上使用搜索引擎友好的 URL。它工作得很好。将站点移动到生产服务器 (Gentoo) 后,我得到 404 未找到所有页面。下面的 mod_rewrite 日志显示了该问题。

两种安装都使用相同的规则:

在我的本地服务器上,重写规则的行为正确:

在我的生产服务器上突然出现一个文件扩展名 - 好像文件系统路径已被解析:

我错过了什么?谢谢!

0 投票
2 回答
4059 浏览

linux - 从 shell 中杀死 linux 套接字(gentoo amd64)

伙计们,在linux中从shell中终止已建立连接的最佳方法是什么?

看起来有 'tcpkill' 和 'cutter' 工具可用,但是,在我的 gentoo amd64 上,tcpkill 被 'amd64' 关键字禁用,并且使用 cuter 时,打印错误“打开 /proc/net/ip_conntrack:没有这样的文件或目录”。

有没有其他方法可以终止连接?

谢谢。

0 投票
5 回答
25038 浏览

php - How to configure PHP under Apache web server in GENTOO Operating System?

is there anyone who knows how to install / configure php under apache?

I have emerge php apache both. I wanted to use mod_php for apache in GENTOO OS.

php temp.php

command line runs fine, but http://localhost/temp.php is not executing on web server instead it shows the content of the php code.

0 投票
1 回答
1195 浏览

linux - 让 Tomcat 在 Linux 上与 Netbeans 6.7 一起运行良好

我有一个外部 Tomcat 服务器配置为在我的开发(Gentoo Linux 安装)机器上运行 J2EE 应用程序。如果在打开 Netbeans 并部署代码 [在 IDE 中] 之前启动服务器,这将非常有用。当我尝试重新启动服务器或调试服务器应用程序时,这会失败。我得到的错误是它无法找到“catalina.sh”和tomcat的关闭/启动脚本。

Gentoo 指南表明这些脚本已经过时并被 init.d 脚本取代。有没有人建议我在哪里可以找到这些脚本或他们如何解决这个问题?

0 投票
1 回答
510 浏览

java - 全新 OpenEMM 安装在某些页面上显示 bean 错误

我们在树脂服务器上部署了全新的 openemm 安装(尽管树脂是推荐和默认的应用程序服务器,但由于大量的依赖关系,这并不完全直截了当)。这是我们的设置:

  • 最新的 Gentoo GNU/Linux
  • OpenEMM 5.1.1(源码编译,包含大量依赖jar)
  • 树脂 3.2.1 上 127.0.0.1:8080
  • 加速器模式下的 Squid 前端将流量转发到 127.0.0.1:8080

这个设置似乎工作正常。几乎所有的 OpenEMM 页面都可以工作。但是“操作”菜单项会引发以下错误:

另一个引发错误的菜单项是“收件人/概述”菜单项:

我是 java 部署的菜鸟。任何帮助将不胜感激。

更新:我已经在这个问题上取得了一些进展。所有这些问题的出现似乎是因为一些变量被插值但包含空值,例如 ${recipient.gender} 解析为空值,因此尝试查找gender..short(从“gender.${recipient.gender}”解析。短的”)。这是代码片段:

这被一个“显示:表”包裹,如下所示:

任何线索在哪里进行进一步调试?我已经将 displaytag 库从 1.2 降级到 1.1.1,希望这能修复错误的行为——但这似乎是错误的点。