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

Setting up OS

This guide explains how to setup RedHatLinux9/RedHat ES3,4,5 in order to use Denbun.

This guide shows you minimum settings in order to use Denbun. Please setup and configure your server according to your security policy.
1. Modify the default charset of Apache
Just after the installation of Apache, the default character set is set to "UTF-8". With this setting, you may have a trouble of Mojibake:garbage characters. Please cancel (comment out) this setting.
* In most case, the configuration file of Apache is /etc/httpd/conf/httpd.conf.

[root@xxxxxx ~]# vi /etc/httpd/conf/httpd.conf

# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisati
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
#AddDefaultCharset UTF-8 <- commented out this line
#

2. Modify SELinux setting
Just after the installation of RedHatEnterpriseLinux4, SELinux (Security-enhanced Linux) is set to "enforcing". With this setting, Denbun does not run normally. Please set "permissive" or "disabled" to SELinux.
In most case, the configuration file of SELinux is /etc/selinux/config.

[root@xxxxxx ~]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#    enforcing - SELinux security policy is enforced.
#    permissive - SELinux prints warnings instead of enforcing.
#    disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=permissive <- specify "permissive" or "disabled".
# SELINUXTYPE= type of policy in use. Possible values are:
#    targeted - Only targeted network daemons are protected.
#    strict - Full SELinux protection.
SELINUXTYPE=targeted

3. Restart the server
Restart the server after made changes.
The minimum settings completed.
Please note that the modification of SELinux that this guide shows you is for the easiest way to run Denbun. You should configure SELinux according to your security policy and give Apache demon "write" permission to the directories of Denbun installation.

 
Copyright (C) NEOJAPAN Inc. All Rights Reserved.