Greeplum安装过程(centos)

一、安装说明

1. 最少准备3台机器(或虚拟机),单台机器设置多个网卡的方式也可以,不过我没有实际操作过;

2.3台centos在6.5以上,配置>1cpu,内存>=2G,磁盘空间>20G;

3.每台机器都有固定IP(方便设置),分别命名为mdw,sdw01,sdw02。

二、调整系统参数

1.vim /etc/sysctl.conf #(在GreenPlum安装包里面有个README,有同样的内容)

[root@localhost ~]# cat /etc/sysctl.conf
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings,enter new settings here,or in an /etc/sysctl.d/<name>.conf file
#
# For more information,see sysctl.conf(5) and sysctl.d(5).
kernel.shmmax = 500000000
kernel.shmmni = 4096
kernel.shmall = 4000000000
kernel.sem = 250 512000 100 2048
kernel.sysrq = 1
kernel.core_uses_pid = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.msgmni = 2048
net.ipv4.tcp_syncookies = 1
net.ipv4.ip_forward = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.conf.all.arp_filter = 1
net.ipv4.ip_local_port_range = 1025 65535
net.core.netdev_max_backlog = 10000
net.core.rmem_max = 2097152
net.core.wmem_max = 2097152
vm.overcommit_memory = 2
[root@localhost ~]#

2..在 /etc/security/limits.conf 后面添加

[root@localhost ~]# vi /etc/security/limits.conf
# /etc/security/limits.conf
#
* soft nofile 65536
* hard nofile 65536
* soft nproc 131072
* hard nproc 131072

# End of file

3..关闭防火墙
[root@localhost ~]#chkconfig iptables off
[root@localhost ~]#service iptables stop

centos7 使用 firewalld 替代了iptables,注意命令的不同

(4).编辑 /boot/grub/grub.conf
[root@localhost ~]# vi /boot/grub/grub.conf

elevator=deadline
crashkernel=auto

三、安装Greenplum

1.在主节点上安装 greenplum

(1).下载 greenplum 软件,保存文件到/usr/local/wjc(我下载的版本是4.3.8.0)

https://network.pivotal.io/products/pivotal-gpdb#/releases/1624/file_groups/391

(2).新建用户 gpadmin
useradd gpadmin

[root@localhost ~]# useradd gpadmin
[root@localhost ~]# passwd #gpadmin

(3).解压greenplumxx.zip,并把解压后的.bin文件copy至/usr/local(官方推荐的安装路径,省却麻烦)
unzip xxxxxxx.zip
[root@localhost wjc]# pwd
/usr/local/wjc
[root@localhost wjc]# ls
greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.zip
[root@localhost wjc]# unzip greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.zip
Archive: greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.zip
inflating: README_INSTALL
inflating: greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.bin
[root@localhost wjc]# ls
greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.bin greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.zip README_INSTALL
[root@localhost wjc]#

[root@localhost wjc]# mv greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.bin /usr/local
[root@localhost wjc]# ls
greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.zip README_INSTALL
[root@localhost wjc]#

#执行下面的命令进行安装,可能要输入多个yes进行确定
[root@localhost wjc]#/bin/bash greenplum-db-4.3.8.0-build-1-RHEL5-x86_64.bin

#进行安装,出现下面的信息表示安装完成

...

...
(Selecting no will exit the installer)
********************************************************************************

yes

Extracting product to /usr/local/greenplum-db-4.3.8.0

********************************************************************************
Installation complete.
Greenplum Database is installed in /usr/local/greenplum-db-4.3.8.0

Pivotal Greenplum documentation is available
for download at http://docs.gopivotal.com/gpdb
********************************************************************************
[root@localhost local]#
#记住:默认安装路径在
/usr/local/greenplum-db-4.3.8.0
(4).修改Greenplum所有者

[root@localhost local]# chown -R gpadmin /usr/local/greenplum-db
[root@localhost local]# chgrp -R gpadmin /usr/local/greenplum-db
[root@localhost local]# chown -R gpadmin /usr/local/greenplum-db-*.*.*.*
[root@localhost local]# chgrp -R gpadmin /usr/local/greenplum-db-*.*.*.*

