#!/bin/sh# howto install nodejs v18# require debian 11sudo apt-get update -ysudo apt-get install -y ca-certificates curl gnupgsudo mkdir -p /etc/apt/keyrings# cek nodejspkgs='nodejs'if ! dpkg -s $pkgs >/dev/null 2>&1; then # cek gpg sudah ada apa blum FILE=/etc/apt/keyrings/nodesource.gpg if [ -f "$FILE" ]; then echo "$FILE exist!" else curl...
Thursday, September 7, 2023
Friday, March 10, 2023
# zpool status pool: zroot state: DEGRADEDstatus: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state.action: Attach the missing device and online it using 'zpool online'. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-2Qconfig: NAME STATE READ...
Wednesday, January 11, 2023
/tool fetch url="https://redirector.gvt1.com/report_mapping\?di=no" http-method=get output=file dst-path=ggc:delay 1# baca isi file:local info [/file get ggc contents]# Jika masih blum dapet content GGC Domestik#/log warning message=[:pick $info 0 [:find $info ": router"]]# Jika sudah dapet content GGC Domestik/log warning message=[:pick $info 0 [:find $info "(...
#traffic classifier VLAN234 type or if-match vlan 234#traffic behavior LIMIT-VLAN234 statistics enable car cir 512000 kbps pir 512000 kbps#traffic policy VLAN234 classifier VLAN234 behavior LIMIT-VLAN234 precedence 5#interface Eth-Trunk15 description Po15 port link-type bla bla bla... sesuaikan wae kondisine pie traffic-policy VLAN234 inbound traffic-policy VLAN234 outbound&nbs...
Saturday, October 1, 2022
Hi All,Kali ini saya akan menulis catatan cara install docker pada debian 10 / debian buster, kali ini saya gunakan untuk monitoring system, menggunakan sflow. # install dependensi yang diperlukanapt install apt-transport-https ca-certificates curl software-properties-common -yapt install gnupg gnupg2 -y# tambahkan repository dockercurl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian...
Sunday, May 8, 2022
sekarang coba lihat list file log :find /var/log/ -type f -regex '.*\.[0-9]+\.gz$'kl mau delete :find /var/log/ -type f -regex '.*\.[0-9]+\.gz$' -deleteatur ulang journal :journalctl --vacuum-time=2daysjournalctl --vacuum-size=100Mjournalctl --vacuum-files=5systemctl daemon-reloadnano /etc/systemd/journald.confSystemMaxUse=100MKemudian reloadsystemctl daemon-reload&nb...
Subscribe to:
Posts (Atom)