上一页 1 2 3 4 5 6 7 8 9 10 ··· 42 下一页
摘要: linux下连接PostgresSQL的命令行工具是 “psql” 在这个页面获取下载安装的命令行:https://www.postgresql.org/download/linux/redhat/ 头两行都要运行,先装repo,再装postgresql-sever 安装后就可以运行psql。 ps 阅读全文
posted @ 2020-12-01 18:33 爱知菜 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 环境搭建 本文针对Oracle12c 在Linux上用命令行访问Oracle数据库要装两个东西一个是Client, 一个是Sqlplus。 Client是类似驱动的东西,Sqlplus则是sql的输入界面(CLI) Oracle 12的下载在这里:https://www.oracle.com/dat 阅读全文
posted @ 2020-11-30 17:40 爱知菜 阅读(43) 评论(0) 推荐(0) 编辑
摘要: mysql utf-8中文乱码,服务器上配置了 “character_set_server | latin1 ”, 怎么办? 可以在见表的时候指定表的字符编码。 create table wechat_report ( report_id bigint not null auto_increment 阅读全文
posted @ 2020-11-04 14:22 爱知菜 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 如下图: 1. 配置credentials 2. 配置要使用的解释器,加入一个配置项:injectCredentials 3. 在代码中用 {user.entity名} 和 {password.entity名} 来使用敏感信息。其中user和password是定死的,“entity名”是你填在Cre 阅读全文
posted @ 2020-09-27 19:04 爱知菜 阅读(11) 评论(0) 推荐(0) 编辑
摘要: linux普通用户获取root级别权限,有两种方法: 一个提权,即编辑 /etc/passwd,把自己的uid改成0,uid可以直接用命令id查看还一个sudo,即编辑 /etc/sudoer(等效于命令 visudo),把自己加入到可以sudo的用户列表,还可以配置免密sudo 另外在有配置ker 阅读全文
posted @ 2020-08-26 11:15 爱知菜 阅读(26) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/asd051377305/article/details/81879872 问题背景 公司项目中应用到的jdk环境为1.6,最近在家学习IntelliJ IDEA中sdk多环境配置时,想安装Jdk1.8,作为学习基础。那么问题来了,公司项目扩展不支持jdk 阅读全文
posted @ 2020-08-11 18:38 爱知菜 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 查询repository的http地址: 找一台master节点运行如下命令。 cat /etc/yum.repos.d/cloudera* 清理一台VM上安装过CDH组件: 1. 从CM中把VM移除 2. 到VM上运行如下命令清理parcels和rpm: systemctl stop cloude 阅读全文
posted @ 2020-08-04 15:41 爱知菜 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 假设azkaban安装在:/usr/local/azkaban/ 配置用户:编辑/usr/local/azkaban/azkaban-web-server/conf/azkaban-user.xml 权限列表: ADMIN Grants all access to everything in Azk 阅读全文
posted @ 2020-07-16 17:52 爱知菜 阅读(55) 评论(0) 推荐(0) 编辑
摘要: uwsgi安装: yum install uwsgi-plugin-python INI示例: [uwsgi] http-socket=:9090 plugin=python wsgi-file=/home/fr-renjie.wei/selfquerydlk/index_wsgi.py threa 阅读全文
posted @ 2020-05-06 19:25 爱知菜 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Zeppelin制作的图标可以生成 iframe 进行分享,但是在实践过程中会遇到几个坑。 1. X-Frame-Options 参考https://zeppelin.apache.org/docs/0.7.3/security/http_security_headers.html 修改zeppel 阅读全文
posted @ 2020-04-20 11:08 爱知菜 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 42 下一页