Devnms01: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
mNo edit summary
Line 33: Line 33:


== Current state ==
== 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.
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.. 





Revision as of 13:26, 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..