Getting Started – Ubuntu
2 System setup
First edit the file
/var/lib/locales/supported.d/local
to include the needed locales. A complete list of supported
locales can be found in the file
/usr/share/i18n/SUPPORTED
.
Default language for AVHS is US English; the installation package also includes a Swedish translation. Include these two locales, i.e.
en_US ISO-8859-1
and
sv_SE ISO-8859-1
in the locales file. Include additional locales as needed.
After editing the file, run
# dpkg-reconfigure locales
Default language for AVHS is US English; the installation package also includes a Swedish translation. Select these locales,
en_US
ISO-8859-1
,
en_US UTF8
and
sv_SE ISO-8859-1
. Select additional locales as needed.
2.5.5 Install and configure SSL
AVHS requires
OpenSSL
and not simply the
libssl
library. Note that, OpenSSL has already been installed when you installed
PHP5 as described in
# a2enmod ssl
Edit the
ports.conf
file to include the ports below.
Note
Make sure to verify that
Listen 80 and Listen 443
are not used anywhere else in the
ports.conf
file before
adding it through this step.
# vi /etc/apache2/ports.conf
Listen 80
Listen 443
Comment the line:
NameVirtualHost *:80
to
# NameVirtualHost *:80
Example:
# NameVirtualHost *:80
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
2.5.6 Set up SSL certificates
Use the provided script to create a self-signed certificate. The
Common Name
must be the same as the DNS name of your host.
This must be run as user
sts
:
# su - sts
% cd /home/sts/current/bin/
% ./generate_self_signed_certificate.sh
Create the directory for the certificate files (
server.key
and
server.pem
) and copy them there. It is recommended to use a
directory that is not version-specific. This must be run as user
sts
:
% mkdir /home/sts/etc/ssl
10