Changes

Jump to navigation Jump to search
document how we've integrated the 'deploy_mw_host' packages with qualitybox packages
== Features ==
QualityBox includes these Apache Utilities https://httpd.apache.org/docs/current/programs/ (e.g. Apache Bench, split-logfile)
 
We are currently using the <code>libapache2-mod-php5</code> package to provide the PHP5 module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.The following extensions are built in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv libxml mbstring mhash openssl pcre Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib
 
{{ AI }} We may want to offer different versions of Apache (worker) or PHP (fcgi), or webserver (nginx)
== Mass Virtual Hosting ==
# '''deploy_mw_host''' actually configures Apache (Listen, includes, copy index.php. But, it also does a bunch more too like squid, php, composer, and lua. We would have to decompose this stuff and make it Ubuntu compatible. <ref> Here is the list of packages for example. We either don't need them, or already have them installed
<pre>
- libselinux-python(replaced by AppArmor) - policycoreutils-python(replaced by AppArmor) - gcc(why? not installed) - openssl-devel (we have openssl, and libssl-dev by default) - libcurl-devel(we have libcurl3, but not libcurl4 or any of the dev flavors) - gettext(default - internationalization) - expat-devel(libexpat1:amd64, libexpat1-dev:amd64) - perl-ExtUtils-MakeMaker(why? we don't have any libextutils installed) - php(have; see install_php) - php-ldap(added to install_php) - php-mbstring(have; see install_php; part of libapache2-mod-php5) - php-xml(have; see install_php; part of libapache2-mod-php5) - php-pecl-apcu(commented; see install_php; php5_apcu is the APC User Cache for PHP 5) - php-mysqlnd(have; see install_php) - php-pear-Mail(equiv. is php_mail - Class that provides multiple interfaces for sending emails) I don't believe we need this in 1.27 see: Email_Marketing#MediaWiki I believe we want https://www.mediawiki.org/wiki/Extension:SwiftMailer) - mysql(have mariadb) - MySQL-python(have python_mysqldb; see "install python and libraries") - httpd(have; see install Apache) - ImageMagick(have imagemagick) - squid(not installed) - bzip2(added)
</pre>
These packages were integrated into the 'install miscellaneous packages' task. In particular, we eliminated the SELinux and PolicyCore Utilities because Ubuntu uses [https://wiki.ubuntu.com/AppArmor AppArmor] by default. {{AI}} Although enabled by default (apparmor_status), we might need to implement some profiles like <code>/etc/apparmor.d/abstractions/apache2-common</code>
</ref>
# '''create_new_wiki_on_db_host''' does the database tasks (not really Apache)
4,558

edits

Navigation menu