Wiki source for Registry
This is the beginnings of my OpenNIC TLD Registry Howto
%%
./initdb --pgdata=/var/lib/postgresql/7.4/data/
./createuser -P root
./postmaster -p 5432 -k /var/lib/postgresql/ -D /var/lib/postgresql/7.4/data/ -i
exit
cd /usr/src
wget http://optusnet.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
tar xfvz PyXML-0.8.4.tar.gz
cd PyXML-0.8.4
python setup.py build
python setup.py install
apt-get install rt3.6-apache2
apt-get install request-tracker3.6
nano /etc/request-tracker3.6/RT_SiteConfig.pm
/usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password
nano /etc/apache2/sites-enabled/000-default
append before the closing virtualhost tag
Include "/etc/request-tracker3.6/apache2-modperl2.conf"
RedirectMatch ^/$ /rt/
cd /etc/apache2/mods-enabled/
ln -s ../mods-available/rewrite.load .
/etc/init.d/apache2 force-reload
Finally you need to login to rt and grant ""CreateTicket"" and ""ReplyToTicket"" to the group Everyone.
http://host.example.org/rt/
Login as user “rootâ€
Password is “passwordâ€
Configuration > Global > Group rights
Set up a queue :
Configure > Queue > New queue
You can rename the general queue to whatever you want
Create your first SuperUser :
Configure > Users > New User
We’ll call it SupportJedi
Then :
Configure > Global > User Rights > Set SuperUser right to SupportJedi
You may want to edit the templates provided by RT by default :
Configuration > Global > Templates
The most interesting templates are autoreply and resolved.
nano /etc/default/fetchmail
Set START_DAEMON=yes
touch /var/log/fetchmail.log
chown fetchmail /var/log/fetchmail.log
nano /etc/fetchmailrc
set daemon 60
set invisible
set no bouncemail
set no syslog
set logfile /var/log/fetchmail.log
# support@example.org
poll pop.example.org
protocol pop3
username "login-of-support-mailbox" password "verysecretpassword"
mda "/usr/bin/rt-mailgate-3.6 --queue support --action correspond --url http://support.example.org/rt/"
no keep
# support-comment@example.org
poll pop.example.org
protocol pop3
username "login-of-supportcomment-mailbox" password "verysecretpassword"
mda "/usr/bin/rt-mailgate-3.6 --queue support --action comment --url http://support.example.org/rt/"
no keep
cd /usr/src
wget http://optusnet.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
tar xfvz Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py build
python setup.py install
wget http://www.dscpl.com.au/downloads/vampire-1.8-20051219.tar.gz
tar xfvz vampire-1.8-20051219
cd vampire-1.8-20051219
python setup.py build
python setup.py install
cd codev
mkdir /etc/codev-nic
cd ./configuration
cp config.ini.sample /etc/codev-nic/
createdb --host=127.0.0.1 registry
make install
./postmaster -p 5432 -k /var/lib/postgresql/7.4/run -D /var/lib/postgresql/7.4/data/ -i
%%
----
CategoryRegistry
%%
./initdb --pgdata=/var/lib/postgresql/7.4/data/
./createuser -P root
./postmaster -p 5432 -k /var/lib/postgresql/ -D /var/lib/postgresql/7.4/data/ -i
exit
cd /usr/src
wget http://optusnet.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
tar xfvz PyXML-0.8.4.tar.gz
cd PyXML-0.8.4
python setup.py build
python setup.py install
apt-get install rt3.6-apache2
apt-get install request-tracker3.6
nano /etc/request-tracker3.6/RT_SiteConfig.pm
/usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password
nano /etc/apache2/sites-enabled/000-default
append before the closing virtualhost tag
Include "/etc/request-tracker3.6/apache2-modperl2.conf"
RedirectMatch ^/$ /rt/
cd /etc/apache2/mods-enabled/
ln -s ../mods-available/rewrite.load .
/etc/init.d/apache2 force-reload
Finally you need to login to rt and grant ""CreateTicket"" and ""ReplyToTicket"" to the group Everyone.
http://host.example.org/rt/
Login as user “rootâ€
Password is “passwordâ€
Configuration > Global > Group rights
Set up a queue :
Configure > Queue > New queue
You can rename the general queue to whatever you want
Create your first SuperUser :
Configure > Users > New User
We’ll call it SupportJedi
Then :
Configure > Global > User Rights > Set SuperUser right to SupportJedi
You may want to edit the templates provided by RT by default :
Configuration > Global > Templates
The most interesting templates are autoreply and resolved.
nano /etc/default/fetchmail
Set START_DAEMON=yes
touch /var/log/fetchmail.log
chown fetchmail /var/log/fetchmail.log
nano /etc/fetchmailrc
set daemon 60
set invisible
set no bouncemail
set no syslog
set logfile /var/log/fetchmail.log
# support@example.org
poll pop.example.org
protocol pop3
username "login-of-support-mailbox" password "verysecretpassword"
mda "/usr/bin/rt-mailgate-3.6 --queue support --action correspond --url http://support.example.org/rt/"
no keep
# support-comment@example.org
poll pop.example.org
protocol pop3
username "login-of-supportcomment-mailbox" password "verysecretpassword"
mda "/usr/bin/rt-mailgate-3.6 --queue support --action comment --url http://support.example.org/rt/"
no keep
cd /usr/src
wget http://optusnet.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
tar xfvz Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py build
python setup.py install
wget http://www.dscpl.com.au/downloads/vampire-1.8-20051219.tar.gz
tar xfvz vampire-1.8-20051219
cd vampire-1.8-20051219
python setup.py build
python setup.py install
cd codev
mkdir /etc/codev-nic
cd ./configuration
cp config.ini.sample /etc/codev-nic/
createdb --host=127.0.0.1 registry
make install
./postmaster -p 5432 -k /var/lib/postgresql/7.4/run -D /var/lib/postgresql/7.4/data/ -i
%%
----
CategoryRegistry