'2016/11'에 해당하는 글 4건

2016. 11. 30

Doodle 2016. 11. 30. 22:15



2개월 만의 업로드....


너~무 바빴던 지난 2개월 (그리고 앞으로도 계속 바쁠것같다~ ㅠ)


힘든일도 있었고..  좋은일도 있었고  :-)


2개월간, 정리안하고 찍기만한 사진이 너무많아져서~ 당분간 사진은 안찍기로... (정리나해야지..)


-------


인물사진 잘찍고싶다~









'Doodle' 카테고리의 다른 글

2017. 01. 19  (0) 2017.01.19
2017. 01. 17  (0) 2017.01.17
2016. 10. 09  (0) 2016.10.09
2016. 10. 08  (0) 2016.10.09
2016. 10. 04  (0) 2016.10.04

WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

출처 : https://gist.github.com/stephenturner/e3bc5cfacc2dc67eca8b



sudo rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern


cd /etc/yum.repos.d/


wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo

sudo yum install devtoolset-2

scl enable devtoolset-2 bash ## set environment variable


현재 사용중인 AMD 시스템에서 gcc-4.9.2 사용하려면 


scl enable devtoolset-3 bash


할것.


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

출처 : http://stackoverflow.com/questions/12821715/convert-string-into-integer-in-bash-script



Constants with a leading 0 are interpreted as octal numbers.

You can remove the leading zero by parameter expansion:

hour=${hour#0}

or force base-10 interpretation:

$((10#$hour + 1))



WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


yum update -y


yum -y install docker-io


After doing these, i met a problem with Cgroup.



/cgroup/memory: No such file or directory


Starting cgconfig service: Error: cannot mount memory to /cgroup/memory: No such file or directory

/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed

Failed to parse /etc/cgconfig.conf                         [FAILED]



Then, edit "/etc/cgconfig.conf" as follows :


# memory = /cgroup/memory;


And start the cgroup service and docker


$ sudo service cgconfig start


$ sudo service docker start


Optionally, we can configure docker to start at every booting time as follows,


$ sudo chkconfig docker on


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,