본문 바로가기

OS 운영체제42

/etc/fstab (mount 설정 파일) 00 개요리눅스에는 여러 디렉토리가 있다 (참조: 2024.03.20 - [LINUX/디렉토리] - Linux 디렉토리 구조 ) 그 중 구성 (Configuration) 파일들이 모여있는 etc 폴더 안에는 fstab이라는 파일이 있는데 이 파일은 mount 설정 파일로서 여러 파일 시스템에 대한 정적 정보를 담고 있다01 fstab 파일0. 용어1) mount컴퓨터 과학에서 mount란 저장 장치에 접근할 수 있는 경로를 디렉토리 구조에 편입시키는 작업을 의미쉽게 말해 어떠한 것을 Available 한 상태로 준비하는 것 2) NFS'Network File System'의 약자분산된 파일 시스템 프로토콜 (통신규약)클라이언트 컴퓨터의 사용자가 로컬 저장소와 유사하게 컴퓨터 네트워크 상의 파일에 액세스할.. 2024. 5. 2.
exportfs (nfs을 export/unexport하는 명령어) 01 exportfs란1. 정의NFS (Network File System) 파일 시스템을 내보내는(export) 테이블을 관리(maintain)하는 명령어로컬 디렉토리를 NFS 클라이언트가 마운트할 수 있게 함2. 문법/usr/sbin/exportfs [-avi] [-o options,..] [client:/path ..]/usr/sbin/exportfs -r [-v]/usr/sbin/exportfs [-av] -u [client:/path ..]/usr/sbin/exportfs [-v]/usr/sbin/exportfs -f 3. 설명An NFS server maintains a table of local physical file systems that are accessible to NFS clien.. 2024. 5. 2.
chkconfig (실행 프로그램 설정 도구) 00 개요문서 작성 목적: 서비스를 실행하는 shell script (si-service.sh)에서 윗 칸에 # chkconfig 2345 20 80 라고 적혀있는데 이것이 무엇을 의미하는지 알고자 함01 chkconfig란1. 정의updates and queries runlevel info for system services명령어로 사용되거나 .init 또는 .sh 등의 파일 윗부분에 설정하여 사용 가능2. 문법name = 서비스명chkconfig [--list] [--type type][name]chkconfig --add namechkconfig --del namechkconfig --override namechkconfig [--level levels] [--type type] name chkco.. 2024. 4. 30.
nohup (터미널 끊겨도 proc 진행 시키는 명령어) 01 nohub이란1. 정의리눅스에서 프로세스 (process, proc)를 실행한 터미널 (terminal, tty)의 세션 연결이 끊어지더라도 프로세스를 계속해서 동작시키는 명령어 원래 리눅스에서는 터미널에서 ssh 세션 로그아웃(logout) 발생 시 해당 터미널에서 실행한 프로세스들에게 HUP signal을 전달하여 종료시키게 되는데 이 HUP signal을 프로세스가 무시(ignore)하도록 하고 프로세스들을 마치 데몬(daemon)인 것처럼 동작시키는 명령어라서 nohup 이라고 명명또한 nohup 명령어로 인해 백그라운드에서 실행된 프로세스들의 표준 출력(standard output)은 nohup.out 파일로 재지향(redirection)됨터미널이 종료되어도 표준 출력은 nohup.out .. 2024. 4. 29.
rpm과 yum (패키지 설치 도구) 00 개요Linux 환경에서 설치를 하다 보면 .rpm, rpm, yum, repository, yum.repos.d, .repo 등 비슷한 용어들을 접할 것이다각 용어가 뭘 뜻하는지 정리하고자 한다01 용어0. .rpm.rpm은 어떤 소프트웨어의 패키지이다 contains the files in CPIO archive (similar to tar, just different format) and some info (e.g. which other packages it needs) and scripts which needs to be run when package is installed/upgraded/removed (those are automatically run by /usr/bin/rpm)1. re.. 2024. 4. 26.
/etc/exports (export 관리 파일) 00 개요리눅스에는 여러 디렉토리가 있다 (참조: 2024.03.20 - [LINUX] - Linux 디렉토리 구조)그 중 구성 (Configuration) 파일들이 모여있는 etc 폴더 안에는 exports이라는 파일이 있는데 이 파일은 원격 호스트에 내보내지는 파일 시스템을 제어하고 옵션을 지정한다NFS 사용 시 사용됨1. NFS란'Network File System'의 약자파일 공유 시스템분산된 파일 시스템 프로토콜 (통신규약)클라이언트 컴퓨터의 사용자가 로컬 저장소와 유사하게 컴퓨터 네트워크 상의 파일에 액세스할 수 있도록 허용하는 프로토콜1) nfs 사용하기# yum install nfs-utils # nfs 설치# systemctl start nfs-server # nfs 시작# system.. 2024. 4. 25.
gpg (GPU Privacy Guard 암호화 알고리즘) 01 gpg란'GPU Privacy Guard'의 약자GPU: Graphic Processing Unit의 약자 암호화 알고리즘1991년 필립 R. 짐머만Philip R. Zimmermann이 PGP(Pretty Good Privacy)라는 전자 우편 암호화 도구를 기반으로 만든 소프트웨어02 gpgcheck=value.repo 파일에서 gpgcheck=value의 의미# vi /etc/yum.repos.d/myrepo.repo[base]name=CentOS-7 - Basebaseurl=http://mirror.centos.org/centos/7/os/x86_64/gpgcheck=0#released updates[update]name=CentOS-7 - Updatesbaseurl=http://mirror.. 2024. 4. 23.
Wayland (Display Server와 Client 사이 통신 프로토콜) 01 Wayland란1. 정의a communication protocol that specifies the communication b/w a Display Server and its clients, as well as a C library implementation of that protocol즉 Display Server와 Client가 통신할 수 있게 하는 프로토콜, 데스크탑 환경을 구현하기 위한 프로토콜 (C 언어 사용)a Display Server using the Wayland protocol is called a Wayland compositor, b/c it additionally performs the task of a compositing Window Manager (WM)t.. 2024. 4. 23.
GDM3 (Display Manager의 한 종류) 00 개요NICE DCV를 설치할 때 GDM3 desktop manager 사용할 경우 Wayland protocol을 비활성화해야 한다고 함 (NICE DCV는 Wayland protocol을 지원하지 않기 때문)  (출처: https://docs.aws.amazon.com/dcv/latest/adminguide/setting-up-installing-linux-prereq.html) GDM3와 Wayland가 무엇인지 알아보고자 함간단히 설명하자면 GDM3 는 Display Manager 종류 중 하나이며 Wayland는 Display Server와 Client가 통신할 수 있게 만든 프로토콜, 즉 Desktop Environment (데스크탑 환경)을 구현하기 위한 프로토콜 (C 사용)여기.. 2024. 4. 23.