Current download of Version 2 as of April 11th does not seem to work with JDK 1.5. Use JDK-1.4.2_xx.
- untar to some place like /usr/local/teamwork
- create a teamwork user and group in /etc/passwd, /etc/shadow, /etc/group
- The permissions on the .sh files in /bin are wrong, and they also have ^Ms at the end of each line
dos2unix blah.sh blah.s
rm blah.sh
mv blah.s blah.sh
chmod +x blah.sh - add to startup.sh:
JAVA_HOME=/usr/java/j2sdk1.4.2_08
CATALINA_HOME=/usr/local/teamwork
export JAVA_HOME CATALINA_HOME - chown -R teamwork:teamwork /usr/local/teamwork
- put latest mysql connector/j in webapps/ROOT/WEB-INF/lib
You may need to put the files from the /lib directory in the the connector/j tar file in there too (theres two of them, jta-spec*.jar and jdbc2_0*.jar)
OH and VERY IMPORTANT -- delete the OLD mysql-connectorblahblah.jar - Edit conf/server.xml and set the port
- su - teamwork
- and startup.sh
- Use a web browser to connect to the machine
- If you screw up without finishing, you can restart the install by stopping the server and then removing /webapps/ROOT/WEB-INF/classes/ap*.xml
If you finish the install and change your mind, deleting the file breaks teamwork. Sorry, go back to step 1.
Setting Up the Web Bit
Just go to http://ip:port/ or http://ip:port/teamwork if you have moved teamwork/webapps/ROOT to teamwork/webapps/teamwork
Follow the steps. The password, when it asks for it, is 'openlab'
The license is based on a client side, MAC address based code. You put the code into an online form and get a key back. For the license, I went to twproject.com and generated a license key based on the code '0' (yes, zero) and saved it to the desktop. See, it makes a code client side using a system call that is Linux specific. So, using Solaris, it didn't generate anything. I'm guessing the function returns either a 0 or a -1 when it fails, so I put 0 into the server side generator, and what do you know, the license key from twproject.com works. I generated it for 100 users. Alternatively, you can do
ln /usr/sbin/arp /sbin/arp
And it is supposed to work, but I have not tried this.
Now its done, so I went to http://ip:port/ and logged in as 'administrator' with no password. That's it.
No comments:
Post a Comment