1 - LogicalDOC
Table of Contents
1 Add Packages & Update Current Packages 2
2 Enable Syntax Highlighting for VIM 2
3 Switch Java to Sun Java 6 2
4 Tomcat 6 Configuration 2
4.1 Edit the default file for Tomcat 6 2
4.2 Edit the tomcat-users.xml 3
4.3 Configure SSL 4
4.4 Edit the server.xml 5
4.5 Restart Tomcat 6 Service 6
5 Configure PostgreSQL 6
5.1 Configure Access 6
5.1.1 Change postgres User Password 6
5.1.2 Import Additional Schema 6
5.1.3 Edit the postgresql.conf 7
5.1.4 Edit the pg_hba.conf 7
5.2 Restart PostgreSQL 8
5.3 Configure Database for Logicaldoc 8
6 Install Logicaldoc 8
6.1 Upload WAR File 8
6.2 Upload Email Plugin 9
6.3 Create Directory for Logicaldoc Documents 9
6.4 Setup Logicaldoc 9
7 Configure Email Plugin 13
8 Modify File Size for Uploads to Logicaldoc 13
8.1 Modify the web.xml 13
8.2 Restart Tomcat 6 Server 13
9 Configure Windows XP Workstations for Webdav 13
10 Configure Backups 17
10.1 Create Mount Directory and Verify Connectivity 17
10.2 Configure Share to Automatically Reconnect 17
10.2.1 Create File with for the User Credentials 17
10.2.2 Edit the fstab File 17
10.3 Create Backup Script & Schedule Cron Job 17
10.3.1 Create the Backup Script 17
10.3.2 Add Script to cron.d 18
11 Troubleshooting 19
11.1 CIFS problems 19
11.1.1 Version of CIFS 19
11.1.2 Enable Debug for CIFS 19
1 Add Packages & Update Current Packages
It is assumed that the user is logged in and has sudo privilege. These steps are performed from the command line.
1. Type sudo apt-get install pgadmin3 vim sun-java6-jdkp, and then press Enter
2. Type in the password for the user account
3. Press Enter to accept the install of the new packages.
4. Press Tab to highlight OK, then press Enter to accept terms for Configuring sun-java6-jre
5. Move the cursor to the left to select Yes for agreeing with the DLJ license terms
6. Type sudo apt-get update, press Enter
7. Type sudo apt-get upgrade, press Enter
8. Press Enter to accept the install of the packages that will be upgraded
Enable Syntax Highlighting for VIM
1. Type sudo vim /etc/vim/vimrc, press Enter
2. Scroll down and find the commented out line “syntax on
3. Press I to edit, delete the “
4. Press Esc, then type :wq
5. Press Enter
Switch Java to Sun Java 6
1. Type update-java-alternatives –l to verify that Sun Java 6 is installed
2. Type sudo update-java-alternatives -s java-6-sun
Tomcat 6 Configuration
1 Edit the default file for Tomcat 6
1. Type sudo vim etc/default/tomcat6, press Enter
2. Press I to edit
3. Remove the # to uncomment TOMCAT6_USER=tomcat6
4. Remove the # to uncomment JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk
5. Change JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk to JAVA_HOME=/usr/lib/jvm/java-6-sun
6. Remove the # to uncomment CATALINA_BASE=/var/lib/tomcat6
7. Remove the # to uncomment JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"
8. Change –Xmx128M to –Xmx900M
9. Remove the # to uncomment TOMCAT6_SECURITY=yes
10. Change TOMCAT6_SECURITY=yes to TOMCAT6_SECURITY=no
11. Press Esc, then type :wq
12. Press Enter
2 Edit the tomcat-users.xml
1. Type sudo vim /etc/tomcat6/tomcat-users.xml, press Enter
2. Scroll down to the section
3. Press I to edit
4. Remove the comments
[pic]
5. Delete the line
6. Under the last role type the following , press Enter
7. Type
8. Delete the line , and
9. Under the last user type the following , press Enter
10. Type
Note: Change the password to something other than password!
11. Change the password for the tomcat user
[pic]
1. Press Esc, then type :wq
2. Press Enter
3 Configure SSL
These steps will create a certificate request that can will either be a self signed certificate or use the certificate request and have it signed be another Certification Authority (CA). Notes will be mentioned for creating a certificate request that will be singed by an Entrust CA.
1. Type cd /etc/tomcat6, press Enter
2. Type sudo keytool -genkey -v -alias tomcat -keyalg RSA -keysize 2048 -keystore tomcat.jks -storepass logicaldoc -keypass logicaldoc
3. Press Enter
4. Type in the correct value for the prompts that follow.
Note: The first and last name needs to be the FQDN that will be used to access the server. Use the Entrust Reference number for the first & last name and leave the other fields blank if certificate request is going to be signed by an Entrust CA.
[pic]
5. Type yes, press Enter
[pic]
6. Type sudo keytool -certreq -alias tomcat -keyalg RSA -keystore tomcat.jks -storepass logicaldoc -file tomcat-ssl-request.p10
7. Press Enter
8. To generate a self signed certificate type sudo keytool -selfcert -alias tomcat -keystore tomcat.jks, press Enter. Otherwise take the tomcat-ssl-request.p10 to get signed by a CA.
Note: The next steps are only if the certificate request was signed by a CA. It will be assumed that the signed certificate request and CA certificates have been uploaded to the server directory /etc/tomcat6
9. Type sudo keytool -trustcacerts -import -keystore tomcat.jks -storepass logicaldoc -alias SubCA -file subca.crt
10. Press Enter
11. Type sudo keytool -trustcacerts -import -keystore tomcat.jks -storepass logicaldoc -alias RootCA -file rootca.crt
12. Press Enter
13. Type sudo keytool -import -trustcacerts -alias tomcat -keystore tomcat.jks -storepass logicaldoc -file logicaldoc.crt
14. Press Enter
4 Edit the server.xml
1. Type sudo /etc/tomcat6/server.xml, press Enter
2. Press I to edit
3. Scroll down to Connector port="8080" protocol="HTTP/1.1"
4. Change port=”8080” to port=”80”
5. Change redirectPort="8443" to redirectPort="443"
[pic]
6. Scroll down to ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- using the dawg alert system
- locate outlook express store folder
- installation back out and rollback plan template
- 1 logicaldoc
- window grills purchase and or install commercial items
- windows 98 networking and troubleshooting
- vista imaging exchange vix service installation guide
- performing an attended installation of windows xp
- cloud managed services and transition services pws
- email template
Related searches
- 1 or 2 374 374 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 374 374 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 711 711 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 711 711 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 693 693 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 693 693 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 593 593 1 0 0 0 1 or 2dvchrbu 168 1 1 default username and password
- 1 or 3 593 593 1 0 0 0 1 or 2dvchrbu 168 1 1 default username and password
- 1 or 2 910 910 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 910 910 1 0 0 0 1 168 1 1 default username and password
- 192 1 or 2 33 33 1 0 0 0 1 1 1 default username and password
- 1 or 2 364 364 1 0 0 0 1 168 1 1 admin username and password