blob: e437f9a2f9619f3d29aa78eade5d6b39017ce962 (
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
54
55
56
57
58
59
60
61
62
|
# 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 \
libstring-random-perl \
libnet-idn-encode-perl \
libmail-gnupg-perl \
libnet-whois-parser-perl libnet-whois-raw-perl
liburi-escape-xs-perl
cpanp install Net::DNS::Dig
liburi-escape-xs-perl and 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
# Validator
apt-get install libwebservice-validator-html-w3c-perl libxml-xpath-perl
# 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/
sudo chown -R root:www-data /opt/fripost-panel/
sudo ln -s /opt/fripost-panel/bin/fripost-panel /usr/local/sbin/
# 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
|