raspberrypi:setup
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
raspberrypi:setup [2013/05/29 19:25] – created rlunaro | raspberrypi:setup [2015/11/12 15:27] – [Create another user, not the well known pi] rlunaro | ||
---|---|---|---|
Line 15: | Line 15: | ||
http:// | http:// | ||
+ | ===== Saving the image ===== | ||
+ | < | ||
+ | unzip FILE-OF-IMAGE.zip | ||
+ | dd bs=4M if=FILE-OF-IMAGE.img of=/dev... | ||
+ | </ | ||
+ | |||
+ | Usually, ''/ | ||
===== Setting an static IP ===== | ===== Setting an static IP ===== | ||
Line 55: | Line 62: | ||
< | < | ||
# addgroup USERNAME | # addgroup USERNAME | ||
- | # adduser --ingroup USERNAME | + | # adduser --group --home / |
</ | </ | ||
Line 74: | Line 81: | ||
delgroup pi | delgroup pi | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Delete the sudoers information of " | ||
+ | |||
+ | It is not necessarily, | ||
+ | |||
+ | To prevent that, issue the '' | ||
+ | |||
+ | < | ||
+ | pi ALL=(ALL) NOPASSWD: ALL | ||
+ | </ | ||
+ | |||
===== Think about backup ===== | ===== Think about backup ===== | ||
Line 95: | Line 114: | ||
< | < | ||
- | apt-get remove | + | apt-get remove --auto-remove --purge libx11-.* |
</ | </ | ||
Line 124: | Line 143: | ||
</ | </ | ||
- | And I make the necessary configurations to send and receive email from the raspberry. | + | And I make the necessary configurations to send and receive email from the raspberry. I've selected to use SMTP relaying of the emails because of the dynamic IP: it appeared in the Spamhaus' |
+ | For instructions to configure the relaying: | ||
+ | http:// | ||
+ | http:// | ||
- | ===== Setup a dnsdynamic.org dynamic domain ===== | ||
- | The only thing you have to do to access your raspberry from internet is the following: | + | ===== Set Timezone ===== |
- | - register in www.dnsdynamic.org your account and get a domain | + | Don't forget to set the timezone. |
- | - install in your raspberry the ddclient package | + | |
- | - configure it with the data of your account | + | |
- | Some details of my configuration (file '/ | + | If '' |
< | < | ||
- | + | dpkg-reconfigure tzdata | |
- | daemon=60 | + | |
- | syslog=yes | + | |
- | mail-failure=PUT-HERE-AN-EMAIL-ADDRESS-WHERE-ALL-FAILURES-WILL-BE-SENT | + | |
- | ssl=yes | + | |
- | protocol=dyndns2 | + | |
- | use=web, web=myip.dnsdynamic.com | + | |
- | server=www.dnsdynamic.org | + | |
- | login=PUT-HERE-YOUR-USERNAME-OF-DNSDYNAMIC.ORG | + | |
- | password=' | + | |
- | PUT-HERE-YOUR-DYNAMIC-WEB-ADDRESS.com | + | |
- | + | ||
</ | </ | ||
- | + | Taken from: [[http:// | |
- | And finally: | + | |
- | + | ||
- | < | + | |
- | # update-rc.d enable ddclient | + | |
- | </code> | + | |
- | + | ||
- | To add it in the default runlevel. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + |
raspberrypi/setup.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1