Introduction
The author is a Linux blind. Previously, he only installed a Ubantu-graphics version on the Virtual Machine. After reading the interface and playing a few games, he unloaded it. After several days of work, I tried to build a nexus (maven private server) on Linux. I have almost no experience in using Linux, So I encountered many problems during the installation process and learned a lot of knowledge. But the biggest receipt is to let me know about the Linux system (debian6) it is really convenient to install the software. If you are familiar with the software, it will take minutes to build a j2ee environment. Here we will introduce two installation methods.
Installation Method 1 manual Installation
1. Download the corresponding software package online (such as the jdk6-linux32 Version)
2. upload files to the Debian directory through ftp
3. decompress the package to the corresponding directory (this directory is usually standardized and can be directly referred to online tutorials)
4. Configure software (configure specific parameters, such as automatic start upon startup, and Configure permissions for some software)
2 This method is recommended for installation in Apt mode (ultra-convenient mode). However, not all Linux systems support Apt, and debian and ubantu support this method.
1. Search for software (mainstream tools such as jdk, tomcat, and ftp are all evil ,)
Syntax: aptitude search software name (the software can be fuzzy or malicious and can contain wildcards ).
For example: aptitude search tomcat *: check which Tomat versions are available.
2. Download the specified Software
Syntax: apt-get install software name (software name refers to the query result of aptitude search)
For example, apt-get install tomat6 (select y for installation)
Note:
1. If the default value is used directly, tomcat installation is complete.
2 If you need to manage the interface, or test tomcat demo, you can install tomcat6-admin, tomcat-examples.
3. Configuration Software
Configuration according to the specific circumstances, here I will introduce the configuration file tomcat, account file (etc/tomcat/tomcat-users.xml ).
1. open the file and edit it.
2. restart the system reboot (or restart tomcat)
Note:
This type of installation must be connected to the Internet. If it is an intranet password-related machine, it cannot be used. However, because the Intranet server environment is usually not updated frequently, therefore, you can download frequently used software in the Internet environment for the first implementation.