728x90

조골세포와 사골세포


의학용어 중에는 조골세포와 사골세포가 있다

조골세포는 뼈에 세포를 만들어주는 세포이고

사골세포는 뼈에 세포를 소멸하게 하는 세포이다


이 이야기를 들으니 사람도

이런 두 종류의 사람이 있지 않나 생각해 본다


주위에 보면...

조골세포처럼 일을 되게 하는 사람이 있고

사골세포처럼 일을 어렵게 하는 사람이 있다


- 새벽편지 가족 / 캄보디아 그린월드 -


온 세상은 원하든 원치 아니하든

섞여 살 수밖에 없습니다


하지만 내 스스로 삶의 의미를 찾아가려면

조골세포적인 방향으로 나아가야겠습니다


- 일은 되는 쪽에서 ‘신바람’을 일으킵니다 -

728x90
728x90

GregorianCalendar gc = new GregorianCalendar();

int year = gc.get(Calendar.YEAR);

// 윤년 or 평년 : true -> 윤년 , false -> 평년

String resYmd = gc.isLeapYear(year) ? "윤년" : "평년";

System.out.printf("%d 년도는 %s 입니다.", year, resYmd);


728x90

'프로그래밍 > java' 카테고리의 다른 글

에자일 방법론  (0) 2016.03.29
java.lang.UnsupportedClassVersionError  (0) 2016.03.28
마이바티스 메뉴얼  (0) 2015.08.26
spring unchecked warning 발생 시 대처 법  (0) 2015.08.05
Java 정규식  (0) 2015.07.24
728x90

소중한 단어의 정의


나 : 이별할 수 없는 사람

우리 : 외로움의 반대

엄마 : 세상에서 가장 큰 우산을 들고 있는 여자

아버지 : 끝까지 아빠라고 부르고 싶었던 사람

가족 : 자세히 보면 한 사람


사랑 : 신이 만들고 사용법을 알려주지 않은 것

행복 : ‘크게 나쁘지 않아’라고 말하는 순간

믿음 : 믿다 보면 생기는 것


도전 : 세상 모든 챔피언이 어제 한 일

실패 : 아픔 49%, 기회 51%

돈 : 좋아할 수는 있지만 사랑할 수는 없는 그대

자유 : 욕심을 던져 버리면 손에 남는 것


웃음 : 1초 만에 인생을 바꾸는 법

길 : 처음엔 그 이름이 숲이었고 산이었던 곳

다시 : 누구에게나 주어지는 인생의 도돌이표

오늘 : 쓰지 않아도 저절로 줄어드는 시간


- ‘인생의 목적어’ 중에서 / 정철 -


우리가 살아가는 인생 속에서

단어의 의미는 뼈의 살 같고, 몸의 옷 같습니다


- 단어의 따뜻한 의미는 삶의 고소한 땅콩! -

728x90

'향기나는글' 카테고리의 다른 글

I WiSH(카와시마 아이) - 明日への扉(내일을 향한 문)  (0) 2016.03.04
조골세포와 사골세포  (0) 2016.01.20
시간의 소중함  (0) 2016.01.13
장점발견하기  (0) 2016.01.12
극복의 힘  (0) 2016.01.12
728x90

기본지식

 

IDE0 HDD : /dev/hda 로 인식됨,  디스크내의 파티션은 hda1 / hda2 / hda3 .....

IDE1 HDD : /dev/hdb 로 인식됨, 디스크내의 파티션은 hdb1 / hdb2 /hdb3....

 

하드디스크 추가하고 리눅스 부팅후...

 

1. fdisk -l 로 디스크가 추가된 것을 확인 할 수 있다.

 

[root@localhost ~]# fdisk -l

Disk /dev/hda: 20.0 GB, 20060651520 bytes
255 heads, 63 sectors/track, 2438 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        2438    19478812+  8e  Linux LVM

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321    7  HPFS/NTFS      <- 추가된 hdd
[root@localhost ~]#

 

 

2. fdisk로 파티션 설정하기


[root@localhost ~]# fdisk /dev/hdb

The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321    7  HPFS/NTFS

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): d     <- 파티션 삭제
Selected partition 1

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n     <- 파티션 추가
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-19457, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-19457, default 19457):
Using default value 19457

Command (m for help): p

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321   83  Linux

 

Command (m for help): v
5165 unallocated sectors

Command (m for help): w  <- 저장하고 종료
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

 

3. 디스크 format : mkfs

 

[root@localhost home]# mkfs
Usage: mkfs [-V] [-t fstype] [fs-options] device [size]
[root@localhost ~]# mkfs.ext3 /dev/hdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
19546112 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=41943040
1193 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@localhost ~]#


 

3. mount 하기

 

먼저 mount할 디렉토리를 만든다

mkdir /home/music

 

/dev/hdb1을 /home/music 에 마운트 한다.

mount /dev/hdb1 /home/music

 

4. /etc/fstab 내용 추가 ( 리부팅후에도 적용되도록)

 

#vi /etc/fstab

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdb1               /home/music             ext3    defaults        1 1    <- 추가된 내용

Posted by 네이허


728x90

'프로그래밍 > 리눅스' 카테고리의 다른 글

특정 IP만 ssh 접속 허용하기  (0) 2019.05.21
GREP 활용  (0) 2019.04.24
apache server 버전 확인  (0) 2015.09.14
리눅스 언어 설정  (0) 2015.07.24
httpd: apr_sockaddr_info_get() failed  (0) 2015.04.27
728x90

