Denbun IMAP version Manual
User's Manual | Administrator's Manual | Installation Guide | Initial Settings Guide
Back to Menu
 

Installation Guide - Linux Version (using rpm file)

This section describes how to install Denbun (Linux version).
This explanation assumes that the server OS is a Linux and the web server is using Apache Server.
Please refer to the system requirements on the product web site for Linux distribution supported.
To uninstall Denbun, please refer this guide.

Denbun may now be installed.
Copy the file you downloaded to the web server and install it.
The executable modules will be installed in "/var/www/cgi-bin/dnwml".
The image files and script files will be installed in "/var/www/html/dnwmlroot".

1. Extract archive

Use a super user for the process.

Copy the setup file to a temporary directory,
for example, /tmp.
It assumes that the file you downloaded is denbun-0.0-0.0.i386.rpm.

$ su
Password:
# cp denbun-0.0-0.0.i386.rpm /tmp
# cd /tmp
#

2. Edit and execute package

Add package.

Use rpm command
(the destination directory is /var/www/cgi-bin/dnwml).

# rpm -ivh denbun-0.0-0.0.i386.rpm
Preparing...                ########################################### [100%]
   1:denbun                 ########################################### [100%]
#

The executable modules and data will be installed in "/var/www/cgi-bin/dnwml".
The image files and script files will be installed in "/var/www/html/dnwmlroot".

3. Add the path for the dynamic library

Add the path for the dynamic library to your web server's settings and then restart the web server.

# vi /etc/httpd/conf/httpd.conf
#

Add the following line.

SetEnv LD_LIBRARY_PATH /var/www/cgi-bin/dnwml/lib

Restart the web server after the addition.

# /etc/init.d/httpd restart
Stopping httpd                                            [  OK  ]
Starting httpd                                            [  OK  ]
#

4. Security Measure [Important]

Configure the setting below so that the data directory for Denbun cannnot be executed from browsers.
* Even though Denbun will still operate without the configuration, please make sure to configure it for security purpose.

-> Security Configuration


5. Change owner (* this may not be necessary)

If the "User ID" and "Group ID" of the user who provides HTTP service are not the default settings, change them.

The default of both "User ID" and "Group ID" is "apache".
Set "User ID" and "Group ID" of the directories "/var/www/cgi-bin/dnwml" and "/var/www/html/dnwmlroot" to the user who provides HTTP service
(It assumes that both "User ID" and "Group ID" is "denbun").

# chown -R denbun:denbun /var/www/cgi-bin/dnwml
# chown -R denbun:denbun /var/www/html/dnwmlroot
#

6. Finished

The installation of Denbun completed.

7. Access to Denbun

After the installation, access to the Denbun Management Tool.
Start up a browser and enter the URL.

http://(IP address of server or server name)/cgi-bin/dnwml/dnwmlconfig.cgi?

Set your mail server information in "Initial Settings" and then,

Access to Denbun for Ajax:
http://(IP address of server or server name)/cgi-bin/dnwml/dnwmljs.cgi?

Access to Denbun for Flash:
http://(IP address of server or server name)/cgi-bin/dnwml/dnwmlflash.cgi?


1. Uninstallation

Uninstall Denbun.

1. Uninstall the package

Use a super user for the process.
Uninstall the package.

$ su
Password:
# rpm -e denbun-0.0-0.0
#

2. Finished

The uninstallation of Denbun completed.

 
Copyright (C) NEOJAPAN Inc. All Rights Reserved.