|
@ -36,6 +36,11 @@ sudo cp -R ./apache/sites-available/* /etc/apache2/sites-available/
|
36
|
36
|
sudo cp -R ./www/* /var/www/
|
37
|
37
|
sudo cp ./util/* /usr/bin/
|
38
|
38
|
|
|
39
|
# Configure Agile-Trac
|
|
40
|
sudo easy_install http://svn.agile-trac.org/BRANCH/AGILE-TRAC/SOURCE/0.11/REL/
|
|
41
|
sudo mv /usr/lib/python2.6/dist-packages/trac /usr/lib/python2.6/dist-packages/trac-orig
|
|
42
|
sudo svn co http://svn.agile-trac.org/BRANCH/AGILE-TRAC/SOURCE/0.11/REL/patch/trac/ /usr/lib/python2.6/dist-packages/trac
|
|
43
|
|
39
|
44
|
# Configure sites available
|
40
|
45
|
sudo rm /etc/apache2/sites-enabled/*
|
41
|
46
|
cd /etc/apache2/sites-enabled; sudo ln -s ../sites-available/devel .
|
|
@ -49,8 +54,13 @@ sudo chown -R www-data:www-data /var/lib/git
|
49
|
54
|
sudo chown -R www-data:www-data /var/lib/trac
|
50
|
55
|
sudo chown -R www-data:www-data /var/www
|
51
|
56
|
|
52
|
|
# Create administrator password
|
53
|
|
sudo htpasswd –c /var/lib/trac/.htpasswd admin
|
54
|
|
|
55
|
57
|
# Restart web server
|
56
|
58
|
sudo apache2ctl restart
|
|
59
|
|
|
60
|
# Create administrator password
|
|
61
|
echo
|
|
62
|
echo ATTENTION
|
|
63
|
echo Please execute the final command listed below to assign an
|
|
64
|
echo administrative password.
|
|
65
|
echo
|
|
66
|
echo sudo htpasswd –c /var/lib/trac/.htpasswd admin
|