Back-end Windows software environment installation and configuration collection [JDK, Redis, RedisDesktopManager, Mysql, navicat, VMWare, finalshell...continuously updated]


foreword

In order to consolidate the knowledge learned, the author tried to start publishing some blogs of learning notes for future review. Of course, it would be great if it could help some newcomers learn new technologies. The author is a piece of food. If there are any mistakes in the records in the article, readers and friends are welcome to criticize and correct.
(The reference source code of the blog can be found in the resources on my homepage. If you have any questions during the learning process, please feel free to ask me in the comment area)

1. Install JDK

1. Download JDK

  1. Open the Java download page of the Oracle official website https://www.oracle.com/java/technologies/downloads/
  2. Select the JDK version you need. If you are new to Java, it is recommended to download the latest version of JDK, click the "Download" button, accept the license agreement, and select the JDK version suitable for your operating system to download

insert image description here

2. Install JDK

  1. Open the downloaded JDK installer (for example, the EXE file on Windows).
  2. Click the "Install" button, accept the license agreement, and select the installation directory.
  3. Click the "Close" button, and the JDK installation is complete.

insert image description here

3. Set environment variables

After installing the JDK, you need to set the JAVA_HOME and PATH environment variables to use Java on the command line or in scripts

  • Open Control Panel, select "System and Security" (or "System"), then select "System"

insert image description here

  • Click the "Advanced system settings" link to open the "System Properties" dialog

insert image description here

  • Click the "Environment Variables" button to open the "Environment Variables" dialog box

  • In the "System Variables" section, click the "New" button, enter "JAVA_HOME" as the variable name, and enter the absolute path of the JDK installation path just now as the variable value (for example, C:\Program Files\Java\jdk1.8.0_291)

insert image description here

  • Edit the PATH variable, and set the newly created JAVA_HOME variable plus the bin directory to PATH

%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

insert image description here

  • Click the "OK" button to save and close all dialog boxes.

insert image description here

4. Verify the installation

  1. Enter the following command in the command line or terminal (Win + R) to verify that the JDK has been successfully installed: java -version
  2. If you see the version information of JDK, it means that JDK has been successfully installed

insert image description here


2. Install Redis

1. Unzip the installation package

The Windows version of Redis is a green software, which can be used directly after decompression. After decompression, the directory structure is as follows

insert image description here

2. Double-click redis-server.exe to start redis

insert image description here


3. Install RedisDesktopManager (Redis visualization tool)

1. Install the package under the official website: https://redisdesktop.com/download

2. Click on the installation package, and keep clicking on the next step for fool-proof installation

3. Enter the corresponding connection name, local proxy address and user password to connect to the redis database

insert image description here

4. Install MySQL

1. Version introduction

  1. Community Edition (MySQLCommunity Server) is free, MySQL does not provide any technical support
  2. The commercial version (MySQL Enterprise Edition) is charged and can be tried for 30 days, and official technical support is provided

2. Download (Community Edition)

Download address: https://dev.mysql.com/downloads/windows/installer/8.0.html

insert image description here

3. Double-click the official installation package file

insert image description here

3. Select the default developer mode Developer Default, click next

insert image description here

4. Check the required environment, click next, then click yes to continue the installation

insert image description here

5. Select the primary key required for Mysql installation, and click Execute to execute

insert image description here

6. After installing the components (about 5min) click next
insert image description here

7. Click next

insert image description here

8. Click next
insert image description here

9. Use the recommended installation method, click next

insert image description here

10. Set the login password of the default user root
insert image description here

11. Click next
insert image description here

12. Click Execute, then click Finish
insert image description here

13. After installing MySQL, you need to configure environment variables so that you can connect to MySQL in any directory. On This PC, right click and select Properties

insert image description here

14. Click "Advanced System Settings" on the left and select Environment Variables

insert image description here

15. Find the Path system variable and click "Edit"

insert image description here

