SubMaster NG Server needs MySQL and SPL. == configure it edit 'config.spl' script file == compile it splrun -Nex index.websplb index.webspl (note: after changing the configuration one needs to recompile) == import data from old sm server edit path to old database in oldimport.sh edit vote pattern in oldimport.vp run ./oldimport.sh == alternatively: create empty database mysqladmin -uroot create submaster mysql -uroot submaster < schema.sql == example apache .htaccess file DirectoryIndex index.websplb AddType application/x-httpd-webspl .webspl AddType application/x-httpd-webspl .websplb Action application/x-httpd-webspl /cgi-bin/webspl.cgi RewriteEngine on RewriteRule data/(....)/(..)/(.*)\.patch$ ./?dump=$1$2$3 == creating admin users - create user in web interface - mysql -uroot submaster > update user set user_isadmin = 1 where user_name = 'USERNAME'; - start new session in web interface