
이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, SSL 인증서 갱신 명령어$ certbot renewCrontab 주 사용 명령어# Crontab 보기 $ sudo crontab -l # Crontab 편집 $ sudo crontab -e # Crontab 실행 로그 $ view /var/log/syslog현재 18시에 업데이트 하도록 구성.date 명령어 사용 시 UTC로 되어있음을 확인 가능.KST 기준 오전 3시에 업데이트를 진행.$ 0 18 1 * * /usr/bin/certbot renew --renew-hook="sudo systemctl restart apache2"

이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, wsvg 포맷을 이용한 이미지 파일의 색상을 변경하는 것에 대해 검색을 해보면 대부분이svg 파일을 html에 작성해서 fill 또는 CSS를 이용해서 색상을 변경하라는 내용을 볼 수 있습니다. 하지만 그렇게 비효율적인 방법이라면 mdi같이 svg 포맷을 폰트로 만들어서 사용했을 듯 합니다. SVG 파일의 색상을 HTML 작성 없이 CSS만으로 변경하는 것은 의외로 매우 간단합니다. .svg-test { background-color: #eeeeee; -webkit-mask: url('image.svg') no-repeat center; mask: url('image.svg') no-repeat center;}이런식으로 mask를 이용해서 image를 불러오고 background 색상을 변경 작업해주면 매우 쉽게 색상을 변경할 수 있습니다.

이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, > app.js var http = require('http'); //node에 내장된 http 모듈 사용 var hostname = '127.0.0.1'; //호스트 주소 var port = 3000; //포트번호 http.createServer(function(req, res){ res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8'}); res.end('Hello World\n'); }).listen(port, hostname); console.log('Server running at http://' + hostname + ':' + port);

이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, chartjs-plugin-datalabels plugins: [ChartDataLabels], type: 'bar', data: { labels: ['11.18', '11.19', '11.20', '11.21', '11.22', '11.23'], datasets: [{ data: [100, 87, 65, 66, 85, 67, 67], backgroundColor: '#FFFFFF', borderColor: '#434343', borderWidth: 1.5, datalabels:{ font: { family: 'SSAntRegular', size: 12, }, anchor: 'end', align: 'top', textAlign: 'center' } }] },

이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, onblur(객체가 focus를 잃었을 때)onchange(객체의 내용이 바뀌고 focus를 잃었을 때)onclick(객체를 클릭했을 때)ondblclick(더블클릭할 때)onerror(에러가 발생했을 때)onfocus(객체에 focus가 되었을 때)onkeydown(키를 눌렀을 때)onkeypress(키를 누르고 있을 때)onkeyup(키를 눌렀다 뗐을 때)onload(문서나 객체가 로딩되었을 때)onmouseover(마우스가 객체 위에 올라왔을 때)onmouseout(마우스가 객체 바깥으로 나갔을 때)onreset(Reset 버튼을 눌렀을 때)onresize(객체의 크기가 바뀌었을 때)onscroll(스크롤바를 조작할 때)onsubmit(폼이 전송될 때)


이미지 삽입 Raspberry Pi List 시리즈 #1. Monitoring 개요, cd /opt/bitnamisudo ./configure_app_domain --domain reasley.comsudo ./configure_app_domain --disable-automatic-configuration