成人无码视频,亚洲精品久久久久av无码,午夜精品久久久久久毛片,亚洲 中文字幕 日韩 无码

資訊專(zhuān)欄INFORMATION COLUMN

GBase 8s在CentOS 7.5下的安裝及卸載

IT那活兒 / 2981人閱讀
GBase 8s在CentOS 7.5下的安裝及卸載
點(diǎn)擊上方“IT那活兒”,關(guān)注后了解更多精彩內(nèi)容?。?!

準(zhǔn)備環(huán)境

1. CentOS7.5配置要求

2. 采用最小安裝,配置好yum源后需要手動(dòng)安裝jre環(huán)境和unzip
yum install -y java-1.8.0-openjdk.x86_64
yum install -y unzip


3. 查看是否安裝成功

java -version
which unzip
這些rpm包在安裝操作系統(tǒng)時(shí)就已經(jīng)裝好了。
audit-libs-2.6.5-3.el7.x86_64
elfutils-libelf-0.166-2.el7.x86_64
expat-2.1.0-8.el7.x86_64
fontconfig-2.10.95-10.el7.x86_64
freetype-2.4.11-12.el7.x86_64
glibc-2.17-157.el7.x86_64
libcap-ng-0.7.5-4.el7.x86_64
libgcc-4.8.5-11.el7.x86_64
libstdc++-4.8.5-11.el7.x86_64
libX11-1.6.3-3.el7.x86_64
libXau-1.0.8-2.1.el7.x86_64
libxcb-1.11-4.el7.x86_64
libXext-1.3.3-3.el7.x86_64
libXrender-0.9.8-2.1.el7.x86_64
ncurses-libs-5.9-13.20130511.el7.x86_64
nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64
pam-1.1.8-18.el7.x86_64
readline-6.2-9.el7.x86_64
zlib-1.2.7-17.el7.x86_64
unzip-6.0-16.el7.x86_64
java-1.8.0-openjdk.x86_64


硬件環(huán)境檢查


1. 查看內(nèi)存

free -m
2. 查看磁盤(pán)空間
df -h
3. 查看網(wǎng)絡(luò)配置
最小化安裝的話(huà)需要安裝net-tools來(lái)查看。
yum -y install net-tools
ifconfig
4. 確定操作系統(tǒng)版本
cat /etc/redhat-release


安裝前準(zhǔn)備


1. 需要?jiǎng)?chuàng)建gbasedbt用戶(hù)和組作為數(shù)據(jù)庫(kù)的超級(jí)管理員


groupadd gbasedbt
useradd -g gbasedbt -d /home/gbasedbt -m -s /bin/bash gbasedbt


2. 準(zhǔn)備好安裝包


GBase8s_Express_Edition.tar

[root@localhost ~]# mkdir install
[root@localhost ~]# cd install
[root@localhost install]# tar -xf /setup/GBase8s_Express_Edition.tar
[root@localhost install]# ls -lrt
3. 安裝GBase 8s
  • 靜默安裝:


[root@localhost install]# mkdir /opt/gbase
[root@localhost install]# chmod 755 /opt/gbase
[root@localhost install]# ./ids_install -i silent -
DLICENSE_ACCEPTED=TRUE -DUSER_INSTALL_DIR=/opt/gbase


  • 配置環(huán)境變量


su – gbasedbt
vi profile.gbase8s
export GBASEDBTSERVER=gbase8s
export GBASEDBTDIR=/opt/gbase
export GBASEDBTSQLHOSTS=/opt/gbase/etc/sqlhosts.gbase8s
export ONCONFIG=onconfig.gbase8s
export PATH=/opt/gbase/bin:$PATH
export DB_LOCALE=zh_CN.utf8
export CLIENT_LOCALE=zh_CN.utf8
unset GL_USEGLU
export PATH=$GBASEDBTDIR/bin:$GBASEDBTDIR/sbin:$PATH

[gbasedbt@localhost ~]$ source profile.gbase8s


  • 查看是否生效

