Articles of gentoo

反向DNSparsing为MXlogging

我有两台服务器在运行,一台是networking服务器,而我的(外部)DNS服务器上的一条logging的forms是: example.com在XXX.XX.XXX.171 另一个是邮件服务器,它的forms是: mail.example.com在XXX.XX.XXX.170 这是mxlogging的forms: example.com在MX 10 mail.example.com 我的DNS应该如何反向(即我的ISP提供商)解决: example.com或mail.example.com ? 顺便说一句,这是我的/ etc / hosts文件的样子: 127.0.0.1 mail.example.com mail example.com ::1 mail.example.com mail example.com 在此先感谢所有的帮助

Gentoo出现一个包给404s – 我需要–sync吗?

我在这里有一个gentoo服务器。 它好久没有升级了。 我试图出现一个包,它试图下载的东西,但都与404失败。我可以得到其他networking访问罚款。 我需要做一个emerge –sync ?

Python 3. *在Gentoo上

如何在没有手工编译的情况下在Gentoo上安装python 3. * 有没有ebuild或覆盖这个? 更新:现在它是完全有可能的,没有任何黑客

Gentoo ppc64video点播stream媒体

我想在我的ppc64 Gentoo上设置一个vodstream媒体服务器。 它应该能够: 工作无头。 stream到iPhone,MacOS,如果可能的话,Linux(rtsp协议?)。 stream不同的格式,如AVI或MP4。 为less数客户(最多10个)工作。 优选地,一旦正确设置,没有用户交互的工作(不必手动添加新的文件到stream) 我已经尝试过达尔文stream媒体服务器,但它只能streammov或mp4,我不想转换每个文件。 我也安装了VLC,但似乎没有正常工作(无法启动Telnet界面,…)。 什么是最好的select?

xen-sources,不同版本的不同问题

我试图让我的xen来源编译,我有混合的结果取决于我使用的版本。 到目前为止,我还没有得到任何现有的(截至一个星期前)xen-sources通过gentoo的portage工作。 当我尝试为2.6.18-xen-r12制作menuconfig时,我得到: Makefile:410: *** mixed implicit and normal rules. Stop. 当我尝试使用2.6.34-xen-r3时,内核启动了,但是它被我认为是USB的问题所困扰,但是我无法得到确切的日志,因为启动永远不会完成。 当我尝试使用2.6.34-xen-r4时,它似乎不能与我的SCSI控制器一起工作(不确定我是否做错了什么,但是我确信我不是),反过来也不行find任何磁盘。 当我尝试使&版本2.6.38-xen modules_install它失败: LD drivers/xen/sfc_netutil/sfc_netutil.o LD drivers/xen/sfc_netutil/built-in.o LD drivers/xen/built-in.o drivers/xen/blktap2-new/built-in.o: In function blktap_ring_init': (.init.text+0xe0): multiple definition of blktap_ring_init' drivers/xen/blktap2/built-in.o:(.init.text+0x8c): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_ring_destroy': (.text+0x334): multiple definition of blktap_ring_destroy' drivers/xen/blktap2/built-in.o:(.text+0xcdd): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_device_init': (.init.text+0x16e): multiple definition of […]

尝试DNSparsing/中继主机的IPv6地址

