Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

FTP configure local yum source

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Recently, in order to build a local hadoop cluster environment, you need to install the CDH package and build the yum source of FTP to facilitate installation.

Installation of 1.vsftp

Reference: https://wsgzao.github.io/post/vsftpd/

(no need to set anonymous access, account and password)

two。 Configure the FTP server:

Mount-o loop / dev/cdrom1 / mnt/

Rsync-a / mnt/cdrom / var/ftp

Createrepo / var/ftp/cdh

Vim / etc/yum.repo.d/yumftp.repo

[ftp]

Name=ftpyum

Baseurl= ftp://192.168.56.101/cdh

Enabled=1

Gpgcheck=1

Gpgkey= ftp://192.168.56.101/cdh/RPM-GPG-KEY-cloudera

Update:

Yum clean all

Yum makecache

3. Configure the client:

I'm just too lazy to create it again.

Cd / etc/yum.repo.d/

Scp yumftp.repo root@192.168.56.102:/etc/yum.repo.d/

Update:

Yum clean all

Yum makecache

Pay attention to see if there is any rpm you added in the update. Generally speaking, there is a display ftp module behind it.

Then you can yum install * *

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report