在CentOS-7上安裝Vertica與配置

來源:互聯網
上載者:User

標籤:

最近在做整合Vertica項目,需要把Vertica做成鏡像,在openstack和hos上運行,so,自己在CentOS上安裝配置Vertica

 

一.首先安裝配置centos7

centos7分區一定要用ext3或ext4,vertica要求這兩種格式,磁碟類型必須選擇:Standard Partition

https://my.vertica.com/docs/7.2.x/HTML/index.htm#cshid=S0160

https://my.vertica.com/docs/7.2.x/HTML/index.htm#cshid=S0170

 

/swap   4G

/root  300M

/var  40G

/home  20G

/    16G

 

 

二.安裝前配置centos依賴軟體 

安裝好centos之後可以安裝vertica了,vertica安裝前需要準備依賴

1.配置ip擷取ip

2.查看磁碟分割:df -Th -x vfat

3.配置yum源,上傳vertica的rpm

  cd /etc/yum.repos.d/

換成自己的yum源

yum update

 

三.開始vertica安裝前準備

#1. 可以用如下命令建立Vertica系統管理使用者vdbadmin並設定密碼: 

# useradd vdbadmin -u 666 -d /home/vertica -s /bin/bash  # passwd vdbadmin 
([email protected])

#2.上傳RPM包到指定位置 

# mount /dev/sdb4  /mnt/ # cp /mnt/vertica-7.0.2-1.x86_64.RHEL5.rpm          /home/vertica  # cp /mnt/vertica-client-7.0.2-1.x86_64.rpm           /home/vertica  # cp /mnt/vertica-console-7.0.2-1.x86_64.RHEL5.rpm   /home/vertica

#3.修改主機名稱 

#vim /etc/hosts   (修改或添加:)  127.0.0.1   verticaserver

#4.關閉防火牆 (目前沒裝)

# chkconfig iptables --level 3 5 off 
# chkconfig ip6tables --level 3 5 off
# service iptables stop

#5.關閉SELINUX: 

# vim /etc/selinux/config 從SELINUX=enforcing改到 SELINUX=disabled 

# setenforce 0

 

 





 

 

 

還有個最麻煩的配置是I/O Scheduling

https://my.vertica.com/docs/7.2.x/HTML/index.htm#cshid=S0151

 1.查看ip地址:ip addr

在CentOS-7上安裝Vertica與配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.