Copy files to server

upload.sh
rsync -avP bin *.sql.bz2 postfix www remote_host:

Configure Apache

  • Write template to /etc/apache2/sites-available/lastfinger.com
  • a2ensite lastfinger.com

Configure MySQL

  • Run mysql_secure_installation
  • Populate ~/.my.cnf with username/password
  • Import backup dump

Configure Postfix

Install mail handler script

TODO

Security updates

  • Sanitize all user inputs (from GET/POST data)
  • Set up to use app-specific MySQL credentials

Near-term features

  • Create and use UUIDs as message identifiers instead of MySQL row IDs

Long-term features

  • Implement simple reply composer
lastfinger.txt · Last modified: 2015/08/26 19:40 by dlicious
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki