Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 58: Line 58:
  * libnet-finger-perl (Net::Finger)

Contrib-CGI

The CGI back-end server gets passed requests for CGI scripts that come into the front-ends.

Nonbasic Debian Packages Installed

Note: dependencies are not necessarily included here. Installing the enumerated packages should pull all those in too.

Etch

  • Apache
    • apache2-mpm-prefork
    • apache2-prefork-dev
    • libapache2-mod-pubcookie (club package; none exists in debian [yet?])
    • libapache2-mod-auth-kerb (club package; not really used on contrib-cgi, but why not)
  • PHP4
    • php4
    • php4-cgi
    • php4-cli
    • php4-common
    • php4-curl
    • php4-dev
    • php4-gd
    • php4-imagick
    • php4-ldap
    • php4-mysql
    • php4-pgsql
  • PHP5
    • php5
    • php5-cgi
    • php5-cli
    • php5-common
    • php5-curl
    • php5-dev
    • php5-gd
    • php5-imagick
    • php5-ldap
    • php5-mysql
    • php5-pgsql
  • Other scripting langs
    • python
    • ruby
  • Packages for perl modules installed (not including their dependencies):
    • libcrypt-passwdmd5-perl (Crypt::PasswdMD5)
    • libdbd-mysql-perl (DBD::mysql)
    • libdbd-pg-perl (DBD::pg)
    • libdbi-perl (DBI)
    • libwww-perl (LWP)
    • libcrypt-ssleay-perl (Crypt::SSLeay)
    • libgd-gd2-perl (GD)
    • libnet-ldap-perl (Net::LDAP)
    • libarchive-zip-perl (Archive::Zip)
    • libhtml-template-perl (HTML::Template)
    • libnet-finger-perl (Net::Finger)
  • Other nonstandard packages installed:
    • acl (extended POSIX ACLs)
  • Other useful things not likely necessary for operation
    • mysql-client
    • postgresql-client
    • gs

Setup Procedure

  • Install packages
  • apache - debian package
    • configs in /etc/apache2
    • various files in /var/apache
  • mod_auth_kerb (cclub) - installed but not really used on contrib-cgi
  • pubcookie debs (cclub)
    • /var/pubcookie
  • suexec
    • right now, divert debian suexec & copy in our own patched version from apache collections

      • dpkg-divert --divert /usr/lib/apache2/suexec.apache --rename /usr/lib/apache2/suexec
    • could make this into a deb someday
  • multilog for apache
    • symlink /var/apache/logs/apache* to /var/service
    • mess with djbdaemon foo as necessary
  • cwscript collection
    • put cron/contrib_{user,cgi_user}_update.sh in cron
  • add mycontrib to /etc/passwd.system
  • binfmt
    • /var/lib/binfmts
  • php
    • dpkg-divert --divert /usr/bin/php4-cli --rename /usr/bin/php4
    • dpkg-divert --divert /usr/bin/php5-cli --rename /usr/bin/php5
    • cd /usr/bin
    • ln -s php4-cgi php4
    • ln -s php5-cgi php5

Services/Contrib CGI (last edited 2017-01-23 09:05:50 by mdille3@CLUB.CC.CMU.EDU)