Install Domoticz on Ubuntu 18 Google Cloud
sudo curl -L install.domoticz.com | bash ถ้าไม่สำเร็จ cd /tmpwget https://releases.domoticz.com/releases/release/domoticz_linux_x86_64.tgztar -zxvf domoticz_linux_x86_64.tgzใช้ mc copy ไปที่ /home/userxxxx/domoticzcd /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 python3sudo 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" |