리눅스 폴더별로 용도
/boot 커널 부팅이미지 있는곳...
/bin 중요하고 꼭 필요한 명령어가 있는 디렉토리
/dev 시스템 디바이스 파일 저장 디렉토리
/etc 패스워드 파일 또는 서버 환경 파일 저장 디렉토리
/home 사용자 홈 디렉토리 대부분 ID 와 같은 디렉토리가 존재
/lib 프로그램 (C 나 C++) 에 필요한 가 라이브러리 가 있는 디렉토리
/media 플로피 CD-ROM 등 마운트를 위한 디렉토리( 레드햇은 /mnt)
/proc 실행중인 프로세스 또는 현재시스템정보를 파일로 저장하고 있는 가상 디렉토리
/root 루트의 홈 디렉토리
/sbin 시스템 관리자용 명령어가 있는 디렉토리
/tmp 일시적인 저장을 위한 디렉토리
/usr 각종 응용프로그램이 설치돼 있는 디렉토리
/var 시스템 운용종 생성되었다가 삭제되는 데이터 일시적 저장 디렉토리 (여기에 주로 로그 파일과 메일이 저장)
'STUDY > Linux' 카테고리의 다른 글
[Ubuntu] SSH 접속이 느릴 때 (0) | 2013.05.18 |
---|---|
리눅스 nic, duplex 설정 (0) | 2013.05.15 |
리눅스 폴더별로 용도 (0) | 2013.05.15 |
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist (0) | 2013.05.11 |
Fc17 and win 8 dual boot, can't mount ntfs (0) | 2013.05.07 |
tar 압축 하기 or 압축 풀기 (0) | 2013.05.03 |
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist
STUDY/Linux 2013.05.11 17:38CentOS 설치 후 Apache 시작시 에러
# service httpd restart
httpd 를 정지 중: [ OK ]
httpd (을)를 시작 중: Warning: DocumentRoot [/home/***/public_html] does not exist
[ OK ]
원인 : SELinux
- 해결 방법: 해당 디렉토리 접근을 허용 하거나 SELinux를 disable 시킨다.
아파치 사용자 /home 디렉토리 접근 허용.
# chcon -R -t httpd_user_content_t /home/아이디
또는
# chcon -R -t httpd_user_content_t /home
SELinux disable
# vi /etc/selinux/config
#SELINUX=enforcing <= 주석 처리
SELINUX=disabled <= 새로 작성
(저장 후 재시작)
'STUDY > Linux' 카테고리의 다른 글
리눅스 nic, duplex 설정 (0) | 2013.05.15 |
---|---|
리눅스 폴더별로 용도 (0) | 2013.05.15 |
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist (0) | 2013.05.11 |
Fc17 and win 8 dual boot, can't mount ntfs (0) | 2013.05.07 |
tar 압축 하기 or 압축 풀기 (0) | 2013.05.03 |
리눅스 시작프로그램 설정 (0) | 2013.05.03 |
I got this:
Error mounting /dev/sdc1 at /run/media/oll/360A90090A8FC479: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dm ask=0077,fmask=0177" "/dev/sdc1" "/run/media/oll/360A90090A8FC479"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdc1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
(udisks-error-quark, 0)
I did the shutdown thing and still not work.
Any idea how to fix this?
The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. |
# as root mount - t ntfs -o ro /dev/sdc1 some-void-directory #mind the quotes head -c 32 'some-void-directory/$LogFiles' | od -t x1 |
I did the shutdown thing and still not work. Any idea how to fix this? |
'STUDY > Linux' 카테고리의 다른 글
리눅스 폴더별로 용도 (0) | 2013.05.15 |
---|---|
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist (0) | 2013.05.11 |
Fc17 and win 8 dual boot, can't mount ntfs (0) | 2013.05.07 |
tar 압축 하기 or 압축 풀기 (0) | 2013.05.03 |
리눅스 시작프로그램 설정 (0) | 2013.05.03 |
dpkg 사용법 (0) | 2013.05.03 |