DS218 Homebridge 세팅 2 (Homebridge 설치)

apt-get update

업데이트 안되어(오류)
wget -O – http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project | sudo apt-key add –
이후 실행
https://github.com/ltb-project/self-service-password/issues/120

apt-get update
apt-get upgrade

[homebridge 설치를 위한 가이드 따라하기]
https://medium.com/@gregwym/setup-homebridge-on-synology-nas-without-docker-f42edd174d0e

apt-get install build-essential
wget http://nodejs.org/dist/latest-v8.x/node-v8.16.2.tar.gz
tar -zxvf node~~~
cd node~~
./configure

실행 안됨(파이썬 없다 함)

cd..
apt-get install python
./configure
make -j4(쿼드코어니까)(2시간 정도 걸림) 
apt-get install libavahi-compat-libdnssd-dev git

locale 경고 거슬림

apt install locales -y
dpkg-reconfigure locales
dpkg-reconfigure tzdata
//할수없음
mount -t proc proc proc/
/etc/init.d/dbus start
apt install less vim curl rsync screen openssh-server bash-completion -y
apt-get install build-essential -y
apt-get install nano -y
apt-get install cmake libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev subversion curl libcurl4-openssl-dev libusb-dev zlib1g-dev libudev-dev -y
apt-get install apt-utils -y
apt-get install python -y
apt-get install git -y
apt-get install libavahi-compat-libdnssd-dev -y
cd ~
git clone https://github.com/joyent/node.git
cd node

이까지 하고 설치 가이드 따라 진행(드디어 npm 가능)

npm install -g --unsafe-perm homebridge

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다