전체 글198 CentOS 6.2에서 NIC Bonding 만들기 1. 먼저 /etc/sysconfig/network-scripts 밑에 ifcfg-bond0 파일을 만들고 아래의 내용을 입력한다.# vim /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.10.1 (자신의 IP 주소를 입력한다.) NETWORK=192.168.10.0 NETMASK=255.255.255.0 GATEWAY=192.168.10.1 USERCTL=no TYPE=bond BONDING_OPTS="mode=1 miimon=100 use_carrier=0 primary=eth0" (이부분을 넣어준다) 2. 기존의 eth0,eth1,...의 내용을 아래와 같이 바꿔준다.# v.. 2012. 4. 30. how to blast to nr database 다운받은 시퀀스를 seq.fa 파일에 모두 모아 blastall의 blastx 하였음. $ blastall -i seq.fa -d /home/galaxy/blastdb/nr/nr -p blastx -a 16 -e 1e-10 -m 8 -o seq.fa.blastx 2> error.log & blast된 결과중에 1st만 뽑음 $ /share/scripts/1st_highest.sh seq.fa.blastx > seq.fa.blastx.1st 1st 결과에 description 붙임. $ /share/scripts/add_desc.sh -i seq.fa.blastx.1st -d ~/blastdb/nr/nr > seq.fa.blastx.1st.desc description붙은 결과에서 ADGAL, pGAD를 .. 2012. 4. 27. How to make php code for sending html email inclued korean ref : http://php.net/manual/en/function.mail.php 1. Insert header data in email$headers = "From: kim@example.com\n" $headers .= "Reply-To: john@example.com"; $headers .= "MIME-Version: 1.0\n"; $headers .= 'Content-type: text/html; charset=UTF-8\n"; $headers .= 'Content-Transfer-Encoding: 8bit\n"; 2. convert email subject using base64_encode $subject = "=?utf-8?B?".base64_encode($subject)."?=\n";.. 2012. 4. 26. /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/share".#012 Assuming default behaviour ('no_subtree_check').#012 NOTE: this default has changed since nfs-utils version 1.0.x NIS Server Error Just add the option subtree_check to /etc/exports like this:/storage 172.16.20.1/24(rw,sync,no_root_squash,subtree_check) 2012. 4. 10. usage bwa using paired-end reads make reference index/home/galaxy/galaxy-dist/bin/bwa index -p 454.bwa.index -a bwtsw assembly1/454AllContigs.fna paired-end alignment/home/galaxy/galaxy-dist/bin/bwa aln 454.bwa.index -I denovo/Gal_trim1.fastq > Gal_trim1.bwa.aln.sai/home/galaxy/galaxy-dist/bin/bwa aln 454.bwa.index -I denovo/Gal_trim2.fastq > Gal_trim2.bwa.aln.sai/home/galaxy/galaxy-dist/bin/bwa sampe 454.bwa.index Gal_trim1.bw.. 2012. 4. 5. ssh에서 X window 가능하게 하기 우분투 기준으로 작성한다.$ sudo vim /etc/ssh/ssh_configForwardX11 yes이렇게 해주면 ssh로 접속할 때마다 매번 -X를 붙이지 않아도 된다. 2012. 4. 4. 이전 1 ··· 13 14 15 16 17 18 19 ··· 33 다음