当前位置:网站首页>Simple process and problem handling of cmdbuilding

Simple process and problem handling of cmdbuilding

2022-06-09 05:06:00 It's me

Material preparation

Download of relevant installation materials
(1) apache-tomcat-8.5.54.tar.gz
(2)cmdbuild.war
(3)postgresql-9.4.26.tar.gz
(4)postgresql-9.4.1207.jar
(5)jdk1.8

The installation process

  1. install JDK
  2. install Tomcat decompression
  3. apache-tomcat-8.5.54.tar.gz
  4. modify server.xml. Modify the corresponding port . Avoid multiple tomcat conflict .
  5. Access validation install postgresql, decompression postgresql-9.4.26.tar.gz Compilation and installation ( Enter the corresponding directory )
  6. install cmdbuilding
  7. start-up

install Pgsql

./configure --prefix=/usr/local/postgresql --without-readline
make && make install
initdb -D /var/postgresql/data

The first command is to configure the installation path , The second command compiles and installs , The third command is to initialize the database , And configure data route .

  • Modify the default port ( Get into pgsql Of data Catalog , modify postgresql.conf
     Insert picture description here
  • Modify connection IP Limit
     Insert picture description here
  • start-up pgsql( Get into pgsql Of bin Catalog )
./pg_ctl -D /cbss/yingyong/tianyan_cmdb/postgresql_cmdb/data/ stop -m fast
./pg_ctl -D /cbss/yingyong/tianyan_cmdb/postgresql_cmdb/data/ status
./pg_ctl -D /cbss/yingyong/tianyan_cmdb/postgresql_cmdb/data/ start
  • Change the default user password
./psql postgres -p 25432
alter role postgres with password 'yourpassword'
select rolname,rolpassword from pg_authid;

install cmdbuilding

  • download cmdbuild-2.4.3.zip, After unpacking, the “cmdbuild-2.4.3/extras/tomcat-libs/6.0\ or\ higher/postgresql-9.4.1207.jar” Copied to the tomcat In the catalog lib/ Catalog
  • install cmdbuild: take cmdbuild-2.4.3/cmdbuild-2.4.3.war Copied to the tomcat Of webapps Under the table of contents , And rename to cmdbuild.war

start-up TOMCAT

  • Get into tomcat The directory bin, start-up startup.sh, see logs/cmdbuild.log Is the log normal , verification http://xxxx:8090/cmdbuild Can you access
  • Follow the prompts to initialize the configuration .
原网站

版权声明
本文为[It's me]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090457148836.html