Linux Server NGINX+JDK+TOMCAT+MYSQL+SOLR Complete installation and setup

Source: Internet
Author: User
Tags install openssl openssl solr

1. Environment initialization

1) Install GCC software suite:: Yum install gcc otherwise error configure:error:no acceptable C compiler found in $PATH

2) Install Unzip: Yum install-y unzip zip otherwise will error Unzip:command not found

3) Install the C + + compilation environment: Yum Groupinstall "Development Tools" because later pcre need to be compiled in C + +. Note (Debian system uses command apt-get, corresponding toolkit for build-essential, command usage: Apt-get install build-essential)

4) Install Pcre-devel solve problem yum-y install Pcre-devel

5) Installing Openssl-devel yum-y install OpenSSL openssl-devel

2, install the Nginx article

Step two: Unzip TAR-ZXVF nginx-1.5.9.tar.gz-c/urs/local and enter the directory after decompression

First step: Create a folder/usr/local/nginx

Step three: Set up the configuration information./configure--prefix=/usr/local/nginx

Fourth Step:

Make compile (making is the process of writing source files in various languages into executables and various library files)

Make install to copy the compiled executables and library files to the appropriate place

3, the start of Nginx

Cd/usr/local/nginx/sbin

./nginx

Specific reference to this article http://www.cnblogs.com/kunhu/p/3633002.html

Close Service

To close nginx, PS aux in terminal | grep Nginx, then kill the related process. or enter usr/local/nginx/sbin/nginx-s stop to stop, the command-s indicates that the signal is sent to the Nginx master process.

Linux Server NGINX+JDK+TOMCAT+MYSQL+SOLR Complete installation and setup

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.