Linux 썸네일형 리스트형 Linux Kernel Parameters Linux Kernel ParametersThe Linux KernelThe Linux Kernel ArchivesThe Linux Kernel documentation 더보기 CentOS 6에 Xen을 설치하는 방법 CentOS 6에 Xen을 설치하는 방법테스트 환경[root@was01 ~]$ cat /etc/redhat-releaseCentOS release 6.4 (Final)[root@was01 ~]$ getconf LONG_BIT64EPEL 리포지토리 설치sudo yum install epel-releaseXen 설치필요한 패키지 설치libvirt : 가상화 관리 도구virt-viewer : 가상 머신 그래픽 사용자 인터페이스libvirt-client : libvirt 클라이언트 라이브러리centos-release-xen : Xen 관련 패키지 저장소yum install -y libvirt virt-viewer libvirt-client centos-release-xen[root@was01 ~]$ yum in.. 더보기 리눅스 커널 파라미터 보호되어 있는 글입니다. 더보기 CentOS 6에서 계정을 생성할 때 홈 디렉토리를 변경하는 방법 CentOS 6에서 계정을 생성할 때 홈 디렉토리를 변경하는 방법 1. /etc/default/useradd 파일을 편집합니다. vim /etc/default/useradd # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel 2. 파일을 열고 HOME 항목을 찾습니다. 이 항목은 새로운 사용자 계정이 생성될 때 사용자의 홈 디렉토리 경로를 지정합니다. 3. 기본적으로 HOME 항목은 /home로 설정되어 있습니다. 원하는 홈 디렉토리 경로로 변경합니다. 예를 들어, /var/customhomes로 변경하려면 다음과 같이 수정합니다. HOME=/var/customhomes 4. 파일을 저.. 더보기 [명령어] chkconfig 명령어 chkconfig 명령어 chkconfig [런레벨 조정] * 서비스 runlevel 보기 chkconfig --list chkconfig --list 데몬명 * 서비스 등록하기 chkconfig --add 데몬명 * 서비스 삭제하기 chkconfig --del 데몬명 * 서비스 runlevel 조정하기 chkconfig --level 실행레벨 데몬명 [on|off|rest] $ chkconfig chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig --list [name] .. 더보기 CentOS 6에서 SELinux 설정 해제 CentOS 6에서 SELinux 설정 해제현재 named 실행 파일의 SELinux 컨텍스트 확인ls -lZ /usr/sbin/named-rwxr-xr-x root root system_u:object_r:named_exec_t /usr/sbin/named사용자 컴파일된 BIND(named) 바이너리에 컨텍스트 적용chcon -R -u system_u -t named_exec_t /usr/local/nbind/sbin/namedSELinux Boolean 값 조정 (존 파일 쓰기 허용)setsebool -P named_write_mastet_zoned onSELinux 로그 기반 정책 허용 예외 생성egrep -i 'avc|ntfs-3g' /var/log/messages | audi.. 더보기 [리눅스] at 명령어 at 명령어 at 명령어는 Linux나 Unix 계열 운영체제에서 일회성으로 실행할 작업을 지정한 시간에 예약할 때 사용하는 명령어입니다. 이 명령어를 사용하면 시스템 부하나 리소스를 낭비하지 않고 작업을 예약할 수 있습니다. at 명령어를 사용하는 방법 1. at 명령어 설치 확인 at 명령어가 설치되어 있는지 확인합니다. which at 만약 설치되어 있지 않다면, 우분투에서는 다음과 같은 명령어로 설치할 수 있습니다. sudo apt-get install -y at 2. 작업 예약 at 명령어로 예약할 작업을 입력합니다. 다음은 10분 후에 ls 명령어를 실행하는 예제입니다. at now + 10 minutes $ at now + 10 minutes at> ls > /home/user/list.tx.. 더보기 [리눅스] telnet server 설치하는 방법 telnet server 설치하는 방법 Telnet 서버 패키지 설치 sudo yum install -y telnet-server Telnet 설정 disable = yes 부분을 no로 바꿔주고 vi /etc/xinetd.d/telnet service telnet { disable = yes flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID } 슈퍼 데몬 재시작... /etc/rc.d/init.d/xinetd restart 슈퍼데몬의 시작과 종료 : /etc/rc.d/init.d/inet 스크립트 파일에 의해서 제어 A. 슈퍼데몬 시작 : /etc/rc... 더보기 이전 1 ··· 34 35 36 37 38 39 40 ··· 44 다음