시간의 소중함


10년이란 세월이 얼마나 귀한지 알고 싶다면,

직장에서 명퇴하신 50대 가장에게 물어보라


4년의 세월이 얼마나 귀할까 알고 싶다면,

대학교를 졸업한 졸업생에게 물어보라


1년이 얼마나 귀중한 세월인지 알고 싶다면,

방금 성적이 나빠서 유급을 당한 학생에게 물어보라


1달이 얼마나 소중한 시간들인지 알고 싶다면,

1달 먼저 미숙아를 낳은 산모에게 가서 물어보라


일주일의 소중함을 알고 싶다면,

주간 잡지 편집장에게 물어보라


1시간의 소중함을 알고 싶다면,

애인을 기다리는 총각에게 물어보라


1분의 소중함을 알고 싶다면,

방금 기차를 막 놓친 아주머니에게 물어보라


1초의 소중함을 알고 싶다면,

사고의 순간, 간발의 차이로 살아난 생존자들에게 물어보라


마지막으로 100분의 1초의 소중함을 알고 싶다면,

올림픽에서 금메달이 아닌, 은메달을 딴 선수에게 물어보라


산만하다 – 창의적이다


- 놓치고 싶지 않은 나의 인생을 위한 7가지 지혜 중에서 -


시간은 그 누구도 기다려주지 않습니다


- 당신이 가진 지금 바로 이 순간이

가장 큰 보물! -

 

728x90

'향기나는글' 카테고리의 다른 글

조골세포와 사골세포  (0) 2016.01.20
소중한 단어의 정의  (0) 2016.01.15
장점발견하기  (0) 2016.01.12
극복의 힘  (0) 2016.01.12
이것 또한 지나가리라.  (0) 2015.12.29
728x90

USER AGENT TOKEN WHAT IS MY USER AGENT


User Agent Analyser


Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MASMJS; rv:11.0) like Gecko



 

User Agent Fragments and Token


Mozilla/5.0 : 


"Mozilla" formerly was the codename of the Netscape Navigator and is currently used by the most browsers. The version 5 of the Netscape Navigator was the last, unreleased version, before the switch to the successor Mozilla Firefox. You will find the Mozilla/5.0 token on the most modern browser.


Windows NT 6.3 :


Windows NT 6.3 is the platform token, used by Microsoft Windows 8.1.


WOW64 :


WOW64 means, a 32-bit Microsoft Windows is running on a 64-bit processor.


Trident/7.0 :


Trident/7.0 is the identifier for the Microsoft Trident-HTML-Rendering-Engine. Version 7 currently identifies all Internet Explorer 11 versions.


MASMJS :


MASMJS is an OEM identifier and means, that this user agent is used on a Samsung device.


Fore more OEM identifier see our Windows OEM Manufacturer List.


rv:11.0 :


rv:11.0 is a revision number.


like :


Behaves like Gecko, Googlebot or other. See next token for more informations.


Gecko :


Gecko is the open source browser engine designed to support open Internet standards and is uses in several browsers like Firefox, SeaMonkey and other.

728x90

'프로그래밍 > 모바일앱' 카테고리의 다른 글

익스플로러에서 sencha touch 사용하기  (0) 2012.07.04
728x90

소심하다 – 신중하다
신경질적이다 – 예민하다
집중력이 없다 – 다방면에 관심이 많다
성급하다 – 에너지가 넘친다
몽상적이다 – 상상력이 풍부하다
제멋대로다 – 독립적이고 자발적이다
산만하다 – 창의적이다

- 두뇌의 힘을 키워라 중에서 / 이승헌 지음 -

728x90

'향기나는글' 카테고리의 다른 글

소중한 단어의 정의  (0) 2016.01.15
시간의 소중함  (0) 2016.01.13
극복의 힘  (0) 2016.01.12
이것 또한 지나가리라.  (0) 2015.12.29
배우의 꿈  (0) 2015.12.29
728x90

미국의 프랭클린 루즈벨트 대통령은
39세에 갑작스레 찾아온 소아마비로 큰 좌절을 겪었지만,
누구보다 건강한 마음으로 시련을 극복한 그는
미국 대통령직을 4번이나 역임하였습니다.

밥 호프는 젊은 시절 이름없는 권투선수로 생활했습니다.
가난하게 살아갔지만, 현실에 굴복하지 않고 배우에 도전하여
결국 미국 최고의 희극배우가 되었습니다.

평범한 농부의 아들로 태어난 해리 트루먼은 농장에서 일하다
결혼 후 남성복가게를 열었지만 얼마 못 가 문을 닫게 됐습니다.
그러나 그는 포기하지 않고 법률학교에 진학해 판사가 된 후,
끊임없는 노력 끝에 부통령을 거쳐 미국의 대통령이 되었습니다.

슈베르트는 평생 자기 집을 가진 적이 없었고,
피아노조차도 없었으며 건강이 좋지 않아 31세의 젊은 나이에 죽었지만
그가 남긴 곡은 전 세계인의 심금을 울리고 있습니다.

728x90

'향기나는글' 카테고리의 다른 글

시간의 소중함  (0) 2016.01.13
장점발견하기  (0) 2016.01.12
이것 또한 지나가리라.  (0) 2015.12.29
배우의 꿈  (0) 2015.12.29
톨스토이 세가지 의문  (0) 2015.10.02

+ Recent posts