(5).配置环境变量

[root@localhost local]#vim /etc/profile

添加以下文件:
GPHOME=/usr/local/greenplum-db-4.3.8.0
PATH=$GPHOME/bin:$GPHOME/ext/python/bin:$PATH
export GPHOME
export PATH

[root@localhost local]# source /etc/profile

(6).设置Master主机上的数据目录,指定数据的存放位置,空间要足够
[root@localhost local]#mkdir /gpmaster
[root@localhost local]#chown -R gpadmin /gpmaster
[root@localhost local]#chgrp -R gpadmin /gpmaster

(7).使用gpadmin用户登录,修改gpadmin的环境变量,否则初始化GP的时候会找不到master的存储文件夹
修改 文件vim ~/.bashrc 添加下面信息,并刷新

MASTER_data_dirECTORY=/gpmaster
export MASTER_data_dirECTORY
-------------
[root@localhost local]# su - gpadmin
[gpadmin@localhost ~]$ ls

[gpadmin@localhost ~]$ vim ~/.bashrc
# .bashrc

# Source global deFinitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYstemD_PAGER=

# User specific aliases and functions
MASTER_data_dirECTORY=/gpmaster
export MASTER_data_dirECTORY

[gpadmin@localhost ~]$ source ~/.bashrc

-------------------------
2.在各个区段服务器上安装GP


方法1:每台segment可以和master一样的安装方法
方法2:直接通过master主机对每台segment安装GP
(1).每台机器修改主机名

172.31.9.210 mdw
172.31.9.211sdw01
172.31.9.212sdw02


(2).master节点添加对应segmetn服务器的IP以及主机名
[root@localhost ~]# vim /etc/hosts
127.0.0.1 mdw
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.31.9.210 mdw
172.31.9.211sdw01
172.31.9.212sdw02

(3).在gpadmin用户根路径下新建两个文件,经常备用

[gpadmin@mdw ~]$ touch all_hosts
[gpadmin@mdw ~]$ vim all_hosts
mdw
sdw01
sdw02
~

[gpadmin@mdw ~]$ touch all_segs
[gpadmin@mdw ~]$ vim all_segs
sdw01
sdw02

(4).gpadmin登录
su - gpadmin
source /usr/local/greenplum-db/greenplum_path.sh
gpssh-exkeys -f /home/gpadmin/all_hosts #输入root密码


[gpadmin@mdw ~]$ source /usr/local/greenplum-db/greenplum_path.sh

(5).生成无密码认证
[gpadmin@mdw ~]$ source /usr/local/greenplum-db/greenplum_path.sh
[gpadmin@mdw ~]$ gpssh-exkeys -f /home/gpadmin/all_hosts
[STEP 1 of 5] create local ID and authorize on local host
... /home/gpadmin/.ssh/id_rsa file exists ... key generation skipped

[STEP 2 of 5] keyscan all hosts and update kNown_hosts file

[STEP 3 of 5] authorize current user on remote hosts
... send to sdw01
***
*** Enter password for sdw01:
[ERROR sdw01] bad password
***
*** Enter password for sdw01:

[STEP 4 of 5] determine common authentication file content

[STEP 5 of 5] copy authentication files to all remote hosts
... finished key exchange with sdw01

[INFO] completed successfully
[gpadmin@mdw ~]$

(6).为每个区段建立gpadmin用户 #待验证 root登录

a.为每个区段建立gpadmin用户
gpssh -f /home/gpadmin/all_segs '/usr/sbin/useradd gpadmin -d /home/gpadmin -s bin/bash'

b.建立密码
gpssh -f /home/gpadmin/all_segs 'echo “gpadmin_password” | passwd gpadmin –1'

(7).复制greenplum软件到segment host

a.在主节点上创建安装GP的tar文件
cd /usr/local
gtar -cvf /home/gpadmin/gp.tar greenplum-db-*.*.*.*

b.用goscp命令将其安装到各个segment
source /usr/local/greenplum-db/greenplum_path.sh
gpscp -f /home/gpadmin/all_segs /home/gpadmin/gp.tar=:/usr/local

启动gpssh会话
gpssh -f /home/gpadmin/all_segs

在gpssh下解压
=>gtar
=> gtar --directory /usr/local -xvf /usr/local/gp.tar

建立gp当前版本目录连接:
=> ln -s /usr/local/greenplum-db-*.*.*.* /usr/local/greenplum-db

(8).修改目录所有者
=> chown -R gpadmin /usr/local/greenplum-db
=> chgrp -R gpadmin /usr/local/greenplum-db
=> chown -R gpadmin /usr/local/greenplum-db-*.*.*.*
=> chgrp -R gpadmin /usr/local/greenplum-db-*.*.*.*

(9).建立segment节点上的存储区
=>
=>mkdir /home/gpadmin/primary #主文件
=>mkdir /home/gpadmin/mirror #镜像文件
修改权限和所有者(同步骤(8))

=> chown -R gpadmin /home/gpadmin/primary
=> chgrp -R gpadmin /home/gpadmin/primary
=> chown -R gpadmin /home/gpadmin/mirror
=> chgrp -R gpadmin /home/gpadmin/mirror

------#######--------
[gpadmin@mdw ~]$ gpssh -f /home/gpadmin/all_segs
Note: command history unsupported on this machine ...
=> ln -s /usr/local/greenplum-db-*.*.*.* /usr/local/greenplum-db
[sdw01]
=> chown -R gpadmin /usr/local/greenplum-db
[sdw01]
=> chgrp -R gpadmin /usr/local/greenplum-db
[sdw01]
=> chown -R gpadmin /usr/local/greenplum-db-*.*.*.*
[sdw01]
=> chgrp -R gpadmin /usr/local/greenplum-db-*.*.*.*
[sdw01]
=> mkdir /home/gpadmin/primary
[sdw01]
=> mkdir /home/gpadmin/mirror
[sdw01]
=> chown -R gpadmin /home/gpadmin/primary
[sdw01]
=> chgrp -R gpadmin /home/gpadmin/primary
[sdw01]
=> chown -R gpadmin /home/gpadmin/mirror
[sdw01]
=> chgrp -R gpadmin /home/gpadmin/mirror
[sdw01]
=> exit

[gpadmin@mdw ~]$


(10).退出gpssh交互模式
=>exit

3.初始化GP

(1).同步时钟

[gpadmin@mdw ~]$gpssh -f /home/gpadmin/all_hosts -v data
[gpadmin@mdw ~]$gpssh -f /home/gpadmin/all_hosts -v ntpd

(2).系统检测
[gpadmin@mdw ~]$gpcheckos -f /home/gpadmin/all_hosts


(3).将/usr/local/greenplum-db-4.3.8.0/docs/cli_help/gpconfigs/gpinitsystem_config 复制到/home/gpadmin/gpconfigs目录(没有就新建个)下然后编辑:
cd /home/gpadmin
mkdir gpconfigs
cp /usr/local/greenplum-db-4.3.8.0/docs/cli_help/gpconfigs/gpinitsystem_config /home/gpadmin/gpconfigs

vi gpinitsystem_config


[gpadmin@mdw ~]$ cd /home/gpadmin
[gpadmin@mdw ~]$ mkdir gpconfigs
[gpadmin@mdw ~]$ cp /usr/local/greenplum-db-4.3.8.0/docs/cli_help/gpconfigs/gpinitsystem_config /home/gpadmin/gpconfigs
[gpadmin@mdw ~]$ ls gpconfigs
gpinitsystem_config
[gpadmin@mdw ~]$

文件内容以及变化

(a).
#### the specified interface addresses).
declare -a data_dirECTORY=(/data1/primary /data1/primary /data1/primary /data2/primary /data2/primary /data2/primary)
============>
declare -a data_dirECTORY=(/home/gpadmin/primary)

(b).

#### will be created.
MASTER_DIRECTORY=/data/master
============>
#### will be created.
MASTER_DIRECTORY=/gpmaster

(c).

#### data_dirECTORY parameter.
#declare -a MIRROR_data_dirECTORY=(/data1/mirror /data1/mirror /data1/mirror /data2/mirror /data2/mirror /data2/mirror)
============>
##declare -a MIRROR_data_dirECTORY=(/home/gpadmin/mirror /home/gpadmin/mirror /data1/mirror /data2/mirror /data2/mirror /data2/mirror)
declare -a MIRROR_data_dirECTORY=(/home/gpadmin/mirror)

(d).

#### Create a database of this name after initialization.
#DATABASE_NAME=name_of_database
============>
DATABASE_NAME=gpexmp

(e).

#### with the the -h option of gpinitsystem.
#MACHINE_LIST_FILE=/home/gpadmin/gpconfigs/hostfile_gpinitsystem
============>
#### Specify the location of the host address file here instead of
#### with the the -h option of gpinitsystem.
MACHINE_LIST_FILE=/home/gpadmin/all_segs

#如果上一步骤出现 不能修改的问题,则执行下面的授权

[gpadmin@mdw ~]$ cd gpconfigs/
[gpadmin@mdw gpconfigs]$ ls -lh
total 4.0K
-r--r--r--. 1 gpadmin gpadmin 2.6K Apr 24 23:16 gpinitsystem_config
[gpadmin@mdw gpconfigs]$ chmod 774 gpinitsystem_config
[gpadmin@mdw gpconfigs]$ ls -lh
total 4.0K
-rwxrwxr--. 1 gpadmin gpadmin 2.6K Apr 24 23:16 gpinitsystem_config
[gpadmin@mdw gpconfigs]$

(4).初始化数据库:
[gpadmin@mdw gpconfigs]$source /usr/local/greenplum-db/greenplum_path.sh
[gpadmin@mdw gpconfigs]$gpinitsystem -c /home/gpadmin/gpconfigs/gpinitsystem_config

##出现下面的信息表示安装成功

20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Scanning utility log file for any warning messages
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[WARN]:-*******************************************************
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[WARN]:-Scan of log file indicates that some warnings or errors
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[WARN]:-were generated during the array creation
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Please review contents of log file
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-/home/gpadmin/gpAdminLogs/gpinitsystem_20160425.log
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-To determine level of criticality
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-These messages Could be from a prevIoUs run of the utility
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[INFO]:-that was called today!
20160425:03:26:45:007989 gpinitsystem:mdw:gpadmin-[WARN]:-*******************************************************
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Greenplum Database instance successfully created
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-------------------------------------------------------
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-To complete the environment configuration,please
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-update gpadmin .bashrc file with the following
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-1. Ensure that the greenplum_path.sh file is sourced
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-2. Add "export MASTER_data_dirECTORY=/gpmaster/gpseg-1"
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:- to access the Greenplum scripts for this instance:
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:- or,use -d /gpmaster/gpseg-1 option for the Greenplum scripts
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:- Example gpstate -d /gpmaster/gpseg-1
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Script log file = /home/gpadmin/gpAdminLogs/gpinitsystem_20160425.log
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-To remove instance,run gpdeletesystem utility
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-To initialize a Standby Master Segment for this Greenplum instance
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Review options for gpinitstandby
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-------------------------------------------------------
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-The Master /gpmaster/gpseg-1/pg_hba.conf post gpinitsystem
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-has been configured to allow all hosts within this new
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-array to intercommunicate. Any hosts external to this
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-new array must be explicitly added to this file
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-Refer to the Greenplum Admin support guide which is
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-located in the /usr/local/greenplum-db/./docs directory
20160425:03:26:46:007989 gpinitsystem:mdw:gpadmin-[INFO]:-------------------------------------------------------

(5).记住我们的数据库名字叫做gpexpmp,我们可以进行测试,在gpadmin下,执行以下查询:
psql -d gpexmp
gpexmp=#select current_timestamp;

