Add introductional paragraph, fix share names (#43)

* Add introductional paragraph, fix share names
pull/46/head
Thomas Dietrich 2016-07-15 16:56:32 +02:00 committed by Kai Kreuzer
parent 531ab5b0c2
commit 9d381a2130
1 changed files with 9 additions and 8 deletions

View File

@ -6,9 +6,11 @@ layout: documentation
# Installation on a Raspberry Pi # Installation on a Raspberry Pi
Here you will find some suggestions on how to configure a dedicated [RaspberryPi](https://www.raspberrypi.org) to run as a openHAB server. Your personal preferences and needs may differ.
Theres no pre-configured image for openHAB, so installation is done the old fashioned way via a command line. Theres no pre-configured image for openHAB, so installation is done the old fashioned way via a command line.
Start with the latest (full) Raspbian SD image (not the “lite” version, these dont include the Java Virtual Machine). Get your network cable plugged in, then boot up, and navigate through SSH. Run: Start with the latest (full) [Raspbian SD image](https://www.raspberrypi.org/downloads/raspbian) (not the “lite” version, these dont include the Java Virtual Machine). Get your network cable plugged in, then boot up, and navigate through SSH. Run:
``` ```
sudo raspi-config sudo raspi-config
@ -43,18 +45,18 @@ wins support = yes
then add the following to the share definitions section (scroll all the way down to the bottom of the long file): then add the following to the share definitions section (scroll all the way down to the bottom of the long file):
``` ```
[openHAB Home] [openHAB]
comment= openHAB Home comment=openHAB2 application
path=/usr/share/openhab path=/usr/share/openhab2
browseable=Yes browseable=Yes
writeable=Yes writeable=Yes
only guest=no only guest=no
create mask=0777 create mask=0777
directory mask=0777 directory mask=0777
public=no public=no
[openHAB Config] [openHAB-etc]
comment= openHAB Site Config comment=openHAB2 site configuration
path=/etc/openhab path=/etc/openhab2
browseable=Yes browseable=Yes
writeable=Yes writeable=Yes
only guest=no only guest=no
@ -89,7 +91,6 @@ smb://openhab@raspberrypi.local
Authenticate with username openhab and the chosen password, then open up both the shares to have a look around. Then should even be able to open http://raspberrypi.local:8080/ in the web browser, but then will be met with an error because don´t havent create a sitemap yet. Thats normal. Authenticate with username openhab and the chosen password, then open up both the shares to have a look around. Then should even be able to open http://raspberrypi.local:8080/ in the web browser, but then will be met with an error because don´t havent create a sitemap yet. Thats normal.
error on first launch openHAB
Now would be a good time to learn the command to tail the openHAB log so you can keep an eye on errors. Now would be a good time to learn the command to tail the openHAB log so you can keep an eye on errors.