Devnms01: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Hardware ==
== Hardware ==
2 cores
* 2 cores
2GB RAM
* 2GB RAM
100 GB HDD
* 100 GB HDD
Everything as generic as possible for KVM


== OS Details ==
== OS Details ==
Ubuntu 22.04
Ubuntu 22.04
== Specific Software ==
PHP 8.1
* There are several differences between 8.1 and the old 7.4 where this was originally designed.  Most are minor, however there is one gotcha with a deprecation.  Any functions that use optional args $foo = null, MUST be at the end of a function call.  You cannot mix and match like before.


== Packages installed ==
== Packages installed ==
git sysstat snmp snmpd snmptrapd snmp-mibs-downloader php8.1 mariadb-server-10.6 net-tools composer
git sysstat snmp snmpd snmptrapd snmp-mibs-downloader php8.1 mariadb-server-10.6 net-tools composer php8.1-curl php8.1-xml redis


== OS Changes done ==
== OS Changes done ==
Line 27: Line 32:
# enable sysstat in /etc/default/sysstat
# enable sysstat in /etc/default/sysstat


== Current state ==
Offline for now.  I have turned this off, while I continue the main coding work against larvel01.  I will do a scratch install clean on devnms01 when I get the UI in a better state to test the install of the system.  right now it is beginning to look less like a Jr. Highschool project and more like a Version 1 application..  I am much more likely to get this all put into GitHub since it is looking less embarrassing.. 


Overall, it seems to be working well on larvel01, and am beginning focus of missing pages for things such as changing host IP addresses and renaming hosts.


 
Then I will start working on the monitoring pages so monitors can be more easily added or even found.  This is currently not very user friendly.





Latest revision as of 20:07, 11 December 2023

Fresh Build of Dev Server for API

Hardware

  • 2 cores
  • 2GB RAM
  • 100 GB HDD

Everything as generic as possible for KVM

OS Details

Ubuntu 22.04

Specific Software

PHP 8.1

  • There are several differences between 8.1 and the old 7.4 where this was originally designed. Most are minor, however there is one gotcha with a deprecation. Any functions that use optional args $foo = null, MUST be at the end of a function call. You cannot mix and match like before.

Packages installed

git sysstat snmp snmpd snmptrapd snmp-mibs-downloader php8.1 mariadb-server-10.6 net-tools composer php8.1-curl php8.1-xml redis

OS Changes done

  • snmpd.conf
  • Added User to mariadb
  1. User: nmsTest
  2. Pass: StandardPass
  3. Host: %
  4. edit mariadb.conf.d/50-server.cnf
    1. Set listening port to 192.168.15.66
  5. copied ssh keys to local user
  6. added copySslCerts cron so *.iwillfearnoevil.com SSL will be local to the machine
    1. chmod 777 /etc/ssl/private directory
  7. chmod 0777 /opt
  8. enable sysstat in /etc/default/sysstat

Current state

Offline for now. I have turned this off, while I continue the main coding work against larvel01. I will do a scratch install clean on devnms01 when I get the UI in a better state to test the install of the system. right now it is beginning to look less like a Jr. Highschool project and more like a Version 1 application.. I am much more likely to get this all put into GitHub since it is looking less embarrassing..

Overall, it seems to be working well on larvel01, and am beginning focus of missing pages for things such as changing host IP addresses and renaming hosts.

Then I will start working on the monitoring pages so monitors can be more easily added or even found. This is currently not very user friendly.