Articles of configuration

Centos内核.config文件。 我在哪里可以find它?

我正在重build一个定制的内核。 我在Windows上,获取CentOS RHEL linux内核(for make oldconfig )的.config文件的最快方法是什么? 我找不到它预装在Linux系统(例如no /proc/config.gz)我假设它是在一个源RPM的某处。 你有链接吗?

Nginx:重写整个URI到查询string

对于nginx来说,这里仍然很新,试图让一个简单的重写工作,但服务器只是响应'404没有find' 我的服务器块 server { listen 80; listen [::]:80; server_name pics.example.com; root /home/pics; rewrite ^(.*)$ index.php?tag=$1; location / { try_files $uri $uri/ $uri.php /index.html $uri =404; #try_files $uri =404; fastcgi_split_path_info ^([az]+)(/.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass unix:/tmp/php5-fpm.sock; fastcgi_index index.php; } location /doc/ { alias /usr/share/doc/; autoindex on; allow 127.0.0.1; deny all; } } pics.example.com/foobear应重写为pics.example.com/index.php?tag=foobear

即使指定了PassivePortRange,PureFTPd也使用50000以上的端口

我已经使用apt-get在Ubuntu 10.04上安装了PureFTP 1.0.24的pure-ftpd软件包。 即使这是默认的端口范围,我添加了包含以下内容的文件/ etc / pure-ftpd / conf / PassivePortRange: 30000 50000 这会在运行命令( -p 30000:50000 )时添加正确的选项,但由于某些原因,我仍然尝试使用50000以上的端口进行连接。我认为问题在于这些是活动的ftp会话,但是如果仅用于被动模式,指定端口范围有什么意义? 然后我仍然需要打开我的防火墙中的所有端口… 有没有办法为所有连接指定端口范围(而不仅仅是被动的)?

戴尔睿翼r210 II混合内存

我有安装了4Gb内存的戴尔PowerEdge R210 II服务器。 而且我也有8Gb的内存模块。 我用8Gb取代了4Gb – 服务器正常运行。 但是,以不同方式混合内存出现错误:“不支持的内存configuration。检测到的插槽之间的DIMM不匹配”。 我如何安装它们以获得12Gb的内存? PS从服务器文档:“不同大小的内存模块可以在插槽1到4中混用(例如,2 GB和4 GB),但是所有填充的通道必须具有相同的configuration。

Eaton Powerware 9170+(带有ConnectUPS Web / SNMP卡) – 不能进行所有SNMP查询,也不能更改SNMP团体名称

有人有这个UPS(Eaton Powerware 9170+)吗? 我遇到了一些问题。 不幸的是,所有与这个产品有关的logging是不好的。 我的问题: 不知道在哪里更改SNMP社区名称。 老pipe理员这样做,但我不知道在哪里做这个改变。 我尝试了telnet和web界面,没有运气。 SNMP有一个问题: 2.a)首先,并不是所有可能的OID都在snmpwalk上返回。 这很奇怪,因为XUPS.MIB文件的OID比UPS返回的OID多。 例如,我无法检索到xupsOnBattery 1.3.6.1.4.1.534.1.7.3 。 2.b)即使没有input源(这意味着我们没有外部能源),它也不会改变它的input电压值。 有人有这个问题吗? 谢谢。

如何正确configurationApache2的Redmine?

我在Debian服务器上安装了Redmine,但我不知道如何正确configurationApache2,以便Redmine文件夹的内容和Redmine的起始页面都不会显示为我的网站的主页。 假设该网站的url是www.myexample.com。 当前状态 www.myexample.com显示/var/www/redmine文件夹的文件 用符号链接/var/www/redmine -> /usr/local/lib/redmine-2.1/public/ 想要的状态 www.myexample.com应该是我通常的网站主页(例如显示index.html) www.redmine.myexample.com或www.myexample.com/redmine应显示redmine页面 我想这只是一个configuration问题,但我不知道这个问题。 所以这里是我的configuration文件。 你看到我在这里失踪了吗? /etc/apache2/httpd.conf <VirtualHost *:80> ServerName redmine.example.com DocumentRoot /var/www <Directory /var/www> AllowOverride all Options -MultiViews </Directory> </VirtualHost> 在/ etc / apache2的/网站可用/pipe理平台 <VirtualHost *:80> DocumentRoot /var/www/redmine <Directory /var/www/redmine> AllowOverride all Options -MultiViews RailsBaseURI /redmine </Directory> </VirtualHost> 在/ etc / apache2的/网站可用/默认 <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot […]

为什么我得到这个邮件服务器configuration错误?

<<The configuration of your mail servers and your DNS are not ok! The report of the test is: mail.mydomain.com. -> mydomain.com -> 78.47.63.148 -> static.148.63.47.78.clients.your-server.de Spam recognition software and RFC821 4.3 (also RFC2821 4.3.1) state that the hostname given in the SMTP greeting MUST have an A record pointing back to the same server.>> 我有一个logging,指出mail.mydomain.com […]

如何使用PowerShell来检查服务器上用户configuration文件位置的位置?

是否有可能使用PowerShell和正则expression式find所有不在特定服务器/文件夹的用户configuration文件? 如果是这样怎么办呢?

禁用特定的OpenSSH主机密钥

我一直在寻找的一般想法是,如果您删除与特定键对应的HostKey行,该键将停止生成。 无论什么原因,我的sshd_config只在/ etc / ssh / ssh_host_rsa_key上列出了一个HostKey,每次删除多余的密钥并重新启动sshd,都会重新生成ssh_host_dsa_key和ssh_host_key文件。 除了挖掘源代码和自己重新编译OpenSSH,有没有办法强制它不创build一个特定的主机密钥? 在Fedora 18 x86_64上运行OpenSSH 6.1p1-4.fc18,如果它有所作为。

我刚刚安装了一个探查器到Tomcat 7,现在我正在closuresBindException

所以我刚刚阅读的HOWTO说,将这些JAVA_OPTS添加到启动脚本: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=[place port number here] -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false 我这样做,它的工作,但Tomcat不closures,并给我 java.net.BindException: Address already in use 当我执行关机脚本。