By editor, 11 June, 2018 rsync : Backup data on linux Tags Linux Utility Server rsync is a powerfull tool to synchronize the files and directories. Can be use for local or remote using ssh. Source Tutorial : https://www.thegeekstuff.com/2010/09/rsync-command-examples/ Syntax rsync options source destination
By editor, 30 May, 2018 Mount LUKS encrypted volumes from command line Tags Linux Mount a linux partition encrypted with LUKS using terminal Install Crypsetup: sudo apt-get install cryptsetup To decrypt the volume: sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume
By editor, 23 May, 2018 Search Entities when using Domain Access Tags Drupal 8 Code Entity Example 1 : Without changing user session. $query = \Drupal::entityQuery('node'); $query->condition(DOMAIN_ACCESS_FIELD, 'domain_id'); // Set the domain id hear $query->condition('type', 'article'); $query->condition('status', 1);
By editor, 23 May, 2018 Switch user sessions using Account Switcher service Tags Drupal 8 Code Services Example:
By editor, 15 May, 2018 Add rc.local to Debian 9 Stretch Tags Linux Server /etc/rc.local is depricated on debian 9. You can try this to add it. (Not tested) 1) Create the file : /etc/systemd/system/rc-local.service # nano /etc/systemd/system/rc-local.service 2) Copy this text.