본문 바로가기

개발

(326)
개발/서버
virtualbox Centos5.5 설치시 문제점 I/O APIC 사용하기를 설정 하면 코어수를 확인 못해서 멈추는 현상이 발생I/O APIC를 꺼준다 2016.10.22
개발/서버
리눅스 비트 확인 getconf LONG_BITarchecho $HOSTTYPElscpu | grep ^Arch [root@localhost /]# getconf LONG_BIT32 archi686 [root@localhost /]# echo $HOSTTYPEi386 [root@localhost /]# lscpu | grep ^ArchArchitecture: i686 2016.10.22
개발/서버
리눅스 배포판 버전 확인 grep . /etc/*-releasecat /etc/*-release | uniqgrep . /etc/issue*rpm -qa *-releaseuname -rcat /proc/version [root@localhost /]# grep . /etc/*-release/etc/centos-release:CentOS release 6.8 (Final)/etc/redhat-release:CentOS release 6.8 (Final)/etc/system-release:CentOS release 6.8 (Final) [root@localhost /]# cat /etc/*-release | uniqCentOS release 6.8 (Final) [root@localhost /]# grep . /etc/issue*/.. 2016.10.22
개발/php
php.ini mysqli 추가 phpize 를 이용해서 configure 를 생성cd php-5.2.5/ext/mysqli/usr/local/php/bin/phpize./configure -–with-php-config=/usr/local/php/bin/php-config -–with-mysqli=/usr/bin/mysql_config ( 각 경로는 현재 설치된 내용을 참조 한다)make (make install 은 할 필요는 없다) 완료후 모듈을 설치 한다. 설치는 파일을 옮겨주고 php.ini 에 등록해 주면 된다. mkdir /usr/local/php/lib/php/extensions ( 이폴더에 추가 모듈을 집어 넣는다 )cd php-5.2.5/ext/mysqli/modulescp mysqli.* /usr/local/php/l.. 2016.09.12
개발/CMS
Make_a_Directory_Writable On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions.Permission Modes 7 5 5 user group world r+w+x r+x r+x 4+2+1 4+0+1 4+0+1 = 755 The permission mode is computed by adding up the fol.. 2016.06.06
개발/CMS
Using_Permalinks Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change — hence permalink.Permalink TypesThere are three basic types of .. 2016.06.06