Summary of server configuration articles (linux)+(jdk)+(tomcat)+(mysql)+(nginx)+(redis)+(fastDFS)+(mycat)+(git)+(maven) --Rookie Xiaohui

Summary of server configuration articles (linux)+(jdk)+(tomcat)+(mysql)+(nginx)+(redis)+(fastDFS)+(mycat)+(git)+(maven)


This article explains: After a period of study, I summarized the installation methods of server configuration. Published here for sharing and communication learning!


1. Title Technical Introduction:

  1. Linux: Linux is a Unix-like operating system that is free to use and spread freely. Mainstream versions: debian, ubuntu, centos; mostly used for server configuration. I won't introduce too much here, you will Baidu by yourself. The blogger chose Alibaba Cloud's ECS server this time. The system version is Centos 7. The public IP is 120.27.244.176, and the personal domain name is http://www.idse.top/.
  2. jdk: Java development kit. The core of the entire Java, including the Java runtime environment JRE, Java tools and Java basic class library. The necessary environment for java operation, the blogger project is java ssm+maven project. So you need to install jdk.
  3. tomcat: Tomcat server is a free and open source web application server. It is a lightweight application server. It is commonly used in small and medium-sized systems and where there are not many concurrent users. It is the first choice for developing and debugging JSP programs. Free, fast, convenient, and easy to deploy. These features make him our preferred server.
  4. mysql: MySQL is a relational database management system. Due to its small size, high speed, low total cost of ownership, especially the feature of open source, the development of small and medium-sized websites generally chooses MySQL as the website database. The blogger project database uses mysql database.
  5. nginx: Nginx (engine x) is a high-performance HTTP and reverse proxy web server. Nginx acts as a proxy server. Here we mainly use nginx to configure load balancing so that two identical projects deployed on two ECS servers can be accessed by users with the same domain name. Use one domain name to map two ips. Configure the load to make the project better face high concurrency.
  6. redis: It is an open source log-based, Key-Value database written in ANSI C language, supporting the network, memory-based or persistent. A high-performance key-value database. Thanks to the nginx proxy server above. When the client accesses the project, it is likely to access the same project on our two servers. Our project session sharing problem requires the use of redis for short-term shared storage.
  7. fastDFS: FastDFS is an open source and lightweight distributed file system. It manages files. Its functions include: file storage, file synchronization, file access (file upload, file download), etc., which solves the problem of large-capacity storage and load balancing. problem. The function of uploading and downloading pictures is used in the blogger project. Using fastDFS to make a gallery of your own is perfect.
  8. mycat: Mycat is an open source distributed database system. Mycat is a database middleware, which can also be understood as a database agent. The three major functions of mycat: sub-table, read-write separation, master-slave switching. This is just a simple analog sub-meter function for the time being. It is also used to reduce the read and write pressure of a single mysql database.
  9. Git+maven: realize the fast upload server of Spring Boot project and package it to run

2. Download the software, tools and configuration files that need to be used:

Link: software + tools + configuration file
Extraction code: j6ft
Insert picture description hereInsert picture description hereInsert picture description here

Third, the purchase of Alibaba Cloud server, simple configuration connection has been written in the previous blog. In addition, if you have no experience in using linux commands, it is recommended to read the blog post linked below for more details.


Fourth, create security group rules (open ports)

  1. Manage ECSenter description here
  2. Go to the security group of this instance and configure rules.

enter description here
3. Quickly create rules
Insert picture description here
4. Configure the technology ports used below
Insert picture description here


5. Title technology installation method. It’s too long to read, so it’s released separately.

1. Server deployment-"jdk articles"

2. Server deployment-"Tomcat"

3. Server deployment-"mysql"

4. Server deployment-"nginx articles"

5. Server deployment-"redis articles"

6. Server deployment-"fastDFS articles"

7. Server deployment-"mycat articles"

7. Server deployment-"linux load git warehouse code package and run"

Guess you like

Origin blog.csdn.net/qq_39231769/article/details/102571074