- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Linux系统下修改MySQL的root密码
第一种方法: root用户登录系统usr/local/mysql/bin/mysqladmin -u root -p password 新密码enter password 旧密码 第二种方法: root用户登录mysql数据库mysql> update mysql.user set password=password("新密码")where User="root
2010-03-17 16:53:00
372
原创 PHP5.3以上版本更改
这是PHP5.3的新特性,内置了Mysql驱动,无效指定Mysql安装路径,直接输入以下三条即可;--with-mysql=mysqlnd /--with-mysqli=mysqlnd /--with-pdo-mysql=mysqlnd /php.ini-development 既是原先的 php.ini-dist ,在PHP 5.3中,php.ini指定的路径不再是 "/etc",
2010-03-17 16:49:00
421
原创 RHEL安装Apache2 + PHP5 报 cannot restore segment prot after reloc: Permission denied
在源码安装 apache 2.0.x 或 2.2.x 的时候,报错:httpd: Syntax error on line 53 of /opt/apache/conf/httpd.conf Cannot load /opt/apache/modules/libphp5.so into server: /opt/apache/modules/libphp5.so cannot restore se
2010-03-17 16:46:00
404
原创 PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
今天安装PHP5.3,在./configure时,发生错误configure: error: xml2-config not found. Please check your libxml2 installation.根据错误提示需要安装libxml2rpm -qa|grep libxml2得知libxml2已经安装过了只需rpm -ivh libxml2-devel*.*.rpm
2010-03-17 16:34:00
726
原创 exec: g++: not found
在安装Mysql执行Make的时候,报错../depcomp: line 512: exec: g++: not found是gcc-c++没有安装的原因,于是在网上下载了RedHat对应版本的rpm装了上去,又出现error: Failed dependencies:libstdc++-devel = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-5
2010-03-17 13:43:00
1378
原创 checking for termcap functions library… configure: error: No curses/termcap library found
在RedHat rhel5下安装mysql,在./configure时出现错误checking for termcap functions library… configure: error: No curses/termcap library found网上说是ncurses,我rpm -qa |grep ncurses了一下发现已经安装了ncurses,后来发现原来少了ncurse
2010-03-17 13:24:00
563
原创 linux rpm包下载网站
以下是我经常下载的rpm资源网站 http://www.rpmfind.net http://rpm.pbone.net/ http://www.rpmseek.com/
2010-03-17 10:31:00
1173
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