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

Installation Guide - Linux Version (using gz 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 following installation process is assuming that the executable directory is "/var/www/cg-bin/dnwml".

1. Extract archive

Use a super user for the process.

Copy the setup file to the installation directory.
It assumes that the installation directory is "/var/www/cgi-bin" and setup file name is dnwmlxxx.tar.gz.

$ su
Password:
# cp dnwmlxxx.tar.gz /var/www/cgi-bin/
# cd /var/www/cgi-bin/
#

Expand the file using tar command.

# tar zxvf dnwmlxxx.tar.gz

Directory "dnwml" will be created and the following directories and files will be extracted.

# ls dnwml
FILELIST       README.ja           dnwmlcp             dnwmljs.cgi
INSTLNXGZ.en   dntranslation.cgi   dnwmldata           dnwmllocal
INSTLNXGZ.ja   dnwml.cgi           dnwmldir.cgi        dnwmlpage
INSTLNXRPM.en  dnwmlattdwlbat      dnwmldirbat         dnwmlroot
INSTLNXRPM.ja  dnwmlattdwlcomp.sh  dnwmldwlbat         lib
LICENSE.en     dnwmlbat            dnwmldwlcomp.sh     t_p_s_license
LICENSE.ja     dnwmlcom.cgi        dnwmlfile.cgi
README.en      dnwmlconfig.cgi     dnwmlimportuserbat
#

Please note that you should read LICENSE and README file.

2. Move dnwmlroot to document root

Move the extracted directory.
If the document root of your web sever is /var/www/html, move dnwmlroot to there.

# mv dnwml/dnwmlroot/ /var/www/html/
#

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

The following installation process is assuming that the executable directory is "/var/www/cg-bin/dnwml" and Denbun is installed there.

1. Remove directories

Remove the directories that the files for Denbun are stored
(It assumes that www home directory is "/var/www/html").

# rm -rf /var/www/html/dnwmlroot
# rm -rf /var/www/cgi-bin/dnwml
#

2. Finished

The uninstallation of Denbun completed.

 
Copyright (C) NEOJAPAN Inc. All Rights Reserved.