Posted inLinux Network Cacti Upgrade Posted by Tim Ng 2025-04-26 https://www.stupid.hk/wordpress/?p=2488 Cacti: 1.2.27 to 1.2.30 Weathermap: 1.3 to 1.3.1 cd /var/www/html/cacti cat include/cacti_version git status g...
Posted inActive Directory Linux Ubuntu使用AD Account登入 Posted by Tim Ng 2025-03-11 Domain: def.com Group: LinuxAdmin AD User: timng(LinuxAdmin), royli 首先要確定Ubuntu能ping到def.com, 如果不能ping到正確IP, 就要查看DNS apt install sssd-ad sssd-tools re...
Posted inDocker Linux mailcow 更換証書 Posted by Tim Ng 2025-02-11 注意 把証書和intermediate CA/CA放到cert.pem(fullchain), 和Nginx一樣的設定 取代原來的檔案 /opt/mailcow-dockerized/data/assets/ssl/cert.pem /opt/mailcow-dockerized/data/asse...
Posted inDocker Linux Bitwarden 密碼管理 Opensource版 Vaultwarden Posted by Tim Ng 2024-12-19 vi dockercompose_vaultwarden.yml services: vaultwarden: image: vaultwarden/server:latest container_name: vaultwarden restart: always environment: #DOM...
Posted inDocker Linux Install mailcow in Docker Posted by Tim Ng 2024-12-19 git clone https://github.com/mailcow/mailcow-dockerized cd mailcow-dockerized ./generate_config.sh docker compose pull docker compose up -d https://${...
Posted inLinux netstat apache 連接數量分析 Posted by Tim Ng 2024-12-03 netstat -npt | grep apache2 | grep ESTA | awk -F "[ :]*" '{print $6}' | sort | uniq -c | sort -nr
Posted inDocker Linux mailcow calendar share cross-domain Posted by Tim Ng 2024-11-24 vi ./mailcow-dockerized/data/conf/sogo/sogo.conf SOGoDomainsVisibility = ( (domain3.tld, domain2.tld) );
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 inLinux tar zip包括hidden檔案 Posted by Tim Ng 2024-11-16 tar zcvf /root/html.tar.gz /var/www/html/* .[!.]*