Set Git-Bash as Default Shell in Windows Terminal
Set Git-Bash as Default Shell in Windows Terminal
Set Git-Bash as Default Shell in Windows Terminal
Tab completion is a feature in the Linux terminal that allows you to quickly complete file and directory names
Synchronization Solution on Windows (RSYNC)
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....
Manual Upgrade ESXi from 6.7 to 8.0 via esxcli Preparation: Before deploying a host upgrade, ensure that all virtual machines in this host should be shut down and Back Up VMware ESXi Host Configuration. Download the upgrade file from VMware Official There are two types of upgrade files The .iso is bootable and follow instructions. The .zip is upgraded via SSH using CLI commands. In this scenario, I use Offline Bundle (....
Renew DNS Servers in VMWare ESXi via ESXCLI Commands About Issue If you need to renew DNS servers on an ESXi host and are having trouble finding the DNS field in the ESXi portal, you can use ESXCLI commands to update the DNS servers. Procedure Enable SSH Service first on ESXi Open a console or SSH session to the ESXi host. ssh root@esxi_ip_address List Current DNS server IP Address Run the command esxcli network ip dns server list DNSServers: 10....
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)....
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....
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....
About: WinSW is a utility that allows you to wrap and manage a Windows service for any executable. frpc is a client for the frp (Fast Reverse Proxy) tool, which enables you to expose local servers to the internet. Procedure: To set up frpc as a Windows service using WinSW, follow these steps: Download WinSW Download the latest release of WinSW from the releases page. Choose the appropriate executable for your system, either WinSW-x64....