Advice before installing

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
effo
Posts: 6
Joined: Sunday 24 April 2016 17:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Advice before installing

Post by effo » Sunday 21 January 2018 13:19

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

User avatar
jannl
Posts: 937
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Advice before installing

Post by jannl » Sunday 21 January 2018 13:29

I would advise to use stretch and update to beta. The other ways leave you with an unsafe libssl.

Eoreh
Posts: 64
Joined: Tuesday 13 October 2015 13:50
Target OS: Raspberry Pi
Domoticz version: beta
Location: Poland
Contact:

Re: Advice before installing

Post by Eoreh » Sunday 21 January 2018 13:59

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

Jan Jansen
Posts: 156
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Advice before installing

Post by Jan Jansen » Sunday 21 January 2018 15:28

1. Just follow the WIKI (the easy way, use stretch image)

2. cd domoticz

3. ./updatebeta

effo
Posts: 6
Joined: Sunday 24 April 2016 17:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Advice before installing

Post by effo » Tuesday 23 January 2018 23:37

Thanks Jan, works like a charm

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests