IRIS数据库环境搭建方法

admin 2023年6月16日16:25:50评论338 views字数 4539阅读15分7秒阅读模式
1 前言
     InterSystems IRIS作为多模型数据库管理系统,提供了完整的面向对象特性:封装、多重继承、多态。这次就以Centos操作系统为例,安装IRIS数据库作为测试数据库,感受下IRIS数据库的特性。
         
2 搭建过程
         
(1)解压IRIS安装包
         
在Centos系统中,将IRIS的安装包进行解压,IRIS安装包可以去官网下载:
mkdir  iriskituseradd  irisownerumask 022
gunzip -c IRIS_Community-2022.1.2.574.0-lnxrh7x64.tar.gz |(cd /home/disk/iriskit/; tar xf - )也可以直接用tar解压       
         

IRIS数据库环境搭建方法




         
(2)检查安装环境
./irisinstall --prechecker
 
IRIS数据库环境搭建方法
         
检查完成后,发现需要的openssl和zlib都满足要求
         

(3)安装IRIS数据库
在解压的目录下执行:
./irisinstall
执行之后,设置如下内容进行安装:

         
Your system type is 'Red Hat Enterprise Linux 7 (x64)'.
Enter instance name: IRIS

Enter a destination directory for the new instance.Directory: /home/disk/iris
Select installation type. 1) Development - Install InterSystems IRIS server and all language bindings 2) Server only - Install InterSystems IRIS server 3) CustomSetup type <1>? 1
How restrictive do you want the initial Security settings to be?"Minimal" is the least restrictive, "Locked Down" is the most secure. 1) Minimal 2) Normal 3) Locked DownInitial Security settings <1>? 2
What user should be the owner of this instance? irisownerUser "irisowner" does not exist on your system!
What user should be the owner of this instance? _SYSTEMUser "_SYSTEM" does not exist on your system!
What user should be the owner of this instance? irisownerAn InterSystems IRIS account will also be created for user irisowner.

Install will create the following InterSystems IRIS accounts for you:_SYSTEM, Admin, SuperUser, irisowner and CSPSystem.Please enter the common password for _SYSTEM, Admin, SuperUser and irisowner:Empty passwords are not allowed!

Install will create the following InterSystems IRIS accounts for you:_SYSTEM, Admin, SuperUser, irisowner and CSPSystem.Please enter the common password for _SYSTEM, Admin, SuperUser and irisowner:Re-enter the password to confirm it:

Please enter the password for CSPSystem:Re-enter the password to confirm it:
What group should be allowed to start and stop this instance? irisowner
Do you want to install IRIS Unicode support? yes
InterSystems IRIS did not detect a license key file
Do you want to enter a license key?
Please review the installation options:------------------------------------------------------------------Instance name: IRISDestination directory: /home/disk/irisInterSystems IRIS version to install: 2022.1.2.574.0comInstallation type: DevelopmentUnicode support: YInitial Security settings: NormalUser who owns instance: irisownerGroup allowed to start and stop instance: irisownerEffective group for InterSystems IRIS processes: irisusrEffective user for InterSystems IRIS SuperServer: irisusrSuperServer port: 1972WebServer port: 52773JDBC Gateway port: 53773Web Gateway: using built-in web server------------------------------------------------------------------
Confirm InterSystems IRIS installation?
Starting installationStarting up InterSystems IRIS for loading...../bin/irisinstall -s . -B -c c -C /home/disk/iris/iris.cpf*IRIS -W 1 -g2Starting Control ProcessAllocated 241MB shared memory32MB global buffers, 80MB routine buffersCreating a WIJ file to hold 32 megabytes of dataIRIS startup successful.System locale setting is 'en_US.UTF-8'This copy of InterSystems IRIS has been licensed for use exclusively by:InterSystems IRIS CommunityCopyright (c) 1986-2023 by InterSystems CorporationAny other use is a violation of your license agreement
^^/home/disk/iris/mgr/>
^^/home/disk/iris/mgr/>Start of IRIS initializationLoading system routinesUpdating system TEMP and LOCALDATA databasesLoading system classesInstalling National Language support
Setting IRISTEMP default collation to IRIS standard (5)Updating Security databaseLoading system source codeBuilding system indicesUpdating Audit databaseUpdating Journal directoryUpdating User databaseUpdating Interoperability databasesScheduling inventory scanIRIS initialization complete in 3 minutes
See the iboot.log file for a record of the installation.
Starting up InterSystems IRIS...Once this completes, users may access InterSystems IRISStarting IRISUsing 'iris.cpf' configuration file
Starting Control ProcessGlobal buffer setting requires attention. Auto-selected 25% of total memory.Allocated 1238MB shared memory947MB global buffers, 94MB routine buffersCreating a WIJ file to hold 99 megabytes of dataThis copy of InterSystems IRIS has been licensed for use exclusively by:InterSystems IRIS CommunityCopyright (c) 1986-2023 by InterSystems CorporationAny other use is a violation of your license agreement

You can point your browser to http://localhost.localdomain:52773/csp/sys/UtilHome.cspto access the management portal.
Installation completed successfully
         
         
(4)查看后台用户组权限
         
IRIS数据库环境搭建方法
         
         
(5)工具连接数据库
         
使用dbveaver工具连接:
IRIS数据库环境搭建方法
         
         
点击测试连接,提示已连接
         
IRIS数据库环境搭建方法
         
接下来就能正常查询表了

IRIS数据库环境搭建方法
         

(6)登录web页面
         
访问网页:
http://IP:52773/csp/sys/UtilHome.csp
         
使用默认账号(_system)和自己设置的密码登录页面

IRIS数据库环境搭建方法
         

(7)查看IRIS系统状态

在浏览器页面中查看IRIS系统状态信息

IRIS数据库环境搭建方法
         

切换到IRIS的主界面查看

IRIS数据库环境搭建方法
         

还可以根据自身需要设置其他内容,例如:管理用户、管理角色、管理资源等

IRIS数据库环境搭建方法
         

到这里就已经完成了IRIS数据库的安装和部署

         


欢迎关注「技术分享交流」公众号 ,如果有建议或者疑问的话,欢迎大家评论留言,如果喜欢公众号文章的话可以点【在看】,您的鼓励就是我的动力!!!

         
         

原文始发于微信公众号(技术分享交流):IRIS数据库环境搭建方法

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年6月16日16:25:50
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   IRIS数据库环境搭建方法https://cn-sec.com/archives/1810199.html

发表评论

匿名网友 填写信息