From popdata
Jump to: navigation, search

Wordpress Admin

We run the backported debian packages from: lenny-backports/main so upgrades are pulled from there.

Adding a new WordPress Blog

  • Add the site to apache config
    • create a file in /etc/apache2/sites-available like this:
<VirtualHost *:80>

        DocumentRoot /var/www
        Alias / /usr/share/wordpress/
        <Directory /usr/share/wordpress>
            Options FollowSymLinks ExecCGI Indexes
            AllowOverride Limit Options FileInfo
            DirectoryIndex index.php
        <Location />
            Options FollowSymLinks ExecCGI Indexes
            Allow from all

        ErrorLog /var/log/apache2/blog_error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/blog_access.log combined
        ServerSignature On
    • enable the site: a2ensite popdata-wwwdev
    • reload apache: /etc/init.d/apache2 reload
  • create the database
cd /usr/share/doc/wordpress/examples
sh setup-mysql

Authentication from Gilbert AD

  • User profiles are fetched from Gilbert Active Directory. For example, corrections to email address made on PD LDAP via PDS will not appear on WordPress.