Difference between revisions of "Set-up for CentOS 7"
Kevin Wilkie (Talk | contribs) |
Kevin Wilkie (Talk | contribs) |
||
Line 4: | Line 4: | ||
Once installed, update all components and restart server. | Once installed, update all components and restart server. | ||
− | + | yum -y update | |
− | + | shutdown -r now | |
Line 11: | Line 11: | ||
yum -y install glibc.i686 | yum -y install glibc.i686 | ||
yum -y install man | yum -y install man | ||
− | yum -y install wget | + | yum -y install wget |
− | yum -y install openssh-clients | + | yum -y install openssh-clients |
− | yum -y install lynx | + | yum -y install lynx |
− | yum -y install perl | + | yum -y install perl |
− | yum -y install chkconfig | + | yum -y install chkconfig |
− | yum -y install perl-CPAN | + | yum -y install perl-CPAN |
− | yum -y install perl-DBD-Pg | + | yum -y install perl-DBD-Pg |
− | yum -y install tcpdump | + | yum -y install tcpdump |
− | yum -y install tcpreplay | + | yum -y install tcpreplay |
− | yum -y install net-snmp-utils net-snmp | + | yum -y install net-snmp-utils net-snmp |
− | yum -y install dstat | + | yum -y install dstat |
− | yum -y install iotop | + | yum -y install iotop |
− | yum -y install sysstat | + | yum -y install sysstat |
− | yum -y install iptraf | + | yum -y install iptraf |
− | yum -y install rsync | + | yum -y install rsync |
− | yum -y install ntp | + | yum -y install ntp |
− | systemctl start ntpd | + | systemctl start ntpd |
− | systemctl enable ntpd | + | systemctl enable ntpd |
Make folder to hold Anuview software. | Make folder to hold Anuview software. |
Revision as of 13:33, 7 October 2016
Installation On Centos 7
Perform Installation of minimal Centos 7
Once installed, update all components and restart server.
yum -y update shutdown -r now
Install optional software components
yum -y install glibc.i686 yum -y install man yum -y install wget yum -y install openssh-clients yum -y install lynx yum -y install perl yum -y install chkconfig yum -y install perl-CPAN yum -y install perl-DBD-Pg yum -y install tcpdump yum -y install tcpreplay yum -y install net-snmp-utils net-snmp yum -y install dstat yum -y install iotop yum -y install sysstat yum -y install iptraf yum -y install rsync yum -y install ntp systemctl start ntpd systemctl enable ntpd
Make folder to hold Anuview software.
mkdir /opt mkdir /opt/software cd /opt/software
Download Java and link to standard location wget http://95.85.35.209/software/jre-8u92-linux-x64.rpm rpm -i jre-8u92-linux-x64.rpm ln -s /usr/java/jre1.8.0_92/ /opt/java
Check that java has installed /opt/java/bin/java -version Should output java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
Download postgres wget http://95.85.35.209/software/postgresql-9.5.3-1-x64-bigsql.rpm
If you want to install the postgres data folder into a new location do it now using the mkdir /opt/postgresql mv /opt/postgresql/data /opt/postgresql/dataOrig ln -s /opt/postgresql/data /home/postgresdata/
Install postgres /etc/init.d/postgresql-95 start Leave port as 5432 Enter password as p0stgr3s_2ME Started at boot = y
Download recommended settings for postrges
/etc/init.d/postgresql-95 stop
mv /opt/postgresql/pg95/data/pg_hba.conf /opt/postgresql/pg95/data/pg_hba.conf.orig mv /opt/postgresql/pg95/data/postgresql.conf /opt/postgresql/pg95/data/postgresql.conf wget -O /opt/postgresql/pg95/data/pg_hba.conf http://95.85.35.209/software/build/pg_hba.conf wget -O /opt/postgresql/pg95/data/postgresql.conf http://95.85.35.209/software/build/postgresql.conf /etc/init.d/postgresql-95 start
Download Anuview software
wget -p http://95.85.35.209/software/ros_unix.tgz
tar -vxzf /opt/software/95.85.35.209/software/ros_unix.tgz -C /
If this is a new installtion, copy the service files cp /opt/ros/resources/unix/rosd /etc/init.d/
cp /opt/ros/resources/unix/start /opt/ros/resources/ chmod 755 /etc/init.d/rosd chmod 755 /opt/ros/resources/start chmod 755 /opt/ros/resources/docs/sql/createmyipfixdb.sh chkconfig --add rosd chkconfig --level 345 rosd on
Initialise the anuview database su - postgres < /opt/ros/resources/docs/sql/createmyipfixdb.sh
Start the service anuview service (rosd) /etc/init.d/rosd restart
You should now be able to access the application on http://IP_ADDRESS:7902