본문 바로가기

728x90

전체 글

[draft] PHP에 mecab-ko를 사용하여 한국어 형태소 분석을 수행하고 사용자 정의 사전을 추가하는 방법 PHP에 mecab-ko를 사용하여 한국어 형태소 분석을 수행하고 사용자 정의 사전을 추가하는 방법테스트 환경운영체제 : CentOS 7언어 : PHP 7.4mecab-ko(mecab) 다운로드 및 설치최신 버전 : https://bitbucket.org/eunjeon/mecab-ko/downloads/wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gztar xvfz mecab-0.996-ko-0.9.2.tar.gzcd mecab-0.996-ko-0.9.2./configuremake && make installmecab-ko-dic(한국어 사전) 다운로드 및 설치최신 버전 : https://bitbucket.o.. 더보기
CentOS 7에서 Supervisor(supervisord 데몬)를 설치하는 방법 CentOS 7에서 Supervisor(supervisord 데몬)를 설치하는 방법 UNIX에서 프로세스 상태 제어를 허용하는 시스템 EPEL 저장소 설치 yum install epel-release Supervisor 설치 supervisor 패키지 설치 yum install -y supervisor supervisor 버전 정보 확인 supervisord --version $ supervisord --version 3.4.0 Supervisor 서비스 시작 및 활성화 systemctl --now enable supervisord $ systemctl status supervisord ● supervisord.service - Process Monitoring and Control Daemon Load.. 더보기
CentOS 7에서 PHP-FPM 7.4를 설치하는 방법 CentOS 7에서 PHP-FPM 7.4를 설치하는 방법 PHP-FPM : PHP FastCGI Process Manager CentOS 7은 PHP 5.x를 지원하며, PHP 8.1은 공식 CentOS 7 저장소에 포함되어 있지 않습니다. EPEL 저장소 및 YUM Utilities 패키지 설치 sudo yum install -y epel-release yum-utils Remi 저장소 설치 sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm CentOS 7의 기본 PHP 버전 정보 yum info php | egrep 'Name|Arch|Version|Repo' $ yum info php | egrep 'Name|Ar.. 더보기
[draft] CentOS 7에 최신 버전의 Redis를 설치하는 방법 CentOS 7에 최신 버전의 Redis를 설치하는 방법redis : A persistent key-value databaseEPEL 저장소 및 YUM Utilities 패키지 설치yum install -y epel-release yum-utilsremi 저장소 설치yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpmremi 저장소를 활성화yum-config-manager --enable remi설치전 Redis 버전 확인yum info redis$ yum info redisLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirror.kakao... 더보기
CentOS 7에서 NGINX의 최신 버전을 설치하는 방법 CentOS 7에서 NGINX의 최신 버전(안정 버전)을 설치하는 방법 nginx : High performance web server RHEL and derivatives : http://nginx.org/en/linux_packages.html#RHEL-CentOS 테스트 환경 운영체제 버전 정보 $ cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2 CentOS Linux 7 (Core) NGINX 설치 EPEL 저장소 및 YUM Utilities 패키지 설치 yum install -y epel-release yum-utils nginx.repo 파일 생성 sudo tee /etc/yum.repos.d/nginx.repo 더보기
[원도우] tcping 명령어 tcping 명령어 tcping 설치 - TCP 연결을 통해 ping https://elifulkerson.com/projects/tcping.php tcping 사용법 tcping -------------------------------------------------------------- tcping.exe by Eli Fulkerson Please see http://www.elifulkerson.com/projects/ for updates. -------------------------------------------------------------- Usage: tcping [-flags] server-address [server-port] Usage (full): tcping [-t] [-.. 더보기
[VSCode] Visual Studio Code를 이용한 원격(Remote) 코드 개발 Visual Studio Code를 이용한 원격(Remote) 코드 개발 1. vscode > Extensions Marketplace > Remote Development > 설치 2. 왼쪽 하단의 > 검색 창에 : re > Remote-SSH 클릭 3. ssh 접속 화면 Visual Studio | Marketplace https://marketplace.visualstudio.com/ 더보기
Amazon EC2 파일 시스템 확장(디스크 볼륨 증설) Amazon EC2 파일 시스템 확장(디스크 볼륨 증설) 웹 콘솔에서 볼륨 증설 리눅스 파일 시스템 확인 파일 시스템 확인 df -hT | egrep -v 'tmpfs|overlay' $ df -hT | egrep -v 'tmpfs|overlay' Filesystem Type Size Used Avail Use% Mounted on /dev/nvme0n1p1 xfs 20G 17G 3.9G 81% / lsblk 명령어를 사용하여 NVMe 블록 디바이스에 대한 정보를 확인합니다. lsblk $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 30G 0 disk ├─nvme0n1p1 259:1 0 20G 0 part / └─nvme0n1p128 2.. 더보기

728x90