Ubuntu

1

[Ubuntu] 한글깨짐 설정

2024. 8. 19. 16:40

# 한글 패키지 설치
apt-get install language-pack-ko
# 한글 로케일 추가
locale-gen ko_KR.UTF-8
# 패키지 재설정
dpkg-reconfigure locales

 

- ko_KR.UTF-8 UTF-8 찾아서 해당번호 입력.

- ko_KR.UTF-8 찾아서 해당번호 입력.

 

echo -e "export LANGUAGE=ko_KR.UTF-8\nexport LANG=ko_KR.UTF-8">>~/.bashrc

 

입력 후 재시작.

 

locale

 

locale로 LANG, LANGUAGE에 한글 추가 확인.


'Ubuntu' 카테고리의 다른 글

[Ubuntu] Mosquitto 설치  (0) 2024.08.19

[Ubuntu] Mosquitto 설치

2024. 8. 19. 16:14

apt-get update
apt-get upgrade -y

# mosquitto 설치
apt-get install mosquitto mosquitto-clients -y

# mosquitto 활성화 및 시작
systemctl enable mosquitto
systemctl start mosquitto

# mosquitto 설치확인
systemctl status mosquitto

 

외부에서 접속하고자 할 경우 mosquitto.conf 파일에 코드 추가해야됨.

 

vi /etc/mosquitto/mosquitto.conf

listener 1883
allow_anonymous true

 

해당경로에 두 줄 추가하면 접속 가능.


'Ubuntu' 카테고리의 다른 글

[Ubuntu] 한글깨짐 설정  (0) 2024.08.19

+ Recent posts