Hozzuk létre a crowd felhasználót:
# adduser -g users -m crowd
Töltsük le és csomagoljuk ki a legfrissebb Crowd szoftvert:
# su - crowd $ wget http://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-2.4.2.tar.gz $ tar xzvf atlassian-crowd-2.4.2.tar.gz $ rm atlassian-crowd-2.4.2.tar.gz
Állíítsuk be a virtual host konfigurációt:
<VirtualHost *:80> ServerAdmin auth.gabor@javaforum.hu DocumentRoot /var/www/html/ ServerName id.javaforum.hu <Location "/" > ProxyPass http://localhost:8095/ ProxyPassReverse http://localhost:8095/ </Location> ProxyVia On ProxyPreserveHost On </VirtualHost>
Adjuk meg az adatok helyét:
~/atlassian-crowd-2.4.2/crowd-webapp/WEB-INF/classes/crowd-init.properties
crowd.home=/home/crowd/data/
Hozzuk létre az adatbázist:
# su - postgres $ createuser crowd -P Enter password for new role: Enter it again: Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be allowed to create more new roles? (y/n) n $ createdb -O crowd -E UTF-8 crowd242
Majd indítsuk el a szoftvert és kövessük a naplóban az indulás állapotát, illetve fejezzük be a telepítést (és az adatok visszaállítását) a webes felületen:
$ ~/atlassian-crowd-2.4.2/start_crowd.sh $ tail -f ~/atlassian-crowd-2.4.2/logs/atlassian-crowd.log
Page
viewed times
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))