ref : http://www.sjava.net/213

sudo apt-get install ubuntu-desktop





.svn 파일 지울때
find ./ -name '.svn' | xargs rm -rf




ref: http://www.sysprobs.com/access-physical-disk-virtualbox-desktop-virtualization-software

** 해당 사용자 계정에서 실행 합니다.

디스크 사용하기 ( in windows )

권한 문제 발생시 관리자 권한으로 (?? 계속 관리자로 실행해야함 ㅋ )

VBoxManage internalcommands createrawvmdk -filename C:\Users\chozo99\.VirtualBox\VDI\mydrive.vmdk -rawdisk \\.\PhysicalDrive0



VBoxManage internalcommands createrawvmdk -filename C:\Users\chozo99\.VirtualBox\VDI\mysata_test.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 6


 
==> 디스크번호는 제어판의 컴퓨터관리에서 디스크 번호 확인

또는, 아래 command 

wmic diskdrive list brief

==>  파티션의 경우, 첫번째(1), 세번째(3)

VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive0



Note. 파티션 번호 체크시

VBoxManage internalcommands help

  createrawvmdk -filename <filename> -rawdisk <diskname>
                [-partitions <list of partition numbers> [-mbr <filename>] ]
                [-relative]
       Creates a new VMDK image which gives access to an entite host disk (if
       the parameter -partitions is not specified) or some partitions of a
       host disk. If access to individual partitions is granted, then the
       parameter -mbr can be used to specify an alternative MBR to be used
       (the partitioning information in the MBR file is ignored).
       The diskname is on Linux e.g. /dev/sda, and on Windows e.g.
       \\.\PhysicalDrive0).
       On Linux host the parameter -relative causes a VMDK file to be created
       which refers to individual partitions instead to the entire disk.
       The necessary partition numbers can be queried with
         VBoxManage internalcommands listpartitions


VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1



* 미디어 관리자에서 아래 옵션을 변경 ( Writethrough )



해당 파티션이 RAW 포맷인지 확인








특정 파티션 사용하기 ( in linux )


VBoxManage internalcommands createrawvmdk -filename /home/chozo99/VirtualBox\ VMs/mypartition5.vmdk -rawdisk  /dev/sda8


==> 리눅스에서는 특정 파티션의 이름을 바로 지정 가능

ps.
1. error code 80004005 발생시
 ==> sudo /etc/init.d/vboxdrv setup

2. error code 80004005 발생시 ( 권한 없을때 )
==> 사용자 계정이 disk 그룹권한을 가지고 있어야 합니다.
 sudo usermod -a -G disk <username>

체크요 )  해당 사용자가 disk 및 vboxusers 권한을 가지고 있어야 합니다.
$ id
uid=1000(chozo99) gid=1000(chozo99) 그룹들=1000(chozo99),4(adm),6(disk),24(cdrom),29(audio),46(plugdev),104(fuse),111(lpadmin),114(pulse),115(pulse-access),119(admin),122(sambashare),123(vboxusers),124(haldaemon),1004(pulse-rt)

저 같은경우 바로 적용이 안되서, gdm 로그아웃 혹은 리붓으로 했던 기억이 ㅋ


http://www.faqs.org/docs/securing/chap9sec93.html


/etc/sysconfig/network

he /etc/sysconfig/network file is used to specify information about the desired network configuration on your server. Following is a example /etc/sysconfig/network file:
           NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=deep. openna.com
GATEWAY=0.0.0.0
GATEWAYDEV=

The following values may be used:

  • NETWORKING=answer, where answer is yes or no -Configure networking or not to configure networking.

  • FORWARD_IPV4=answer, where answer is yes or no -Perform IP forwarding or not to perform IP forwarding.

  • HOSTNAME=hostname, where hostname is the hostname of your server.

  • GATEWAY=gwip, where gwip is the IP address of the remote network gateway -if available.

  • GATEWAYDEV=gwdev, where gwdev is the device name eth# you use to access the remote gateway.

Important: For compatibility with older software, the /etc/HOSTNAME file should contain the same value as HOSTNAME= hostname above. With the new version of Red Hat Linux 6.2 the FORWARD_IPV4= parameter is now specified in the /etc/sysctl.conf file instead of the /etc/sysconfig/network file.


예)
# rpm -qf /sbin/ifenslave
iputils-20000418-6
# rpm -ql iputils
/bin/ping
/sbin/ifenslave <--- 확인 사항
/usr/sbin/arping
/usr/sbin/clockdiff
/usr/sbin/ping6
/usr/sbin/rdisc
/usr/sbin/tracepath
/usr/sbin/tracepath6
/usr/sbin/traceroute6
/usr/share/doc/iputils-20000418
/usr/share/doc/iputils-20000418/README
/usr/share/doc/iputils-20000418/README.ifenslave
/usr/share/doc/iputils-20000418/RELNOTES
/usr/share/man/man8/arping.8.gz
/usr/share/man/man8/clockdiff.8.gz
/usr/share/man/man8/in.rdisc.8.gz
/usr/share/man/man8/ping.8.gz
/usr/share/man/man8/tracepath.8.gz
#
ls 칼라 설정 (ls color setting )
http://kldp.org/node/57633

grep 문자열 -R

grep nis_clone `find . -name "*.cpp"`

find ./ -name *.cpp -exec grep "nis_clone" '{}' \; -print



+ Recent posts