일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- aggs
- 900gle
- MySQL
- license delete
- Java
- licence delete curl
- high level client
- 차트
- token filter test
- matplotlib
- ELASTIC
- zip 파일 암호화
- Test
- Python
- License
- analyzer test
- API
- flask
- sort
- Elasticsearch
- query
- TensorFlow
- Kafka
- 파이썬
- zip 암호화
- aggregation
- Mac
- docker
- springboot
- plugin
- Today
- Total
개발잡부
symspell API 본문
맥에다가 콘다로 가상환경을 만들고 바로 api 생성하려다가 gcc 어쩌고 이슈가 많아서 ubuntu 컨테이너 생성하고 다시 테스트
https://hub.docker.com/_/ubuntu
ubuntu - Official Image | Docker Hub
Quick reference Supported tags and respective Dockerfile links 20.04, focal-20230624, focal 22.04, jammy-20230624, jammy, latest 22.10, kinetic-20230624, kinetic 23.04, lunar-20230615, lunar, rolling 23.10, mantic-20230624, mantic, devel Quick reference (c
hub.docker.com
도커 컨테이너 생성
docker run -i -t -d -p 6000:6000 --name symspell -v /Users/doo/symspell:/var/www/html ubuntu:latest /bin/bash
docker run -i -t -d -p 6000:6000 --name symspell -v /Users/doo/symspell:/var/www/html ubuntu:latest /bin/bash
6000 번 포트를 사용하는 우분투 컨테이너 생성
컨테이너 접속
docker exec -it symspell /bin/bash
파이썬 3.9 설치
apt update
apt install -y software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install -y python3.10
[vim 설치]
apt install -y vim
[wget 설치]
apt-get install wget
[curl 설치]
apt install -y curl
[git 설치]
apt install -y git
[alias 설정]
cd
vi .bash_aliases
파일내용 작성
alias python=python3.10
alias pip=pip3
저장
:wq!
apt install -y python3-pip
jdk 설치
apt install openjdk-17-jdk openjdk-17-jre
apt install -y make
git clone https://github.com/kaniblu/hangul-utils.git
https://github.com/kaniblu/hangul-utils
GitHub - kaniblu/hangul-utils: An integrated library for Korean language preprocessing.
An integrated library for Korean language preprocessing. - GitHub - kaniblu/hangul-utils: An integrated library for Korean language preprocessing.
github.com