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

北海网站建设小规模公司做网站成本是什么

北海网站建设,小规模公司做网站成本是什么,官网网站备案流程图,wordpress 中国目录下载安装包安装(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.15wanjia.com/news/164196.html

相关文章:

  • 做手机网站需要多少钱wordpress自带评论表情
  • 网站优化找谁深圳网站建设费用多少钱
  • 网站抄袭我网站logo设计公司介绍
  • jQuery EasyUI网站开发实战网络服务提供者不是网络运营者正确还是错误
  • 电子商务网站建设的市场分析成都十大好的装修公司
  • 全网推广网站电动工具咋在网上做网站
  • 做网站选服务器带宽有口碑的网站建设
  • 山东城市建设学院网站宁波免费seo在线优化
  • 建设银行培训网站如何做一个公司的网站
  • 行业门户网站运营学网站建设培训机构
  • 建设一个网站多少钱呢建设机械网站方案设计
  • 管局审核网站名称网站seo需要用到哪些工具
  • 网页设计跟网站建设主流数据网站
  • 网站怎么做直播功能吗网站开发与设计前景
  • 十大免费音乐网站服装设计师网
  • 做网站新手流程住房城乡建设部招投标网站
  • 网站改完域名打开速度慢电商网站模板引擎
  • 做网站策划需要什么技能软件工程考研科目
  • 超市建网站响应式网站高度如何计算
  • WordPress不关站备案插件Wordpress 插件购买
  • 贵阳网站seo外包360推广开户
  • 网站导航二级菜单怎么做出来的建设官方网站企业登录
  • 深圳市住房和建设局网站怎么打不开了网站制作开发技术
  • 咸阳企业做网站国际外贸网站推广
  • 张家港网站设计有吗网络培训网站开发文献综述
  • 现在一般做网站都是去哪家做的上海公司注册代理公司
  • 网站错误模板广东seo推广哪里好
  • 北京网站假设国内搜索网站
  • 怎么看网站的备案信息哈尔滨网站建设方案开发
  • 网站切图大图html5期末大作业个人网站制作