当前位置:网站首页>Deployment of Dameng DEM
Deployment of Dameng DEM
2022-07-21 03:27:00 【qq_ thirty-eight million one hundred and thirteen thousand four】
1 Check whether the installation environment has Java and tomcat Environmental Science .
1.1 Check whether the installation environment has Java Environmental Science
perform : java -version
If the following relevant version appears , Is already installed .
If there is no installation, you need to install :
1.1.1 Unzip the installation package to /usr/java
mkdir /usr/java
tar -xzvf jdk1.8.0_161.tar.gz -C /usr/java/
1.1.2 To configure
ln -s /usr/java/jdk1.8.0_161 /usr/java/latest # Establish a soft connection , If you change the version, you only need to change the soft connection
vim /etc/profile.d/java.sh # Configure environment variables
export JAVA_HOME=/usr/java/latest
export PATH= J A V A H O M E / b i n : JAVA_HOME/bin: JAVAHOME/bin:PATH
source /etc/profile.d/java.sh # Effective configuration
Re execution java -version According to successful
1.2 Check whether the installation environment has tomcat Environmental Science
1.2.1 establish tomcat The installation directory
href=“https://so.csdn.net/so/search?q=mkdir&spm=1001.2101.3001.7020” mkdir -p /usr/tomcat/
1.2.2 Transmit the compressed package and decompress it
tar -zxvf apache-tomcat-8.5.55.tar.gz
Get the folder apache-tomcat-8.5.55
1.2.3 add to tomcat environment variable :
vi /etc/profile
export CATALINAHOME=/usr/tomcat/apache-tomcat-8.5.55
export CATALINABASE=/usr/tomcat/apache-tomcat-8.5.55
export PATH=$PATH: $CATALINA BASE/bin
export PATH CATALINA BASE
Make it effective :
source /etc/profile
1.2.4 start-up tomcat service :
Get into bin Catalog :
cd /usr/tomcat/apache-tomcat-8.5.55/bin/
start-up tomcat:
./startup.sh
2 dem Deploy
2.1 modify DEM Background database dm.ini Parameter configuration , The recommended configuration :
MEMORY_POOL = 200
BUFFER = 1000
KEEP = 64
SORT_BUF_SIZE = 50
2.2 stay DEM Execute in the background library SQL Script dem_init.sql
dem_init.sql The path is... Under the installation directory of Dameng database /web/dem_init.sql, this SQL The script code is UTF-8.
If you use disql perform SQL Script , Please set up set CHAR_CODE UTF8
SQL> set CHAR_CODE UTF8
SQL>start /opt/dmdbms/web/dem_init.sql
2.3 To configure tomcat
2.3.1 To configure server.xml file
cd /usr/tomcat/apache-tomcat-8.5.55/conf
vi server.xml
<Connector port=“8080” protocol=“HTTP/1.1”
Add the following
maxPostSize=“-1”>
2.3.2 To configure jvm Launch parameters
cd /usr/tomcat/apache-tomcat-8.5.55/bin
vi catalina.sh Add the following :
JAVA_OPTS=”-server -Xms256m -Xmx1024m -Djava.library.path=/opt/dmdbms/bin”
2.4 take dem.war Put it in tomcat Of webapps Under the table of contents
cp /opt/dmdbms/web/dem.war /usr/tomcat/apache-tomcat-8.5.55/webapps/
2.4.1 start-up tomcat
cd /usr/tomcat/apache-tomcat-8.5.55/bin
./startup.sh
-----./shutdown.sh Out of Service
2.4.2 Check whether to unzip dem package
cd /usr/tomcat/apache-tomcat-8.5.55/webapps/dem
ll
2.5 modify DEM Connect to the background database configuration file db.xml
cd /usr/tomcat/apache-tomcat-8.5.55/webapps/dem/WEB-INF
vi db.xml
Modify connection information
2.6 modify dmagent To configure
cd /opt/dmdbms/tool/dmagent
vi agent.ini
Modify connection information
2.7 start-up dmagent
/opt/dmdbms/tool/dmagent
./start.sh -d /opt/dmdbms/tool/agent.ini
---------service.sh start/restart # Service mode operation
3 Sign in dem
http://49.233.255.65:8080/dem/
Default username and password : admin/888888
4 verification dmagent Is it connected
Successful connection
Damon technology community :https://eco.dameng.com
边栏推荐
猜你喜欢
微服务理论介绍
Redis publishing and subscription
Redis五种基本数据类型(超级详细)
(九)PyTorch深度学习:卷积神经网络( GoogleNet网络架构中的 inception module 模块为本次卷积神经网络架构)
数仓基本架构--分层 各层功能
The role of 'defer' and 'async' attributes on the < srcipt> tag
[dish of learning notes dog learning C] data storage
Centos8 (Linux) 安装 redis
达梦DEM的部署
Flink DataStream API (一)执行环境
随机推荐
[dish of learning notes dog learning C] evaluation expression
根据不同configuration加载不同的plist文件
达梦免密登录
Select all on the current page of Ali vector Gallery
电脑端微信有很多垃圾可以清理
dolphinscheduler调用shell脚本并传多个参
xcode编译 build号自增
数据湖定义
mysql_不区分大小写
SQL事务
Tips for using Visual Studio shortcut keys
任务调度:常见类型和工具
Centos8 (Linux) install mysql8.0.28
[dish of learning notes dog learning C] detailed operator
计算前五个数阶乘之和
[dish of learning notes dog learning C] data storage
[dish of learning notes dog learning C] advanced pointer
【深度学习】怎么为模型选择正确的最后一层激活和损失函数
mysql_账号授权权限回收、账号锁定解锁、账号创建删除
kettle_配置数据库连接_报错