CentOS6.4 Linux 解决 Device eth0 does not seem to be present

用虚拟机vmware克隆CentOS系统,启动后网络出现问题,重启网络后报错
Device eth0 does not seem to be present,delaying initialization
e1
解决办法如下:
vi /etc/udev/rules.d/70-persistent-net.rules
找到eth1对应的 ATTR{address} 记下 对应的串,如下图所示:
e2
修改网卡配置:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改
DEVICE=eth1
HWADDR=00:0C:29:4E:2D:93
如下图所示:
e3
重启网络
service network restart
e4
正常

转载请注明出处:怡然之乐 – FineYi

centos6.4下 Bugzilla的安装配置

Bugzilla是Mozilla公司提供的一款开源的免费Bug(错误或是缺陷)追踪系统,用来帮助你管理软件开发,建立完善的BUG跟踪体系。
安装环境:
OS:CentOS6.4 64bit
apache + mysql 加载perl模块
安装依赖包
yum install perl
yum install perl-CPAN
下载软件包:
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.6.tar.gz
tar -zxvf bugzilla-4.4.6.tar.gz
cd bugzilla-4.4.6
检测:
./checksetup.pl --check-modules
很多没有安装的模块都列了出来,指南上说可以用下面的命令安装缺少的模块:
perl install-module.pl&nbsp;<modulename>
但是运行上条命令是给出了更加简便的方式: 安装所有环境依赖包
./install-module.pl --all
安装需要一段时间:
创建数据库,供bugzilla项目存储数据。
安装完成后 修改配置文件
vi localconfig 
clipboard-3

ps:数据库账号必须具有操作索引的权限,否则下一步安装过程会报错

然后执行安装:

 ./checksetup.pl

安装过程中需要输入管理员账号<邮箱>、真实姓名、密码

安装完成

配置虚拟主机:

vi /etc/httpd/conf.d/httpd-vhosts.conf

增加如下内容:

#bug.test.com 
<Directory /home/www/web/bugzilla> 
AddHandler cgi-. .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride Limit
AddHandler cgi-script .cgi
Options Indexes FollowSymLinks
AllowOverride FileInfo Options All
Order allow,deny
Allow from all
</Directory> 
<VirtualHost *:80> 
ServerAdmin admin@admin
DocumentRoot "/home/www/web/bugzilla"
ServerName bug.test.com
ErrorLog "/home/www/web/log/bug.test.com-error.log"
CustomLog "/home/www/web/log/bug.test.com-access.log" common
</VirtualHost>

clipboard-1

重启Apache

service httpd restart

增加解析:略

访问 bug.test.com

clipboard

安装过程中的报错
Software error:
The ./data/params file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 314.
Compilation failed in require at /home/www/web/bugzilla/index.cgi line 19.
BEGIN failed–compilation aborted at /home/www/web/bugzilla/index.cgi line 19.
For help, please send mail to the webmaster (admin@admin), giving this error message and the time and date of the error.
原因:配置文件未修改,安装失败。
转载请注明出处:怡然之乐 – FineYi

 

Blog list & Book list

Blog list
张晏的博客:
酷壳:
服务器运维与网站架构|Linux运维|X研究:
现代简明魔法-数据之美:
阮一峰的博客:
……
 
Book list
《C语言程序设计》- 谭浩强 
《黑客与画家》- Paul Graham (作者), 阮一峰 (译者)
《失控》- 凯文•凯利 (Kevin Kelly) 
……