...
Gliffy Diagram | ||||
---|---|---|---|---|
|
Shortcut
Everything is all packaged up at http://www.bonsaiframework.com/downloads/0fs-tomcat-linux/,
...
Download
Download the Bonsai Framework pre-packaged 0FS Tomcat setup.
Install by unzipping with a staff sudo enabled account,
Code Block | ||
---|---|---|
| ||
su - serveradmin wget http://www.bonsaiframework.com/downloads/0fs-tomcat-linux/0fs-tomcat.tar.gz # this symbolically points to the latest 64-bit version sudo tar -xvpf 0fs-tomcat.tar.gz exit # leavesudo serverwill adminensure backthe topermissions staff user, |
Then as a staff user, sudo,
Code Block | ||
---|---|---|
| ||
cd /opt sudo mkdir apache sudo chown -R serveradmin:serveradmin ./apache # Make sure serveradmin can use the folder. and users are kept sudo mv /0fs-tomcat/ /0fs-tomcat.1/ sudo mv /home/serveradmin/0fs-tomcat.1/ /opt/tomcat.1/ |
Now create the second instance,
...
Tomcat and serveradmin
I will re-iterated that you should run Tomcat or any public facing service for that matter as serveradmin. As noted in account creation, this is for security reasons. In the event that Tomcat is somehow attacked, the compromise would be limited to serveradmin which has reduced limited priviledges.
...