operating_systems:raspbian:raspbian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
operating_systems:raspbian:raspbian [2019/04/30 14:29] – maferreira | operating_systems:raspbian:raspbian [2019/05/03 15:09] – maferreira | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Raspbian ====== | ====== Raspbian ====== | ||
+ | |||
+ | * [[Clean installation]] | ||
+ | * [[Minimal configuration]] | ||
+ | * [[Tricks]] | ||
+ | * [[easyGateway configuration]] | ||
+ | * [[easyDoor configuration]] | ||
+ | |||
===== Clone only a directory ===== | ===== Clone only a directory ===== | ||
git clone <git path> | git clone <git path> | ||
Line 7: | Line 14: | ||
git checkout -- | git checkout -- | ||
| | ||
- | ===== Reduce time that is used to raise network interfaces ===== | ||
- | As root, create the " | ||
- | mkdir / | ||
- | vi reduce-timeout.conf | ||
- | | ||
- | Then add this to your " | ||
- | [Service] | ||
- | TimeoutStartSec=XX | ||
- | | ||
- | < | ||
- | |||
===== Disable swap ===== | ===== Disable swap ===== | ||
As root, turn off the process that automatically creates a swap file | As root, turn off the process that automatically creates a swap file | ||
Line 133: | Line 129: | ||
After some time of lecture, I found out that there wasn't a config file with a lease-file option. | After some time of lecture, I found out that there wasn't a config file with a lease-file option. | ||
- | |||
- | |||
- | ===== Rename username ===== | ||
- | As root account is disabled by default on raspberrian, | ||
- | sudo mount -o remount,rw / | ||
- | sudo su passwd root | ||
- | And then enter the new password you want. | ||
- | |||
- | usermod -l acdsn pi | ||
- | usermod -m -d /home/acdsn acdsn | ||
- | Set a password to the user | ||
- | passwd acdsn | ||
- | |||
- | ===== Rename group ===== | ||
- | groupmod --new-name acdsn pi | ||
- | |||
- | ===== Rename hostname ===== | ||
- | vi / | ||
- | Replace the existing hostname by the new one. | ||
- | ===== Generate ssh keys ===== | ||
- | ssh-keygen -t rsa -b 2048 | ||
- | |||
- | * [[Clean installation]] |