Basic introduction
The author is a Linux blind. Once only the virtual machine was uploaded through the ubantu-graphics version, I looked at the interface and played a few games on the uninstalled CD.
Look down, over the last few days. Just think about building a Nexus (MAVENPW) game in Linux. There are a lot of problems with almost no prior Linux experience. Also learned a lot of knowledge, but the largest receiving is to let me know the Linux system (DEBIAN6) installation software is really too convenient, it is assumed to be skilled workers, to build a Java EE environment is really minutes. I am here to introduce two kinds of installation.
Installation method
1 manual Installation
1. Download the appropriate package (e.g. jdk6-linux32 version number) online
2. Uploading to the Debian folder via FTP
3. Unzip to the corresponding folder (this folder is usually a standard, basically directly refer to the online tutorial)
4. Configure the software (configure detailed parameters, such as: Boot self-boot, etc., some software also need to configure permissions, etc.)
2 apt mode (super convenient)It is recommended to install this way, but not all Linux supports apt. Debian, Ubantu all support
1. Find software (mainstream such as JDK, Tomcat, FTP tools all have evil,)
Syntax: Aptitude search software Name (the software can be a fuzzy-evil-band wildcard). Suppose to add
Example: Aptitude search tomcat*: See what Tomat version numbers are available
2. Download the specified software
Syntax: apt-get install software name (software name refers to the query results just aptitude search)
such as: Apt-get install Tomat6 (select Y to install it)
Note:
1 if the default value is used directly, the installation of Tomcat is complete.
2 If you need to manage the interface, or test the Tomcat demo, you can install Tomcat6-admin, tomcat-examples.
3. Configuration Software
depending on the details of the configuration, here I introduce the configuration file tomcat, account file (Etc/tomcat/tomcat-users.xml).
1. Open the file and edit
2. Reboot the system reboot (can also reboot Tomcat)
Note:
Such installation must be networked, assuming that the intranet-related secret machine will certainly not be able to use, but because the intranet server environment often will not be frequently updated, so the next pair of external network environment software first execution is usually used to download a good enough.
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Debian Software Installation Foundation (with Tomcat case)