Langsung ke konten utama

Postingan

Menampilkan postingan dari Juni, 2023

How to Force Stop Proxmox LXC

First try to unlock the pct (assuming your troubled container is 101): pct unlock 101 if it works just stop and start again the vm. if it does’nt work (my case) try to stop with this lxc-stop --name 101 if it’s does’nt work (my case) you can force stop with kill command ps ax | grep lxc then kill the process with your id (101 for me) kill pid (replace pid by the process name). After that you can just launch again you’r vm sumber: https://tweenpath.net/force-stop-proxmox-lxc/

logrotate pada Unbound DNS

/usr/local/etc/unbound/log/unbound.log {         weekly         rotate 7         missingok         notifempty         compress         delaycompress         sharedscripts         create 644         postrotate                 /usr/local/sbin/unbound-control log_reopen         endscript }   sudo logrotate -d /etc/logrotate.d/unbound sudo logrotate -f /etc/logrotate.d/unbound weekly: File log akan dirotasi secara mingguan. rotate 7: Maksimum 7 file log yang akan dijaga (termasuk file log asli). missingok: Jika file log tidak ada, logrotate tidak mengeluarkan pesan kesalahan. notifempty: Jika file log kosong setelah rotasi, logrotate tidak melakukan rotasi pada file tersebut. compress: File log yang dirotasi akan dikompresi. delaycompress: File log akan dikompresi pada rotasi berikutnya (dalam siklus rotasi berikutnya). sharedscripts: Menjalankan skrip logrotate hanya sekali setelah semua file log dirotasi, bukan setiap file log secara terpisah. create 644: Membuat file log baru de

Install net-snmp pada freeBSD 13.x

 berikut ini cara install net-snmp pada freeBSD 13.x yang sederhana pkg install net-snmp /usr/local/etc/snmpd.conf # sesuaikan ip address dari net-snmp server agentAddress udp:192.168.10.2:161 # IP address disesuaikan dengan cacti/prtg dll rocommunity your_community_name 192.168.20.20 # parameter snmp versi 2 snmpd_flags "-v2c" # informasi snmp sysLocation "Jakarta" sysContact "info@domain.com" /etc/rc.conf snmpd_enable="YES" snmpd_conffile="/usr/local/etc/snmpd.conf" service snmpd start

command racadm dell idrac via SSH

 reset idrac: racadm racresetcfg sumber: https://dl.dell.com/topicspdf/idrac8-lifecycle-controller-v2818181_cli-guide_en-us.pdf konfig IP: racadm set iDRAC.IPv4.Address 192.168.221.120 racadm set iDRAC.IPv4.Netmask 255.255.255.0 racadm set iDRAC.IPv4.Gateway 192.168.221.1 rollback firmware idrac: racadm swinventory racadm rollback <FQDD> sumber:  https://www.dell.com/support/manuals/en-id/integrated-dell-remote-access-cntrllr-7-v1.50.50/idrac7ug1.50.50-v1/rollback-firmware-using-racadm?guid=guid-8f085f9d-bb65-41ee-98f6-65adfa885a44&lang=en-us