certbot certificates | grep "Certificate Name\|Expiry Date"
Tag: Linux
-
Checking Letsencrypt Certificates Dates
-
Show me all Block devices without the Partition definitions
lsblk -n -o NAME,TYPE | awk '$2 == "disk" {print $1}' | grep -v '[z].*$'
-
Backup before edit
export EDITOR=vi; if [ -f "$1" ]; then cp $1{,@"$(date +%Y%m%y_%H%M%S)"}; $EDITOR $1; fi
-
32 or 64
getconf LONG_BIT
-
Boot WinPE From Linux PXE Server
The information in this article may be outdated.
Download and execute mkWinPE.cmd
We need a DHCP and TFTP-Server
apt-get install dhcp3-server tftpd-hpa
edit /etc/dhcpd/dhcpd.conf
host tftpclient { hardware ethernet [MAC-address of the PXE client]; fixed-address [IP-address of the PXE client]; filename “Boot/pxeboot.n12”; }
Edit the File /etc/default/tftpd-hpa
RUN_DAEMON=”yes” OPTIONS=”-v -l -m /etc/default/tftpd.rules -s /tftpboot”
Create /etc/default/tftpd.rules
rg \\ / # Convert backslashes to slashes
We also need the PXE Stack PXELINUX
label winpe2 kernel /Boot/pxeboot.n12