<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Steps to Install NetXMS on CentOS 6.4 with web frontend]]></title><description><![CDATA[<p dir="auto">Here is my steps to install NetXMS 2 beta on a installation of CentOS 6.4 ( 64 bit )</p>
<p dir="auto">I hope this helps anyone out there that is having a hard time. I attached the steps and put them inline here - they may be easier to read in the attachment:</p>
<p dir="auto"> </p>
<p dir="auto">Intall NetXMS on CentOS 6.4 with web frontend<br />
These install instructions go through the steps of installing the NetXMS 2 beta with web frontend.<br />
Install CentOS 6.4 minimal<br />
Set IP and IP info<br />
Yum install sshd<br />
Chkconfig iptables off<br />
Service iptables stop<br />
Connect with SSH:<br />
Install updates and prerequisites:<br />
Yum update<br />
yum groupinstall 'Development Tools'<br />
yum install wget<br />
yum install mysql<br />
yum install mysql-server<br />
yum install openssl-devel<br />
yum install mysql-devel<br />
Install NETXMS:<br />
wget <a href="https://www.netxms.org/download/netxms-2.0-M4.tar.gz" rel="nofollow ugc">https://www.netxms.org/download/netxms-2.0-M4.tar.gz</a><br />
tar zxvf netxms*<br />
cd netxms*<br />
sh ./configure --with-server --with-mysql --with-agent<br />
make<br />
make install<br />
Copy sample config files:<br />
    cp contrib/netxmsd.conf-dist /etc/netxmsd.conf<br />
    cp contrib/nxagentd.conf-dist /etc/nxagentd.conf<br />
Configure MySQL:<br />
Chkconfig mysqld on<br />
Mysql – u root –p password<br />
CREATE USER 'netxms'@'localhost' IDENTIFIED BY 'password';<br />
CREATE DATABASE netxms;<br />
GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'password';<br />
\q<br />
Edit Netxmsd config file:<br />
nano /etc/netxmsd.conf<br />
DBDriver = /usr/local/lib/libnxddr_mysql.so<br />
DBServer = localhost<br />
DBName = netxms<br />
 DBLogin = netxms<br />
 DBPassword = password<br />
 LogFile = /var/log/netxmsd<br />
LogFailedSQLQueries = yes<br />
Edit NXAgentd config file<br />
nano /etc/nxagentd.conf<br />
    MasterServers = 127.0.0.1, your_server_IP_address<br />
Nano /etc/ld.so.conf<br />
    ADD LINE:   include /usr/local/lib<br />
Ldconfig<br />
Create NetXMS database:<br />
/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql<br />
Cause NEtXMS to Start NetXMS daemon on Boot:<br />
cp contrib/startup/redhat/netxmsd /etc/init.d<br />
chmod +x /etc/init.d/netxmsd<br />
cp contrib/startup/redhat/nxagentd /etc/init.d<br />
chmod +x /etc/init.d/nxagentd<br />
chkconfig --add nxagentd<br />
chkconfig --add netxmsd<br />
Start services:<br />
service netxmsd start<br />
service nxagentd start<br />
Install Java 8 – 64 bit<br />
cd /opt/<br />
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%<a href="http://2Fwww.oracle.com" rel="nofollow ugc">2Fwww.oracle.com</a>%2F; oraclelicense=accept-securebackup-cookie" "<a href="http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz" rel="nofollow ugc">http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz</a>"<br />
tar xzf jdk-8u45-linux-x64.tar.gz<br />
cd jdk*<br />
alternatives --install /usr/bin/java java /opt/jdk1.8.0_45/bin/java 2<br />
alternatives --config java<br />
    There are 3 programs which provide 'java'.</p>
<p dir="auto">  Selection    Command<br />
-----------------------------------------------<br />
*  1           /opt/jdk1.7.0_71/bin/java<br />
 + 2           /opt/jdk1.8.0_25/bin/java<br />
   3           /opt/jdk1.8.0_45/bin/java</p>
<p dir="auto">Enter to keep the current selection[+], or type selection number: 3<br />
Install Tomcat7<br />
<a href="https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.62/bin/apache-tomcat-7.0.62.tar.gz" rel="nofollow ugc">https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.62/bin/apache-tomcat-7.0.62.tar.gz</a><br />
tar xzf apache-tomcat-7.0.62.tar.gz<br />
mv apache-tomcat-7.0.62 /usr/local/tomcat7<br />
Create tomcat startup script in /etc/init.d<br />
    #!/bin/bash<br />
# description: Tomcat Start Stop Restart<br />
# processname: tomcat<br />
# chkconfig: 234 20 80<br />
JAVA_HOME=/opt/jdk1.8.0_45<br />
export JAVA_HOME<br />
PATH=$JAVA_HOME/bin:$PATH<br />
export PATH<br />
CATALINA_HOME=/usr/local/tomcat7</p>
<p dir="auto">case $1 in<br />
start)<br />
sh $CATALINA_HOME/bin/startup.sh<br />
;;<br />
stop)<br />
sh $CATALINA_HOME/bin/shutdown.sh<br />
;;<br />
restart)<br />
sh $CATALINA_HOME/bin/shutdown.sh<br />
sh $CATALINA_HOME/bin/startup.sh<br />
;;<br />
esac<br />
exit 0<br />
Make script execuitable:  chmod 755 tomcat<br />
Chkconfig –add tomcat<br />
Install NetXMS Web Frontend:<br />
wget <a href="https://www.netxms.org/download/webui/nxmc-2.0-M4.war" rel="nofollow ugc">https://www.netxms.org/download/webui/nxmc-2.0-M4.war</a><br />
cp nxmc-2.0-M4.war nxmc.war<br />
cp nxmc.war /usr/local/tomcat7/webapps<br />
service tomcat start</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002326-Install_NetXMS_on_CentOS_6.4.docx">Install NetXMS on CentOS 6.4.docx</a></p>
]]></description><link>https://forum.netxms.org/topic/3831/steps-to-install-netxms-on-centos-6.4-with-web-frontend</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:50:59 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3831.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jun 2015 15:01:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Steps to Install NetXMS on CentOS 6.4 with web frontend on Mon, 12 Jun 2017 12:09:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a question as I am new to centos 7 and netxms and following you steps.</p>
<p dir="auto">The /etc/init.d file what is file location?<br />
I used nano /etc/init.d but will not save.<br />
Where do I place the file or what directory do I open to edit?</p>
<p dir="auto">So were is the tomcat file placed in the root directory?</p>
<p dir="auto"><strong>Create tomcat startup script in /etc/init.d<br />
   #!/bin/bash<br />
