raspberrypi:resin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raspberrypi:resin [2013/08/16 15:06] – rlunaro | raspberrypi:resin [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 62: | Line 62: | ||
===== Changes in the ''/ | ===== Changes in the ''/ | ||
- | I've made the following | + | Edit the ''/ |
- | AQUI ME QUEDO | + | You have to add an user value. In my case I've selected the root value and afterwards I will change the resin.properties to have then the user changed to resin once it is opened the port 80. |
+ | < | ||
+ | START_CMD=" | ||
+ | |||
+ | USER=" | ||
+ | </ | ||
+ | |||
+ | You must uncomment the RESIN_ROOT line: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | # -resin-root / | ||
+ | # | ||
+ | RESIN_ROOT=" | ||
+ | </ | ||
+ | |||
+ | And the RESIN_CONF line: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | # -conf / | ||
+ | # | ||
+ | RESIN_CONF=" | ||
+ | </ | ||
+ | |||
+ | And the RESIN_LOG line: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | # Licenses for Resin. TODO in progress | ||
+ | # RESIN_LICENSE=" | ||
+ | # | ||
+ | # -log-directory / | ||
+ | # | ||
+ | RESIN_LOG=" | ||
+ | </ | ||
+ | |||
+ | ===== Change the resin.properties ===== | ||
+ | |||
+ | Change the following values: | ||
+ | |||
+ | < | ||
+ | setuid_user | ||
+ | setuid_group | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | rest_admin_ssl : true | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | admin_user : PUT-AN-USERNAME-HERE | ||
+ | admin_password : {SSHA}CREATE-THE-CRYPTED-PASSWORD-AND-ADD-IT-HERE | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Optional: remove unnecessary things ===== | ||
+ | |||
+ | These two clusters of below can be deleted from the configuration file whithout complains: | ||
+ | |||
+ | <code xml> | ||
+ | <cluster id=" | ||
+ | <!-- define the servers in the cluster --> | ||
+ | < | ||
+ | <!-- listen for the memcache protocol --> | ||
+ | <listen port=" | ||
+ | keepalive-timeout=" | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <cluster id=" | ||
+ | <!-- define the servers in the cluster --> | ||
+ | < | ||
+ | <host id="" | ||
+ | <web-app id=""> | ||
+ | < | ||
+ | <!-- backend HTTP servers to proxy to --> | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
raspberrypi/resin.1376665596.txt.gz · Last modified: 2022/12/02 21:02 (external edit)