[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 ------------------------------------------------------------------- 2 MyDMS 1.4.3 Installation Instruction 3 ------------------------------------------------------------------- 4 5 6 1. Requirements 7 8 Make sure you have PHP 4.0 or higher installed (when using PHP 4.2 9 you need to set "register_globals" to "on" in your php.ini). MyDMS 10 will work with PHP running in CGI-mode as well as running as module 11 under apache. 12 If you want to give your users the opportunity of uploading passport 13 photos you have to enable the gd-library (but the rest of MyDMS will 14 work without gd, too). 15 16 17 2. Installation & Configuration 18 19 Unzip the downloaded file (mydms-1.4.3.zip) in a directory that is 20 accessible via your web server. 21 22 You will also need to create a directory where the uploaded files 23 are stored. This directory should not be accessible via your 24 web-server for security reasons (create it outside of your www-root 25 directory or put an appropriate .htaccess file in it). 26 27 Next you should set up your Database. Use the included script 28 create_tables.sql. Since the exact procedure differs on the 29 differend database-systems I cannot give you a detailed instruction 30 here. Post any questions concering this problem to the MyDMS-Forum. 31 32 Now edit inc.Settings.php. 33 Open that file (it is located in the "inc"-directory) and set the 34 variables to the correct values (you will find a short description 35 for each variable in the file itself). 36 37 TIP: You can find out your root-directory by placing th following 38 line into a php-file: <? phpInfo(); ?> 39 Open it with your browser and look for "DOCUMENT_ROOT". 40 41 When running into problems with the db-settings read the readme-file 42 in the adodb-directory or post questions to the MyDMS-Forum. 43 44 By default PHP allows only files to be uploaded that are up to 2Mb 45 in size. You can change this limit by editing php.ini: Search for 46 "upload_max_filesize" and set it to the appropriate value (you 47 should also change the value for "post_max_size" and make sure that 48 your web-server does not limit the size either). 49 50 51 3. Install additional languages and themes 52 53 Since version 1.3.1 you have to install additional languages (only 54 german and English are included) manually. You can download language 55 files from dms.markuswestpahl.de/download.html. Unzip the downloaded 56 file in the langauges-dicrectory. 57 The same applies to themes (you have to unzip the downloaded fiels to 58 the themes-directory, of course). 59 60 61 4. Email Notification 62 63 MyDMS allows notification of users via email on new/updated or 64 expired documents. Installing this feature is a little bit more 65 tricky. You need to change the working directory to the 66 "op-directory" and then run the php-executable followed by 67 "op.NotifyMailer.php". This should be done daily. Of course you 68 need not do that by hand: Under Linux use the cron-daemon and 69 under windows the "Scheduled Tasks" in the system configuration. 70 Refer to the corresponding man-pages or the windows help (a sample 71 script (runNotifyMailer.bat) for windows is included). 72 73 74 5. Additional Mime-types 75 76 Each Mime-Type is represented by an icon. You can add additional 77 Mime-Types by placing an image-file in out/images/icons an adding 78 an entry to the $icons array at the end of file inc/inc.OutUitls.php 79 (only for users with PHP experience). 80 81 82 6. Auto-conversion to HTML 83 84 Version 1.3.0 introduces a new feature: Documents can automatically be 85 converted to HTML when uploading. 86 You can enable this feature by setting $_enableConverting (in 87 inc.Settings.php) to true. 88 You will also need to edit $_convertFileTypes (again in 89 inc.Settings.php). This array defines which file-types are converted 90 and how. 91 Under windows Word-, Excel- and Powerpoint-Files are automatically 92 converted using js-Scipts and MS-Office. I tested it with Office 2000 93 and it worked just fine. 94 Under Linux mswordview is used to convert Word-Files by default. 95 Warning: Getting this feature working can be very tricky but if it 96 works it is a great enhancement I think. 97 Especially IIS could cause problems with its IIS-Guest-Account not 98 having enough rights to execute Word or Excel... 99 You will also have to edit your httpd.conf to be able to view the converted 100 files online. Load mod_rewrite and add to following lines to your conf: 101 102 RewriteEngine on 103 RewriteCond %{REQUEST_URI} (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$ 104 RewriteRule (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$ $1op.ViewOnline.php?request=$2:$3 [PT] 105 106 IIS Users can download the IIS Rewrite Engine for example: 107 http://www.qwerksoft.com/products/iisrewrite/ 108 109 Post any questions to the MyDMS forum, please. 110 111 112 113 7. Nearly finished 114 115 Now point your browser to http://your.server.com/mydms/index.php 116 and login with “admin” both as username and password. 117 After having logged in you should first choose "My Account" and 118 change the Administrator's password and email-address.
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |