2025. 6. 17. 19:34

echo $XDG_SESSION_TYPE

 

wayland 나 x11 로 뜸

 

Desktop session을 x11로 변경

 

sudo raspi-config - Advanced Options - Wayland/Legacy X11 - X11 선택

 

sudo reboot

 

echo $XDG_SESSION_TYPE

2025. 6. 17. 18:47

/boot/firmware/config.txt 

 

dtoverlay=hifiberry-dac

 

추가

2025. 6. 5. 17:50

/boot/firmware/config.txt 에 

 

 

[all]

dtparam=uart0=on

enable_uart=1

dtoverlay=distable-bt

#dtoverlay=w1-gpio

 

 

여기에 enable_uart=1 하고

 

dtoverlay=disable-bt 를 넣는다

 

uart를 활성화 하고 

 

blue tooth를 비활성화 한다는 뜻이다

2025. 6. 5. 09:56

qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed

to load the Qt xcb platform plugin. qt.qpa.plugin:

Could not load the Qt platform plugin "xcb" in ""

even though it was found.

 

위와 같은 에러는 Qt 응용프로그램이 X11 환경에서 GUI를 실행하려고 할 때 

 

필요한 xcb 플랫폼 플러그인을 불러오지 

 

못해 발생합니다

 

메시지에 나와 있듯이 Qt 6.5.0부터는 

 

libxcb-cursor0 (또는 xcb-cursro0) 패키지가 필요합니다

 

sudo apt install libxcb-cursor0

 

 

2025. 6. 3. 00:51

라즈베리 파이 OS 를 SD 카드에 복사하는 프로그램

 

Raspberry PI Imager

 

 

SD 카드에서 .img 파일로 복사하는 프로그램

 

Win32DiskImager

 

 

2025. 5. 23. 12:21

application - config - database.php

 

2025. 5. 21. 22:44

config - routes.php - 

 

$route[default_controller] = 'welcome';

 

이렇게 설정하면 

 

controllers 폴더에서 Welcome.php 의 Welcome 클래스의 

 

public function index() {

  $this->load->view('welcome_message');

}

함수 내에 welcome_message 를 연결하는데 이는

 

views 폴더 안에서 welcome_message.php 파일을 보여준다

 

몇 번을 거쳐서 들어가야 하나?

2025. 5. 8. 10:25

controllers/Topic.php

 

 

/views/topicget.php

 

 

 

2025. 2. 18. 01:08

SET apple red

 

GET apple

 

DEL apple


2025. 2. 17. 23:15

1. sudo apt update

2. sudo apt upgrade -y

3. sudo apt install redis-server

4. sudo service redis-server start

5. sudo service redis-server status

6. redis-cli

7. PING을 입력하면 PONG이 리턴

설치 및 실행 성공

2024. 12. 9. 11:18

1. 도메인 설정

2. nginx 설치 후 실행

3. certbot 설치

sudo apt install certbot python3-certbot-nginx

 

4. 인증서 발급

sudo certbot --nginx -d apple.com

 

5. 접속 확인

https://apple.com

 

Apple

Discover the innovative world of Apple and shop everything iPhone, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment, and expert device support.

www.apple.com

 

6. http에서 https로 redirection

server {

  listen 80;

  server_name apple.com;

  return 301 https://$host$request_uri;

}

 

7. 설정 후 nginx 재시작 및 테스트

 

sudo nginx -t

sudo systemctl restart nginx

2024. 11. 17. 16:49

sudo rm /etc/NetworkManager/system-connections/*

2024. 10. 10. 12:39

echo $PATH

2024. 9. 3. 15:46

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/apple

 

해당 디렉토리에 새로 생성한 .ssh/apple 추가

 

여기서 apple 은 새로 생성한 apple.pub의 private key 파일

2024. 8. 26. 20:39

lsof -i 8000