You need to enable JavaScript to run this app.

(1)安装易观方舟argo4.6

发布于2020-04-21
关注
阅读量:145

参考链接

机器准备

防火墙
systemctl stop firewalld
systemctl disable firewalld
selinux
getenforce
setenforce 0

cat   /etc/selinux/config
sed -i.bak "/^SELINUX=/s/SELINUX=.*/SELINUX=disabled/" /etc/selinux/config
磁盘

磁盘分区
挂载到对应路径,argo的数据盘挂到/data1

下载

argo.4.6.tar.gz 文件很大,最好后台下载


yum install -y vim wget

wget http://arkinstall.analysys.cn/upgrade/go.tar.gz
wget http://arkinstall.analysys.cn/argo.4.6.tar.gz &

tar  xf go.tar.gz
cp go/files/scatter/sys.conf    /tmp/

tar xf argo.4.6.tar.gz  -C /opt/

sys.conf配置

/tmp/sys.conf

# root or sudo permision user
[HOSTS]
node220={'IP':'192.168.88.220','PORT':'22','USER':'root','PASSWD':'OndnZC3o'}
#ark2={'IP':'172.31.24.66','PORT':'22','USER':'root','PASSWD':'Eguan)@)$'}
#ark3={'IP':'172.31.28.0','PORT':'22','USER':'root','PASSWD':'Eguan)@)$'}

[DISK]
node220={'data1':'sda2'}
#ark2={'data1':'sdb','data2':'sdc'}
#ark3={'data1':'sdb','data2':'sdc'}

安装前准备

yum -y install python36
pip3 install PrettyTable  PrettyTable  colorama  paramiko  pexpect


cd go
python3  tools/pre.py  -t
python3  tools/pre.py  -s

# 执行此步骤会把go目录cp到/home/argo目录下
python3  tools/pre.py  -u argo

安装


chown -R argo:argo /tmp/pre.log

su - argo

