Old/Linux
-
-
Fedora core 3에서 사용자별 홈페이지 돌리기Old/Linux 2005. 11. 26. 22:27
/etc/httpd/conf/httpd.conf 파일의 UserDir항목의 UserDir diable -> #UserDir diable로 #UserDir public_html -> UserDir public_html 그리고 만일 SELinux를 사용한다면 다음과 같이 한다.(fedora core 3는 디폴트로 SELinux를 사용) Main menu : System Settings: Security Level. SELinux tab 선택, "Enforce" checkbox 체크해제 (물런 나는 fedora core 3.... -_-;;) 그래도 안되면 /etc/httpd/conf/httpd.conf.bak 파일을 복원시키면.... 난 되던데.... 이것도 하나의 방법이 될지도....
-
-
vi manualOld/Linux 2005. 10. 8. 20:14
1. vi 실행 방법 커맨드 라인에서 다음과 같이 입력하면, 인자로 입력한 이름의 파일을 편집할 수 있습니다. $ vi 파일_이름... 파일의 이름에는 다수의 파일 이름을 넣을 수 있으며, vi 내에서 :n 명령으로 다음 파일로 넘어 갈 수 있습니다. 2. vi 실행 모드 vi 에디터는 크게 명령 모드와 입력 모드로 나눌 수 있고, 명령 모드에는 vi 명령 모드와 ex 명령 모드가 있습니다. vi 시작시, vi 명령 모드로 시작하며, 특정 키를 눌러, 입력 모드 및 ex 명령 모드로 전환할 수 있습니다. vi 명령 모드로 돌아오기 위해서는, Esc(Escape)키를 누르면 됩니다. 아래에, 입력 모드 및 명령 모드에서, 자주 사용되는 명령어를 적어 보았습니다(이것은 제가 선호하는 명령들로, 실제로는 훨씬..
-
User and GroupOld/Linux 2005. 9. 29. 20:10
/etc/passwd username:password:uid:gid:gecos(사용자추가정보):homedir:shell /etc/group groupname:password:gid:members(구분은 , 로) mount mount -t type(file_system_type) device(물리적 장치) mount_point(mount시킬 directory) ex) mount -t ext2 /dev/hda2 /mnt moutn -t iso9660 -r(or -ro) /dev/cdrom /mnt 부팅시 auto_mount는 /etc/fstab에 기록 ※umount device(or mount_point)