Securely Transfer Files Over The Network

Securely Transfer Files Over The Network

July 21, 2023 · 3 min · 610 words · King Tam

SSH Tunneling

SSH Tunneling

July 19, 2023 · 4 min · 663 words · King Tam

Upgrade Debian from Buster to Bookworm

Upgrade Debian from Buster to Bookworm

July 15, 2023 · 4 min · 825 words · King Tam

Synology DSM Customization: Unlocking the Potential of NAS

Synology DSM Customization: Unlocking the Potential of NAS

June 21, 2023 · 4 min · 740 words · King Tam

Linux Terminal Tab Completion

Tab completion is a feature in the Linux terminal that allows you to quickly complete file and directory names

June 9, 2023 · 1 min · 176 words · King Tam

RSYNC USAGE

Introduction Rsync is an open-source application that provides fast incremental or mirror backup by leveraging built-in data deduplication algorithms. It is included in almost all Linux distributions. Features Can update whole directory trees and filesystems Optionally preserves symbolic links, hard links, file ownership, permissions, devices and times Requires no special privileges to install Internal pipelining reduces latency for multiple files Can use rsh, ssh or direct sockets as the transport Supports anonymous rsync which is ideal for mirroring Basic Use rsync -option source/ destination/ Option Description -v Verbose mode, outputs detailed information -r Recurse into directories -a Archive mode (-rlptgoD, no -A, -X, -U, -N, -H) -h Output numbers in a human-readable format -z Use compression to transfer data -e Specify the remote shell to use -P Same as –partial –progress -W Copy files whole (without delta-xfer algorithm) –progress Show progress during transfer –delete Delete extraneous files from destination directories –remove-source-files Sender removes synchronized files (non-dir) –exclude=PATTERN Exclude files matching PATTERN –include=PATTERN Don’t exclude files matching PATTERN –copy-as=USER[:GROUP] Specify user and optional group for the copy –chmod=CHMOD Affect file and/or directory permissions Samples rsync -avh /home/user/data/ /mnt/backup Copy /home/user/data/ (as source directory) to /mnt/backup (as destination directory), using the options -avh....

June 8, 2023 · 5 min · 1049 words · King Tam

Setting a static IP address in Linux

Introduction: Usually, IP addresses are dynamically assigned by the router’s DHCP server on most network devices. But using a static IP address on the server makes the provided services more stable. If the DHCP server is not working, it will affect the computers in the local area network to obtain IP addresses, thereby affecting access to services, while servers with static IP addresses are not affected, so static IP is also necessary (on devices providing services)....

June 2, 2023 · 7 min · 1340 words · King Tam

Configuring VLANs on a Host for PVE (Proxmox VE)

Configuring VLANs on a Host for Proxmox VE In today’s increasingly complex networking environments, Virtual Local Area Networks (VLANs) have become a crucial tool for managing network traffic and ensuring optimal performance. This blog post provides a step-by-step guide on configuring VLANs on a host for Proxmox Virtual Environment (VE), a popular open-source virtualization platform. Why use VLANs with Proxmox VE? VLANs allow you to segregate network traffic into isolated broadcast domains, improving security and reducing network congestion....

May 30, 2023 · 4 min · 744 words · King Tam

PVE (Proxmox VE) Multi-port Identification

PVE (Proxmox VE) Multi-port Identification About: This is a post about network card (multiple ports) identification in the PVE system. Through the ethtool command, you can easily find the corresponding location of each network port. Operation Steps: Take Intel EXPI9402PTBLK 82571GB Network Adapter as an example Install the ethtool command apt update && apt install ethtool -y ethtool can be used to view network device driver parameters and hardware configuration....

May 30, 2023 · 3 min · 486 words · King Tam

Installing CUPS on PVE's LXC Container System

Installing CUPS on PVE’s LXC Container System Introduction: At home, I use a Canon LBP6030 USB printer connected to a Padavan system on a router (Youku1) to enable wireless printing. However, wireless printing can only be achieved on the Windows platform, and on systems such as macOS and IOS from Apple, it cannot be achieved, causing some inconvenience. I came across this post on SMZDM N1刷armbian變身打印服務器, which can install CUPS software as a printer server system, and thus the following content was recorded....

May 29, 2023 · 5 min · 930 words · King Tam