摘要: 一、linux服务器切换到oracle用户下 su - oracle 二、执行命令进入sql窗口 sqlplus / as sysdba 三、修改已知用户名的密码: alter user 数据库连接用户名 identified by 新密码; 四、新建用户名密码 1、新建用户 create user 阅读全文
posted @ 2021-02-02 11:31 杰梦 阅读(1384) 评论(0) 推荐(0) 编辑
摘要: #GET my_store/_search{ "query": { "match_all": {} }}#添加索引PUT /test2{ "mappings": { "properties": { "name":{ "type": "text" }, "age":{ "type": "long" } 阅读全文
posted @ 2020-12-03 17:19 杰梦 阅读(502) 评论(0) 推荐(0) 编辑
摘要: linux 下启动tomcat [root@test233 bin]# sh startup.sh Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed t 阅读全文
posted @ 2020-12-03 15:27 杰梦 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 虚拟机新开了5005端口,系统内部是显示开了的,但是外部不能访问端口。 一些需要用到的命令: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld / firewall-cmd --state 阅读全文
posted @ 2020-12-02 17:53 杰梦 阅读(3077) 评论(0) 推荐(0) 编辑
摘要: linux中启动oracle主要分两步:一个是启动监听器,一个是启动实例。工具/原料linux 安装 oracle数据库SecureCRT 任意ssh连接工具都可以方法/步骤一、secureCRT连接到数据库所在的linux机器,切换到oracle用户模式下[root@nstlbeta ~]# su 阅读全文
posted @ 2020-11-27 15:59 杰梦 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: #GET my_store/_search{ "query": { "match_all": {} }}#添加索引PUT /test2{ "mappings": { "properties": { "name":{ "type": "text" }, "age":{ "type": "long" } 阅读全文
posted @ 2020-11-23 16:53 杰梦 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 执行命令: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你的密码' WITH GRANT OPTION; 阅读全文
posted @ 2020-03-06 09:11 杰梦 阅读(218) 评论(0) 推荐(0) 编辑
摘要: /** * 文件写入excel * @param file 文件 * @param list 数据源 * @param sheetname 工作簿 * @throws IOException */ @SuppressWarnings("resource") public void exportExc 阅读全文
posted @ 2019-11-21 18:09 杰梦 阅读(259) 评论(0) 推荐(0) 编辑
摘要: import java.io.File;import java.io.IOException;import java.lang.reflect.Method;import java.lang.reflect.ParameterizedType;import java.text.DecimalForm 阅读全文
posted @ 2019-11-21 18:08 杰梦 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/sinat_33921105/article/details/81081452 阅读全文
posted @ 2019-10-08 10:28 杰梦 阅读(109) 评论(0) 推荐(0) 编辑