DAVICal - kalendarz sieciowy

System Centos 5.5

yum install postgresql postgresql-server php-pgsql perl-YAML postgresql-devel perl-DBD-Pg
yum install httpd php php-pgsql perl-YAML

http://ovh.dl.sourceforge.net/project/rscds/davical/0.9.9.2/davical-0.9.9.2-1.noarch.rpm
http://heanet.dl.sourceforge.net/project/rscds/awl/0.45/libawl-php-0.45-1.noarch.rpm

ze strony: http://sourceforge.net/projects/rscds/files

 wget http://packages.sw.be/perl-YAML/perl-YAML-0.71-1.el5.rf.noarch.rpm

ze strony: http://packages.sw.be/perl-YAML/

# rpm -ivh libawl-php-0.45-1.noarch.rpm
...
# rpm -ivh davical-0.9.9.2-1.noarch.rpm
... 


/etc/init.d/postgresql start

su - postgres
create user davical_app
createuser --no-createdb --no-createrole davical_app
Answer n to the question
Shall the new role be a superuser? (y/n) n
create user davical_dba
createuser --no-createdb --no-createrole davical_dba
Answer n to the question
Shall the new role be a superuser? (y/n) n



w /var/lib/pgsql/data/pg_hba.conf

dopisać:

local davical davical_app trust
local davical davical_dba trust

przed

# "local" is for Unix domain socket connections only
local all all ident sameuser
host all all 127.0.0.1/32 ident sameuser
host all all ::1/128 ident sameuser

cd /usr/share/davical/dba/
su postgres -c ./create-database.sh

zapisać hasło!!

 /etc/init.d/postgresql restart

http.conf  - DOPISAĆ


   
< Directory "/usr/share/davical/htdocs" >
    Order   deny,allow
    Allow   from all
    < /Directory >
Alias   /cal/   /usr/share/davical/htdocs/ 

Brak komentarzy:

Prześlij komentarz

LinkWithin-4

Related Posts Plugin for WordPress, Blogger...