原创 通俗易懂 Kerberos原理

目錄 一、Kerberos概述 二、Kerberos驗證過程 1、初始驗證:票證授予票證 2、後續Kerberos驗證 三、Kerberos基本概念 1、Principal 2、Principal和Keytab命名約定 3、Ambari

原创 MySQL遊標(cursor) 定義及實例學習

目錄 一、簡介 1、概念 2、優點 3、原理  二、使用遊標 1、聲明遊標 2、遊標OPEN語句 3、遊標FETCH語句 4、遊標CLOSE語句 三、實例 1、實例1 2、實例2 五、補充 一、簡介 1、概念  遊標實際上是一種能從包括

原创 CentOS7.3 內網環境安裝Ambari2.7.4+HDP3.1.4(阿里雲服務器)

目錄 一、基本環境 準備 1.1、系統環境說明 1.2、基本配置 1.主機名映射的修改  2.關閉防火牆  3. 關閉SELINUX  4.關閉Linux的THP服務 5. SSH免密登錄 6.時鐘同步 7.配置最大打開文件數最大進程數等

原创 Linux格式化數據盤(阿里雲數據盤)

1、背景信息 本文操作僅適用小於等於2TiB的數據盤。大於2TiB的數據盤分區必須使用GPT格式,請參見分區格式化大於2 TiB數據盤。 數據盤的設備名默認由系統分配。I/O優化實例的數據盤設備名從/dev/vdb遞增排列,包括/dev/

原创 ext3 升級到 ext4

 剛開始 不懂,隨便找個博客將 數據盤 格式化爲 ext3 , 考慮到潛在的問題,考慮 升級到 ext 4. ​ // ext3 升級到 ext4 [root@hdp02 ~]# tune2fs -O extents,uninit_

原创 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.

原创 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 requir

原创 umount 提示:device is busy 的處理方法(In some cases useful info about processes that use )

執行umount 的時候卻提示:device is busy 的處理方法 umount: /var/centos7: target is busy.         (In some cases useful info about pr

原创 ImportError: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found 或者/lib64/libcrypto.so.10

場景:Ambari  setup  設置 時出現如下問題 ImportError: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /usr/

原创 -bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory(誤刪 lib)

【linux】-bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory   linux操作移動了根目錄下的/li

原创 CentOS8 配置本地 yum 源的詳細教程(iso鏡像)

採用iso鏡像文件方式掛載 1.查看磁盤的掛載情況 2.首先你得把iso文件傳到你的centos 上 這裏就只能想想辦法咯。沒網絡用U盤,沒u盤用光驅。總之得傳到對應一個目錄上(WinSCP工具上傳) mount -o loop /m

原创 Job for httpd.service failed because the control process exited with error code.

說明  安裝 Ambari + HDP (CentOS 8 , 阿里雲服務器), 製作了 本地的 yum 源 ,安裝 httpd 後 啓動報錯 Job for httpd.service failed because the cont

原创 CentOS8 換yum源,設置dnf / yum鏡像

aliyun更新了centos8的說明:https://developer.aliyun.com/mirror/centos curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirror

原创 pyecharts 介紹

一、pyecharts 介紹 ECharts,一個使用 JavaScript 實現的開源可視化庫,可以流暢的運行在 PC 和移動設備上,兼容當前絕大部分瀏覽器(IE8/9/10/11,Chrome,Firefox,Safari等),底層

原创 Yarn(RM-AM-NM 三大組件的通信,任務提交搭到 Yarn 的過程,文件切片)

目錄 一、 Yarn簡介 二、Yarn設計 三、Yarn主要組件 3.1 Client<===>RM 3.2 RM <===>AM 3.3 AM<===>NM 3.4 API 四、hadoop on  yarn 任務的提交流程 1. 文件