리눅스에서 파일의 퍼미션 숙지하기 [root@localhost ~]# ll total 64 drwxr-xr-x 2 root root 4096 Oct 5 07:41 Desktop -rw------- 1 root root 1210 Oct 5 07:30 anaconda-ks.cfg -rw-r--r-- 1 root root 27415 Oct 5 07:30 install.log -rw-r--r-- 1 root root 3738 Oct 5 07:30 install.log.syslog -rw-r--r-- 1 root root 199 Oct 5 07:38 scsrun.log drwxr-xr-x 2 root root 4096 Oct 5 09:00 test [root@localhost ~]# ll 명령어를 쳤을 때.. 파..
[root@localhost ~]# vi /boot/grub/grub.conf [root@localhost ~]# 이렇게 치면은... # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-version.img #boot=/dev/..
fedora 12, 페도라12 해상도 잡는 방법, 그래픽카드 지인의 도움으로 한 번에 잡았네요. /etc/X11/xorg.conf 저 파일로 적용하면 잡힙니다. [sage@localhost ~]$ more /etc/X11/xorg.conf # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "single head configuration" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" # keyboard added by system-config-display Identifier ..
root@localhost ~]# mkdir /win [root@localhost ~]# mount -t cifs //192.168.0.192/Work /win -o "username=아이디,password=비밀번호" [root@localhost ~]# cd /win [root@localhost win]# ls 먼저 원도우에서 폴더를 공유하고 보안을 위해서 특정 사용자만 접근할 수 있게 합니다. 사용자가 없다면 사용자를 추가해서 설정하면되겠죠. 그런 후에 리눅스에서 mkdir win 이렇게 마운트할 디렉토리를 만들고. [root@localhost ~]# mount -t cifs //192.168.0.192/Work /win -o "username=아이디,password=비밀번호" 이렇게 치면됩니다. 아이..
리눅스 콘솔화면에서 한글이 깨질 때 조치방법 간단합니다. #unset LANG 이렇게 치시면됩니다. 이렇게 말고도 방법이 많이 있긴한데... 기억이 안나네요.. 아래는 적용 전과 적용 후를 비교한 것입니다. [root@ccu_oracle ~]# lastlog ?ъ슜?먮챸 ?ы듃 ~濡쒕??? 理쒓렐?뺣낫 root pts/2 211.104.100.203 ?? 1??13 09:30:07 +0900 2010 bin **?쒕쾲??濡쒓렇?명븳 ?곸씠 ?놁뒿?덈떎** daemon **?쒕쾲??濡쒓렇?명븳 ?곸씠 ?놁뒿?덈떎** adm **?쒕쾲??濡쒓렇?명븳 ?곸씠 ?놁뒿?덈떎** lp **?쒕쾲??濡쒓렇?명븳 ?곸씠 ?놁뒿?덈떎** sync **?쒕쾲??濡쒓렇?명븳 ?곸씠 ?놁뒿?덈떎** shutdown **?쒕쾲..
리눅스에서 다른 서버로 파일 이동 방법 , 보안적용해서 하는 방법 리눅스 서버가 2대 일 때 하나에서 다른 서버로 파일을 이동할 때 사용하는 방법입니다. [root@ccu_oracle ~]# scp --help usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 [root@ccu_oracle ~]# 이렇게 scp 명령어를 사용합니다. 가령 A : 192.168.0.192 B : 192.168.0.191 A에서 B로 파일을 이동한다고 했을 때.. 대부분 ss..