[gpadmin@mdw ~]$ psql -d gpexmp
psql (8.2.15)
Type "help" for help.

gpexmp=# select current_timestamp;
Now
-------------------------------
2016-04-25 03:27:28.866806-07
(1 row)

gpexmp=#

(6).安装完毕!

Greeplum 在centos上部署安装的更多相关文章

  1. ios – 从Live Photo中提取视频部分

    有没有人想出如何从LivePhoto中提取视频部分?

  2. ios – 使用Swift的Lumberjack 2.0记录器

    我以前使用物镜C的Lumberjack记录器,我喜欢它.现在我开始学习Swift,我不能在那里使用我最喜欢的记录器.有人可以一步一步地写出我能做到的事吗?在Lumberjack2.0发布之前,我尝试在这里找到一些东西,但所有主题都是自定义包装器.我做了什么:>我用Cocoapods添加了Lumberjack;>我将“#import”添加到Bridging-Header文件中.我不知道接下来该怎么办?因为在ObjC中我有宏:staticconstintddLogLevel=LOG_LEVEL_INFO;el

  3. ios – 从embedded.mobileprovision配置文件获取证书到期日期

    谁可以帮我进一步?

  4. swift语言IOS8开发战记22 Core Data3

    上一话我们定义了与coredata有关的变量和方法,做足了准备工作,这一话我们来试试能不能成功。首先打开上一话中生成的Info类,在其中引用头文件的地方添加一个@objc,不然后面会报错,我也不知道为什么。

  5. Swift_UIImagePickerController选择图片显示

    Swift_UIImagePickerController选择图片显示代码如下:

  6. swift分享到微信

    申请微信开发平台AppId地址:open.weixin.qq.com下载微信终端sdk文件包括以下文件:将sdk文件导入到工程4.微信开放平台新增了微信模块用户统计功能,便于开发者统计微信功能模块的用户使用和活跃情况。BuildSettings->All->SearchPaths7.在Xcode中,选择你的工程设置项,选中“TARGETS”一栏,在“info”标签栏的“URLtype“添加“URLscheme”为你所注册的应用程序id。8.注册AppId9.编写代码调试的时候必须装有微信才行!!!

  7. Swift-UITableViewCell:设置表格的accessoryType属性

    >UPDATE2015/12/24:UpdatedforXcode7.2andSwift2UITableViewCell的---accessoryType属性代码示例:

  8. Swift获取手机设备信息

    使用UiDevice获取设备信息:获取设备名称获取设备系统名称获取系统版本获取设备模型获取设备本地模型Swift获取Bundle的相关信息:

  9. openstack学习笔记七 swift安装

    指定映射位置创建ring文件启动服务代维服务proxyserver

  10. openstack安装liberty--安装对象存储服务swift

    通常使用CACHE技術提高性能Accountservers賬戶服務,管理對象存儲中的賬戶定義。Containerservers容器服務,在對象存儲中管理容器或文件夾映……Objectservers對象服務,在存儲節點管理實際的對象,比如文件。Wsgimiddleware處理認證,通常使用OPENSTACKIdentityswiftclient為用戶提供命令行接口使用RESTAPIswift-init初始化和構建RING文件腳本swift-recon一個命令行工具,用於檢索群集的各種度量和測試信息。

