LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 649|回复: 0

Debian Lenny 安装管理的问题

[复制链接]
发表于 2009-5-15 18:37:28 | 显示全部楼层 |阅读模式
大家好。最近在学习用debian作服务器。用LAMP跑Joomla+Horde-webmail+sugarcrm.但是在作horde-webmail的时候,安装很成功。不过安装完了。不知道怎么登录管理,没有管理密码。看了README也没有明白。清大家指教一下。

下面的我的安装步骤,每步都没有问题。就是最后配置教程上没有说。

安装WIKI
http://wiki.horde.org/DebianHowTo

Installation

Horde Groupware requires some prerequisite software before you can use it. In addition, there are other software packages which, while
not required, are recommended as without them you will experience very limited functionality. The following helps you to
install the required and recommended software packages on a Debian Etch (4.0) System.

*There is also a Horde 'Groupware Webmail Edition' this will not be the part of this how to*
*This how to will not cover your mailserver setup.*

*Note: this how to is just a draft and not really perfect - feel free to edit it and make it better*
Debian specific

I started with a new and fresh Debian(openvz-image)
You should update your system.

apt-get update && apt-get dist-upgrade

Install Apache and php and modules

apt-get install libapache2-mod-php5 apache2 apache2-mpm-prefork


You need the cli for the horde setup script!

apt-get install php5-cli


These php modules are needed for horde Groupware

apt-get install php-pear php5-gd php5-ldap php5-mcrypt php5-memcache


For webmail you need the imap extension

apt-get install php5-imap


If you want to use mysql as Database backend, you should install the php5-mysql extension

apt-get install php5-mysql


If you want to you postgresql as Database backend install php5-pgsql

apt-get install php5-pgsql

Install Database

For Mysql

apt-get install mysql-server


You will be asked for a mysqlroot password - don't forget it ;)
After that you need to create a user and create grants.

mysql -p -e 'CREATE USER HORDE ...'


mysql -p -e 'grant all on horde.* to horde@localhost identified by "horde";'

Install Horde Groupware

Download and unpack it

wget [tarball]
cd /root
tar -xvf horde-webmail-1.0.1.tar.gz

copy to /var/www and change owner

cp -r /root/horde-webmail-1.0.1 /var/www/horde
chown -r www-data:www-data horde


with php5-cli start the setup script

php5 -q /var/www/horde/scripts/setup.php
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表