python3 go/tools/pre.py -x
python3 go/tools/pre.py -init
sudo cp /opt/argo.4.6/*  /opt/soft/
sudo  bash -x standalone_offline_installer.sh

安装后登录

方舟访问地址 http://${IP_out}:4005 账号admin 密码 111111
ambari管理地址 http://${IP_out}:8080 账号 admin 密码 admin
sdk上报地址 http://${IP_out}:8089

安装后无法使用bash快捷键

echo "set -o emacs on" >> ~/.bashrc
%5Btoc%5D%0A%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5%0A%23%23%23%20%E6%9C%BA%E5%99%A8%E5%87%86%E5%A4%87%0A%23%23%23%23%23%20%E9%98%B2%E7%81%AB%E5%A2%99%0A%60%60%60bash%0Asystemctl%20stop%20firewalld%0Asystemctl%20disable%20firewalld%0A%60%60%60%0A%23%23%23%23%23%20selinux%0A%60%60%60bash%0Agetenforce%0Asetenforce%200%0A%0Acat%20%20%20%2Fetc%2Fselinux%2Fconfig%0Ased%20-i.bak%20%22%2F%5ESELINUX%3D%2Fs%2FSELINUX%3D.*%2FSELINUX%3Ddisabled%2F%22%20%2Fetc%2Fselinux%2Fconfig%0A%60%60%60%0A%23%23%23%23%23%20%E7%A3%81%E7%9B%98%0A%3E%20%E7%A3%81%E7%9B%98%E5%88%86%E5%8C%BA%0A%3E%20%E6%8C%82%E8%BD%BD%E5%88%B0%E5%AF%B9%E5%BA%94%E8%B7%AF%E5%BE%84%EF%BC%8Cargo%E7%9A%84%E6%95%B0%E6%8D%AE%E7%9B%98%E6%8C%82%E5%88%B0%2Fdata1%0A%0A%23%23%23%20%E4%B8%8B%E8%BD%BD%0A%3E%20argo.4.6.tar.gz%20%E6%96%87%E4%BB%B6%E5%BE%88%E5%A4%A7%EF%BC%8C%E6%9C%80%E5%A5%BD%E5%90%8E%E5%8F%B0%E4%B8%8B%E8%BD%BD%0A%60%60%60bash%0A%0Ayum%20install%20-y%20vim%20wget%0A%0Awget%20http%3A%2F%2Farkinstall.analysys.cn%2Fupgrade%2Fgo.tar.gz%0Awget%20http%3A%2F%2Farkinstall.analysys.cn%2Fargo.4.6.tar.gz%20%26%0A%0Atar%20%20xf%20go.tar.gz%0Acp%20go%2Ffiles%2Fscatter%2Fsys.conf%20%20%20%20%2Ftmp%2F%0A%0Atar%20xf%20argo.4.6.tar.gz%20%20-C%20%2Fopt%2F%0A%60%60%60%0A%23%23%23%20sys.conf%E9%85%8D%E7%BD%AE%0A%3E%20%2Ftmp%2Fsys.conf%0A%60%60%60bash%0A%23%20root%20or%20sudo%20permision%20user%0A%5BHOSTS%5D%0Anode220%3D%7B'IP'%3A'192.168.88.220'%2C'PORT'%3A'22'%2C'USER'%3A'root'%2C'PASSWD'%3A'OndnZC3o'%7D%0A%23ark2%3D%7B'IP'%3A'172.31.24.66'%2C'PORT'%3A'22'%2C'USER'%3A'root'%2C'PASSWD'%3A'Eguan)%40)%24'%7D%0A%23ark3%3D%7B'IP'%3A'172.31.28.0'%2C'PORT'%3A'22'%2C'USER'%3A'root'%2C'PASSWD'%3A'Eguan)%40)%24'%7D%0A%0A%5BDISK%5D%0Anode220%3D%7B'data1'%3A'sda2'%7D%0A%23ark2%3D%7B'data1'%3A'sdb'%2C'data2'%3A'sdc'%7D%0A%23ark3%3D%7B'data1'%3A'sdb'%2C'data2'%3A'sdc'%7D%0A%60%60%60%0A%0A%23%23%23%20%E5%AE%89%E8%A3%85%E5%89%8D%E5%87%86%E5%A4%87%0A%60%60%60bash%0Ayum%20-y%20install%20python36%0Apip3%20install%20PrettyTable%20%20PrettyTable%20%20colorama%20%20paramiko%20%20pexpect%0A%0A%0Acd%20go%0Apython3%20%20tools%2Fpre.py%20%20-t%0Apython3%20%20tools%2Fpre.py%20%20-s%0A%0A%23%20%E6%89%A7%E8%A1%8C%E6%AD%A4%E6%AD%A5%E9%AA%A4%E4%BC%9A%E6%8A%8Ago%E7%9B%AE%E5%BD%95cp%E5%88%B0%2Fhome%2Fargo%E7%9B%AE%E5%BD%95%E4%B8%8B%0Apython3%20%20tools%2Fpre.py%20%20-u%20argo%0A%60%60%60%0A%23%23%23%20%E5%AE%89%E8%A3%85%0A%60%60%60bash%0A%0Achown%20-R%20argo%3Aargo%20%2Ftmp%2Fpre.log%0A%0Asu%20-%20argo%0A%0Apython3%20go%2Ftools%2Fpre.py%20-x%0Apython3%20go%2Ftools%2Fpre.py%20-init%0Asudo%20cp%20%2Fopt%2Fargo.4.6%2F*%20%20%2Fopt%2Fsoft%2F%0Asudo%20%20bash%20-x%20standalone_offline_installer.sh%0A%60%60%60%0A%0A%23%23%23%20%E5%AE%89%E8%A3%85%E5%90%8E%E7%99%BB%E5%BD%95%0A%60%60%60bash%0A%E6%96%B9%E8%88%9F%E8%AE%BF%E9%97%AE%E5%9C%B0%E5%9D%80%20http%3A%2F%2F%24%7BIP_out%7D%3A4005%20%E8%B4%A6%E5%8F%B7admin%20%E5%AF%86%E7%A0%81%20111111%0Aambari%E7%AE%A1%E7%90%86%E5%9C%B0%E5%9D%80%20http%3A%2F%2F%24%7BIP_out%7D%3A8080%20%E8%B4%A6%E5%8F%B7%20admin%20%E5%AF%86%E7%A0%81%20admin%0Asdk%E4%B8%8A%E6%8A%A5%E5%9C%B0%E5%9D%80%20http%3A%2F%2F%24%7BIP_out%7D%3A8089%0A%60%60%60%0A%0A%23%23%23%20%E5%AE%89%E8%A3%85%E5%90%8E%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8bash%E5%BF%AB%E6%8D%B7%E9%94%AE%0A%60%60%60bash%0Aecho%20%22set%20-o%20emacs%20on%22%20%3E%3E%20~%2F.bashrc%0A%60%60%60

本内容仅代表作者本人的观点与立场

立即下载
应用名称:印象笔记 开发者:北京印象笔记科技有限公司
应用版本: 10.7.34 权限详情 Ι 隐私政策
更多推荐

如何使用隔空播放到 Mac?不只是投屏那么简单

过去想体验「隔空播放」,需要有一台 Apple TV、HomePod 或者兼容「隔空播放 2」功能的智能电视或音箱。 而 macOS Monterey 终于支持隔空播放到 Mac 了(虽然是部分机型)

Recommend
MAC派

如何更便宜方便的看上Apple TV+、正版鱿鱼游戏和漫威影视?

我们日常看剧,除了国内爱优腾B这些平台可以选择,还有一些没有进入中国大陆市场的流媒体平台,比如网飞、苹果的 Apple TV+、米老鼠的 Disney+ 等等。但是这些在国内使用起来往往门槛众多,比如

Recommend
MAC派

这可能是 Apple TV 观看网飞最简单的方式

Apple TV 虽然没有国行版,但是并不代表在国内 Apple TV 就不能用。只要你有一个海外区 Apple ID,就可以使用 Apple TV 上的 Apple Music、Apple TV+、

Recommend
MAC派

我的 macOS 找不到…了怎么办?

有时候我们的 Mac 用着用着可能发现有些东西找不到了。比如程序坞的「下载」文件夹,菜单栏的蓝牙设置开关。这篇文章就教你如何找回来。 程序坞找不到「下载」文件夹 在 macOS 桌面底部的那一条程序坞

Recommend
MAC派
共0条评论
登录后开始评论
分享到
  • 分享到QQ
  • 分享到微博
  • 分享到QQ空间
保存