Deploying java development web application under linux, generally adopts Tomact+jre environment (can not need apache), under RHEL and CentOS, you can use yum online automatic installation mode to install, the specific operation is as follows:
1, the basic environment installation configuration, such as operating system
(I use Centos6.3), network and host basic configuration, etc.
2, yum install tomcat:
yum - y install tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat6-docs-webapp tomcat6-javadoc
yum install tomcat will automatically install related software, such as jre environment, so do not need to separate Install jre.
3, yum installation after the tomcat directory Description:
configuration file directory: /etc/tomcat6
installer main directory: /var/lib/tomcat6/
After Centos is installed with Centus, the Tomcat-related directories have been symbolically linked to the /usr/share/tomcat6 directory, including webapps, etc. This is very convenient for us to configure management [root@tomcattest tomcat6]# ll /usr/Share/tomcat6 total usage 4drwxr-xr-x. 2 root root 4096 October 19 00:44 binlrwxrwxrwx. 1 root tomcat 12 October 19 00:44 conf ->/etc/tomcat6lrwxrwxrwx. 1 root root 23 October 19 00 :44 lib ->/usr/share/java/tomcat6lrwxrwxrwx. 1 root root 16 October 19 00:44 logs ->/var/log/tomcat6lrwxrwxrwx. 1 root root 23 October 19 00:44 temp -> /var/cache/tomcat6/templrwxrwxrwx. 1 root root 24 October 19 00:44 webapps ->/var/lib/tomcat6/webappslrwxrwxrwx. 1 root root 23 October 19 00:44 work -> var/cache /tomcat6/work
4. Modify port 8080 to 80: 80 port is not occupied. You can use netstat -nat to check if port 80 is in use. a) Modify the 8080 in the following field of the vi /etc/tomcat6/server.xml file to 80
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />b)Because in Centos6, the system does not allow tomcat users to use ports below 1024, so you need to modify vi /etc/tomcat6/Tomcat6.conf found CONNECTOR_PORT="8080" and commented out, add the following two lines: TOMCAT_USER="root"CONNECTOR_PORT="80" Note: The security of this is to be verified
c) Run the service tomcat6 restart command to restart the tomcat service. After accessing the page, you only need to enter the IP or host name, and you no longer need to add the port number.
Add ftp user in linux, and set the corresponding permissions, the operation steps are as follows: 5
(1) Ifconfig command The first type uses the ifconfig command to configure the ip
If you are a Linux user, you may have heard that you dont need to defrag your Linux files system. Yo
If you want to try a desktop system other than Mac and Windows, Linux should definitely be your fir
In the future, Linux wants to put Flash in Chrome
Linux system command make, clean usage explain
How to install bt5 - bt5 combat installation tutorial under windows8 system
Troubleshooting of UNIX operating system printing failures
Nginx configuration reverse proxy server
Memcache installation under Linux (with libevent installation) Tutorial
How to make the Linux host open pseudo-static
Ubuntu format U disk method (based on formatting commands)
Linux mkdir function mode permission setting
Fedora 18 will support UEFI Secure Boot
VirtualBox installation configuration and new virtual machine
How to configure NFS server under Linux?
Inter-process communication in the Linux environment: pipelines and well-known pipelines
IE browser flashback problem under Win8 system
How does Win10 use a restore point to restore the system?
How does the win10 system view the disk test results?
How to use Win10 Android simulator? Win10 Android simulator tutorial
Modifying the registry to make Windows XP quickly copy files
Twelve Maxthon browser feature enhancement plugins
How does win7 adjust the system menu bar font size separately?