Intelligent Modeling (Intalink)
Table of Contents
- Technical Specifications
- 1.1 Technical Architecture
- 1.2 Deployment Environment
- 1.3 Minimum Application Requirements
- Installation Manual
- MySQL Installation
- Nginx Installation
- Intelligent Modeling System Deployment
1. Technical Specifications
1.1 Technical Architecture
1.2 Deployment Environment
- JDK
- MySQL
- Nginx
1.3 Minimum Application Requirements
- JDK: 1.8
- MySQL: 5.7
- Nginx: 1.24
2. Installation Manual
MySQL Installation
Windows Installation
Zip Installation:
Extract the zip file to the desired installation directory.
Create a
my.ini
file in this directory and configure it as follows:ini[mysqld] basedir = D:\\soft\\mysql\\mysql-5.7.29 datadir = D:\\soft\\mysql\\mysql-5.7.29\\data port = 3306 sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES max_connections = 200 character-set-server = utf8mb4 default-storage-engine = INNODB default_authentication_plugin = mysql_native_password [mysql] default-character-set = utf8mb4 [client] port = 3306 default-character-set = utf8mb4
Note: Configure according to your environment.
Initialize the Database:
- Run CMD as Administrator, navigate to the MySQL path, and execute:bash
mysqld --initialize --console
- Run CMD as Administrator, navigate to the MySQL path, and execute:
Install the Service:
- Run
mysqld --install [service-name]
, then executenet start [service-name]
to start the service.
- Run
Change the Password:
- Run
mysql -uroot -p
, enter the recorded password, and execute:sqlALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your-password';
- Run
Linux Installation
Obtain the Software Package:
- Method 1: Upload the package using Xftp.
- Method 2: Download using wget:bash
wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.32-1.el9.x86_64.rpm-bundle.tar
Install MySQL Packages and Dependencies:
bashyum localinstall mysql-community-server-8.0.32-1.el9.x86_64.rpm \ mysql-community-client-8.0.32-1.el9.x86_64.rpm \ mysql-community-common-8.0.32-1.el9.x86_64.rpm \ mysql-community-client-plugins-8.0.32-1.el9.x86_64.rpm \ mysql-community-icu-data-files-8.0.32-1.el9.x86_64.rpm \ mysql-community-libs-8.0.32-1.el9.x86_64.rpm -y
Start MySQL Service:
bashsystemctl restart mysqld
Change the Password:
- Find the default password, log in to MySQL, and change the password:sql
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new-password';
- Find the default password, log in to MySQL, and change the password:
Nginx Installation
Windows Installation
Download Nginx:
- Download the Stable version from nginx.org.
Extract and Start:
- Extract to a non-Chinese path, navigate to the extraction directory, and start Nginx:bash
start nginx
- Extract to a non-Chinese path, navigate to the extraction directory, and start Nginx:
Linux Installation
Download and Transfer Nginx:
- Use the
rz
command to upload to the Linux server.
- Use the
Compile and Install:
- Install compilation dependencies, extract, compile, and install:bash
yum install gcc pcre-devel openssl openssl-devel tar -xvf nginx-1.16.1.tar.gz cd nginx-1.16.1 ./configure make make install
- Install compilation dependencies, extract, compile, and install:
Start Nginx:
- Navigate to the
sbin
directory of the installation and execute:bash./nginx
- Navigate to the
3. Intelligent Modeling System Deployment
Frontend
- Build Command:bash
npm run build:prod