CentOS 7에서 yum repo 변경하는 방법cat /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manually picking other mirrors.## If the mirrorlist= does not work for you, as ..
리눅스 기본 명령어 ls (list directory contents) : Windows의 dir와 같은 역할, 해당 디렉토리에 있는 파일의 목록을 나열함 cd (change the current directory to dir) : 디렉토리를 이동 pwd (print name of current/working directory) : 현재 디렉토리의 전체 경로를 출력 rm (remove files or directories) : 파일이나 디렉토리를 삭제 cp (copy files and directories) : 파일이나 디렉토리 복사 touch (change file timestatmps) : 크기가 0인 새 파일 생성이나, 이미 존재하는 경우 수정 시간을 변경 mv (move (rename) files..
ISO파일 마운트 방법[root@localhost ~]# mkdir /DVD[root@localhost ~]# mount -o loop /home/mhpark/Rocky-9.3-x86_64-dvd.iso /DVDmount: /DVD: WARNING: source write-protected, mounted read-only.[root@localhost ~]# cd /DVD[root@localhost DVD]# lsAppStream BaseOS EFI LICENSE images isolinux media.repoCD/DVD, USB 마운트 방법mount /dev/cdrom /run/media(실제 마운트할 위치 지정)[root@localhost media]# mount /dev/cdrom /ru..
X-Window 한글설정 에디터 사용법 GUI : gedit, nano 1. gedit : 메모장 비슷 2. nano : # nano sample.txt or # nano -c sample.txt(행 출력) CLI : vi vi 기능 요약표 명령모드 → 입력모드 키 설명 키 설명 i 현재 커서의 위치부터 입력 I 현재 커서 줄의 맨 앞에서부터 입력 a 현재 커서의 위치 다음 칸부터 입력 A 현재 커서 줄의 맨 마지막부터 입력 o 현재 커서의 다음 줄에서 입력 O 현재 커서의 이전 줄에 입력 s 현재 커서 위치의 한 글자를 지우고 입력 S 현재 커서의 한 줄을 지우고 입력 명령모드에서 커서를 이동 키 설명 키 설명 h 커서를 왼쪽으로 한쪽 이동, ←과 같음 j 커서를 아래쪽으로 한쪽 이동, ↓과 같음 k ..