|
|
## Example for hardenedbsd-12-stable USB-stick
|
|
|
## Example for hardenedbsd-13-stable USB-stick
|
|
|
### List installers
|
|
|
https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/12-stable/
|
|
|
|
|
|
https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/13-stable/amd64/amd64/BUILD-LATEST/
|
|
|
|
|
|
### Install
|
|
|
`# pkg install -y ca_root_nss`
|
|
|
|
|
|
`$ fetch https://installer.hardenedbsd.org/hardened_12_stable_master-LAST/CHECKSUM.SHA512`
|
|
|
`$ fetch https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/13-stable/amd64/amd64/BUILD-LATEST/CHECKSUMS.SHA512`
|
|
|
|
|
|
`$ fetch https://installer.hardenedbsd.org/hardened_12_stable_master-LAST/CHECKSUM.SHA512.asc`
|
|
|
`$ fetch https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/13-stable/amd64/amd64/BUILD-LATEST/memstick.img.asc`
|
|
|
|
|
|
`$ fetch https://installer.hardenedbsd.org/hardened_12_stable_master-LAST/HardenedBSD-12-STABLE-v1200058.4-amd64-memstick.img`
|
|
|
`$ fetch https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/13-stable/amd64/amd64/BUILD-LATEST/memstick.img`
|
|
|
|
|
|
`# pkg install -y pgpgpg`
|
|
|
|
... | ... | @@ -18,11 +17,11 @@ https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/12-stable/ |
|
|
|
|
|
`$ gpg --fingerprint 6FFD188D`
|
|
|
|
|
|
`$ gpg --verify CHECKSUM.SHA512.asc CHECKSUM.SHA512`
|
|
|
`$ gpg --verify memstick.img.asc memstick.img`
|
|
|
|
|
|
`$ if grep "^$(sha512 HardenedBSD-12-STABLE-v1200058.4-amd64-memstick.img)$" CHECKSUM.SHA512;then echo "OK"; else echo "WARNIG!!";fi`
|
|
|
`$ if grep "^$(sha512 memstick.img)$" CHECKSUM.SHA512;then echo "OK"; else echo "WARNIG!!";fi`
|
|
|
|
|
|
`# dd if=HardenedBSD-12-STABLE-v1200058.4-amd64-memstick.img of=/dev/sda bs=64k`
|
|
|
`# dd if=memstick.img of=/dev/sda bs=64k`
|
|
|
|
|
|
|
|
|
### After install
|
... | ... | @@ -38,11 +37,8 @@ And to maintain alignment of your ports tree with github |
|
|
`# cd /usr/ports && git pull`
|
|
|
|
|
|
### Get src
|
|
|
`# git clone --single-branch --branch hardened/12-stable/master https://github.com/hardenedbsd/hardenedbsd-stable/ /usr/src`
|
|
|
`# git clone --single-branch --branch hardenedbsd/main https://git.hardenedbsd.org/hardenedbsd/ports.git /usr/ports/`
|
|
|
|
|
|
similarly to maintain your /usr/src (analogous to `svnlite update /usr/src`)
|
|
|
|
|
|
`# cd /usr/src && git pull`
|
|
|
|
|
|
### HardenedBSD Handbook
|
|
|
https://hardenedbsd.org/~shawn/hbsd_handbook/book.html |
|
|
\ No newline at end of file |
|
|
`# cd /usr/src && git pull` |
|
|
\ No newline at end of file |