Install Domoticz on Ubuntu 18 Google Cloud
sudo curl -L install.domoticz.com | bash
ถ้าไม่สำเร็จ
cd /tmp
wget https://releases.domoticz.com/releases/release/domoticz_linux_x86_64.tgz
tar -zxvf domoticz_linux_x86_64.tgz
ใช้ mc copy ไปที่ /home/userxxxx/domoticz
cd /home/userxxxx/domoticz/
sudo ./domoticz
ตั้งค่าตามแบบ
Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
apt install python3
sudo apt-get install libpython3-dev
1 2 3 4 5 6 7 8 9 |
sudo cp domoticz.sh /etc/init.d sudo chmod +x /etc/init.d/domoticz.sh sudo update-rc.d domoticz.sh defaults Edit the startup script. sudo nano /etc/init.d/domoticz.sh The lines you usually need to change are USERNAME, DAEMON and DAEMON_ARGS USERNAME=yourusername DAEMON=/home/$USERNAME/domoticz/$NAME DAEMON_ARGS="-daemon -www 8080" |