NetXMS 2.2.16: Что в этой инструкции не так?

Step 1. Prepare system by installing all of the prerequisites
# apt-get update

# apt-get install mysql-server

# apt-get install tomcat7

# apt-get install libmysqlclient-dev
# apt-get install libssl-dev

# apt-get install libcurl4-openssl-dev

# apt-get install mosquitto mosquitto-clients

Create a database and a user to have access this newly created database.

# mysql -u root -p mysql> CREATE DATABASE netxms;
mysql> GRANT ALL ON netxms.* TO netxms@localhost IDENTIFIED BY 'password';
mysql> exit

Step 2. Download NetXMS server package

# wget http://www.netxms.org/download/releases/2.2/2.2.16/netxms-2.2.16.tar.gz

# tar -xvf netxms-2.2.16.tar.gz

Step 3. Configure package

# sh ./configure --with-server --with-mysql --with-agent && make && make install

# cp contrib/netxmsd.conf-dist /etc/netxmsd.conf # cp contrib/nxagentd.conf-dist /etc/nxagentd.conf

Open /etc/netxmsd.conf file and contents fo the file must be something like below, make sure you to match Database password.

# nano /etc/netxmsd.conf

DBDriver = mysql.ddr
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = password
LogFile = /var/log/netxmsdLogFailed
SQLQueries = yes

# nano /etc/nxagentd MasterServers =,

# /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql

# /usr/local/bin/nxagentd -d # /usr/local/bin/netxmsd -d

Step 4. Download and run we b based management utility
Download latest version of nxmc package required for web based management from this link

# wget https://www.netxms.org/download/releases/2.2/2.2.16/netxms-websvc-2.2.16.war

Copy that downloaded package to tomcat webapp directory which is /var/lib/tomcat7/webapps/

# cp netxms-websvc-2.2.16.war /var/lib/tomcat7/webapps/

# rename netxms-websvc-2.2.16.war nxmc


Login with default     user: admin 
                   password: netxms
  • Вопрос задан
  • 108 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы