Page 1 of 1

Advice before installing

Posted: Sunday 21 January 2018 12:19
by effo
Hi, I am about to setup a new RPi3 with Domoticz. I read the forums and notice that there are some problems with libssl when using Raspbian Stretch. There seem to be two ways around this:
  • Install Domoticz and update to beta
  • Install Domoticz and get libssl from Jessie
Is this correct?
Is any of these alternatives preferred over the other? I will use a RFXtrx433 and a RazBerry card

Re: Advice before installing

Posted: Sunday 21 January 2018 12:29
by jannl
I would advise to use stretch and update to beta. The other ways leave you with an unsafe libssl.

Re: Advice before installing

Posted: Sunday 21 January 2018 12:59
by Eoreh
I once wrote a guide for friends (in Polish - here translation by google.translate). When we start from the beginning
It may come in handy ?.
-----------------------------------------------
1. Installation of RASPBIAN STRETCH LITE
Download image from https://www.raspberrypi.org/downloads/raspbian/
2. Upload the image to the MicroSD card. using Win32DiskImager.
3. Fire RPI with video and connected lan cable and monitor to HDMI.
4. log in using the default "pi" default password: "raspberry"
5. set up the config: among others, the SSH started, set the time zone, change the password to favorites, enlarge the space on the card to the entire size of the card
sudo raspi-config
6. we update RPI if necessary
sudo apt-get install rpi-update
sudo rpi-update

7. We update RASPBIAN
sudo apt-get update
sudo apt-get upgrade --yes

8. We download bibliteke for the domoticz that is required on STRETCH
wget http://ftp.nl.debian.org/debian/pool/ma ... _armhf.deb
sudo dpkg -i libssl1.0.0_1.0.2l-1 ~ bpo8 + 1_armhf.deb

9. We integrate python for the domoticz
sudo apt-get install python3-dev
10. We install MC - for better navigation around RASPBIAN .
sudo apt-get install mc -y
11. We install an additional python package for other installations.
sudo apt-get install python-pip
12. Set ramdisk for domoticz as in the article https://www.domoticz.com/wiki/Setting_u ... spberry_Pi
sudo mkdir / var / tmp
sudo nano / etc / fstab
tmpfs / var / tmp tmpfs nodev, nosuid, size = 20M 0 0
sudo mount -a
df

13. Set the static RPI address in the file
sudo nano /etc/dhcpcd.conf
 
# adding the section as below for the lan card
 
interface eth0
 static ip_address = 192.168.0.80 / 24
 static routers = 192.168.0.1
 static domain_name_servers = 192.168.0.1 8.8.8.8
 
# for WIFI card

allow-hotplug wlan0
iface wlan0 inet static
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    address 192.168.0.79
    netmask 255.255.255.0
    gateway 192.168.0.1


14. Edit the file /etc/wpa_supplicant/wpa_supplicant.conf for the password and ssid WIFI
Descriptions on the internet, e.g. http://wuterweplay.com/play/automatical ... i-network/

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

# we add sections as below
network = {
ssid = "xxxx"
psk = "yyyyy"
}

15. Simplified domoticz installation

sudo curl -L install.domoticz.com | sudo bash
 
16. During the installation, the question about the port. I change the default 8080 to 80. 443 I leave

17. Installing ramdisk logs next to the domoticz from the wiki https://www.domoticz.com/wiki/Moving_Lo ... _RAM_Drive

Re: Advice before installing

Posted: Sunday 21 January 2018 14:28
by Jan Jansen
1. Just follow the WIKI (the easy way, use stretch image)

2. cd domoticz

3. ./updatebeta

Re: Advice before installing

Posted: Tuesday 23 January 2018 22:37
by effo
Thanks Jan, works like a charm