2016년 11월 16일 수요일

특정 동적 라이브러리 지정 방법

$ ldd ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess 
./interproscan-5.20-59.0/bin/sfld/sfld_preprocess: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess)
linux-vdso.so.1 =>  (0x00007fff33380000)
libm.so.6 => /lib64/libm.so.6 (0x00000039fbe00000)
libc.so.6 => /lib64/libc.so.6 (0x00000039fb200000)
/lib64/ld-linux-x86-64.so.2 (0x00000039fae00000)

$ ldd /usr/java/latest/bin/java
linux-vdso.so.1 =>  (0x00007fffbaab0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039fba00000)
libjli.so => /usr/java/latest/bin/../lib/amd64/jli/libjli.so (0x00007fa057508000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000039fb600000)
libc.so.6 => /lib64/libc.so.6 (0x00000039fb200000)
/lib64/ld-linux-x86-64.so.2 (0x00000039fae00000)

$ ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess
./interproscan-5.20-59.0/bin/sfld/sfld_preprocess: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess)

$ java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

아래와 같이 LD_LIBRARY_PATH에 /BiO/apps/glibc-2.14/lib의 모든 라이브러리를 설정하게 되면 libc.so.6뿐만 아니라 libdl.so.2, libdl.so.2도 라이브러리를 로딩하여 자바가 실행이 안되는 경우가 발생한다.
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/BiO/apps/glibc-2.14/lib/

특정 라이브러리(libc.so.6)만 프로세스 실행 중 전역으로 로딩하려면 아래와 같이 설정해 주면된다.
$ export LD_PRELOAD='/BiO/apps/glibc-2.14/lib/libc.so.6'

$ ldd ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess 
linux-vdso.so.1 =>  (0x00007fff09e00000)
/BiO/apps/glibc-2.14/lib/libc.so.6 (0x00007fc642070000)
libm.so.6 => /lib64/libm.so.6 (0x00000039fbe00000)
/lib64/ld-linux-x86-64.so.2 (0x00000039fae00000)

$ ldd /usr/java/latest/bin/java
linux-vdso.so.1 =>  (0x00007ffff1400000)
/BiO/apps/glibc-2.14/lib/libc.so.6 (0x00007fa02f050000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039fba00000)
libjli.so => /usr/java/latest/bin/../lib/amd64/jli/libjli.so (0x00007fa02ee20000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000039fb600000)
/lib64/ld-linux-x86-64.so.2 (0x00000039fae00000)

$ java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

$ ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess
Pre-process SFLD alignments/HMMs
Usage ./interproscan-5.20-59.0/bin/sfld/sfld_preprocess: options:
--onlymatches | -m         only print the sequences that match the HMM and pass the SFLD residue post-processing (otherwise print all)
--hmmbuild    | -H         force building of hmm even if it exists
--nosearch    | -S         don't run search if output files exist
--hmmerpath   | -p PATH    path to hmm* binaries (overrides $HMMER_PATH)
--hmm         | -r FILE    HMM file (input)
--sites       | -s FILE    sites file (output)
--alignments  | -a FILE    alignments file (input)
--hmm_dir     | -d DIR     SFLD HMM directory (overrides $SFLD_LIB_DIR)



※ 전역이 아닌 특정 프로그램 실행 시에만 적용 할 때
$ LD_PRELOAD='/BiO/apps/glibc-2.14/lib/libc.so.6' /BiO/scratch/eriteam/njkoo/programs/interproscan/interproscan-5.20-59.0/bin/sfld/sfld_preprocess

※ 다른 방법들
1. 바이너리를 빌드할 때 glibc 위치를 지정 해 주는 방법
=> g++ main.o -o myapp ... \
   -Wl,--rpath=/path/to/newglibc \
   -Wl,--dynamic-linker=/path/to/newglibc/ld-linux.so.2

2. 소스를 재빌드하기 어려울 경우 바이너리를 패치하는 방법이 있다.
=> http://nixos.org/patchelf.html

2016년 11월 8일 화요일

SGE 우선 순위

# vi /opt/gridengine/default/common/sge_request
-p -500
1) 미적용시 기본적으로 "0"이 적용
2) 사용자는 -1023 ~ -1까지 우선순위를 낮출 수가 있다.
3) -1023이 가장 낮은 우선순위이고, -1이 가장 높은 우선순위
4) qsub 작업 시 기본 우선순위를 -500으로 지정하였고, #$ -p -100등으로 우선순위 옵션을 변경해서 submit

2016년 11월 7일 월요일

GNU Wget for Windows

https://eternallybored.org/misc/wget/

mysql root 패스워드 초기화

# service mysqld stop
# mysqld_safe --skip-grant &
mysql -uroot mysql
mysql> update user set password=password('kobic123') where user='root';
mysql> flush privileges;

# service mysqld restart

윈도우 업데이트 후 자동 재시작 안함

"Windows + r" > 컴퓨터 구성 > 관리 템플릿 > Windows 구성 요소 > Windows 업데이트
> 예약된 자동 업데이트 설치 시 로그온한 사용자가 있을 경우 자동 다시 시작 사용 안 함
> 사용 > 적용 > 확인

libgcc_s.so.1 must be installed for pthread_cancel to work

# /BiO/apps/interproscan-5.7-48.0/bin/blast/2.2.6/blastall -p blastp -F F -e 0.0005 -b 300 -v 300 -m 8 -a 4 -d /BiO/apps/interproscan-5.7-48.0/data/pirsf/2.84/sf.seq -i /BiO/scratch/biosysrnd/firefox/RESEARCH/Prometheus/Rawdata/TheOthers/Picea_abies/temp/ngs-0-1.local_20161103_195224381_jvqw/jobPIRSF-2.84/000000000951_000000001000.blastInputFile.fasta
libgcc_s.so.1 must be installed for pthread_cancel to work


# yum whatprovides libgcc_s.so.1
# yum install libgcc-4.4.7-11.el6.i686

2016년 10월 31일 월요일

iozone

# wget http://www.iozone.org/src/current/iozone-3-455.src.rpm
# rpmbuild --rebuild iozone-3-455.src.rpm
# cd /root/rpmbuild/RPMS/x86_64
# rpm -ivh iozone-3-455.x86_64.rpm

2016년 10월 28일 금요일

Galaxy

https://galaxyproject.org/

# service mysqld start
# /usr/bin/mysql_secure_installation
# /usr/bin/mysql -u root -p
mysql> INSERT INTO mysql.user (User,Host,Password) VALUES('galaxy','localhost',PASSWORD('password'));
mysql> FLUSH PRIVILEGES;
mysql> CREATE DATABASE galadb;
mysql> GRANT ALL PRIVILEGES ON galadb.* to galaxy@localhost;
mysql> FLUSH PRIVILEGES;
mysql> quit

# cd /usr/local
# mkdir galaxy
# cd galaxy/
# hg clone https://bitbucket.org/galaxy/galaxy-dist/
# cd galaxy-dist 
# vi config/galaxy.ini
debug = True –> debug = False
use_interactive = True –>  use_interactive = False
database_connection = mysql://galaxy:password@localhost/galadb?unix_socket=/var/lib/mysql/mysql.sock

use_threadpool = true
threadpool_workers = 7

start_job_runners = drmaa
environment_setup_file = True
default_cluster_job_runner = drmaa://-V/

# sh run.sh

NCBI 데이터 다운로드

1. Aspera
http://www.ncbi.nlm.nih.gov/public/

download aspera-connect-3.6.2.117442-linux-64.tar.gz

isbyeon$ tar zxvfp aspera-connect-3.6.2.117442-linux-64.tar.gz 
aspera-connect-3.6.2.117442-linux-64.sh

isbyeon$ sh aspera-connect-3.6.2.117442-linux-64.sh

isbyeon$ vi ~/.bash_profile
PATH=$PATH:$HOME/bin:/home/isbyeon/.aspera/connect/bin

isbyeon$ source ~/.bash_profile

isbyeon$ ascp -k 1 -T -l300m -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh anonftp@ftp.ncbi.nlm.nih.gov:/refseq/release/archaea ./archaea


2. rsync
isbyeon$ rsync -av ftp.ncbi.nlm.nih.gov::refseq/release/archaea ./archaea

2016년 10월 26일 수요일

rpmbuild

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

dd

Test of Write
# time dd if=/dev/zero of=/BiO/dd_test count=1000 bs=1024k
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 1.15074 s, 911 MB/s

Test of Read
# dd if=/BiO/dd_test of=/dev/null count=1000 bs=1024k
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 0.218885 s, 4.8 GB/s

ifconfig shows wrong MAC for ib0


Infiniband hardware address can be incorrect! Please read BUGS section in ifconfig(8).
infiniband A0:00:03:00:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00  txqueuelen 1024  (InfiniBand)

# man ifconfig
BUGS
       Ifconfig  uses  the  ioctl  access method to get the full address information, which limits hardware addresses to 8 bytes.  Because Infiniband hardware address has 20
       bytes, only the first 8 bytes are displayed correctly.  Please use ip link command from iproute2 package to display link layer  informations  including  the  hardware address


, Infiniband hardware address 20 bytes ifconfig 명령으로 표기할 수 없습니다. ifconfig 명령어가 아닌 iproute 패키지의 ip 명령어를 사용하거나 패치를 하면 된다.

※ 1Gb Ethernet의 Mac address는 6Bytes로 구성되어 있음
※ Infiniband는 20Bytes로 구성되어 있는데 8Bytes 이하 00으로 표시 됨!!

ex) ifconfig ib1
A0:00:03:00:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00

ex) ip a show ib1
a0:00:03:00:fe:80:00:00:00:00:00:00:00:02:c9:03:00:a2:fb:32

2016년 10월 25일 화요일

Bash shell

1. Bash Brace Expansion
# touch test{1,3,5,7,9,11}
# ls test{1,3,5,7,9,11}
=> test1  test11  test3  test5  test7  test9

# ls test{1,7}
=> test1  test7

# ls test{1..7}
=> test1  test3  test5  test7

# ls test{1..11..4}  // 1부터 11까지 4씩 증감
test1  test5  test9

# echo /dev/sd{a..z}
=> /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr /dev/sds /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx /dev/sdy /dev/sdz

# echo /dev/sd{z..x}
/dev/sdz /dev/sdy /dev/sdx

2. 문자열 치환
# sed -i 's/SET_IPOIB_CM=auto/SET_IPOIB_CM=no/g' /etc/infiniband/openib.conf

2016년 10월 24일 월요일

Install JDK 7

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

# cd /usr/local/src
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.rpm"

rpm -ivh jdk-7u79-linux-x64.rpm
# vi /etc/profile
~~~~~
export JAVA_HOME=/usr/java/default
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar

# source /etc/profile
# alternatives --config java
There is 1 program that provides 'java'.

  Selection    Command
-----------------------------------------------
*+ 1               /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre/bin/java

Enter to keep the current selection[+], or type selection number: 1

# java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (rhel-2.6.2.3.el7-x86_64 u91-b00)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

2016년 10월 19일 수요일

Install JDK 8

# cd /usr/local/src
# curl -LO -H "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u71-b15/jdk-8u71-linux-x64.rpm"

# rpm -Uvh jdk-8u71-linux-x64.rpm
# vi /etc/profile
~~~~~
export JAVA_HOME=/usr/java/default
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar

# source /etc/profile
# alternatives --config java
There is 1 program that provides 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/java/jdk1.8.0_71/jre/bin/java

Enter to keep the current selection[+], or type selection number: 1

# java -version
java version "1.8.0_71"
Java(TM) SE Runtime Environment (build 1.8.0_71-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode)

IP Masquerading

# sysctl -w net.ipv4.ip_forward=1
# vi /usr/lib/sysctl.d/50-default.conf
net.ipv4.ip_forward = 1

# sysctl -p
# iptables -F && iptables -F -t nat
# iptables -t nat -A POSTROUTING -s 10.3.0.0/16 -o em2 -j MASQUERAD  // em2는 외부 네트워크

hostname 변경

# hostnamectl set-hostname isbyeon.local

# cat /etc/hostname
isbyeon.local

2016년 10월 18일 화요일

INSTALLING BOOST LIBRARIES, TOPHAT, SAM TOOLS, CUFFLINKS ON CENTOS7

Boost Libraries

$ tar zxvfp boost_1_62_0.tar.gz
$ cd boost_1_62_0/
$ ./bootstrap.sh --prefix=/BiO/hadoop/program/linux_tools/boost_1_62_0 --with-libraries=all
$ ./b2
$ ./b2 install
$ export BOOST_ROOT=/BiO/hadoop/program/linux_tools/boost_1_62_0
$ export LD_LIBRARY_PATH=$BOOST_ROOT/lib:$LD_LIBRARY_PATH


TopHat

