Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Become the new user (When acting as the user "homeassistant" sudo is not needed).
- sudo su -s /bin/bash homeassistant
- #setup the new virtual environment
- virtualenv -p python3 /srv/homeassistant
- #Activate the virtual environment (After that, your prompt should include (homeassistant)).
- source /srv/homeassistant/bin/activate
- #Install home assistant!
- pip3 install --upgrade homeassistant
- #Run command (to logout from the user)
- exit
- #Test that HA is working
- sudo -u homeassistant -H /srv/homeassistant/bin/hass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement