wiki:configure_new_server

Setup Debian Server for May First/People Link

The process for setting up a new MFPL shared server is now automated via new server setup scripts.

These scripts are all designed to be run from your local workstation, not from the server being worked on.

Prerequisites:

  • Virtual machine created, with debian lenny installed
  • ssh installed on server and local machine
  • pwgen installed on local machine
  • It's best if the mysql root password is set to "" on the server, it will be changed to something more secure

To setup a new server:

  • checkout the admin svn repository.
  • Add the server to the servers-available and then create a symlink to servers-enabled
  • Change into the admin/scripts directory
    cd admin/scripts
    
  • Run the execute-directive command, passing the name of your target server (the hostname, not fully qualified domain name) and "standard" to indicate that it should install all directives in the standard profile:
    ./execute-directive <server-name> standard
    
  • Add the server to the list of mail servers in village. Village is available via svn. The file to edit is trunk/village/ihtml/main.ihtml.
  • Add the server to the server lists for both Horde/Imp and Squirrel mail by editing the following files:
    stallman:/usr/share/squirrelmail/plugins/multilogin/config.php
    stallman:/usr/local/share/horde-live/imp/config/servers.php
    
Last modified 9 years ago Last modified on Sep 17, 2010, 2:27:30 PM