- Based on https://gist.github.com/mdziekon/221bdb597cf32b46c50ffab96dbec08a
- Installation date: 16-08-2019
- Additional notes based on my own experience
- EFI boot
- Ubuntu 19.04 -> 21.04
- This should work on any computer. Only the
RAID > AHCIchange described below and the device name for the nvme ssd drive are specific to this laptop. - The process describes a completely fresh installation with complete repartitioning, however it should work fine when Windows is already installed (eg. brand new machine with Windows preinstalled) as long as Windows already boots with EFI.
- The process was conducted on Dell's XPS 15 9560 (2017) with specs:
- CPU: i7-7700HQ
| #!/bin/bash | |
| # Encrypt an existing partition with LUKS2 on Ubuntu 20.04 LTS | |
| # DISCLAIMER: USE AT YOUR OWN RISK AND MAKE BACKUPS | |
| # Made for my personal use and has almost NO error checking!! | |
| # Based on instructions from: | |
| # https://wiki.archlinux.org/index.php/dm-crypt/Device_encryption#Encrypt_an_existing_unencrypted_filesystem | |
| DISK="$1" |
There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
- http
- ssh
The list of actions listed below was taken mostly from Book Of Zeus with minor modifications and did the job well for Ubuntu version, which was available at that moment (May 2016). This gist was created for internal use and was never meant to be discovered by the web, although Google managed to find and index this page, which was a great surprise for me. Please check the original source for the updated information (links are provided in most of the sections), and read the comments below: they provide more details about the usage experience.
http://bookofzeus.com/harden-ubuntu/initial-setup/system-updates/
Keeping the system updated is vital before starting anything on your system. This will prevent people to use known vulnerabilities to enter in your system.
| import java.io.*; | |
| import java.nio.file.*; | |
| import java.security.*; | |
| import java.security.cert.*; | |
| import javax.net.ssl.*; | |
| import org.bouncycastle.jce.provider.*; | |
| import org.bouncycastle.openssl.*; | |
| public class SslUtil |
| 1. docker pull nginx | |
| 2. docker run --net=host --name potree-nginx-dev -v <full_path_to_the_parent_of_potree_converted>:/usr/share/nginx/html:ro -d nginx | |
| 3. Open http://localhost/potree_converted in your browser |
You should perform the following steps on a new SD card. Don't mess with existing solutions. It is not worth the $5 to loose something working.
I'm used to use Raspbian, so my suggestion is to go to https://www.raspberrypi.org/downloads/raspbian/ and download the latest Raspbian Stretch Lite. Flash it to your SD card. Mine have usually 16 GB, but maybe smaller work too. I'm using Etcher on macOS, a great tool for flashing.
After successful flashing enable ssh and prepare a running Wifi configuration.
A Wifi adapter should be attached to your Pi of course.
Origin: Stenyg: https://stackoverflow.com/questions/19162072/how-to-install-the-raspberry-pi-cross-compiler-on-my-linux-host-machine
Before you start you need to make sure the following is installed:
apt-get install git rsync cmake lib32ncurses5 lib32z1The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom: