검색결과 리스트
컴퓨터 연구/Linux 에 해당되는 글 120건
- 2025.07.10 Cloudflare 네임 서버 등록 로그인
- 2025.07.09 네임서버 확인 명령어
- 2025.07.05 라즈베리 파이 종료 시 파일 작성
- 2025.07.01 라즈베리 파이 5 시작 프로그램 1
- 2025.06.17 라즈베리 파이 세션 확인 명령어 1
- 2025.06.17 라즈베리 파이 5에서 HiFiberry 사용
- 2025.06.05 라즈베리 파이 5 UART 통신 ON
- 2025.06.05 pyside6 실행 에러 1
- 2025.06.03 라즈베리 OS 이미지
- 2025.05.23 code igniter DB 설정
- 2025.05.21 Code igniter 디폴트 라우터 1
- 2025.05.08 PHP Code Igniter param id 1
- 2025.02.18 Redis key 값으로 저장
- 2025.02.17 우분투에 Redis 설치 및 실행
- 2024.12.09 Let's encrypt HTTPS 설정 2
2025. 7. 10. 12:32
cloudflared tunnel login
등록한 도메인을 선택하고 Authorized 버튼을 누르면
다음과 같이 뜬다
그 전에 사용할 도메인 주소를 cloudflare에 네임 서버를
원래 구매한 도메인 사이트에 등록해야 한다
2025. 7. 9. 21:28
2025. 7. 5. 12:09
1. 실행할 파이썬 작성
/hom/pi/shutdown.py
2. shutdown.py 파일 실행 권한 설정
sudo chmode 755 shtudown.py
3. 종료할 때 shutdown 파일 실행할 service 작성
sudo vim /etc/systemd/system/shutlog.service
4. 서비스 등록
sudo systemctl daemon-reload
sudo systemctl enable shutlogger.service
5. 서비스 강제 실행 테스트
sudo systemctl start shutlogger.service
6. 파이썬 실행 명령 파일 확인
which python3
7. 재부팅 후 boot.log 파일 생성 확인
2025. 7. 1. 10:24
1. htb.sh 파일 작성
sudo vim /home/pi/htb.sh
#!/bin/bash
cd /home/pi/htb
source myenv/bin/activate
python main.py
2. 실행 권한 부여
chmod +x /home/pi/htb.sh
3. 자동 시작 디렉토리 생성
mkdir -p /home/pi/.config/autostart
sudo vim /home/pi/.config/autostart/htb.desktop
[Desktop Entry]
Type=Application
Name=HTB App
Exec=/home/pi/htb.sh
StartupNotify=false
Terminal=false
Exec: 실행할 스크립트의 경로
Terminal=false: 터미널 창 없이 실행
StartupNotify=false: 실행 중 알림 비활성화
4. 실행 권한 확인
chmod +x /home/pi/htb.sh
chmod +x /home/pi/.config/autostart/htb.desktop
5. 재부팅
sudo reboot
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
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
2025. 2. 18. 01:08
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