$ tar xzvf tophat-2.1.1.tar.gz
$ cd tophat-2.1.1
$ ./configure --prefix /BiO/hadoop/program/linux_tools/tophat-2.1.1 \
 --with-boost=/BiO/hadoop/program/linux_tools/boost_1_62_0
$ make
$ sudo make install


SAM tools

$ cd samtools-0.1.19/ 
$ make
$ mkdir -p /BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19/bin  \
/BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19/include/bam \
/BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19/lib \

$ cp libbam.a /BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19/lib/
$ cp *.h /BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19/include/bam/


Cufflinks

$ tar jxfp 3.2.8.tar.bz2
$ cd eigen-eigen-07105f7124f9/
$ mkdir /BiO/hadoop/program/linux_tools/isbyeon_test/eigen3
$ cp -rv ./Eigen/ /BiO/hadoop/program/linux_tools/isbyeon_test/eigen3
$ export EIGEN_CPPFLAGS="-I/BiO/hadoop/program/linux_tools/isbyeon_test/eigen3"

$ tar zxvfp cufflinks-2.2.1.tar.gz
$ cd cufflinks-2.2.1/
$ ./configure --prefix=//BiO/hadoop/program/linux_tools/isbyeon_test/cufflinks-2.2.1 \
--with-boost=/BiO/hadoop/program/linux_tools/boost_1_62_0 \
--with-bam=/BiO/hadoop/program/linux_tools/isbyeon_test/samtools-0.1.19

$ make
$ make install

CONTROLLING IPOIB MODE(DATAGRAM MODE, CONNECTED MODE)

datagram mode
2KB IB MTU: 2044 bytes.(maximum)
4KB IB MTU: 4092 bytes.(maximum)

connected mode
65520 bytes.(maximum)




Controlling IPoIB mode
# cat /sys/class/net/ib0/mode
datagram

# cd /etc/sysconfig/network-scripts
# ./ifdown ib0
# echo connected > /sys/class/net/ib0/mode
# ./ifup ib0

# cat /sys/class/net/ib0/mode
connected

# vi /etc/infiniband/openib.conf
#SET_IPOIB_CM=auto
SET_IPOIB_CM=yes

IPOIB_MTU=65520

※ connected mode = no
# sed -i 's/SET_IPOIB_CM=auto/SET_IPOIB_CM=no/g' /etc/infiniband/openib.conf


2016년 10월 15일 토요일

Installation of Son of Grid Engine(SGE) on CentOS7

master# hostnamectl set-hostname qmaster.local

master# vi /etc/hosts
192.168.56.101  qmaster.local qmaster
192.168.56.102  compute01.local compute01

master# mkdir -p /BiO/src
master# yum -y install epel-release
master# yum -y install jemalloc-devel openssl-devel ncurses-devel pam-devel libXmu-devel hwloc-devel hwloc hwloc-libs java-devel javacc ant-junit libdb-devel motif-devel csh ksh xterm db4-utils perl-XML-Simple perl-Env xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi
master# groupadd -g 490 sgeadmin
master# useradd -u 495 -g 490 -r -m  -d /home/sgeadmin -s /bin/bash -c "SGE Admin" sgeadmin
master# visudo
%sgeadmin       ALL=(ALL)       NOPASSWD: ALL
master# cd /BiO/src
master# wget http://arc.liv.ac.uk/downloads/SGE/releases/8.1.9/sge-8.1.9.tar.gz
master# tar zxvfp sge-8.1.9.tar.gz
master# cd sge-8.1.9/source/
master# sh scripts/bootstrap.sh && ./aimk && ./aimk -man
master# export SGE_ROOT=/BiO/gridengine && mkdir $SGE_ROOT
master# echo Y | ./scripts/distinst -local -allall -libs -noexit
master# chown -R sgeadmin.sgeadmin /BiO/gridengine

