collect2: ld returned 1 exit status make[2]: *** [xmllint] 错误 1 make[2]: Leaving directory `/usr/local/libxml2-2.6.30' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/usr/local/libxml2-2.6.30' make: *** [all] 错误 2 [root@localhost libxml2-2.6.30]#
./configure --without-zlib --prefix=/usr/local/libxml2安装成功
# vi /etc/my.cnf 在[mysqld]的段中加上一句:skip-grant-tables
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-grant-tables 保存并且退出vi。
重新启动mysqld
# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
#mysql -u root -p
博主分享了在Linux上安装LAMP过程中遇到的问题及解决方案,包括libxml2安装失败、php版本问题及mysql密码遗忘等,并提供了具体的解决步骤。
716

被折叠的 条评论
为什么被折叠?