随机推荐

  1. 在airgapped(离线)CentOS 6系统上安装yum软件包

    我有一个CentOS6系统,出于安全考虑,它已经被空气泄漏.它可能从未连接到互联网,如果有,它很长时间没有更新.我想将所有.rpm软件包放在一个驱动器上,这样它们就可以脱机安装而无需查询互联网.但是,我在测试VM上遇到的问题是,即使指定了本地路径,yum仍然会挂起并尝试从在线存储库进行更新.另外,有没有办法使用yum-utils/yumdownloader轻松获取该包的所有依赖项和所有依赖项?目前

  2. centos – 命名在日志旋转后停止记录到rsyslog

    CentOS6.2,绑定9.7.3,rsyslog4.6.2我最近设置了一个服务器,我注意到在日志轮换后,named已停止记录到/var/log/messages.我认为这很奇怪,因为所有日志记录都是通过rsyslog进行的,并且named不会直接写入日志文件.这更奇怪,因为我在更新区域文件后命名了HUPed,但它仍然没有记录.在我停止并重新启动命名后,记录恢复.这里发生了什么?

  3. centos – 显示错误的磁盘大小

    对于其中一个磁盘,Df-h在我的服务器上显示错误的空白区域:Cpanel表明它只有34GB免费,但还有更多.几分钟前,我删除了超过80GB的日志文件.所以,我确信它完全错了.fdisk-l/dev/sda2也显示错误:如果没有格式化,我该怎么做才能解决这个问题?并且打开文件描述符就是它需要使用才能做到这一点.所以…使用“lsof”并查找已删除的文件.重新启动写入日志文件的服务,你很可能会看到空间可用.

  4. 如何在centos 6.9上安装docker-ce 17?

    我目前正在尝试在centOS6.9服务器上安装docker-ce17,但是,当运行yuminstalldocker-ce时,我收到以下错误:如果我用跳过的标志运行它我仍然得到相同的消息,有没有人知道这方面的方法?

  5. centos – 闲置工作站的异常负载平均值

    我有一个新的工作站,具有不寻常的高负载平均值.机器规格是:>至强cpu>256GB的RAM>4x512GBSSD连接到LSI2108RAID控制器我从livecd安装了CentOS6.564位,配置了分区,网络,用户/组,并安装了一些软件,如开发工具和MATLAB.在启动几分钟后,工作站负载平均值的值介于0.5到0.9之间.但它没有做任何事情.因此我无法理解为什么负载平均值如此之高.你能帮我诊断一下这个问题吗?

  6. centos – Cryptsetup luks – 检查内核是否支持aes-xts-plain64密码

    我在CentOS5上使用cryptsetupluks加密加密了一堆硬盘.一切都很好,直到我将系统升级到CentOS6.现在我再也无法安装磁盘了.使用我的关键短语装载:我收到此错误:在/var/log/messages中:有关如何装载的任何想法?找到解决方案问题是驱动器使用大约512个字符长的交互式关键短语加密.出于某种原因,CentOS6中的新内核模块在由旧版本创建时无法正确读取512个字符的加密密钥.似乎只会影响内核或cryptsetup的不同版本,因为在同一系统上创建和打开时,512字符的密钥将起作用

  7. centos – 大量ssh登录尝试

    22个我今天登录CentOS盒找到以下内容这是过去3天内的11次登录尝试.WTF?请注意,这是我从我的提供商处获得的全新IP,该盒子是全新的.我还没有发布任何关于此框的内容.为什么我会进行如此大量的登录尝试?是某种IP/端口扫描?基本上有4名匪徒,其中2名来自中国,1名来自香港,1名来自Verizon.这只发生在SSH上.HTTP上没有问题.我应该将罪魁祸首子网路由吗?你们有什么建议?

  8. centos – kswap使用100%的CPU,即使有100GB的RAM也可用

    >Linux内核是否应该足够智能,只需从内存中清除旧缓存页而不是启动kswap?

  9. centos – Azure将VM从A2 / 3调整为DS2 v2

    我正在尝试调整前一段时间创建的几个AzureVM,从基本的A3和标准A3到标准的DS2v2.我似乎没有能力调整到这个大小的VM.必须从头开始重建服务器会有点痛苦.如果它有所不同我在VM中运行CentOS,每个都有一个带有应用程序和操作系统的磁盘.任何人都可以告诉我是否可以在不删除磁盘的情况下删除VM,创建新VM然后将磁盘附加到新VM?

  10. centos – 广泛使用RAM时服务器计算速度减慢

    我在非常具体的情况下遇到服务器速度下降的问题.事实是:>1)我使用计算应用WRF>2)我使用双XeonE5-2620v3和128GBRAM(NUMA架构–可能与问题有关!

返回
顶部