Docker 环境部署的oracle #查询oracle 实例 docker ps -a #进入实例 docker exec -it 58aca4848691 /bin/bash #切换oracle用户 su - oracle #设置oracle 环境变量 export ORACLE_HOME=/u ...
分类:
数据库 时间:
2021-02-25 11:52:18
阅读次数:
0
当在终端执行sudo命令时,系统提示“hadoop is not in the sudoers file”: 其实就是没有权限进行sudo,解决方法如下(这里假设用户名是cuser): 1.切换到超级用户:$ su 2.打开/etc/sudoers文件:$vim /etc/sudoers 3.修改文 ...
分类:
其他好文 时间:
2021-02-25 11:47:06
阅读次数:
0
1. 创建数据库 法一:用登入默认用户postgresql创建 注:创建语句结束要记得加; 用postgresql登入数据库 sudo su - postgres psql 创建用户 CREATE USER dbuser WITH PASSWORD 'password'; 创建库 CREATE DA ...
分类:
数据库 时间:
2021-02-19 13:49:56
阅读次数:
0
#!/bin/bashyum install -y readline-devel ncurses-develyum install -y vim make telnet lsof tree rdate ntp gcc gcc-c++ psmisc net-tools \screen expect s ...
分类:
系统相关 时间:
2021-02-18 13:45:26
阅读次数:
0
问题描述 centOS7上面装有oracle数据库,参考这种方式安装的,服务器异常关闭,重启服务器后数据库不能启动。 处理步骤 1、登录Linux,切换到oracle用户下su - oracle,查询lsnrctl服务是否开启lsnrctl status 2、监听没有启动,则需要输入lsnrctl ...
分类:
其他好文 时间:
2021-02-18 13:39:03
阅读次数:
0
They were the last people you'd expect to be involved in anything strange or mysterious,because they just didn't hold with such nonsense. He was a big ...
分类:
其他好文 时间:
2021-02-17 14:55:28
阅读次数:
0
1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
##前言 过年的时候总是少不了红包,不知从何时开始微信红包横空出世,对于网速和手速慢的人只能在一旁观望,做为python的学习者就是要运用编程解决生活和工作上的事情。 于是我用python解决我们的手速问题python实现自动抢微信红包,至于网速慢得那就只能自己花钱提升了。 ##环境准备 appiu ...
分类:
微信 时间:
2021-02-15 11:47:29
阅读次数:
0
##主创建表空间备宕机 --主创建表空间 [root@pg93 ~]# mkdir /tbs_test [root@pg93 ~]# chown postgres:postgres /tbs_test [root@pg93 ~]# su - postgres [postgres@pg93 ~]$ p ...
分类:
其他好文 时间:
2021-02-06 12:14:14
阅读次数:
0
简单的方法是 直接在Controller内的接口参数前加上校验注解(@NotBlank...等),此时需在类上加注解 @Validated即可.当校验参数过多,这种方法使接口参数看起来过于臃肿,代替的选择是在实体类上使用 @Validated 注解来进行一些参数的验证. 一、实体类加注解 @Null ...
分类:
编程语言 时间:
2021-02-06 12:13:11
阅读次数:
0