|
死机后屏幕没有显示,只得掉电重起,系统日志里也找不到相关错误信息
应该不是操作系统本身的问题,我在redhat7.2和lfs上都会出现同样的问题
我想可能是软件安装和配置哪儿有问题
apache,php的安装脚本:
- [root@localhost root]# more apache_install.sh
- cd apache_1.3.27 &&
- ./configure &&
- cd .. &&
- cd php-4.3.2 &&
- ./configure --with-mysql --with-apache=../apache_1.3.27 &&
- make &&
- make install &&
- cd ../apache_1.3.27 &&
- ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a &&
- make &&
- make install &&
- cd ../php-4.3.2 &&
- cp php.ini-dist /usr/local/lib/php.ini
- cd apache_1.3.27 &&
- ./configure &&
- cd .. &&
- cd php-4.3.2 &&
- ./configure --with-mysql --with-apache=../apache_1.3.27 &&
- make &&
- make install &&
- cd ../apache_1.3.27 &&
- ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a &&
- make &&
- make install &&
- cd ../php-4.3.2 &&
- cp php.ini-dist /usr/local/lib/php.ini
复制代码
mysql的安装脚本:
- [root@localhost root]# more /mnt/lfstrue/root/mysql_install.sh
- groupadd mysql
- useradd -g mysql mysql
- cd /usr/local
- gunzip < /home/xuguohui/mysql-standard-4.0.13-pc-linux-i686.tar.gz | tar xvf -
- ln -s /usr/local/mysql-standard-4.0.13-pc-linux-i686 mysql
- cd mysql
- scripts/mysql_install_db
- chown -R root .
- chown -R mysql data
- chgrp -R mysql .
- bin/mysqld_safe --user=mysql &
复制代码 |
|