Check partition size Grow partition Resize
Continue readingCategory: Ubuntu
Debian: how to add a custom root ca certificate
Copy the certificate-file as *.crt-file to Run the following command The ca-certificate should now be imported For a better stucture, you can also create subfolders in /usr/local/share/ca-certificates and put the certificate files therein.
Continue readingCreate bootable ESXi-USB-Stick using Ubuntu
install syslinux Identify your usb stick using one of the following commands (it should be somethin like /dev/sda, /dev/sdb, /dev/sdc…) unmount the usb device create partition table using fdisk (be sure to use the correct device!!!) unmount partition and device use mkfs.vfat to format the partition copy syslinux / install
Continue readingUbuntu 20.10: Prevent suspend on close lid
Edit /etc/systemd/logind.conf by using your favorite editor Find line “#HandleLidSwitch=suspend” The shortcut for searching in nano is [ctrl] + [w] Uncomment the line remove hashtag in front of the line Change value from suspend to “ignore” The following values can be used: HandleLidSwitch=hibernate –> hiberante when lid is closedHandleLidSwitch=ignore –>
Continue readingOpenWRT: delete DHCP-lease
Connect to your OpenWRT-Router using SSH On windows you may use PuTTY (replace the IP address with the one of your OpenWRT-Router) On linux you may use openssh If not installed run the following command: Connect to your OpenWRT-Router using the following command: Delete DHCP-lease by removing the line in
Continue readingUbuntu: Mount Bitlocker-Encrypted partition
Install dislocker Create folders for mounting Decrypt drive Mount partition Mount NTFS if above command is not working Mount automatically using /etc/fstab Instead of using your user-password you can also use the recovery-password by using the parameter recovery-password instead.
Continue readingUbuntu: Backup & Restore with tar
Create Backup Restore
Continue readingUbuntu: Create user directory afterwards
If you create an new user with useradd without using the option -m there will be created no home directory Create user without -m Create home directory manually by copying the template of /etc/skel Set owner of /home/testuser Set GECOS-field / comment after user was created When creating a user
Continue readingLinux: set hostname using hostnamectl
To set the hostname of a linux system run the following command in a terminal session Reboot system
Continue readingUbuntu: Mount Windows-Share on startup
Install cifs-utils Create directory to use as mount point for the Windows share Mount Windows share manually using terminal If supported use Version 3.0. Otherwise use a supported version (For example: vers=2.0) Mount Windows share on startup using /etc/fstab Create file with credentials Set correct permissions so that no unauthorized
Continue reading