libevent的安装:
# tar zxvf libevent-1.4.14b-stable.tar.gz
# cd libevent-1.4.14b-stable
# ./configure
# make && make install
# make verify
mcrypt的安装
# tar zxvf libmcrypt-2.5.8.tar.gz
# cd libmcrypt-2.5.8
# ./configure
# make && make install
# ldconfig -v
# cd libltdl
# ./configure --with-gmetad --enable-gexec --enable-ltdl-install
# make && make install
mhash的安装:
# tar jxvf mhash-0.9.9.9.tar.bz2
# cd mhash-0.9.9.9
# ./configure
# make && make install
创建数据库discuz公其使用,并且创建此数据库所属用户:
#mysql -uroot -p
>CREATE DATABASE discuz;
>GRANT ALL PRIVILEGES ON discuz.* TO dzuser@localhost IDENTIFIED BY 'lee';
>FLUSH PRIVILEGES;