original source : https://youtu.be/vHYh-m4iXw4

기본적으로 macOS에는 apache, php가 준비되어있다. mysql, phpmyadmin은 따로 설치해주어야 한다. 

— Steps: 

  •  sudo apachectl start 
  •  sudo nano /etc/apache2/httpd.conf 
  •  remove # before #LoadModule php5… 
  •  sudo apachectl restart 
  •  sudo nano /etc/apache2/httpd.conf 
  •  Add index.php in DirectoryIndex line 
  •  sudo apachectl restart 
  •  sudo nano /Library/WebServer/Documents/index.php 
  •  add the code seen on the screen 
  •  download Mysql: https://dev.mysql.com/downloads/ 
  •  SAVE YOUR PASSWORD! 
  •  sudo mkdir /var/mysql 
  •  sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock 
  •  Start mysql Server
    – cd /usr/local/mysql/bin 
  •  sudo ./mysql -u root -p 
  •  Alter user ’root’@‘localhost’ identified by ‘newpassword’; 
  •  Download phpmyadmin: https://www.phpmyadmin.net 
  •  Copy paste it into Documents folder and rename to phpMyAdmin 
  •  cd /Library/Webserver/Documents/ 
  •  cd phpMyAdmin 
  •  sudo mkdir config 
  •  sudo chmod o+x config 
  •  open localhost/phpmyadmin 
  •  Under Authentication, enter mysql password 
  •  Download Config 
  •  Copy/Paste config into config folder 

mysql 은 community version이 free이다.

https://www.oracle.com/mysql/community.html

위에서 Alter user ’root’@‘localhost’ identified by ‘newpassword’; 여기에서 newpassword가 아니고 password로 진행해야 영상대로 된다.

또 영상에서는 Config 화일을 phpmyadmin 폴더에 넣는데 이는 만든 phpmyadmin/config폴더에 넣어야 한다.

아래 과정은 phpmyadmin에 접속할때 credential을 매번 넣지 않게 하기위한 옵션과정이다.

  • sudo ./mysql -u root -p
  • Alter user ’root’@‘localhost’ identified by ‘newpassword’;
  • Copy paste it into Documents folder and rename to phpMyAdmin
  • cd /Library/Webserver/Documents/
  • cd phpMyAdmin
  • sudo mkdir config
  • sudo chmod o+x config
  • open localhost/phpmyadmin
  • Under Authentication, enter mysql password
  • Download Config
  • Copy/Paste config into config folde

https://www.coursera.org/learn/machine-learning/supplement/ykU6M/installing-octave-matlab-on-mac-os-x-10-10-yosemite-and-10-9-mavericks

i have installed octave for machine learning 

https://www.coursera.org/learn/machine-learning/supplement/ykU6M/installing-octave-matlab-on-mac-os-x-10-10-yosemite-and-10-9-mavericks

i have installed octave for machine learning 

we need little setting up process for using dome siren with smartthings.

first, we have download device handler and upload to smartthings ide, and specified the device as dome siren at device page 

details for setting up 

https://community.smartthings.com/t/release-dome-siren-official/75499/173

changing device as dome siren at “my devices” tab 

https://community.smartthings.com/t/release-dome-siren-official/75499/265?u=darkstar

when i can’t find my devices at webcore

follow instruction below

https://community.smartthings.com/t/presence-sensor-not-listed-in-devices/103093/5?u=darkstar

Open the SmartThings app
Go to the WebCoRe smartapp
Click into it
Then settings
Then available devices and you add it in there.

we need little setting up process for using dome siren with smartthings.

first, we have download device handler and upload to smartthings ide, and specified the device as dome siren at device page 

details for setting up 

https://community.smartthings.com/t/release-dome-siren-official/75499/173

changing device as dome siren at “my devices” tab 

https://community.smartthings.com/t/release-dome-siren-official/75499/265?u=darkstar

when i can’t find my devices at webcore

follow instruction below

https://community.smartthings.com/t/presence-sensor-not-listed-in-devices/103093/5?u=darkstar

Open the SmartThings app
Go to the WebCoRe smartapp
Click into it
Then settings
Then available devices and you add it in there.