Posted inDocker Linux MySQL Docker custom WordPress and SFTP image Posted by Tim Ng 2024-11-19 粗體的部份是新增SFTP的 vi dockerfile_web_wp8225 FROM php:8.2.25-apache RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Hong_Kong /etc/local...
Posted inDocker Linux MySQL Docker custom WordPress image Posted by Tim Ng 2024-11-18 vi dockerfile_web_wp8225 FROM php:8.2.25-apache RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime RUN apt-g...
Posted inDocker Linux Bind9 DDNS in Docker Posted by Tim Ng 2024-11-16 vi dockerfile_ddns FROM ubuntu:latest RUN apt-get update && apt-get install bind9 vim curl dnsutils cron -y && apt-get clean -y &&...
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 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 inLinux Nginx Reverse Proxy for multiple servers Posted by Tim Ng 2022-07-28 Nginx Web server 192.168.0.214 Wordpress 192.168.0.211 Zimbra web email 192.168.0.213 apt install nginx vi /etc/nginx/conf.d/local_domains.conf...
Posted inZimbra Ubuntu 18.04 Zimbra behind NAT Posted by Tim Ng 2022-07-27 Can't receive self domain email behind NAT status=deferred (delivery temporarily suspended: connect to mail.mydomain.com[202.xx.xx.xx]:7025: Connectio...
Posted inLinux Ubuntu 20.04 LTS enable Routing & NAT Posted by Tim Ng 2022-07-25 sysctl net.ipv4.ip_forward sysctl -w net.ipv4.ip_forward=1 vi /lib/systemd/system/rc-local.service [Install] WantedBy=multi-user.target Alias=rc-local...
Posted inLinux CentOS 6.9 加 routing Posted by Tim Ng 2021-10-11 ip route delete 192.168.1.0/24 ip route add 192.168.1.0/24 via 192.168.0.1 vi /etc/sysconfig/network-scripts/route-eth0 192.168.1.0/24 via 192.168.0.1