berikut ini cara update timezone pada centos7
[root@id ~]# dateMon Apr 20 17:18:54 UTC 2020[root@id ~]# timedatectl set-timezone 'Asia/Jakarta'[root@id ~]# timedatectl Local time: Tue 2020-04-21 00:19:35 WIB Universal time: Mon 2020-04-20 17:19:35 UTC RTC time: n/a Time zone: Asia/Jakarta (WIB, +0700) NTP enabled: n/aNTP synchronized: yes RTC in...
Tuesday, April 21, 2020
Wednesday, April 15, 2020
# wget -O - http://bird.network.cz/debian/apt.key | apt-key add -
# apt-get install lsb-release
# echo "deb http://bird.network.cz/debian/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/bird.list
# apt-get update
kalo error lakukan seperti berikut
# wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
# apt-get update
# apt-get install b...
Sunday, April 5, 2020
OK, kali ini saya akan share script mentah untuk update ip list yang nantinya bikin script lagi buat dijalanin di mikrotik.
#!/bin/bash
wget -O all.txt https://lists.blocklist.de/lists/all.txt
sleep 2
rm -rf blocked.rsc
touch blocked.rsc
DATE=$(date '+%d/%m/%Y %H:%M:%S')
LINE=$(wc -l all.txt | awk '{print $1}')
echo -e "# Generated at $DATE ... $LINE lines\n# Sumber: https://lists.blocklist.de/lists/all.txt\n# Silahkan bisa ditambahkan di router...
Subscribe to:
Posts (Atom)