全球主机交流论坛

标题: vpsee.com的vps安装lnmp的问题 [打印本页]

作者: wzwen    时间: 2010-8-29 21:46
标题: vpsee.com的vps安装lnmp的问题
系统是debian5.0

首先是mysql,昨天用licess置顶的一键包安装,其他一切正常,惟独mysql有问题,卸载后重复折腾几回,实在受不了,今天换了个干净的系统。再来。结果,问题又来了

我是这样的:
#apt-get install -y mysql-server
后来启动时,提示:
#/etc/init.d/mysql start
#Checking for corrupt, not cleanly closed and upgrade needing tables..


后来,按照licess的一键包上的脚本,开始安装php,结果又有问题来了:
tar zxvf php-5.2.10.tar.gz
gzip -d ./suhosin-patch-5.2.10-0.9.7.patch.gz
gzip -cd php-5.2.10-fpm-0.5.13.diff.gz | patch -d php-5.2.10 -p1
cd php-5.2.10/
patch -p 1 -i ../suhosin-patch-5.2.10-0.9.7.patch
./buildconf --force

到这里,提示:
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf not found.
           You need autoconf version 2.13 or newer installed
           to build PHP from CVS.
make: *** [buildmk.stamp] Error 1


继续编译:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql --with-mysqli --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic --enable-suhosin
提示有错:
configure: error: XML configuration could not be found


vpsee.com这家的vps用的系统模板,应该是他们自己定制的,和别人的不太一样,至今遇到麻烦问题一堆哎。。。

以前在其他家的vps上安装lnmp很简单,不论是用一键包,还是自己编译,都很轻松。。。
作者: cw723    时间: 2010-8-29 21:48
那就不用他们家的.
他们家的真的说不上性价比高
作者: wzwen    时间: 2010-8-29 21:51
标题: 回复 2# 的帖子
不说性价比问题

我主要是想搞明白为什么会出现这样多的问题?有什么好的解决办法?
作者: ramonde    时间: 2010-8-29 21:59
我遇到个VPS商的系统,别家没得的他家有,比如支持MPPE什么的,但别家自带的他却没有,比如VI命令什么,结果VI、VIM还得我自己装
作者: edmin    时间: 2010-8-29 22:01
先全部yum了再说。
作者: hx    时间: 2010-8-29 22:02
PM个ip地址,什么机房的?
作者: wzwen    时间: 2010-8-29 22:08
标题: 回复 5# 的帖子
debian啊
不敢再卸载了,昨天卸载了mysql后,结果再安装,无论如何也安装不上,更新源也不行,只能下载单独编译,结果问题一堆。。。
作者: wzwen    时间: 2010-8-29 22:08
标题: 回复 6# 的帖子
洛杉矶的,IP段是:206.221.221.*
作者: wzwen    时间: 2010-8-29 22:10
今天安装的mysql,启动后进程里可以看到,结果用命令登陆,又出错了。
debian:~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y

昨天编译安装的mysql的问题是,安装正常,命令可以进mysql管理,就是phpmyadmin进不去
作者: feiyd    时间: 2010-8-29 22:19
buildconf: autoconf not found.  
apt-get install autoconf



configure: error: XML configuration could not be found
apt-get install libxml2-dev

其实只是一些依赖问题 . 善用apt-cache
作者: 菠萝    时间: 2010-8-29 22:34
呵呵,我还是习惯用centos
作者: 423300    时间: 2010-8-29 23:23
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) Powered by Discuz! X3.4