配置 apt-get cloudera 离线source(Cloudera Manager的源)

时间:2023-12-29 12:17:56

配置 apt-get cloudera 离线source(Cloudera Manager的源)

创建/etc/apt/source.list.d/cloudera-manager.list文件,并在文件中添加
(从http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm 中的cloudera.list拷贝出来)

deb [arch=amd64] http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm precise-cm5 contrib
deb-src http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm precise-cm5 contrib

# Packages for Cloudera's Distribution for Hadoop, Version 5, on Ubuntu 12.04 amd64
deb [arch=amd64] http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh precise-cdh5 contrib
deb-src http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh precise-cdh5 contrib

curl -s http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh/archive.key | sudo apt-key add -