Development/Linux

쉘 소스 설치시 wget url로 파일 다운로드 후 tar로 압축 해제 /configure /configure configure는 소스 파일에 대한 환경설정을 해주는 명령어이다. configure뒤에 필요한 옵션을 줄 수 있다. --prefix=경로 : 해당 경로에 파일을 설치 configure에서 에러가 발생할 경우, 에러 내용을 확인 후 configure 구성내용을 변경한다. 필요한 프로그램이나 라이브러리가 없는 경우에는 설치해주면 되고, 입력한 경로에서 문제가 발생할 수도 있는데 configure 구성에서 경로가 맞게 설정되어있는지 확인한다. ex. php cofigure ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/..
locale 이 eucKR로 되어있는데 한글깨짐이 발생해서 utf8로 변경하였다. 현재 locale 확인 locale 확인해보니 모두 etcKR로 되어있다. vi ~/.bash_profile 추가 bash_profile에 환경변수 저장하기. 하단에 아래 코드를 넣는다. export LANG=ko_KR.UTF-8 재접속 후 확인 UTF-8로 변경되었다.
vsc에서 wsl 터미널로 ssh를 설치하려고 했는데 password가 실패했다. 명령 프롬프트(cmd)를 관리자 권한으로 실행 wsl root 접속 wsl --user root 패스워드 변경 passwd 변경할 비밀번호 2번 입력 후 exit로 종료 sudo apt-get install ssh 오래 안썼더니 update도 해줘야했다.. ( Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ) apt-get update ssh 설치 끗
리눅스에서 사용하던 cron을 윈도우에 옮겨야할 일이 생겼다. 윈도우에서 cron을 실행할 방법이 있을까해서 찾아봤는데 역시나 있었다ㅎㅎ 아래 링크에서 파일을 다운받으면된다. 무료버전인 nncronlt117.exe 을 다운 받는다. nnSoft: download com_ports.spf 931 12 Dec 2008 Tests the specified COM-port and returns TRUE if the port is free or returns FALSE if the port is busy (used by some devices or applications). crc32.spf 1.4K 12 Dec 2008 Generates a string, that contains checksum (crc32) ..
/etc/issue # cat /etc/issue # cat /etc/redhat-release # CentOS Linux release 7.9.2009 (Core) # cat /etc/*release* CentOS Linux release 7.9.2009 (Core) Derived from Red Hat Enterprise Linux 7.8 (Source) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://ww..
곽진돔
'Development/Linux' 카테고리의 글 목록 (2 Page)