![]() ![]() $ sudo dd if=/dev/zero bs=1M count=4096 of=/mnt/4GiB.swap # don't bother tinkering with 'bs' and 'count' arguments # did a test with 1M/4096 and 512K/8192 and both completed at same time I have plenty space on my SD Card, so 2GB buffor sounds reasonable with my 8GB RAM on Raspberry. Kasm recommend 1GB per concurrent session and I don't plan to run more than two images simultaneously. In my case, it isn't, so I'm running this command to create and mount 4GB of swap. Run $ cat /proc/swaps to see if any swap is already created. For the second part, I recently started using the unattended-upgrades package. As you probably will be exposing Kasm to the Internet, it's best to have the important patches applied both manually and automatically.Relogin on new user using SSH and update packages and distribution (see the apt-updater from my.alias kasm-start= "sudo /opt/kasm/bin/start" alias kasm-stop= "sudo /opt/kasm/bin/stop" These are easier to call than remembering the paths. Now perform following steps from Hardening section: Add new suduer account, Enable SSH login, Disable root & password login, Remove default user.Change hostname ( /etc/hosts and /etc/hostname, then reboot). As we didn't have possibility to change username or hostname during the system installation, we have option to do it now.Login via SSH ( default credentials ubuntu:ubuntu) and change password to more secure one - we will be using it later for sudo commands.The following steps are optional, but highly recommended from a hardening perspective.Īdditonally I have my own shell profile that I can download from the GitHub whenever I know I will be using Linux instance for a longer while. Then SSH into the Ubuntu and start post-install steps. When the process ends, insert a SD Card, connect power and wait a bit for the device to boot. ![]() Raspberry just won't boot if any of advanced options is used. Unfortunately this distro doesn't work with Advanced features of Raspberry Pi Imager ( Ctrl+ Shift+ X). Run Raspberry Pi Imager or Etcher.IO to write Ubuntu to the SD Card. On Windows you can get SHA256 sum from PowerShell # PowerShell
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |