Posted inLinux Network Delete Cacti Weathermaps Config files Posted by Tim Ng 2024-08-26 刪除不了Weathermaps Config files rm -fr /var/www/html/cacti/plugins/weathermap/configs/simple_conf.conf mysql -u root -p MariaDB [(none)]> use cacti; M...
Posted inLinux Network Cacti Network Monitoring Posted by Tim Ng 2024-08-25 apt update apt upgrade timedatectl set-timezone Asia/Hong_Kong apt install -y apache2 rrdtool mariadb-server snmp snmpd php8.1 php-mysql php8.1-snmp p...
Posted inLinux Ubuntu 增加硬碟 Posted by Tim Ng 2023-10-09 最近打算新建一個用Veeam B&R的Offsite backup, 然後就選中了QNAP 251+的2Bays NAS, 在Bios設定了由8TB硬碟啟動OS 先在8TB硬碟安裝Ubuntu 22.04 LTS, 用了沒多久又找到了4TB硬碟, 一開始沒有規劃好, 所以又要再來加硬碟 root@r...
Posted inLinux Ubuntu 22.0.4.2 LAMP Posted by Tim Ng 2023-06-11 apt install lamp-server^ Reference: https://www.baeldung.com/linux/tasksel-guide
Posted inLinux Apache2 SSL增加安全性 Posted by Tim Ng 2023-05-03 https://www.ssllabs.com/ssltest/ 刪除支持SSLv2 SSLv3 TLSv1 TLSv1.1, 保留TLSv1.2, TLSv1.3 另外這個SSLCipherSuite SSLHonorCipherOrder應該是以High順序, 停用另外3個 vi /etc/ap...
Posted inLinux Network Ubuntu NAT & Port Forward Posted by Tim Ng 2022-11-10 https://www.stupid.hk/wordpress/?p=1444 iptables -L nat iptables -t nat -A PREROUTING -p tcp -d 172.20.30.110 --dport 443 -j DNAT --to-destination 10....
Posted inLinux Network Ubuntu GNS3 Wireshark Permission denied Posted by Tim Ng 2022-09-06 Couldn't run /usr/bin/dumpcap in child process: Permission denied sudo dpkg-reconfigure wireshark-common Yes sudo chmod +x /usr/bin/dumpcap
Posted inLinux Bind9 DDNS Ubuntu 22.04 Posted by Tim Ng 2022-08-31 以下設定在DDNS的Server apt install bind9 建立一個 ddns 帳號 tsig-keygen -a hmac-sha512 ddns >> /tmp/ddns.key cat /tmp/ddns.key key "ddns" { algorithm hmac-s...
Posted inCisco Linux Network GNS3 + Ubuntu Posted by Tim Ng 2022-08-23 sudo add-apt-repository ppa:gns3/ppa sudo apt update sudo apt install gns3-gui gns3-server sudo dpkg --add-architecture i386 sudo apt update sudo apt ...
Posted inLinux MailCleaner OVA default password Posted by Tim Ng 2022-08-01 MailCleaner預設的密碼這這個 root MCPassw0rd 不過Console的keymap不同, 我是用US Keyboard, 等於輸入以下密碼 root :CPqssz)rd Default IP 192.168.1.101