sudo yum install net-snmp net-snmp-utils -y
nano /etc/snmp/snmpd.conf
agentAddress udp:10.20.1.2:161
rocommunity public
systemctl restart snmpd
sudo yum install net-snmp net-snmp-utils -y
nano /etc/snmp/snmpd.conf
agentAddress udp:10.20.1.2:161
rocommunity public
systemctl restart snmpd
- List available security packages:
dnf updateinfo list security
- List installed security updates:
dnf updateinfo list --installed --security
- Count available security updates (by severity):
dnf updateinfo summary
- Apply all available security updates:
sudo dnf update --security
- Apply a specific security advisory:
sudo dnf update --advisory=ELSA-YYYY-XXXX
- Update only specific package
sudo dnf upgrade openssh openssh-server openssh-clients
Oracle linux 8
/etc/yum.conf
enableproxy=1
proxy=http://10.20.0.4:3128
Install Zabbix repository
rpm -Uvh https://repo.zabbix.com/zabbix/7.0/oracle/8/x86_64/zabbix-release-latest-7.0.el8.noarch.rpm
dnf clean all
Install Zabbix agent 2
dnf install zabbix-agent2
Remove zabbix agent
dnf remove zabbix-agent
1 - NFS server config
Edit /etc/exports
/backupnfs 10.10.10.130(rw)
#oracle linux
/backupnfs 10.10.10.132(rw,all_squash,anonuid=1001,anongid=1001)
Run
exportfs -v
exportfs -ra
OR
service nfs-server reload
2 - NFS client
Edit /etc/fsatb
mkdir /backupnfs
#NFS share
10.10.0.158:/backupnfs /backupnfs nfs hard,bg,proto=tcp,suid,rsize=32768,wsize=32768,noac 0 0
Run
systemctl daemon-reload
### erro Nats orbit nats stop orbit nats setup orbit services reload orbit services restart all ls -lh /var/orbini/system/incdt/