mysql8.0.32升级到8.0.40

上篇8.0.32库的准备:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No suc-CSDN博客

此篇测试升级到8.0.40

MySQL :: Download MySQL Community Server

root@jyc:~# mysql -u root -pabcd1234
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.32 MySQL Community Server - GPL

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0.00 sec)

mysql> create database jyc;
Query OK, 1 row affected (0.00 sec)

mysql> use jyc;
Database changed
mysql> create table test(id int);
Query OK, 0 rows affected (0.02 sec)

mysql> insert into test values(1);
Query OK, 1 row affected (0.01 sec)

mysql> select * from test;
+------+
| id   |
+------+
|    1 |
+------+
1 row in set (0.00 sec)

mysql> 

mysql> exit
Bye
root@jyc:~# systemctl stop mysql
root@jyc:~# pwd
/root
root@jyc:~# ll
total 2047552
drwx------  5 root root       4096 Oct 31 12:37 ./
drwxr-xr-x 20 root root       4096 Oct 31 08:08 ../
-rw-------  1 root root       2412 Oct 31 09:34 .bash_history
-rw-r--r--  1 root root       3106 Dec  5  2019 .bashrc
drwx------  2 root root       4096 Oct 31 07:47 .cache/
-rw-r--r--  1 root root  610315332 Oct 31 07:52 mysql-8.0.32-linux-glibc2.12-x86_64.tar.xz
-rw-r--r--  1 root root   60201944 Oct 31 11:31 mysql-8.0.32-linux-glibc2.17-x86_64-minimal.tar.xz
-rw-r--r--  1 root root 1360436040 Oct 31 08:21 mysql-8.0.40-linux-glibc2.12-x86_64.tar.xz
-rw-r--r--  1 root root   60957800 Oct 31 11:30 mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz
-rw-r--r--  1 root root      68620 Dec 16  2022 mysql-common_8.0.32-1ubuntu22.04_amd64.deb
-rw-r--r--  1 root root    2457710 Oct 31 11:43 mysql-community-client_8.0.32-1ubuntu22.04_amd64.deb
-rw-r--r--  1 root root    2183834 Oct 31 11:52 mysql-community-client-core_8.0.32-1ubuntu22.04_amd64.deb
-rw-------  1 root root        484 Oct 31 12:37 .mysql_history
-rw-r--r--  1 root root        161 Dec  5  2019 .profile
drwx------  3 root root       4096 Oct 31 07:25 snap/
drwx------  2 root root       4096 Oct 31 07:25 .ssh/
-rw-------  1 root root       9170 Oct 31 08:38 .viminfo
root@jyc:~# tar -xvf mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz
mysql-8.0.40-linux-glibc2.17-x86_64-minimal/bin/
.......

root@jyc:~# 

root@jyc:~# pwd
/root
root@jyc:~# cd /data/
root@jyc:/data# ll
total 16
drwxr-xr-x  4 root  root  4096 Oct 31 08:24 ./
drwxr-xr-x 20 root  root  4096 Oct 31 08:08 ../
drwxr-xr-x 10 mysql mysql 4096 Oct 31 12:37 mysql/
drwxr-xr-x  8 mysql mysql 4096 Oct 31 12:37 mysql_data/
root@jyc:/data# mv mysql mysql.8.0.32
root@jyc:/data# mv /root/mysql-8.0.40-linux-glibc2.17-x86_64-minimal /data/mysql

root@jyc:/data# ll /data/mysql
total 292
drwxr-xr-x  9 root root    4096 Oct 31 12:38 ./
drwxr-xr-x  5 root root    4096 Oct 31 12:39 ../
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 bin/
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 docs/
drwxr-xr-x  3 7161 31415   4096 Sep 18 11:03 include/
drwxr-xr-x  6 7161 31415   4096 Sep 18 11:03 lib/
-rw-r--r--  1 7161 31415 257478 Sep 18 10:08 LICENSE
drwxr-xr-x  4 7161 31415   4096 Sep 18 11:03 man/
-rw-r--r--  1 7161 31415    666 Sep 18 10:08 README
drwxr-xr-x 28 7161 31415   4096 Sep 18 11:03 share/
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 support-files/
root@jyc:/data# mkdir /data/mysql/log
root@jyc:/data# chown -R mysql:mysql /data/mysql

root@jyc:/data# which mysql
/data/mysql/bin/mysql
root@jyc:/data# /data/mysql/bin/mysql -V
/data/mysql/bin/mysql  Ver 8.0.40 for Linux on x86_64 (MySQL Community Server - GPL)
root@jyc:/data# systemctl start mysql
root@jyc:/data# systemctl status mysql
● mysql.service - LSB: start and stop MySQL
     Loaded: loaded (/etc/init.d/mysql; generated)
     Active: active (running) since Thu 2024-10-31 12:40:58 UTC; 4s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 7319 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
      Tasks: 39 (limit: 9443)
     Memory: 484.1M
     CGroup: /system.slice/mysql.service
             ├─7355 /bin/sh /data/mysql/bin/mysqld_safe --datadir=/data/mysql_data --pid-file=/data/mysql_data/jyc.pid
             └─7715 /data/mysql/bin/mysqld --basedir=/data/mysql --datadir=/data/mysql_data --plugin-dir=/data/mysql/lib/plugin --user=mysql --log-error=jyc.err --pid-file=/data/mysql_data/jyc.pi>

Oct 31 12:40:48 jyc systemd[1]: Starting LSB: start and stop MySQL...
Oct 31 12:40:48 jyc mysql[7319]: Starting MySQL
Oct 31 12:40:58 jyc mysql[7319]: .......... *
Oct 31 12:40:58 jyc systemd[1]: Started LSB: start and stop MySQL.
root@jyc:/data# ps -ef|grep mysql
root        7355       1  0 12:40 ?        00:00:00 /bin/sh /data/mysql/bin/mysqld_safe --datadir=/data/mysql_data --pid-file=/data/mysql_data/jyc.pid
mysql       7715    7355 44 12:40 ?        00:00:08 /data/mysql/bin/mysqld --basedir=/data/mysql --datadir=/data/mysql_data --plugin-dir=/data/mysql/lib/plugin --user=mysql --log-error=jyc.err --pid-file=/data/mysql_data/jyc.pid --socket=/data/mysql/mysql.sock --port=3306
root        8028    5850  0 12:41 pts/0    00:00:00 grep --color=auto mysql
root@jyc:/data# mysql -u root -pabcd1234
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 8.0.40 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> \h

For information about MySQL products and services, visit:
   http://www.mysql.com/
For developer information, including the MySQL Reference Manual, visit:
   http://dev.mysql.com/
To buy MySQL Enterprise support, training, or other products, visit:
   https://shop.mysql.com/

List of all MySQL commands:
Note that all text commands must be first on line and end with ';'
?         (\?) Synonym for `help'.
clear     (\c) Clear the current input statement.
connect   (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter.
edit      (\e) Edit command with $EDITOR.
ego       (\G) Send command to mysql server, display result vertically.
exit      (\q) Exit mysql. Same as quit.
go        (\g) Send command to mysql server.
help      (\h) Display this help.
nopager   (\n) Disable pager, print to stdout.
notee     (\t) Don't write into outfile.
pager     (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print     (\p) Print current command.
prompt    (\R) Change your mysql prompt.
quit      (\q) Quit mysql.
rehash    (\#) Rebuild completion hash.
source    (\.) Execute an SQL script file. Takes a file name as an argument.
status    (\s) Get status information from the server.
system    (\!) Execute a system shell command, if enabled
tee       (\T) Set outfile [to_outfile]. Append everything into given outfile.
use       (\u) Use another database. Takes database name as argument.
charset   (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings  (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.
resetconnection(\x) Clean session context.
query_attributes Sets string parameters (name1 value1 name2 value2 ...) for the next query to pick up.
ssl_session_data_print Serializes the current SSL session data to stdout or file

For server side help, type 'help contents'

mysql> \s
--------------
mysql  Ver 8.0.40 for Linux on x86_64 (MySQL Community Server - GPL)

Connection id:          10
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         8.0.40 MySQL Community Server - GPL
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8mb4
Db     characterset:    utf8mb4
Client characterset:    utf8mb4
Conn.  characterset:    utf8mb4
UNIX socket:            /data/mysql/mysql.sock
Binary data as:         Hexadecimal
Uptime:                 43 sec

Threads: 2  Questions: 11  Slow queries: 0  Opens: 558  Flush tables: 4  Open tables: 37  Queries per second avg: 0.255
--------------

mysql> select version();
+-----------+
| version() |
+-----------+
| 8.0.40    |

+-----------+
1 row in set (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| jyc                |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.01 sec)

mysql> use jyc;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from test;
+------+
| id   |
+------+
|    1 |
+------+
1 row in set (0.00 sec)

mysql> 

检查日志记录:

root@jyc:/data/mysql_data# systemctl stop mysql
root@jyc:/data/mysql_data# systemctl start mysql
root@jyc:/data/mysql_data# more jyc.err
2024-10-31T12:04:34.179682Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:04:34.179722Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.32) starting as process 5406
2024-10-31T12:04:34.193901Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:04:34.436376Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:04:34.801896Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:04:34.801957Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:04:34.835140Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:04:34.835328Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.32'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:34:59.313115Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
2024-10-31T12:35:00.786434Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2024-10-31T12:35:04.891460Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:35:04.891503Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.32) starting as process 7190
2024-10-31T12:35:04.908498Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:35:05.152290Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:35:05.422534Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:35:05.422620Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:35:05.470567Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:35:05.470672Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.32'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:37:44.192653Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
2024-10-31T12:37:44.868463Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2024-10-31T12:40:49.034557Z 0 [Warning] [MY-011069] [Server] The syntax '--character-set-client-handshake' is deprecated and will be removed in a future release.
2024-10-31T12:40:49.034756Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:40:49.034790Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.40) starting as process 7715
2024-10-31T12:40:49.050205Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:40:49.394465Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:40:52.035278Z 4 [System] [MY-013381] [Server] Server upgrade from '80032' to '80040' started.
2024-10-31T12:40:57.436638Z 4 [System] [MY-013381] [Server] Server upgrade from '80032' to '80040' completed.
2024-10-31T12:40:57.627002Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:40:57.627074Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:40:57.667120Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:40:57.667178Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.40'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:41:19.539816Z 10 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use cach
ing_sha2_password instead'
2024-10-31T13:04:54.629658Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.40).
2024-10-31T13:04:55.266680Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.40)  MySQL Community Server - GPL.
2024-10-31T13:05:04.925055Z 0 [Warning] [MY-011069] [Server] The syntax '--character-set-client-handshake' is deprecated and will be removed in a future release.
2024-10-31T13:05:04.925221Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T13:05:04.925257Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.40) starting as process 8572
2024-10-31T13:05:04.939248Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T13:05:05.217637Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T13:05:05.489395Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T13:05:05.489464Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T13:05:05.534184Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T13:05:05.534258Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.40'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/web/57610.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

从此告别图床失效:一个几乎可以代理所有图床的工具!

原项目 Github: https://github.com/webp-sh/webp_server_go 根据此项目制作的脚本工具 一键脚本&#xff1a; curl -sS -O https://raw.githubusercontent.com/woniu336/open_shell/main/webp-server.sh && chmod x webp-server.sh && ./webp-server.sh是的&…

JavaScript语法基础——变量,数据类型,运算符和程序控制语句(小白友好篇,手把手教你学会!)

一、JavaScript概述 JavaScript是一种高级编程语言&#xff0c;常用于网页开发和服务器端应用程序。它是一种动态类型语言&#xff0c;可以在浏览器中直接解释执行&#xff0c;而不需要编译。 脚本&#xff08;Script&#xff09;是一种与计算机程序相关的指令集或代码块&…

Jenkins-配置使用ssh拉取仓库代码,配置自动化构建打包(三)(云效)

文章目录 准备注意&#xff1a;流程&#xff1a; 检查之前是否配置过与代码仓库的连接生成密钥对手动在服务器中与代码仓库建立连接以生成 Known hosts file代码仓库端添加公钥Jenkins System-Publish over SSH中添加私钥Jenkins中创建项目&#xff0c;并使用私钥添加ssh凭据构…

镭眸ILS-F13测量型激光雷达:超远距激光雷达专家

镭眸F13是一款超远距离测量型激光雷达&#xff0c;专为需要在超远距离内实现移动物体轮廓数据测量的用户设计。它能够以25Hz的扫描频率&#xff0c;在120米内提供3厘米的扫描精度&#xff0c;解决了现有传感器无法满足的测量距离问题。与市场上其他产品如西克&#xff08;SICK&…

windows安装deepin双系统

最近入手了一台中柏N100的小主机&#xff0c;本来只想当个机顶盒&#xff0c;没想到性能还可以&#xff0c;就打算用它做一些日常的办公&#xff0c;无聊时想着能不能再装个Linux&#xff0c;就去Deepin官网查看了下方法&#xff0c; 在此记录 另外&#xff0c;欢迎来我的博客…

SAP-FICO 月结流程

一、财务月结 1、资产会计-固定资产折旧计提AFAB 正式运行之前&#xff0c;先测试运行&#xff0c;没有问题就正式运行 可以看到&#xff0c;没有错误 因为正式系统的资产会过于庞大&#xff0c;一般都是后台运行资产的折旧 点击程序--后台执行 AFBP查看运行日志&#xff0c…

深度学习(八) TensorFlow、PyTorch、Keras框架大比拼(8/10)

一、深度学习框架概述 深度学习框架在当今人工智能和机器学习领域中占据着至关重要的地位。其中&#xff0c;TensorFlow 由 Google 开发&#xff0c;自 2015 年发布以来&#xff0c;凭借其灵活的计算图、自动微分功能以及跨平台支持等特点&#xff0c;迅速成为主流深度学习框架…

JVM—类加载器、双亲委派机制

目录 什么是类加载器 类加载器的分类 Bootstrap启动类加载器 通过启动类加载器加载用户jar包 Extension扩展类加载器和Application应用程序类加载器 通过扩展类加载器加载用户jar包 双亲委派机制 打破双亲委派机制 自定义类加载器 线程上下文类加载器 Osgi框架的类加…

flask第一个应用

文章目录 安装一、编程第一步二、引入配置三、代码解析 安装 python环境安装的过程就不重复赘述了&#xff0c;flask安装使用命令pip install Flask即可&#xff0c;使用命令pip show Flask查看flask版本信息 提示&#xff1a;以下是本篇文章正文内容&#xff0c;下面案例可供…

享元模式-实现大颗粒度对象缓存机制

详解 享元模式是一种结构型设计模式&#xff0c;其主要目的是通过共享尽可能多的相同部分来有效地支持大量细粒度的对象。它通过将对象的属性分为内在属性&#xff08;可以共享、不随环境变化的部分&#xff09;和外在属性&#xff08;根据场景变化、不能共享的部分&#xff0…

Flutter学习笔记(一)-----环境配置

一、android 环境 android这边可以参照godot的配置 1.装java Java Downloads | Oracle x64 Compressed Archive &#xff1a;下载后直接解压到某个位置&#xff0c;不用安装 x64 installer: 下载后双击安装 注意&#xff1a;不要去百度直接搜Java安装&#xff0c;这样你最多安…

JetBrains Clion Idea 等缓存文件和配置文件迁移

JetBrains 缓存文件和配置文件迁移 文件默认路径 缓存文件默认路径&#xff1a; %userprofile%/AppData/Local/JetBrains/应用名 如 C:/Users/wbl/AppData/Local/JetBrains/CLion2021.3日志文件默认路径&#xff1a;默认在配置文件目录下的log文件夹 %userprofile%/AppData…

《AI产品经理手册》——解锁AI时代的商业密钥

在当今这个日新月异的AI时代&#xff0c;每一位产品经理都面临着前所未有的挑战与机遇&#xff0c;唯有紧跟时代潮流&#xff0c;深入掌握AI技术的精髓&#xff0c;才能在激烈的市场竞争中独占鳌头。《AI产品经理手册》正是这样一部为AI产品经理量身定制的实战宝典&#xff0c;…

2024年最全2024年最系统的网络安全自学路线,学完即可就业_安全学习路线(2),2024年最新你掌握了多少

一个人可以走的很快&#xff0c;但一群人才能走的更远&#xff01;不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人&#xff0c;都欢迎加入我们的的圈子&#xff08;技术交流、学习资源、职场吐槽、大厂内推、面试辅导&#xff09;&#xff0c;让我们一起学习成长&#xf…

前端拖拽库方案之react-beautiful-dnd

近期&#xff0c;知名 React 拖拽库 react-beautiful-dnd 宣布了项目弃用的决定&#xff0c;未来将不再维护。这一决定源于其存在的缺陷与局限性&#xff0c;促使作者转向开发一个更加现代化的拖拽解决方案——Pragmatic drag and drop&#xff08;下面会介绍&#xff09;&…

【深度学习】实验 — 动手实现 GPT【四】:代码实现Transformer、代码实现GPT模型、训练大型语言模型(LLM)

【深度学习】实验 — 动手实现 GPT【四】&#xff1a;代码实现Transformer、代码实现GPT模型、训练大型语言模型&#xff08;LLM&#xff09; 在 Transformer 块中连接注意力层和线性层代码实现Transformer 块 代码实现GPT模型文本生成训练模型计算训练集和验证集的损失 训练大…

我在命令行下剪辑视频

是的&#xff0c;你不需要格式工厂&#xff0c;你也不需要会声会影&#xff0c;更不需要爱剪辑这些莫名其妙的流氓软件&#xff0c;命令行下视频处理&#xff0c;包括剪辑&#xff0c;转码&#xff0c;提取&#xff0c;合成&#xff0c;缩放&#xff0c;字幕&#xff0c;特效等…

海外云手机是什么?对外贸电商有什么帮助?

在外贸电商领域&#xff0c;流量引流已成为卖家们关注的核心问题。越来越多的卖家开始利用海外云手机&#xff0c;通过TikTok等社交平台吸引流量&#xff0c;以推动商品在海外市场的销售。那么&#xff0c;海外云手机到底是什么&#xff1f;它又能为外贸电商卖家提供哪些支持呢…

MATLAB绘图|关于三维制图,给初学者的建议

给MATLAB的关于绘制三维图的建议 文章目录 基础知识使用基本函数设置轴标签和标题调整视角添加网格和图例绘制子图灵活使用 hold on 和 hold off保存图形总结 基础知识 了解三维坐标系统&#xff1a;三维图形有三个轴&#xff08;x、y、z&#xff09;&#xff0c;确保你理解如…

centos7配置keepalive+lvs

拓扑图 用户访问www.abc.com解析到10.4.7.8&#xff0c;防火墙做DNAT将访问10.4.7.8:80的请求转换到VIP 172.16.10.7:80&#xff0c;负载均衡器再将请求转发到后端web服务器。 实验环境 VIP&#xff1a;负载均衡服务器的虚拟ip地址 LB &#xff1a;负载均衡服务器 realserv…