So the instructions on the Ubuntu wiki are good, but I found I had to make some slight changes in order to get it to work on the latest (at this time!) Ubuntu LTS version (14.04). I’m not too sure how secure the server is though… comments anyone? Here are the instructions I followed to get it to work
sudo apt-get update
sudo apt-get install tomcat6 tomcat6-docs tomcat6-admin
```"tomcat6-docs" is optional.
* Edit the tomcat user file:
sudo vi /etc/tomcat6/tomcat-users.xml
```…comment out the “” at the bottom of the
sudo vi /etc/default/tomcat6
```...uncommenting the "TOMCAT6\_SECURITY=no" setting so we explicitly don't use the Java security manager iaw the original instructions. I'm inclined to uncomment the "LOGFILE\_DAYS=14" line to keep logfiles to:```
/var/log/tomcat6
sudo apt-get install postgresql
sudo apt-get install pgadmin3
sudo -u postgres psql template1
ALTER USER postgres WITH PASSWORD 'INSERT\_PW\_HERE';
\\q
sudo /etc/init.d/tomcat6 start
#### Anthony -
I’m really happy to hear you found my institutions useful!! Thank you :-)
#### Rune -
Thanks for sharing Anthony! You have saved me for hours of work! As I am a windows-man I found your instructions very helpful. Thank you!
#### Laurie Kepford -
Anthony, thanks for the instructions. I am sure a lot of people have found this helpful, as I did. I have a question. I am looking for any information on running CMDBuild under Tomcat7. Have you tried that yet?
#### Computerlady911 -
I haven’t actually tried it yet. If I do, I will let you know how it goes.
#### Anthony -
Laurie, thank you too - comments like yours keep on encouraging me to continue to blog on tech stuff :-). As for running CMDBuild under Tomcat 7, I haven’t tried it… did you have any errors installing Tomcat 7, or deploying the .war file to Tomcat?
#### Anthony -
Good luck :-).
#### asdf -
Did someone try with Ubuntu 16.04?
#### Anthony -
What operating system are you using?
#### egal -
Hi, after opening http://localhost:8080/cmdbuild i got a mistake: HTTP Status 500 - javax.servlet.ServletException: java.lang.NoSuchMethodError: org.postgresql.Driver.getVersion()Ljava/lang/String;
#### egal -
Ubuntu 16.04
#### William Pinelo Marin -
great work, thanks Anthony.