cancel
Showing results for 
Search instead for 
Did you mean: 

Install Alfresco Labs on VPS via Plesk

matsie
Champ in-the-making
Champ in-the-making
Hi,

I am new to Alfresco and VPS.
Currently, I am running a VPS on Ubuntu 8.04 LTS and use Plesk 8.6. In Plesk I created a Client and assigned a Domain mydomain.com. Now I would like to install Alfresco in such a way that I can reach Alfresco via mydomain.com/alfresco.

In Plesk I saw that the war file of Alfresco Labs can be uploaded via Tomcat. But after the upload it does not work.

Maybe there's is also a workaround not using Plesk.

Any help is much appreciated as I am somewhat stuck.

Thanks in advance.
BR
Mat
4 REPLIES 4

matsie
Champ in-the-making
Champ in-the-making
Hi,

Has anybody experience in installing Alfresco on a Server or VPS that runs on Ubuntu or any Debian distribution? If you do so, please let us know how the setup works.

Thank you in advance.
Kind regards,
Mat

matsie
Champ in-the-making
Champ in-the-making
Well I am still trying to install Alfresco on the server, but not anymore via Plesk but directly in the shell of Ubuntu 6.06 LTS.

After having installed Alfresco I get the following error message:
/etc/init.d/alfresco start
Starting OpenOffice service …
Setting up iptables …
Redirecting port 21 to 2021 (tcp)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Redirecting port 445 to 1445 (tcp)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Redirecting port 139 to 1139 (tcp)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Redirecting port 137 to 1137 (udp)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Redirecting port 138 to 1138 (udp)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
Starting Alfresco …
Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun
root@lvps92-51-134-37:~# /usr/bin/xvfb-run: line 153: /usr/lib/openoffice/program/soffice: No such file or directory

Apparently, there are 2 issues:
1) How to setup the iptable properly in order to address the subdomain?
2) How to include Openoffice on the server? (The repos for OO at Ubuntu 6.06 do not seem to be available)

BR
mat

andrestu3w
Champ in-the-making
Champ in-the-making
Hello
Returning to the theme, if someone has managed to install alfresco in plesk, please would help me giving me a guide or describe the documentation to install alfresco step by step in plesk VPS ubuntu.

Also, I uploaded the war file to a specific domain, but not as run or install. I heard that I installed via Tomcat, but as I do.

If anyone has any suggestions I would appreciate it ..

Management and Web Support
Andres Jacome

http://www.tu3w.net

TU3W Integrated Web Solutions

trialot
Champ in-the-making
Champ in-the-making
Installing alfresco on plesk, some comments: 

A - alfresco.war is too big for uploading in a normal plesk setting
Resolution: change the php config files for plesk

B - alfresco.war deployment in tomcat results in overload in memory
Resolution: go to ssh console and change the available memory for the underlying tomcat server (of plesk)

C - alfresco.war is running for the first time and setting up….but fails to make database connections
Resolution: if you have created the databases properly, this failure often implies memory overload (see B).

D - General solution
Try to copy the alfresco.war/share.war files in the tomcat webapp directory for the plesk tomcat server. Just use SSH, easy does it (be aware: follow the symlinks and put it in the proper directory)
NOTE: if you do it like this (to be advised), no entry is visible on the tomcat/java panel that is visible on the domain. And that is not good on the one hand and good on the other hand (nobody having incentives to mess with it).
So,this drawback is a sort of (not intended) security feature.

E - Tomcat server out of date
The plesk java/tomcat server is REALLY OUT OF DATE. So, just enter SSH and install a (newer) tomcat server and point plesk (using symlinks) to this newer server. That really does work, plesk will not be bothered by it.

F - Tomcat server using JRE
The plesk tomcat server is using a JRE, instead of the JDK. And that is not a real problem, but point the tomcat server out to a JDK instead. Just change the tomcat setting in a normal fashion.

F - IMPORTANT
Plesk is using ONE tomcat server for all domains. Not good. And, in some cases, people are allowed to mess with the tomcat/java server, by starting/changing apps/etc etc.  And when one person decides to stop the server, all applications running on the tomcat server are being shutdown. Hence, try to be careful.

G - GENERAL remark
Just use a separate tomcat installation (and separate JDK) and do not use plesk's tomcat server.

If you have a good look at the plesk tomcat server (and the config files), you have some hints for proper settings of tomcat that allow you to serve your customers in the same way plesk intends to do. But now you do not have the drawbacks of the Plesk server.

Please NOTE: i mentioned this stuff three years ago to the Parallels (Plesk) and nothing changed yet. I sincerely hope that they allow better management of webapps via the control panel. Until then, just use your own tomcat server.