'전체 글'에 해당되는 글 93건

  1. 2016.12.22 [기타] parted 사용법
  2. 2016.12.14 [php] php버전별 컨피그값
  3. 2016.12.14 [개발공부] php 개발

[parted 사용법]


하드디스크 2TB 이상부터는 fdisk 로 파티션 나누는 것이 불가능하다. 그렇기 때문에 parted 라는 명령어를 통해서 파티션 분할이 가능하다.


[root@os1 ~]# parted /dev/sdb


(parted) mklabel gpt


(parted) mkpart primary 0 3TB        -> 0부터 사용범위 지정


(parted) mkpart primary 3TB 100%        -> 3TB 부터 마지막까지 지정


(parted) print        -> 해당 명령어로 파티션 나눠진것을 확인할수 있다.


포멧


mkfs.ext4 /dev/sdb1 


mkfs.ext4 /dev/sdb2 


parted -l 로 파티션 나눠진것을 확인


mount /dev/sdb1 /backup

mount /dev/sdb2 /backup2

Posted by 실력키우기





[php 5.2.17]

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-language=korean --with-kerberos --with-imap-dir --with-imap-ssl --with-mysql=/usr/local/mysql --with-tiff-dir --with-pdflib --with-cpdflib --with-mhash --enable-sockets --with-regex=php --with-mod_charset --enable-track-vars --enable-ftp --enable-modules=so --enable-inline-optimization --disable-debug --with-config-file-path=/usr/local/apache/conf --with-zlib --with-zlib-dir --with-curl --with-iconv --with-dbx --with-gdbm --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --enable-mbstring --enable-mbregex --enable-sigchild --with-xml --enable-dba --with-zend-multibytei --enable-saft-mode --enable-magic-quotes --enable-debugger --enable-sysvsem --enable-sysvshm



[php 5.2.17]

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-curl --with-openssl --with-gd --with-gdbm --with-freetype-dir --with-png-dir --with-jpeg-dir --with-iconv --with-gettext --with-mcrypt --with-mhash --with-bz2 --with-zlib --with-pear --with-readline --with-xmlrpc --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-sockets --enable-mbstring=all --enable-mbregex --enable-bcmath --enable-ftp --enable-exif --enable-gd-native-ttf --enable-dba --enable-roxen-zts --enable-ipv6 --enable-pcntl --enable-libxml --enable-zip=shared --enable-soap=shared --disable-debug

'Linux Server > php' 카테고리의 다른 글

[php] pecl_http , raphf , propro 모듈설치  (0) 2017.04.05
[php] ZendOptimizer 설치  (0) 2016.10.27
[php] Zend Guard Loader 설치  (0) 2016.10.27
[php] php 소스설치  (0) 2016.09.22
[모듈] soap모듈 설치하기  (0) 2016.09.11
Posted by 실력키우기

[php 언어 공부



정적 변수 : 지역 변수의 값을 그대로 유지하여 사용하는변수    -> static 키워드를 사용


상수 : 똑같은 값을 가지는 변하지 않는 수    -> define() 함수를 이용




Posted by 실력키우기

블로그 이미지
공 부 하 는 직 장 인
실력키우기

태그목록

공지사항

Yesterday
Today
Total

최근에 달린 댓글