ubuntu bluetooth beacon scanner bluetooth ibeacon scanner pybluez : v0.22 https://github.com/bowdentheo/BLE-Beacon-Scanner Misc/Linux 2023.04.17
Ubuntu NTP 설정 sudo apt-get install -y ntp sudo vi /etc/ntp.conf 동기화 서버 리스트 time.bora.net (203.248.240.140) time.nuri.net (211.115.194.21) time2.kriss.re.kr (210.98.16.101) sudo systemctl start ntp (서비스 실행) sudo systemctl status ntp (서비스 상태 확인) ntpq -p (동기화 상태 확인) Misc/Linux 2023.04.14
system log 삭제 //system log 위치 cd /var/log **rm 명령어로 삭제 하면 안됌. !!! sudo sh -c 'cat /dev/null > /var/log/syslog' Misc/Linux 2023.04.13
우분투 18.04 bluetooth driver install (iptime bt50) 설정 sudo apt install nautilus-admin -y dir : /ilb/fireware/rtl_bt //1. 압축파일을 window에서 풀기 // 2. ftp로 우분투 전송 // 3. sudo make install INTERFACE=all 하면 블루투스 드라이버 설치 완료 bt50 actto btr-04 가지고 있는 블루투스 동글 다 잘된다. Misc/Linux 2023.03.16
MariaDB 삭제 / 설치 삭제 sudo apt-get purge mariadb-server -y sudo apt-get purge mariadb-common -y sudo apt purge mysql-common -y sudo rm -rf /var/log/mysql sudo rm -rf /var/log/mysql.* sudo rm -rf /var/lib/mysql sudo rm -rf /etc/mysql sudo dpkg -l | grep mariadb 설치 sudo apt update sudo apt install mariadb-server -y sudo apt-get install mariadb-client -y sudo apt-get install libmariadbclient-dev -y sudo find / -iname.. Misc/DB 2023.02.17
Gnome-panel 안뜰 때 수정 (gnome-control-center:2692): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header Then don't delete it - simply move it out of the way: mv ~/.config/dconf/ ~/.config/dconf.bak 후 Reboot Misc/Linux 2023.02.07
DB 종류별로 최근 값 Select SELECT * FROM( select * from tb_event_his where (iSid, stDateTime) in ( select iSid, max(stDateTime) as stDateTime from tb_event_his group by iSid ) order by stDateTime desc )t group by t.iSid; Misc/DB 2022.12.28