当前位置: 首页 > news >正文

浙江省建设信息港网站广州seo顾问

浙江省建设信息港网站,广州seo顾问,老外把金文做的网站翻译叫什么,免费的行情软件网站不下载目录下载安装包安装(Ubuntu18.04)配置 I/O Scheduler配置 TZSupport Tools配置 swapinessDisk ReadaheadEnabling chrony or ntpd自启动项错误处理后重装下载安装包 官网11.0版本或者10.0(deb)安装包可私信提供百度网盘链接; 安装(Ubuntu18.04) testvertica:~$ s…

目录

    • 下载安装包
    • 安装(Ubuntu18.04)
      • 配置 I/O Scheduler
      • 配置 TZ
      • Support Tools
      • 配置 swapiness
      • Disk Readahead
      • Enabling chrony or ntpd
      • 自启动项
      • 错误处理后重装

下载安装包

  • 官网
  • 11.0版本或者10.0(deb)安装包可私信提供百度网盘链接;

安装(Ubuntu18.04)

test@vertica:~$ sudo dpkg -i vertica_10.0.0-0_amd64.deb
#缺少依赖,安装依赖
test@vertica:~$ sudo /opt/vertica/sbin/install_vertica --hosts 192.168.1.xx

添加 dbadmin 用户密码后报错

Prerequisites not fully met during local (OS) configuration for
verify-192.168.1.xx.xml:HINT (S0151): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0151HINT(eS0151): These disks do not have known IO schedulers: '/dev/sda2'('sda') = 'none'HINT (S0305): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0305HINT(eS0305): TZ is unset for dbadmin. Consider updating .profile or.bashrcHINT (S0041): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0041HINT(eS0041): Could not find the following tools normally provided bythe rasdaemon package: rasdaemonHINT (S0040): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0040HINT(eS0040): Could not find the following tools normally provided bythe pstack or gstack package: pstack/gstackHINT (S0045): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0045HINT(eS0045): Could not find the following tools normally provided bythe sysstat package: iostat, mpstatWARN (S0112): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0112WARN(eS0112): vm.swappiness is higher than recommended: your 60 > 1FAIL (S0020): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0020FAIL(eS0020): Readahead size of sda (/dev/sda2) is too low for typicalsystems: 256 < 2048FAIL (S0030): https://www.vertica.com/docs/11.0.x/HTML/index.htm#cshid=S0030FAIL(eS0030): ntp daemon process is not running: ['ntpd', 'ntp','chronyd']System prerequisites failed.  Threshold = WARNHint: Fix above failures or use --failure-thresholdInstallation FAILED with errors.

打开错误中的链接地址即可解决

配置 I/O Scheduler

Vertica 使用的磁盘的 I/O 调度程序必须设置为 deadline 或 noop,默认为 deadline.

test@vertica:~$ cat /sys/block/sda/queue/scheduler
[none]
test@vertica:~$ echo "mq-deadline" | sudo tee /sys/block/sda/queue/scheduler
# 加入开机自启
test@vertica:~$ echo 'echo "mq-deadline" > /sys/block/sda/queue/scheduler' | sudo tee -a /etc/rc.local

On some Ubuntu/Debian systems, the last line in rc.local must be “exit 0”. So you must manually add the following line to etc/rc.local before the last line with exit 0.

配置 TZ

#sudo timedatectl set-timezone Asia/Shanghai
test@vertica:~$ cat <<EOF>>~/.bashrc
export TZ="Asia/Shanghai"
EOF

如果是集群,必须在所有节点上将 TZ 变量设置为相同的值;

Support Tools

test@vertica:~$ sudo apt install pstack sysstat [rasdaemon]mcelog

For Ubuntu versions 18.04 and higher, run apt install rasdaemon instead of apt install mcelog.

配置 swapiness

test@vertica:~$ cat /proc/sys/vm/swappiness
test@vertica:~$ echo "vm.swappiness=0" | sudo tee -a /etc/sysctl.conf
test@vertica:~$ sudo sysctl -p
test@vertica:~$ cat /proc/sys/vm/swappiness

Disk Readahead

test@vertica:~$ sudo /sbin/blockdev --setra 2048 /dev/sda
test@vertica:~$ echo '/sbin/blockdev --setra 2048 /dev/sda' | sudo tee -a /etc/rc.local

On some Ubuntu/Debian systems, the last line in rc.local must be “exit 0”. So you must manually add the following line to etc/rc.local before the last line with exit 0.

Enabling chrony or ntpd

test@vertica:~$ sudo apt install chrony
test@vertica:~$ sudo systemctl status chrony
test@vertica:~$ chronyc tracking

自启动项

test@vertica:~$ echo '#!/bin/sh -e' | sudo tee /etc/rc.local
test@vertica:~$ echo 'echo "mq-deadline" > /sys/block/sda/queue/scheduler' | sudo tee -a /etc/rc.local
test@vertica:~$ echo '/sbin/blockdev --setra 2048 /dev/sda' | sudo tee -a /etc/rc.local
test@vertica:~$ echo 'exit 0' | sudo tee -a /etc/rc.local
#自启动启动略

错误处理后重装

test@vertica:~$ sudo /opt/vertica/sbin/install_vertica --hosts 192.168.1.xx
#......
# To create a database:
#   1. Logout and login as dbadmin. (see note below)
#   2. Run /opt/vertica/bin/adminTools as dbadmin
#   3. Select Create Database from the Configuration Menu
#   Note: Installation may have made configuration changes to dbadmin
#   that do not take effect until the next session (logout and login).
#.......
test@vertica:~$ su dbadmin
#Password:
dbadmin@vertica:/home/test$ /opt/vertica/bin/adminTools
# create database,第一步证书Tab键直接选择OK使用社区版
http://www.ds6.com.cn/news/25780.html

相关文章:

  • 佛山网站建设运营seo自动工具
  • 传媒公司网站建设网站收录查询代码
  • 兼职做美工摄影去哪个网站网站建设需要多少钱?
  • 网站建设的总结100字郑州网络推广报价
  • 设计师关注的十大网站市场营销说白了就是干什么的
  • photoshop免费素材库安卓优化大师老版本
  • 能有javaee独立做网站工资网站备案查询
  • 怎么做企业网站优化网站免费搭建
  • 长春电商网站建设多少钱关键词百度云
  • 织梦网站建设博客qq关键词排名优化
  • 收到网站建设账务处理新闻发布会新闻通稿
  • 网站空间如何升级怎么自己做网站
  • 免费建造网站长沙seo优化价格
  • 个人主页免费网站网络营销的常用方法有哪些
  • 网站栏目优化品牌营销策略有哪些方法
  • 网上购物网站建设的实训报告黑帽seo之搜索引擎
  • 深圳企业建站招聘南京seo公司排名
  • baidu网站建设最新seo网站优化教程
  • 个人怎么建设图书网站百度客户端在哪里打开
  • 网站的原型怎么做内容营销是什么意思
  • 无锡网站建设咨询今日国际新闻事件
  • 卖辅助网站怎么做的google搜索引擎入口网址
  • 织梦dede新闻网站源码手机站河南郑州最新消息今天
  • 昆明设计网站企业网站seo点击软件
  • 移动做网站吗网站建设方案书 模板
  • 外贸软件排行榜前十名短视频seo排名加盟
  • 有创意的网站开发六安seo
  • 村网站建设计划书新乡百度网站优化排名
  • 如何在各网站做推广全球搜索
  • 做博彩网站犯法吗教育培训机构