# description: Tomcat Start Stop Restart<br />
# processname: tomcat<br />
# chkconfig: 234 20 80<br />
JAVA_HOME=/opt/jdk1.8.0_45<br />
export JAVA_HOME<br />
PATH=$JAVA_HOME/bin:$PATH<br />
export PATH<br />
CATALINA_HOME=/usr/local/tomcat7</strong></p>
<p dir="auto"><strong>case $1 in<br />
start)<br />
sh $CATALINA_HOME/bin/startup.sh<br />
;;<br />
stop)<br />
sh $CATALINA_HOME/bin/shutdown.sh<br />
;;<br />
restart)<br />
sh $CATALINA_HOME/bin/shutdown.sh<br />
sh $CATALINA_HOME/bin/startup.sh<br />
;;<br />
esac<br />
exit 0<br />
Make script execuitable:  chmod 755 tomcat<br />
Chkconfig –add tomcat</strong></p>
<p dir="auto">Install NetXMS Web Frontend:<br />
wget <a href="https://www.netxms.org/download/webui/nxmc-2.0-M4.war" rel="nofollow ugc">https://www.netxms.org/download/webui/nxmc-2.0-M4.war</a><br />
cp nxmc-2.0-M4.war nxmc.war<br />
cp nxmc.war /usr/local/tomcat7/webapps<br />
service tomcat start</p>
<p dir="auto">Thanks for your help</p>
]]></description><link>https://forum.netxms.org/post/22487</link><guid isPermaLink="true">https://forum.netxms.org/post/22487</guid><dc:creator><![CDATA[new centos7 user]]></dc:creator><pubDate>Mon, 12 Jun 2017 12:09:46 GMT</pubDate></item><item><title><![CDATA[Reply to Steps to Install NetXMS on CentOS 6.4 with web frontend on Thu, 01 Jun 2017 13:11:02 GMT]]></title><description><![CDATA[<p dir="auto">I removed sensitive information from topic. Thank you for report.</p>
]]></description><link>https://forum.netxms.org/post/22450</link><guid isPermaLink="true">https://forum.netxms.org/post/22450</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Thu, 01 Jun 2017 13:11:02 GMT</pubDate></item><item><title><![CDATA[Reply to Steps to Install NetXMS on CentOS 6.4 with web frontend on Thu, 01 Jun 2017 12:53:13 GMT]]></title><description><![CDATA[<p dir="auto">Might want to consider editing your post and removing passwords!  Also centos7 user why not delete your repost.</p>
]]></description><link>https://forum.netxms.org/post/22448</link><guid isPermaLink="true">https://forum.netxms.org/post/22448</guid><dc:creator><![CDATA[lweidig]]></dc:creator><pubDate>Thu, 01 Jun 2017 12:53:13 GMT</pubDate></item></channel></rss>