= Software installed on web3.igeek.co.uk from source = Most of the configs here are lifted from config.nice as generated by autoconf. == Apache == {{{ ./configure --enable-mods-shared="all proxy proxy_http ssl cache disk_cache dav_lock authn_alias" }}} == fcgi == Libraries for the fastcgi protocol. This package doesn't include any server specific modules. Found at: http://www.fastcgi.com/#TheDevKit {{{ ./configure && make && make install }}} == mod_fcgid == A modern replacement for mod_fastcgi that works with apache 2.0+ Download from http://fastcgi.coremail.cn/download.htm To build this, edit the Makefile so that ''top_dir = /usr/local/apache2'' (i.e. the --prefix used for httpd above). Then run make && make install as normal. == modsecurity-apache_1.9.x == Version 2 of this module is not quite ready yet, so 1.9 is installed on web3. Found here: http://www.modsecurity.org/download/index.html This build using apxs will (c)ompile, (i)nstall & (a)ctivate the module. {{{ cd apache2 /apxs -cia mod_security.c }}} Once the module is installed and loaded, download [http://www.modsecurity.org/download/modsecurity-rules-current.tar.gz the current recommended ruleset] and Include them in to httpd.conf. == MySQL == * Download the latest binary, non-glibc2.2 tarball and extract it as root to /usr/local * Create a system level mysql user with useradd -r mysql * Run ./configure to set up the default database * Run bin/mysql_secure_installation to set the root password and remove the test database == PHP == http://uk.php.net/downloads.php {{{ ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-bcmath \ --with-gd \ --with-zlib \ --with-mysql=/usr/local/mysql \ --with-mysqli=/usr/local/mysql/bin/mysql_config \ --enable-ftp \ --disable-debug \ --enable-sysvmem \ --enable-exif \ --with-jpeg-dir \ --with-freetype \ --with-png \ --with-bz2 \ --enable-mbstring \ --with-openssl \ --with-curl }}} ''This is missing pspell & gettext'' == Ruby == http://ruby-lang.org/en/ {{{ ./configure make make install make install-doc }}} == !RubyGems == !RubyGems is a package manager for Ruby like CPAN & PEAR, but less crap. Get the latest tarball from http://www.rubyonrails.org/down extract, then run "ruby setup.rb" == Rails == {{{ gem install rails --include-dependencies }}} == Subversion == Download the latest copy here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74 {{{ #! /bin/sh # # Created by configure "./configure" \ "--with-apxs=/usr/local/apache2/bin/apxs" \ "--with-apr=/usr/local/apache2/bin/apr-1-config" \ "--with-apr-util=/usr/local/apache2/bin/apu-1-config" \ "--with-editor=vim" \ "--with-ssl" \ "$@" }}} The --with-editor isn't necessary, but saves having to set an environment variable. == cronolog == http://cronolog.org/download/index.html {{{ ./configure && make && sudo make install }}}