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/* .[!.]*
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 inDocker Linux Docker 管理工具 portainer Posted by Tim Ng 2024-11-15 docker volume create portainer_data docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker....
Posted inDocker Linux RustDesk Server in Docker with custom ports Posted by Tim Ng 2024-11-13 docker volume create RustDesk docker image pull rustdesk/rustdesk-server docker run --name hbbs -v RustDesk:/root -p xxx.xxx.xxx.xxx:1234-1236:21114-2...
Posted inLinux CVEMAP Ubuntu Posted by Tim Ng 2024-11-04 好像不是我想要的CVE檢查, 但還是記錄一下 add-apt-repository ppa:longsleep/golang-backports apt update apt install golang-go go install github.com/projectdiscovery/cvema...
Posted inLinux Graylog + Ubuntu Posted by Tim Ng 2024-10-30 timedatectl set-timezone Asia/Hong_Kong apt install gnupg curl curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | sudo gpg -o /usr/share/k...
Posted inLinux Ubuntu & Zabbix Posted by Tim Ng 2024-10-19 timedatectl set-timezone Asia/Hong_Kong wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest+ubuntu24.04_al...