'ubuntu'에 해당되는 글 3건

  1. 2023.05.22 Ubuntu 22.04 LTS 에 Mongo DB 설치하기
  2. 2020.10.23 Locale 변경하기
  3. 2020.10.23 타임존 설정

Ubuntu 22.04 LTS에 몽고DB를 설치할 때 다음과 같은 에러가 발생하여 설치가 안되는 경우가 있다.

 

mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it si not installable.

mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it si not installable.

E: Unable to correct problems, you have held broken packages.

 

해결방법은 이전버전의 몽고DB를 설치하거나 libssl1.1을 설치하면 된다.

이전 버전을 설치하는 것은 몽고DB 홈페이지에서 찾아보면 있으니

libssl1.1 설치방법만 간단하게 소개합니다.

 

1. ubuntu@server: $ sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

2. ubuntu@server: $ echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list

3. ubuntu@server: $ sudo wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb  

4. ubuntu@server: $ sudo dpkg -i libssl1.1_1.1.1f-lubuntu2_amd64.deb

5. ubuntu@server: $ sudo apt update

6. ubuntu@server: $ sudo apt install libssl1.1

 

이렇게 하면 설치가 된다.

'Ubuntu Linux' 카테고리의 다른 글

Permission Denied while opening TCP Server on UBUNTU  (0) 2023.03.29
우분투 리눅스 고정 IP 설정하기  (0) 2020.11.12
인터넷 공유  (0) 2020.11.12
Locale 변경하기  (0) 2020.10.23
타임존 설정  (0) 2020.10.23
Posted by SmartPro
,

Locale 변경하기

Ubuntu Linux 2020. 10. 23. 08:59

1. locale 확인하기

    $ locale

 

2. 변경하기 1

  1) 한글 패키기 설치

    $ sudo apt install language-pack-ko

  2) Locale 설치

    $ sudo locale-gen ko_KR.UTF-8

 

3. 변경하기 2

  1) dpkg-reconfigure를 이용하기

    $ sudo dpkg-reconfigure locales

  2) ko_KR.UTF-8 을 스페이스로 선택후 엔터

 

4. 변경하기 3

  1) update-locale 사용

    $ sudo update-locale LANG=ko_KR.UTF-8 LC_MESSAGES=POSIX

 

5. 변경하기 4 - 직접 세팅하기

  1) /etc/default/locale 파일을 다음과 같이 수정

    LANG=ko_KR.UTF-8

    LC_MESSAGES=POSIX

'Ubuntu Linux' 카테고리의 다른 글

우분투 리눅스 고정 IP 설정하기  (0) 2020.11.12
인터넷 공유  (0) 2020.11.12
타임존 설정  (0) 2020.10.23
시스템 GUI모드로 시작하지 않기  (0) 2020.10.21
우분투 리눅스 IP주소 확인하기  (0) 2020.10.12
Posted by SmartPro
,

타임존 설정

Ubuntu Linux 2020. 10. 23. 08:53

1. timezonectl 사용

  # timedatectl set-timezone 'Asia/Seoul'

  # timedatectl set-timezone 'GMT'

 

  ** 타임존 목록 확인은?

     # timedatectl list-timezones

 

2. tzdata를 링크

  $ sudo apt install tzdata

  $ ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

  $ ln -sf /usr/share/zoneinfo/GMT /etc/localtime

 

 

'Ubuntu Linux' 카테고리의 다른 글

인터넷 공유  (0) 2020.11.12
Locale 변경하기  (0) 2020.10.23
시스템 GUI모드로 시작하지 않기  (0) 2020.10.21
우분투 리눅스 IP주소 확인하기  (0) 2020.10.12
커맨드 라인 토런트 클라이언트  (0) 2020.10.12
Posted by SmartPro
,