First, I'm a complete newbie to Linux and Tomcat. I'm not technical either. I get my stuff done by feeling my way around the dark until things work. I do read a lot though.
I have a dev machine (Windows 7) with the following config:
c:\dev\apache\
c:\dev\tomcat7\
c:\dev\sites\site1
c:\dev\sites\site2
I just created an Amazon Linux EC2 instance and I want to upload my stuff and have the same structure.
- Is there any reason I shouldn't replicate my structure from dev to the EC2 instance?
- Are there any security concerns or things to keep in mind now that I'm using Linux?
I read that a) it's better to install Tomcat in /usr/local/tomcat and b) that if I am installing Tomcat myself, I should create a user group for it.
I usually login to ec2 and type sudo su then I do a wget to download and install Tomcat.