Project

General

Profile

RE: Webdav plugin ยป redmine_webdav_on_opensuse.txt

Peter Philipp, 2010-10-23 14:34

 
1
### Requirements ###
2

    
3
    - mod_perl for Apache
4
		* To check if already installed use on of these approaches:
5
			* Command: #> apache2ctl -M
6
			* Command: #> a2enmod -l
7
			* Check the apache2 loadmodule.conf. Possible location: /etc/apache2/sysconfig.d/loadmodule.conf
8
		
9
		* If module isn't listed, install it using this commands:
10
			* Download: #> yast2 ?install apache2-mod_perl
11
			* Enable module: #> a2enmod mod_perl
12
		
13
    - perl DBD::mysql library 
14
		* To check if already installed use one of following approaches:
15
			* Command: #> perldoc perllocal 
16
				Check the output for an entry like this "Fri Oct 22 22:32:51 2010: "Module" DBD::mysql"
17
			* Search for mysql.pm in your filesystem. E.g using command: #> find / -name mysql.pm
18
		* If module isn't listed, install it using this command: #> /usr/bin/perl -MCPAN -e 'install ?DBD::mysql?'
19

    
20
### Redmine WebDav Plugin Installation ###
21

    
22
Follow the guide here: http://github.com/amartel/redmine_webdav 
23

    
24
Additional information to the guide:
25

    
26
1. Works as described
27

    
28
2. ?gem install unicode? throws errors, but works
29

    
30
3. Webserver configuration:
31

    
32
    * The file RedmineAdavanced.pm has to be put into a pearl include path.
33
		* You can check for possible include paths with these approaches:
34
			* Check how mod_perl for Apache is configured. To do so use this command: #> grep "use lib" -R /etc/apache2/
35
			* Check the output of following command for "@INC:" - that's the list with include dirs. Command: #> perl -V 
36
    * The <Location /****> directive will fit in the /etc/apache2/vhosts.d/yourhost.conf. Don't forgett to change the Location directory and the DB connection parameters.
37

    
38
7. On Windows it can be tricky to get it running natively. These tools should work:
39
    * http://www.netdrive.net/download.html (Make sure you hit the ?Advanced? button and activate HTTPS)
40
    * http://www.bitkinex.com/
    (1-1/1)