我有一个networking交换机做IPv6 DNS中继到一个Linux机器(3.0.4-gentoo#7)。 数据包(DNS请求)在Linux框中正常到达。 我现在卡在哪里是如何解决这些问题,无论是通过再次转发到Web DNS服务器(例如OpenDNS),甚至在本地解决它们,并将其返回到交换机。 各种帮助文件在线讨论named.conf和/ etc / hosts,但许多只是IPv4,我试过从他们似乎并没有工作。 任何人有一个5步的指导,解决在Linux机器上的IPv6 DNS请求(或中继)? – -编辑 – – 我现在有了named.conf等configuration在一定程度上,该框是答复的DNS请求,但如果我嗅探stream量,Wireshark显示它答复与响应代码服务器失败。 任何理论为什么?

在Apache中为Gentoo上的Django应用程序启用mod_wsgi

我使用emerge (在Amazon EC2上)在Gentoo上安装了Apache,Django和mod_wsgi。 我知道mod_wsgi是在/etc/apache2/modules.d/70_mod_wsgi.confconfiguration的: <IfDefine WSGI> LoadModule wsgi_module modules/mod_wsgi.so </IfDefine> # vim: ts=4 filetype=apache 所以在我的/etc/conf.d/apache添加了WSGI模块: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D WSGI" 但是,当我尝试列出加载的模块,mod_wsgi没有列出。 root ~ # apache2 -M | grep wsgi Syntax OK 我也知道mod_wsgi没有正确加载,因为Apacheconfiguration文件不能识别WSGIScriptAlias 。 顺便Django的工作,我需要包括一个自定义的Apacheconfiguration文件。 我应该在哪里插入下面的行? Include "/var/www/localhost/htdocs/mysite/apache/apache_django_wsgi.conf" 我目前在httpd.conf文件中有这个,但是我觉得那个文件在我升级Gentoo或者相关软件包的时候会被重置。 编辑:它似乎mod_wsgi文件位于/usr/lib64/apache2/modules/mod_wsgi.so 。 这里是我详细的Apache设置: root@ip-99-99-99-99 /usr/portage/eclass # apache2 -V Server version: […]

文件系统(SELinux)的重新标记失败

在编译策略模块并重新编译我的核心软件包(Gentoo 32bit)后,我想重新标记文件系统(通过rlpkg -a -r )和软件包,但是我得到了这些错误消息: 重新标记文件系统types:btrfs ext2 ext3 ext4 jfs xfs / usr / sbin / setfiles set context / – > system_u:object_r:root_t失败:'Operation not supported' / usr / sbin / setfiles set context / boot-> system_u:object_r:boot_t失败:'Operation not supported' / usr / sbin / setfiles set context / home-> system_u:object_r:home_root_t失败:'Operation not supported' / usr / sbin […]

为什么nginx 1.0.0似乎不使用Gentoo上的内核打开文件caching? (高艾奥瓦)

free -m total used free shared buffers cached Mem: 7996 2043 5952 0 73 140 -/+ buffers/cache: 1830 6165 Swap: 7812 15 7797 nginx -v nginx:nginx版本:nginx / 1.0.0 uname -a Linux tr1 2.6.38-gentoo-r6#4 SMP Tue Sep 27 27:24:13 EEST 2011 x86_64 Intel(R)Xeon(R)CPU E5620 @ 2.40GHz GenuineIntel GNU / Linux cat /proc/version Linux版本2.6.38-gentoo-r6(root @ tr1)(gcc版本4.4.5(Gentoo 4.4.5 […]

Cron作业每次发送相同的数据,尽pipe数据库发生变化

这个问题与Gentoo Linux有关。 我有每天早上10点运行的cron工作。 cron作业调用一个bash脚本,该脚本又调用一个groovy脚本来查询数据库中的一列数据并将结果通过电子邮件发送给收件人列表。 脚本每天执行,它发出完全相同的数据。 当我手动运行脚本时,报告(和电子邮件)正确的数据。 我完全失去了如何进一步排除故障。 是什么赋予了? 这是我的cronjob脚本: #!/bin/bash OUTPUT="" TEMPFILE=/tmp/dsr.output MAILTO="[email protected]" INSTALL_DIR=/usr/local/clearleap/scripts/daily-storage-report export CLASSPATH=$CLASSPATH:$INSTALL_DIR/lib/postgresql-8.3-603.jdbc4.jar:$INSTALL_DIR OUTPUT=$(/opt/groovy/bin/groovy $INSTALL_DIR/DailyStorageReport.groovy) echo "$OUTPUT" > $TEMPFILE echo $OUTPUT echo $OUTPUT | /bin/mailx -s "Daily Storage Report" $MAILTO 这是cronjob本身,它位于/etc/cron.d/dsr_cron: 0 10 * * * root /usr/local/clearleap/scripts/daily-storage-report/dsr.sh 请让我知道,如果你想看到groovy脚本的代码。 我不知道为什么它似乎是caching! 任何帮助是极大的赞赏!