- 博客(16)
- 资源 (12)
- 收藏
- 关注
原创 【Ambari】开启Kerberos安全认证
一个 User 或者一个 Service 会用 Principal 到 认证服务器(AS)认证,AS会返回一个用 Principal Key 加密的 TGT(票据授权票据),这时候只有 AS 和 Principal 的使用者可以识别该TGT,User 或者 Service 会使用 Principal 的 Key 来解密 TGT, 并使用解密后的 TGT 去TGS 获取 Service Ticket。在 Kerberos 认证的集群中,只有拿着这个 Service Ticket 才可以访问真正的 Se
2020-05-27 11:10:26 2713
原创 【Hadoop】通俗易懂 Kerberos原理
Hadoop 使用Kerberos作为用户和服务的强身份验证和身份传播的基础。Kerberos 是一种计算机网络认证协议,它允许某实体在非安全网络环境下通信,向另一个实体以一种安全的方式证明自己的身份。Kerberos 是第三方认证机制,其中用户和服务依赖于第三方(Kerberos 服务器)来对彼此进行身份验证。Kerberos服务器本身称为密钥分发中心或 KDC。
2020-05-26 11:38:54 5020 1
原创 MySQL游标(cursor) 定义及实例学习
在MySql中,造成游标溢出时会引发mysql预定义的NOT FOUND错误,所以在上面使用下面的代码指定了当引发not found错误时定义一个continue 的事件,指定这个事件发生时修改done变量的值。实例说明:编写两个表 sys_user和 user, 编写存储过程,当 两个表的 id 相同时 将 user 表中的 name 更新为 sys_user 中的 user_name。fetch是获取游标当前指向的数据行,并将指针指向下一行,当游标已经指向最后一行时继续执行会造成游标溢出。
2020-05-24 23:56:41 10122 1
原创 【Ambari】CentOS7.3 内网环境安装Ambari2.7.4+HDP3.1.4(阿里云服务器)
Ambari 安装,将系统时钟和世界协调时UTC同步,精度在局域网内可达0.1ms,在互联网上绝大多数的地方精度可以达到1-50ms,项目官网:http://www.ntp.org。说明:之后将ambari-server 安装在了10.168.138.188 机器上,安装过程是一样的,安装失败后,我重新选择了更多的组件。-------------------------------------🪁🍁 希望本文能够给您带来一定的帮助🌸文章粗浅,敬请批评指正!
2020-05-22 18:13:57 2350 1
原创 【Ambari】Yarn Register DNS失败报A fatal error has been detected by the Java Runtime Environment...
:Ambari 安装成功,在启动的时候显示 Yarn Registry DNS 出错。
2020-05-22 16:39:12 993
原创 【Linux】格式化数据盘(阿里云数据盘挂载)
数据盘的设备名默认由系统分配。I/O优化实例的数据盘设备名从/dev/vdb递增排列,包括/dev/vdb−/dev/vdz。非I/O优化实例的数据盘设备名从/dev/xvdb递增排列,包括/dev/xvdb−/dev/xvdz。示例中,创建一个ext4文件系统。其他文件系统格式请自行修改mkfs.ext4命令。本文操作仅适用小于等于2TiB的数据盘。大于2TiB的数据盘分区必须使用GPT格式,请参见。如果出现/dev/xvdb1的相关信息,表示新分区已创建完成。命令创建VFAT文件系统。
2020-05-20 10:36:20 528 2
原创 ext3 升级到 ext4
刚开始 不懂,随便找个博客将 数据盘 格式化为 ext3 , 考虑到潜在的问题,考虑 升级到 ext 4.// ext3 升级到 ext4[root@hdp02 ~]# tune2fs -O extents,uninit_bg,dir_index /dev/xvdb1tune2fs 1.42.9 (28-Dec-2013)// 磁盘扫描[root@hdp02 ~]# fsck -pf /dev/xvdb1fsck from util-linux 2.23.2/dev/xvdb1:..
2020-05-19 13:35:06 306 1
原创 linux 安装 MySQL5.7.19(Your password does not satisfy the current policy requirements 或 using ALTER )
1、下载mysql5.7的rpm安装包 rpm的mysql包,安装起来简单,解压版的mysql还需要做许多配置,稍有不慎就会出错!!!下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads2、上传mysql安装包到centos7的系统下1. 我的系统配置3、安装依赖3.1 查看linux上是否已经安装了mysql,有则卸载。一般centos7默认安装了mariadb,这里把它卸载。[root@hd...
2020-05-17 17:04:02 1078
原创 【Linux】Found 48 pre-existing rpmdb problem(s), ‘yum check‘ output follows
问题Found 48 pre-existing rpmdb problem(s), 'yum check' output follows:python-libs-2.7.5-88.el7.i686 has missing requires of libbz2.so.1python-libs-2.7.5-88.el7.i686 has missing requires of libc.so.6python-libs-2.7.5-88.el7.i686 has missing requires of
2020-05-14 14:30:24 4059 3
原创 【Linux】umount 提示:device is busy 的处理方法(In some cases useful info about processes that use )
umount: /var/centos7: target is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))
2020-05-14 10:35:32 24824 3
原创 ImportError: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2‘ not found 或者/lib64/libcrypto.so.10
1、下载openssl-libs-1.0.2k-12.el7.x86_64.rpm包:RPM resource libcrypto2、升级openssl (有的可以升级成功,直接覆盖之前旧的版本升级成功,我的就不行,手动删除创建的软链接)rpm -ivh openssl-libs-1.0.2k-12.el7.x86_64.rpm --force3、查看libcrypto.so.101 .删除软连接rm -rf /lib64/libcrypto.so.10 (谨慎操作),软连接 没有创建好,就会报如下的错误
2020-05-12 20:02:04 12373 8
原创 【报错】-bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
【linux】-bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directorylinux操作移动了根目录下的/lib和/lib64之后系统使用除了cd之外的任何命令都提示-bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory。删除 mysql的..
2020-05-11 15:52:38 7220 2
原创 【Linux】CentOS 系统版本查看方法
有以下命令可以查看 centos 版本号:rpm -q centos-releaselsb_release -a[root@client usr]# lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-..
2020-05-11 10:07:38 1836 2
原创 【Linux】CentOS8 配置本地 yum 源的详细教程
首先你得把iso文件传到你的centos 上面,这里就只能想想办法咯。没网络用U盘,没u盘用光驱。总之得传到对应一个目录上
2020-05-11 08:58:53 8765 1
原创 【报错】Job for httpd.service failed because the control process exited with error code.(CentOS 8)
安装 Ambari + HDP (CentOS 8 , 阿里云服务器), 制作了 本地的 yum 源 ,安装 httpd 后 启动报错这个提醒 会让你去查看当前状态日志,查看状态日志时基本上你会发现 一些服务处在 fail 状态 基本上就是httpd服务没能够起来。
2020-05-09 20:48:36 40371 12
原创 【Llinux】CentOS8 换yum源,设置dnf / yum镜像
aliyun更新了centos8的说明:https://developer.aliyun.com/mirror/centoscurl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repocentos 8 默认是会读取centos.org的mirrorlist的,所以一般来说是不...
2020-05-08 10:03:33 3593 2
Java最新大厂面试宝典
2023-10-11
程序猿面试简历模板精选
2023-10-10
dbeaver-ce-6.3.1-win32.win32.x86_64.zip
2020-02-14
SublimeText3_Build3083_x64_XiaZaiBa.zip
2019-08-15
eclipse-jee-2018-09-win32-x86-64.zip
2019-08-12
npp.6.9.2.Installer.zip
2019-08-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人