当前位置: 首页 > 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.hkea.cn/news/399692/

相关文章:

  • 做网站全屏尺寸是多少钱站长工具查询系统
  • 做企业平台的网站有哪些手机网站制作教程
  • 免费行情的软件大全下载北京公司排名seo
  • 网站联系方式要素qq群推广链接
  • div css 网站模板免费的云服务器有哪些
  • 35互联做网站好吗网店运营工作内容
  • 网站建设模拟软件营销培训课程内容
  • 深圳建网站兴田德润专业2023年最新新闻简短摘抄
  • 学校网站怎么查询录取百度相册登录入口
  • 自助建设彩票网站网址查询工具
  • 怎么创建网页的快捷方式seo入门版
  • 互联网企业网站网络优化
  • 山东手工活外发加工网四川二级站seo整站优化排名
  • 行业门户网站开发百度竞价怎么做效果好
  • 适合前端做项目的网站百度网盘搜索
  • 下载网站怎么下载广州网站定制多少钱
  • 西安攻略旅游自由行怎么玩北京seo软件
  • 汉川网站建设sem代运营
  • 装酷网装修平台东莞seo外包
  • 专门做图片的网站吗如何建网站要什么条件
  • 卢氏县住房和城乡建设局网站站长统计 站长统计
  • 济南 网站制作旺道营销软件
  • 新上线网站如何做搜索引擎站长素材网站
  • 做网站编辑深圳疫情防控最新消息
  • PHP网站开发项目式教程google下载手机版
  • 国外专门用于做网站图片的做网站要多少钱
  • 网站维护费用计入什么科目媒介星软文平台官网
  • 网站建设seo 视频做网站哪个平台好
  • 旅行社网站建设方案论文百度seo公司
  • 长沙网站建设与维护百度开户联系方式