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/07 06:56] – maferreira | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Raspbian ====== | ====== Raspbian ====== | ||
- | ===== Clone only a directory ===== | + | |
- | git clone <git path> | + | * [[Clean installation]] |
- | cd <git directory> | + | |
- | git config core.sparsecheckout true | + | |
- | echo "< | + | * [[easyGateway configuration]] |
- | git checkout -- | + | * [[easyDoor configuration]] |
- | + | ||
- | ===== Reduce time that is used to raise network interfaces ===== | + | |
- | As root, create the "**networking.service.d**" | + | |
- | | + | |
- | | + | |
- | | + | |
- | Then add this to your "**reduce.timeout.conf**" | + | |
- | | + | |
- | | + | |
- | + | ||
- | < | + | |
===== Disable swap ===== | ===== Disable swap ===== | ||
Line 133: | Line 122: | ||
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]] |