16. Select "New" to add the bin directory under the MySQL Server installation directory to the environment variable

insert image description here

17. Method 1: Use the client command line tool provided by MySQL to connect to the client

insert image description here

18. Method 2: Use the command line tool that comes with the system to execute the command: mysql [-h 127.0.0.1] [-P 3306] -u root -p

Parameters:
-h: the host IP where the MySQL service is located
-P: the MySQL service port number, default 3306
-u: the MySQL database user name
-p: the password corresponding to the MySQL database user name

[]内为可选参数,如果需要连接远程的MySQL,需要加上这两个参数来指定远程主机IP、端口,如果 连接本地的MySQL,则无需指定这两个参数。

5. Install navicat (Mysql visualization tool)

1. Download the navicat installation package from the official website

insert image description here

2. Install navicat

Just click the next step to install it foolishly, and you can modify the default installation path according to your needs

3. Open navicat, create a new connection, enter the database name (optional) and user password (the one set during the installation process), and then click Connect

insert image description here

4. The connection is successful

insert image description here

6. Install VMWare

1. Install VMWare

insert image description here

2. Open VMWare and install the image in VMWare (take CentOS as an example)

insert image description here

3. Create a new virtual machine, select Typical, and click Next

insert image description here

4. Add the CD image file, choose to install the operating system later, and click Next

insert image description here

5. Select Linux for the client operating system, and the version selection depends on the installed image (here we take CentOS7 as an example), click Next

insert image description here

6. Name the virtual machine and select the workspace, click Next

insert image description here

7. Set the disk size, choose to split the virtual disk into multiple files, and click Next

insert image description here

8. Click Customize Hardware, configure memory size, number of processors and configure IOS image file source, close the hardware configuration page after configuration, and click Finish

insert image description here

9. The effect is as follows

insert image description here

10. Run the virtual machine, select the Install CentOS image option (ctrl + alt and move the mouse to switch between the virtual machine and the computer desktop)

insert image description here

11. Select language

insert image description here

12. Wait for loading, configure the mirror installation location, click to start the installation after loading

insert image description here

13. Set the ROOT password and restart the virtual machine

insert image description here

14. Enter the user name and password to log in to the virtual machine

insert image description here

15. Network card settings

  • Problem: IP address initialization fails due to network card not loaded when starting server

insert image description here

  • Solution: modify the network initialization configuration, set the network card to initialize when the system starts

1). Enter the relevant command lines in turn to enter the ifcfg-ens33 file for editing

  1. cd / – enter the root directory
  2. cd etc – enter the etc directory
  3. cd sysconfig – enter sysconfig diary
  4. cd network-scripts – enter network-scripts
  5. vi ifcfg-ens33 - edit ifcfg-ens33 file

insert image description here

2). Click the keyboard [i] to enter the editing state, change the ONBOOT attribute value to yes, click the keyboard [ESC], and directly input: wq to save and exit

  1. i – enter edit mode
  2. Cursor – move the cursor
  3. < ESC > --> :wq --> – save and exit

insert image description here

3). Right-click the virtual machine in the left menu, restart and log in, we found that the ip address is set successfully

insert image description here

7. Install finalshell (VMWare visualization tool)

1. SSH remote connection tool finalshell installation, just double-click to run the Finalshell installer to complete the installation

insert image description here

2. Run and use FinalShell to connect to Linux, the steps are as follows

insert image description here

3. Run the virtual machine in FinalShell, enter the ip address query command, and test the operation, the effect is as follows

insert image description here

Summarize

Everyone is welcome to leave a message for exchange and criticism. If the article is helpful to you or you think the author's writing is not bad, you can click to follow, like, and bookmark to support.
(The reference source code of the blog can be found in the resources on my homepage. If you have any questions during the learning process, please feel free to ask me in the comment area)

Guess you like

Origin blog.csdn.net/HHX_01/article/details/131737602