OS83 subtoal using awk $ cut -f1,5 result.txt | awk -F, '{a[$1] += 1} END{for (i in a) print i"\t"a[i]}' > cnt.txt 2012. 1. 4. 우분투에서 sudo 명령시 password 입력 안하게 하기 /etc/sudoers 파일을 수정한다. 예) james 유저 james ALL=NOPASSWD:ALL: 저장(아마도 읽기 전용이라는 메시지가 출력될 것임..!를 붙이자.) 2011. 12. 28. Find UUID on UNBUNTU $ sudo blkid 2011. 12. 12. How to make softraid using mdadm in UBUNTU 10.10 1. Make raid auto detect partition(type fd) ex) sudo fdisk /dev/sdb, new partition(n), primary partition(p), 1, select default value(start, end), partition type(fd) 2. Makes other disks using above method 3. Create softraid(ex striping) sudo mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /dev/sdb1 /dev/sdc1 4. Confirm softraid sudo madam --detail /dev/md0 5. Make filesystem sudo mkfs.ext4 /dev.. 2011. 12. 12. Installing nginx and django on UBUNTU 10.10 1. Install nginx(using source code) http://www.nginx.org Install Prerequisites $sudo apt-get install libpcre3-dev build-essential libssl-dev Download lastest nginx $curl -O http://nginx.org/download/nginx-1.0.10.tar.gz $tar xf nginx-1.0.10.tar.gz $cd nginx-1.0.10/ Compile and Install $./configure --prefix=/opt/nginx --user=nginx --group=nginx --with-http_ssl_module $make $sudo make install Add U.. 2011. 12. 12. Setting NIS on UBUNTU link : http://goo.gl/zIvPj 2011. 11. 30. 이전 1 ··· 5 6 7 8 9 10 11 ··· 14 다음