master# cd  $SGE_ROOT
master# ./install_qmaster
press enter at the intro screen
press "y" and then specify sgeadmin as the user id
leave the install dir as /BiO/gridengine
You will now be asked about port configuration for the master, normally you would choose the default (2) which uses the /etc/services file
accept the sge_qmaster info
You will now be asked about port configuration for the master, normally you would choose the default (2) which uses the /etc/services file
accept the sge_execd info
leave the cell name as "default"
Enter an appropriate cluster name when requested
leave the spool dir as is
press "n" for no windows hosts!
press "y" (permissions are set correctly)
press "y" for all hosts in one domain
If you have Java available on your Qmaster and wish to use SGE Inspect or SDM then enable the JMX MBean server and provide the requested information - probably answer "n" at this point!
press enter to accept the directory creation notification
enter "classic" for classic spooling (berkeleydb may be more appropriate for large clusters)
press enter to accept the next notice
enter "20000-20100" as the GID range (increase this range if you have execution nodes capable of running more than 100 concurrent jobs)
accept the default spool dir or specify a different folder (for example if you wish to use a shared or local folder outside of SGE_ROOT
enter an email address that will be sent problem reports
press "n" to refuse to change the parameters you have just configured
press enter to accept the next notice
press "y" to install the startup scripts
press enter twice to confirm the following messages
press "n" for a file with a list of hosts
enter the names of your hosts who will be able to administer and submit jobs (enter alone to finish adding hosts)
skip shadow hosts for now (press "n")
choose "1" for normal configuration and agree with "y"
press enter to accept the next message and "n" to refuse to see the previous screen again and then finally enter to exit the installer

master# cp /BiO/gridengine/default/common/settings.sh /etc/profile.d/
master# qconf -ah compute01.local
compute01.local added to administrative host list

master# yum -y install nfs-utils
master# vi /etc/exports
/BiO 192.168.56.0/24(rw,no_root_squash)

master# systemctl start rpcbind nfs-server
master# systemctl enable rpcbind nfs-server


compute01# yum -y install hwloc-devel
compute01# hostnamectl set-hostname compute01.local
compute01# vi /etc/hosts
192.168.56.101  qmaster.local qmaster
192.168.56.102  compute01.local compute01

compute01# groupadd -g 490 sgeadmin
compute01# useradd -u 495 -g 490 -r -m  -d /home/sgeadmin -s /bin/bash -c "SGE Admin" sgeadmin

compute01# yum -y install nfs-utils
compute01# systemctl start rpcbind
compute01# systemctl enable rpcbind
compute01# mkdir /BiO
compute01# mount -t nfs 192.168.56.101:/BiO /BiO
compute01# vi /etc/fstab
192.168.56.101:/BiO  /BiO                   nfs     defaults        0 0

compute01# export SGE_ROOT=/BiO/gridengine
compute01# export SGE_CELL=default
compute01# cd $SGE_ROOT
compute01# ./install_execd
compute01# cp /BiO/gridengine/default/common/settings.sh /etc/profile.d/

R 설치

# yum -y install libpng libpng-devel libtiff libtiff-devel libjpeg-turbo libjpeg-turbo-devel readline-devel bzip2-devel libcurl-devel cairo-devel

# cd /BiO/src
# wget http://cran.nexr.com/src/base/R-3/R-3.3.0.tar.gz
# tar zxvfp R-3.3.0.tar.gz
# cd R-3.3.0/
# ./configure --prefix=/BiO/R-3.3.0 --enable-R-shlib --with-libpng --with-jpeglib --with-libtiff --with-x
# make && make install
# /BiO/R-3.3.0/bin/R
> capabilities()
       jpeg         png        tiff       tcltk         X11        aqua 
       TRUE        TRUE        TRUE       FALSE        TRUE       FALSE 
   http/ftp     sockets      libxml        fifo      cledit       iconv 
       TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
        NLS     profmem       cairo         ICU long.double     libcurl 
       TRUE       FALSE       FALSE       FALSE        TRUE        TRUE 

2016년 10월 14일 금요일

CENTOS 7 처음 설치 후 기본 설정

1. disable Firewall(iptables) 
# systemctl stop firewalld.service
# systemctl disable firewalld.service
# iptables -F 

2. disable SELINUX
# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

3. disable NetworkManager 
# sudo systemctl disable NetworkManager.service 
# sudo chkconfig network on
# sudo reboot

4. Network
# sed -i 's/ONBOOT=no/ONBOOT=yes/' /etc/sysconfig/network-scripts/eno16777736
# yum install epel-release

5. disable IPv6
# vi /etc/default/grub
GRUB_CMDLINE_LINUX="ipv6.disable=1 rd.lvm.lv=fedora/swap rd.md=0.....

# grub2-mkconfig -o /boot/grub2/grub.cfg
# reboot

6. Update System
# yum -y install yum-plugin-fastestmirror
# yum -y update

7. Hostname
hostnamectl set-hostname isbyeon.local