red hat Enterprise 5 Linux使用EasyDiscuz 5.0.0Beta For Linux i686 架设的LAMP环境成功,但是访问论坛不成功,好象是MYSQL启动不了,这个软件应该是一次全部装好是吧?请大家帮帮忙吧,我搞LAMP都弄了几天几夜了。指点一下我 该怎么弄啊。
下面是安装过程:
[root@y229 edz.tar.gz_FILES]# ./setup.sh
+--------------------------------------------------------------------------------+
Support Information: |
| Author: FlyDragon ,Nanu (Discuz! TEAM) |
| Addr: C#901, GEM Techcenter, No.9 3rd Street of Shangdi, Beijing, China |
| URL: http://www.comsenz.com http://www.discuz.com https://discuz.dismall.com |
| E-mail: ipv6china AT discuz.com |
+--------------------------------------------------------------------------------+
| Copyright: (C) 2006 Comsenz Inc. All rights reserved. |
+--------------------------------------------------------------------------------+
Now, I'll install DiscuzENV Are you sure?(y/n)y
Found old install file:
have /etc/php.ini
no /etc/my.cnf
no /sbin/dzcpl
no /usr/bin/mysql
no /usr/sbin/mysqld
no /usr/bin/myisamchk
no /usr/bin/mysql_install_db
no /etc/rc.d/init.d/mysql
no /etc/rc.d/init.d/mysqld
Backup old install...... [ OK! ]
Now Save file [/etc/php.ini] => [/etc/php.ini.save] : [ OK! ]
Unpack DiscuzENV..... [ OK! ]
Create soft link....Refresh lib cache.... [ OK! ]
rehash shell environment.... [ OK! ]
no user mysql,create it.....Changing shell for mysql.
Shell changed.
You have 1 cpu,Now set thread_concurrency to 2 [ OK! ]
Init Database.... [ Error! ]
Start Database service .... [ OK! ]
Setting mysql root password:...
Please input MySQL root password:
Please verify MySQL root input:
You Have Successful Set MySQL root Password!
The password is saved to /etc/mysql_root_password
/usr/local/EasyDiscuz/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/usr/local/EasyDiscuz/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/usr/local/EasyDiscuz/tmp/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/EasyDiscuz/tmp/mysql.sock' (2)
+------------------------------+
| Discuz! 5.0 Version Select |
+------------------------------+
| 1: Simple-Chinese GBK |
| 2: Simple-Chinese UTF-8 R
| 3: Traditional-Chinese BIG-5 |
| 4: Traditional-Chinese UTF-8 |
+------------------------------+
Please select the version of Discuz! 5.0 Boards (1-4 Defualt is 1):1
unpack discuz and supesite/x-space source code...... [ OK! ]
Clear discuz old cache file... [ OK! ]
Clear supesite old cache file... [ OK! ]
create database ... [ Error! ]
restore database ...... [ Error! ] 这里是什么意思啊?
Change program owner to nobody... [ OK! ]
change some file and directory to 777 mode... [ OK! ]
Please input (dbuser & dbname)
Please input database user: root 这个应该是MYSQL的默认帐号呀,输入三次都不可以
Please input root password: Please verify root password:
please input admin mail address: 123456
Please input bbs Admin password: 123456
Please input (dbuser & dbname)
Please input database user: root 这个应该是MYSQL的默认帐号呀,输入三次都不可以
Please input root password: Please verify root password:
please input admin mail address: sdfs@126.com
Please input bbs Admin password: 123456
Please input (dbuser & dbname)
Please input database user: root 这个应该是MYSQL的默认帐号呀,输入三次都不可以
Please input root password: Please verify root password:
please input admin mail address: love5v20@126.com
Please input bbs Admin password: 123456
Please input (dbuser & dbname)
Please input database user: admin 这个应该是MYSQL的默认帐号呀,输入三次都不可以,只好就随便换了个.
Please input admin password: Please verify admin password:
please input admin mail address: fbcvnvb@163.com
Please input bbs Admin password: 123456
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/EasyDiscuz/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/EasyDiscuz/tmp/mysql.sock' (2)
Discuz install OK,please use 'dzcpl' control discuz start and stop ....
[root@y229 edz.tar.gz_FILES]# dzcpl start
Start mysql server [ OK! ]
Start web server......Starting mysqld daemon with databases from /usr/local/EasyDiscuz/db
STOPPING server from pid file /usr/local/EasyDiscuz/db/mysql.pid
080315 11:32:52 mysqld ended
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK! ]
[root@y229 edz.tar.gz_FILES]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:AE:5A:A0
inet addr:192.168.1.229 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feae:5aa0/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62227 errors:0 dropped:0 overruns:0 frame:0
TX packets:38872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:83849661 (79.9 MiB) TX bytes:2570884 (2.4 MiB)
Interrupt:169 Base address:0x2000
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1263 errors:0 dropped:0 overruns:0 frame:0
TX packets:1263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1907756 (1.8 MiB) TX bytes:1907756 (1.8 MiB)
[root@y229 edz.tar.gz_FILES]# dzcpl start
Start mysql server [ OK! ]
Start web server......Starting mysqld daemon with databases from /usr/local/EasyDiscuz/db
STOPPING server from pid file /usr/local/EasyDiscuz/db/mysql.pid
080315 11:32:52 mysqld ended
下面的附件图片点一下可以看到。
[ 本帖最后由 love5v20 于 2008-3-16 12:35 编辑 ] |