User Tools

Site Tools


operating_systems:raspbian:raspbian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
operating_systems:raspbian:raspbian [2019/04/30 14:30] maferreiraoperating_systems:raspbian:raspbian [2019/05/17 06:53] maferreira
Line 1: Line 1:
 ====== Raspbian ====== ====== Raspbian ======
-===== Clone only a directory ===== + 
-    git clone <git path> +  [[Clean installation]] 
-    cd <git directory> +  * [[Minimal configuration]] 
-    git config core.sparsecheckout true +  * [[Tricks]] 
-    echo "<directory name>" >> .git/info/sparse-checkout +  * [[easyGateway configuration]] 
-    git checkout -- +  * [[easyDoor configuration]
-     +  * [[Common backup structure]]
-===== Reduce time that is used to raise network interfaces ===== +
-As root, create the "**networking.service.d**" directory if it does not already exist and create/modify "**reduce-timeout.conf**" +
-  mkdir /etc/systemd/system/networking.service.d +
-  vi reduce-timeout.conf +
-   +
- Then add this to your "**reduce.timeout.conf**" file +
-  [Service+
-  TimeoutStartSec=XX +
-   +
- <note>**XX** is the time in seconds that you want the system to wait</note>+
  
 ===== Disable swap ===== ===== Disable swap =====
Line 133: Line 123:
  
 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, we need to activate it. But before doing that, mount / in read-write mode. 
-    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 /etc/hostname 
-Replace the existing hostname by the new one. 
-===== Generate ssh keys ===== 
-    ssh-keygen -t rsa -b 2048 
- 
-  * [[Clean installation]] 
-  * [[Minimal configuration]]