aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: c4bc3140a204df7dd5d27c7c0b507cc096ab11b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# You need several CPAN modules to use the administrator panel.
# If you use Debian GNU/Linux, you can install them like so (tested on
# Debian 7.0):

# Web panel
apt-get install libcgi-application-perl \
                libcgi-application-plugin-authentication-perl \
                libcgi-application-plugin-autorunmode-perl \
                libcgi-application-plugin-configauto-perl \
                libcgi-application-plugin-session-perl \
                libcgi-fast-perl \
                libfreezethaw-perl \
                libhtml-template-perl


# Fripost Schema
apt-get install libnet-ldap-perl \
                libauthen-sasl-perl \
                libemail-valid-perl \
                libdigest-perl \
                libstring-mkpasswd-perl \
                libnet-idn-encode-perl \
                libmail-gnupg-perl


# Configuration
mkdir -p /etc/fripost-panel/gnupg
chown www-data:www-data /etc/fripost-panel/gnupg && chmod 0700 /etc/fripost-panel/gnupg
cp ./config.in /etc/fripost-panel/
chown www-data:www-data /etc/fripost-panel/config.in && chmod 0600 /etc/fripost-panel/config.in
# Edit /etc/fripost-panel/config.in


# Create a GPG key
sudo -u www-data gpg --homedir /etc/fripost-panel/gnupg/ --gen-key
#   (1) RSA and RSA (default)
#   What keysize do you want? (2048) 4096
#   Real name: Fripost Admin Panel
#   Email address: AdminWebPanel@fripost.org
#   Comment:
# You selected this USER-ID:
#   "Fripost Admin Panel <AdminWebPanel@fripost.org>"