-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
3,885 additions
and
24 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: JRebel 使用指南 | ||
date: 2023-10-23 11:23:17 | ||
permalink: /pages/64422e/ | ||
categories: | ||
- 框架工具 | ||
tags: | ||
- | ||
author: | ||
name: ReturnTmp | ||
link: https://github.com/ReturnTmp | ||
--- | ||
|
||
|
||
|
||
## 前言 | ||
|
||
|
||
|
||
|
||
|
||
## 参考链接 | ||
|
||
- [JRebel2023.3 插件使用详解_jrebel使用教程-CSDN博客](https://blog.csdn.net/lianghecai52171314/article/details/105637251) | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: GlassFish 安装配置 | ||
date: 2023-10-24 15:00:16 | ||
permalink: /pages/426b33/ | ||
categories: | ||
- 框架工具 | ||
tags: | ||
- | ||
author: | ||
name: ReturnTmp | ||
link: https://github.com/ReturnTmp | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
--- | ||
title: 手把手教你安装配置『Oracle Database 19c』 | ||
date: 2023-10-27 10:05:59 | ||
permalink: /pages/3896e6/ | ||
categories: | ||
- 框架工具 | ||
tags: | ||
- | ||
author: | ||
name: ReturnTmp | ||
link: https://github.com/ReturnTmp | ||
--- | ||
|
||
|
||
|
||
## 前言 | ||
|
||
本文将会讲解如何在 `Windows` 系统上安装 `Oracle Database 19c` 数据库,适合**初学者学习 Oracle 快速入门和实践练习**,比较**方便快捷** | ||
|
||
**官方安装文档**:[Preinstallation Considerations for Installing Oracle Database](https://docs.oracle.com/en/database/oracle/oracle-database/19/ntdbi/preinstallation-considerations-for-installing-oracle-database.html#GUID-3C8E4D95-2259-4B58-98C5-34F121539584) | ||
|
||
对于企业级的数据库,基本上都是安装在 `Linux` 服务器上,安全且高效,如果您想要安装 `Oracle Database 19c` 到 `Linux` 服务器上,可以参考如下官方文档 | ||
|
||
**官方安装文档**:[Oracle Database Database Installation Guide, 19c for Linux](https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/index.html#Oracle®-Database) | ||
|
||
![Install-Oracle-Database-19c-on-Windows-e1613119592623](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271657570.png) | ||
|
||
|
||
|
||
## 安装 | ||
|
||
进入官网下载链接:[Oracle Database 19c Download for Microsoft Windows x64 (64-bit)](https://www.oracle.com/database/technologies/oracle19c-windows-downloads.html) | ||
|
||
![image-20231027101102077](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271702536.png) | ||
|
||
|
||
|
||
直接下载过慢,我们需要**使用 IDM 加速下载**,但是直接复制上面链接到 IDM 中得到的是 html 网页,我们需要点击上面的链接,开始下载,然后在浏览器下载中右键复制下载链接,然后**复制该链接到 IDM 下载即可** | ||
|
||
下载完成之后,我们需要解压缩文件,**使用管理员权限运行根目录下的 `setup.exe` 文件** | ||
|
||
## 步骤 | ||
|
||
顺利运行 setup.exe 文件之后,我们会进入如下界面,然后按照如下配置即可 | ||
|
||
![image-20231027103935023](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271039175.png) | ||
|
||
|
||
|
||
- 配置选项【仅设置软件】 | ||
- 数据库安装选项【单实例数据库安装】 | ||
- 数据库版本【企业版】 | ||
- Oracle 主目录用户,默认推荐的【虚拟账户】 | ||
- 安装位置可以默认,也可以自定义安装 | ||
- 等待条件检查结束并确认概要设定,点击【安装】 | ||
|
||
|
||
|
||
## 配置 | ||
|
||
注意,后面所有命令都需要在**管理员身份**下运行,否则可能出现严重问题 | ||
|
||
首先运行如下命令 | ||
|
||
```bash | ||
lsnrctl start | ||
``` | ||
|
||
命令行输入 `dbca` 启动 Oracle 数据库配置,然后按照如下步骤配置即可 | ||
|
||
- 数据库操作【创建数据库】 | ||
- 创建模式【高级配置】,然后数据库类型选择【Oracle 单实例数据库】、创建模板选择【一般用途或事务处理】 | ||
- 输入SID,为了测试方便取消勾选【创建为容器数据库】(CDB/PDB) | ||
|
||
![image-20231027105023607](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271050765.png) | ||
|
||
|
||
|
||
存储选项【为数据库存储属性使用模板文件】 | ||
|
||
快速回复选项【指定快速恢复区】 | ||
|
||
网络配置如下 | ||
|
||
![image-20231027105658236](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271056394.png) | ||
|
||
Data Vault 暂时忽略 | ||
|
||
配置选项如下 | ||
|
||
![image-20231027105554349](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271055480.png) | ||
|
||
![image-20231027110531288](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271105409.png) | ||
|
||
|
||
|
||
但是这里可能会爆出错误 `[DBT-50000] 无法检查可用内存`,执行如下命令重新配置即可(错因就是**没有使用管理员身份执行命令**) | ||
|
||
```bash | ||
dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false | ||
``` | ||
|
||
|
||
|
||
除此之外需要注意的是,不要使用 `PowerShell`,,需要使用 `CMD`,否则上述命令会出现问题 | ||
|
||
但是我**建议直接使用管理员身份运行 `dbca`**,也可以**更有效的避免后续出现的问题**,替换上面的命令虽然可以消除 50000 问题,但是会造成后面某处地方仍旧报错 | ||
|
||
|
||
|
||
![image-20231027105800595](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271058739.png) | ||
|
||
|
||
|
||
管理选项配置,不选择任何选项 | ||
|
||
![image-20231027110610736](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271106861.png) | ||
|
||
|
||
|
||
口令输入 `Oracle123`,所有账户使用相同口令 | ||
|
||
![image-20231027110632867](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271106012.png) | ||
|
||
|
||
|
||
![image-20231027110649488](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271106627.png) | ||
|
||
|
||
|
||
之后的都是默认点击【下一步】,最后点击【完成】安装即可,最后如果没有问题,我们将会看到如下安装成功界面 | ||
|
||
![image-20231027163454717](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271634918.png) | ||
|
||
|
||
|
||
如果您在执行最后**安装的过程自行中断**,而导致后续**重新安装出现问题**,请跳转下一章节 | ||
|
||
|
||
|
||
## 问题 | ||
|
||
### 安装过程中断 | ||
|
||
如果我们在上面在最后安装过程中中断,导致再次安装遇到问题,可以重新输入 `dbca`(管理员身份),然后依次执行如下**删除数据库**即可,之后持续【下一步】,然后【完成】即可 | ||
|
||
> 注:博主就是安装过程异常中断,然后重新安装出现 `指定的SID在本机上已经存在` 问题,然后删除数据库解决 | ||
![image-20231027160822139](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271608341.png) | ||
|
||
|
||
|
||
这里面的口令就是我们上面填写的 `Oracle123` | ||
|
||
![image-20231027160836874](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271608026.png) | ||
|
||
|
||
|
||
如果该方法对您的情况不起作用,可能需要**彻底删除 Oracle 服务**,这涉及到注册表的修改等,可以自行查找相应文章 | ||
|
||
|
||
|
||
### 环境变量问题 | ||
|
||
由于环境变量(SID/Home 等)的设置导致无法连接 sqlplus,可能需要设置如下变量 | ||
|
||
> 注:但是博主没有遇到这个问题 | ||
```bash | ||
set ORACLE_SID=orcl | ||
set ORACLE_HOME=<Oracle Home的路径> | ||
``` | ||
|
||
|
||
|
||
## 启动 | ||
|
||
首先我们执行如下命令验证监听是否正常(**管理员身份**) | ||
|
||
```bash | ||
lsnrctl status | ||
``` | ||
|
||
然后执行如下命令进行验证测试 | ||
|
||
输入 `sqlplus` 开始连接数据库,然后输入用户名 `sqlplus as sysdba`,这里的口令需要输入 `Oracle123` | ||
|
||
之后可以输入如下命令查看数据库实例名 | ||
|
||
```bash | ||
select instance_name from v$instance; | ||
``` | ||
![image-20231027164948099](https://cdn.jsdelivr.net/gh/Returntmp/blog-image@main/blog/202310271649350.png) | ||
## 参考链接 | ||
- [Preinstallation Considerations for Installing Oracle Database](https://docs.oracle.com/en/database/oracle/oracle-database/19/ntdbi/preinstallation-considerations-for-installing-oracle-database.html#GUID-3C8E4D95-2259-4B58-98C5-34F121539584) | ||
- [Oracle Database Database Installation Guide, 19c for Linux](https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/index.html#Oracle®-Database) | ||
- [手把手教你在Windows 10安装Oracle 19c - 墨天轮 (modb.pro)](https://www.modb.pro/db/38320) | ||
- [安装oracle19c时报错DBT-50000_dbt-50000无法检查可用内存-CSDN博客](https://blog.csdn.net/weixin_43475880/article/details/126157397) | ||
- [windows10上安装19c遇到的问题 - 墨天轮 (modb.pro)](https://www.modb.pro/db/67149) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: Oracle Database 19c 彻底卸载 | ||
date: 2023-10-27 15:59:03 | ||
permalink: /pages/bb191f/ | ||
categories: | ||
- 框架工具 | ||
tags: | ||
- | ||
author: | ||
name: ReturnTmp | ||
link: https://github.com/ReturnTmp | ||
--- | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
## 删除数据库 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
## 删除相应组件 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
## 参考链接 | ||
|
||
- [【精选】完全卸载Oracle Database 19c_oracle19c删除数据库-CSDN博客](https://blog.csdn.net/huangjc0715/article/details/117844262) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: 语雀故障回顾 | ||
date: 2023-10-29 12:21:03 | ||
permalink: /pages/56067e/ | ||
categories: | ||
- 框架工具 | ||
tags: | ||
- | ||
author: | ||
name: ReturnTmp | ||
link: https://github.com/ReturnTmp | ||
--- | ||
|
||
|
||
|
||
## 前言 | ||
|
||
|
||
|
||
|
||
|
||
## 参考链接 |
Oops, something went wrong.