VHCS für FreeBSD

Auf der Suche nach einem VHCS (Virtual Hosting Control System) mit FreeBSD Support, welches auch NGINX unterstützt, bin ich bei i-mscp gelandet (ein Fork von ispCP).

*update* aktuell wird FreeBSD NICHT mehr unterstützt. Es wäre natürlich wünschenswert, wenn sich dies bald wieder ändern würde…

-------------------------------------------------------------------------------------
i-MSCP 1.0.1.4 (beta 4)
-------------------------------------------------------------------------------------

2011-07-24: Torsten Widmann
        - RELEASE i-MSCP 1.0.1.4 beta 4

Distributions:
        - Removed 'configs' directories for distributions that are no longer supported:
          CentOS, Fedora, FreeBSD, Gentoo, OpenBSD, OpenSuse

Ein Installations Port für FreeBSD ist in Planung. Bis dahin muss wie folgt installiert werden:

 Die Beste Unterstützung für FreeBSD sowie am flexibelsten scheint Froxlor zu sein. Also nehm ich das auch 😉

Installation Froxlor unter FreeBSD

cd /usr/ports/sysutils/froxlor
make install clean

 MYSQLS nicht installieren, wenn man den Mysql Server auf einem separaten Server installiert hat. (sonst wird Mysql Server installiert)

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq froxlor-0.9.27 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x [x] DKIM       OpenDKIM for DomainKeys Identified Mail                   x x
x x [x] LIBNSS     Libnss-mysql for authentication                           x x
x x [x] LOGROTATE  Logrotate for log rotation                                x x
x x [ ] MYSQLS     Install/depend on MySQL server                            x x
x x [ ] POWERDNS   Powerdns as DNS server                                    x x
x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq WWWST qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x
x x [ ] WEBALIZER  Webalizer for web statistics                              x x
x x [x] AWSTATS    Awstats for web statistics                                x x
x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq WEB qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x
x x ( ) APACHE     Apache (2.2) as HTTP server                               x x
x x ( ) LIGHTTPD   Lighttpd as HTTP server                                   x x
x x (*) NGINX      Nginx as HTTP server                                      x x
x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq SMTP qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x
x x (*) POSTFIX    Postfix as SMTP server                                    x x
x x ( ) EXIM       Exim as SMTP server                                       x x
x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq IMAPPOP3 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x
x x (*) DOVECOT    Dovecot as IMAP/POP3 server                               x x
x x ( ) COURIER    Courier as IMAP/POP3 server                               x x
x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq FTP support qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x
x x (*) PROFTPD    ProFTPd as FTP server                                     x x
x x ( ) PUREFTPD   Pure-FTPd as FTP server                                   x x
x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x                       <  OK  >                                       x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Abhängigkeiten Installieren

Die Installation erfolgt automatisch, hier die entsprechenden Install Settings:

NSCD aktivieren

vi /etc/rc.conf

und folgendes eintragen:

#-----------------------------------------------#
#       NSCD (Froxlor)                          #
#-----------------------------------------------#
nscd_enable="YES"

Konfiguration

Die Web Files wurden hier installiert:

/usr/local/www/froxlor

Nginx Config

Im Config File von Nginx beim gewünschten Server folgendes eintragen:

    server {
        listen       80;
(...)

        location ^~ /froxlor {
            root /usr/local/www/;
            # handle /admin/*.php requests in here so they're protected by auth_basic
            location ~ \.(php|php3|phtml|inc) {
                include global/fastcgi.conf;
            }
        }
    }

Nginx restarten. Jetzt sollte man Froxlor bereits aufrufen können per

http://meinserver.com/froxlor

Nun den Installationsprozess durchführen. Ist ja selbsterklärend.

Danach unter Server -> Konfiguration die einzelnen Services auswählen (BIND/Nginx/etc) und in der Shell die angezeigten Befehle ausführen. Beachte, dass die Angaben für FreeBSD teilweise fehlen. Dann einfach bei einer anderen Distribution nachsehen und die Befehle für FreeBSD entsprechend anpassen.

asdfasef

Flattr this!

  • *

    Du kannst diese HTML tags verwenden: <a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <s> <strike> <strong>

  • Kommentar-Feed für diesen Beitrag
nach oben