aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 26a14781e10167ee645e4da71098e6fe02d94931 (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
43
44
45
46
47
48
49
50
51
52
53
# 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 \
                liburi-escape-xs-perl


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


liburi-escape-xs-perl libnet-idn-encode-perl are not available on Debian 6.0
(Squeeze). To install these dependencies on Debian < 7.0, run

    cpanp install Net::IDN::Encode URI::Escape::XS


# Configuration
sudo adduser --system fpanel --home /var/lib/fripost-panel --shell /bin/false --group www-data
sudo mkdir -p /etc/fripost-panel/ /var/lib/fripost-panel/gnupg
sudo chown fpanel:nogroup /var/lib/fripost-panel/gnupg && sudo chmod 0700 -R /var/lib/fripost-panel/
sudo -u fpanel cp ./config.in /etc/fripost-panel/ && sudo chmod 0600 /etc/fripost-panel/config.in
sudo chown -R fpanel:www-data /etc/fripost-panel/
# Edit /etc/fripost-panel/config.in


# Create a GPG key
sudo -u fpanel gpg --homedir /var/lib/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>"

# Kerberos
# TODO