Monthly Archives: August 2010

在fedora中生成/etc/X11/xorg.conf

忘记从哪个版本开始,xorg没有/etc/X11/xorg.conf文件了,有时候需要通过该文件修改xorg的一些参数,所以需要生成xorg.conf文件,从fedora的官网上找到下面的方法产生xorg.conf文件,原文见连接https://fedoraproject.org/wiki/How_to_create_xorg.conf How to create xorg.conf Fedora releases since Fedora 10 do not create a /etc/X11/xorg.conf file, used to configure the X server, by default. The X configuration is automatically determined each time X is started. In most cases, this works well and … Continue reading

Posted in Computers and Internet | Leave a comment

apache配置

1)配置好虚拟主机后启动apache时报下面的错误 [root@localhost /home/alex]#/etc/init.d/httpd start Stopping httpd: [  OK  ] [Sat Aug 07 07:58:35 2010] [warn] NameVirtualHost *:80 has no VirtualHosts [  OK  ] 经过定位,是下面的问题导致的: NameVirtualHost字段一定要放在主配置文件(我用的是fedora,所以主配置文件是/etc/httpd/conf/httpd.conf)中 原来的配置: /etc/httpd/conf/httpd.conf文件: include "conf.d/perl.conf" /etc/httpd/conf.d/perl.conf文件: NameVirtualHost *:80 <VirtualHost *:80>     ServerName mail.hello.com     DocumentRoot /var/www/extsuite/extmail/html … Continue reading

Posted in Computers and Internet | Leave a comment