Devnms01: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
Line 9: Line 9:
== 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 ==

Revision as of 11:15, 19 September 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