Description:in order to standardize the management of intranet server user password information, a set of CMDB system is deployed to manage it.
First, environmental needs:
For an introduction to the installation environment, a detailed description of the CMDB installation manual is also presented here:
Hardware Environment :
Software Requirements :
Operating system: preferably Linux
Database: After PostgreSQL 8.4, RDS is 9.4, so we choose 9.4, we must choose PostgreSQL
Web server (Container): resin4.0.25 (officially provided is TOMCAT6, because we are using the resin on the line, so we use resin instead of tomcat)
Java Runtime Environment: java1.6.30 CMDB itself is developed with JSP, currently only supports 1.6
Second, the installation process:
Download CMDB Package Decompression
Installing the Web server
Download unzip resin http://www.caucho.com/download/resin-pro-4.0.25.tar.gz
TAR-XZVF resin-pro-4.0.25.tar.gz
Copy cmdbuild-2.3.4.zip extracted Cmdbuild-2.3.4.war file to/resin-pro-4.0.25/webapps and rename to Cmdbuild.war
Unzip the file resin-cmdb.tar.gz and copy all the files in the Lib to the Lib folder in the resin-pro-4.0.25 directory.
resin-cmdb.tar.gz ftp://[email protected]/uploads/resin-cmdb.tar.gz password shuyun456
Start resin./resin.sh start
Enter Http://{server Address}:8080/cmdbuild in the client's browser to access
Installing the Database
Because you are using RDS, you do not need to install the database, use your own database to perform the following steps
RPM-UVH http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Yum Update
Yum-y Install Postgresql94-server Postgresql94-contrib
Service postgresql-9.4 Initdb
/etc/init.d/postgresql-9.4 restart
Chkconfig postgresql-9.4 on
Vim/var/lib/pgsql/data/postgresql.conf Modifying login Address Restrictions
------------------------------------------------------------------------
listen_addresses = ' * '
-
su- Postgres
-
alter USER Postgres with PASSWORD ' Postgres ';
-
create testdb
-
Psql testdb
-
-
Appears in the picture above, stating that the installation is correct.
-
CREATE database
-
-
psql-d cmdbuild-f/data/resin-pro-4.0.25/webapps/cmdbuild/web-inf/sql/sample_schemas/demo_schema.sql
-
After you enter Http://{server address}:{port Num}/cmdbuild in the browser, follow the prompts step-by-step configuration to connect to the database to use
-
Note that the default port number for PostgreSQL is 5432
Problems encountered during installation:
Database version issues, the Yum installed database defaults to version 8 and needs to be upgraded to version 9.4
Version 1.7 and above is not supported in Java version
The CMDB configuration page cannot connect to the database, primarily because the database is not initialized
Workflow cannot be used after logging into the CMDB and can be disabled in the admin interface workfolw
CMDB Deployment Documentation