env | grep GBASE
4. 配置sqlhosts
[gbasedbt@localhost ~]$ touch /opt/gbase/etc/sqlhosts.gbase8s
[gbasedbt@localhost ~]$ vi /opt/gbase/etc/sqlhosts.gbase8s
[gbasedbt@localhost ~]$ cat /opt/gbase/etc/sqlhosts.gbase8s
gbase8s onsoctcp 192.168.4.88 9088
5. 配置onconfig
[gbasedbt@localhost ~]$ cd /opt/gbase/etc
[gbasedbt@localhost etc]$ ls onconfig.std
onconfig.std
[gbasedbt@localhost etc]$ cp onconfig.std onconfig.gbase8s
[gbasedbt@localhost etc]$ ls onconfig.*
onconfig.gbase8s onconfig.std


  • 按照以下表內(nèi)的參數(shù),將配置文件onconfig.gbase8s進(jìn)行修改


初始化實(shí)例


[gbasedbt@localhost ~]$ mkdir -p $GBASEDBTDIR/gbase8s_dbs
[gbasedbt@localhost ~]$ touch $GBASEDBTDIR/gbase8s_dbs/rootdbs.dbf
[gbasedbt@localhost ~]$ chmod 660 $GBASEDBTDIR/gbase8s_dbs/rootdbs.dbf
[gbasedbt@localhost etc]$ gserver init
查看實(shí)例狀態(tài):
[gbasedbt@localhost etc]$ gstat –


卸載GBase 8s


cd /opt/gbase/uninstall/uninstall_ids/
[root@localhost uninstall_ids]# ls
InstallScript.iap_xml installvariables.properties removablesList.txt uninstaller.jar uninstallids uninstallids.lax
[root@localhost uninstall_ids]# ./uninstallids


1. 清除殘余目錄


[root@localhost uninstall_ids]# cd /opt
[root@localhost opt]# ls
Gbase
[root@localhost opt]# rm -rf gbase


2. 刪除用戶(hù)


[root@localhost opt]# userdel -r gbasedbt


本 文 原 創(chuàng) 來(lái) 源:IT那活兒微信公眾號(hào)(上海新炬王翦團(tuán)隊(duì))

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://m.hztianpu.com/yun/129727.html

相關(guān)文章

  • 淺談云計(jì)算數(shù)據(jù)中心對(duì)布線(xiàn)系統(tǒng)的影響

    摘要:對(duì)于規(guī)模化部署的云計(jì)算數(shù)據(jù)中心來(lái)說(shuō),優(yōu)點(diǎn)帶來(lái)的好處遠(yuǎn)大于缺點(diǎn)所造成的負(fù)面影響。 淺談云計(jì)算數(shù)據(jù)中心對(duì)布線(xiàn)系統(tǒng)的影響 羅森伯格亞太電子有限公司:孫慧永 在談云計(jì)算數(shù)據(jù)中心之前,我們要先了解一下,什么是云計(jì)算?云計(jì)算是指IT基礎(chǔ)設(shè)施的交付和使用模式,指通過(guò)網(wǎng)絡(luò)以按需、易擴(kuò)展的方式獲得所需的資源。 提供資源的網(wǎng)絡(luò)被稱(chēng)為云。 云是IT的資源池,可以隨時(shí)獲取,按需使用,隨時(shí)擴(kuò)展,按使用付費(fèi)。這種特性...

    asoren 評(píng)論0 收藏0
  • 談?wù)刱8s1.12新特性--Mount propagation(掛載命名空間的傳播)

    摘要:一個(gè)卷的掛載傳播由中的字段控制。此模式等同于內(nèi)核文檔中描述的掛載傳播。此卷掛載的行為與掛載相同。掛載傳播可能很危險(xiǎn)。所謂傳播事件,是指由一個(gè)掛載對(duì)象的狀態(tài)變化導(dǎo)致的其它掛載對(duì)象的掛載與解除掛載動(dòng)作的事件。 Mount propagation 掛載傳播允許將Container掛載的卷共享到同一Pod中的其他Container,甚至可以共享到同一節(jié)點(diǎn)上的其他Pod。一個(gè)卷的掛載傳播由Con...

    DTeam 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<