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:10] – [Changes in the ''/etc/init.d/resin'' script] rlunaro | raspberrypi:resin [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 63: | Line 63: | ||
| Edit the ''/ | Edit the ''/ | ||
| + | |||
| + | 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: | You must uncomment the RESIN_ROOT line: | ||
| Line 94: | Line 102: | ||
| </ | </ | ||
| + | ===== 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.1376665856.txt.gz · Last modified: 2022/12/02 21:02 (external edit)
