본문 바로가기
반응형

Programming105

키보드 숨기기 - 다른 여백 눌렀을때 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {[self.view endEditing:YES];} 2013. 11. 25.
Installing PDO_OCI and OCI8 PHP extensions on CentOS 6.4 64bit I am currently working on a PHP project that requires using an Oracle server as the database. I tried setting up the Oracle PHP extensions directly on my development machine (MacOSX) but failed after a few tries. I also managed to ruin my Homebrew-PHP setup which brought me more joy.So I ended up using Vagrant which is what I should have done in the first place. So I booted up a Vagrant box with.. 2013. 10. 18.
RepoForge(RPMforge), Epel, Remi Repository 기본적인 저장소(repository)로 사용되는 CentOS 저장소에서 찾을 수 없는 몇몇 패키지들이 있다. 물론 이는 yum 을 이용한 설치 및 업그레이드에 해당하는 사항이다.yum-plugin-priorities 설치저장소간에 우선순위를 설정하기 위해 priorities 플러그인이 필요하다.# yum -y install yum-plugin-prioritiesCentOS-Base.repo 수정우선 순위를 추가한다. 우선순위는 1~99 까지 값을 가지며 낮을수록 우선순위가 높다. 만약 값이 설정되어 있지 않다면 99로 인식한다.# vi /etc/yum.repos.d/CentOS-Base.repo[base]name=CentOS-$releasever - Basemirrorlist=http://mirrorli.. 2013. 10. 18.
리눅스 NFS (Network File System) 설정 1. nfs 관련 파일 yum 설치sudo yum install rpcbind sudo yum install nfs-utils nfs-utils-lib(서버와 클라이언트 모두 설치) 2. server 설정(공유할 디렉토리가 있는 서버)공유할 폴더를 외부에서 접근 할수 있도록 환경설정파일을 수정한다.# vi /etc/exportsex) php세션폴더 공유의 예 /var/lib/php/session 100.000.000.111(rw)공유할경로명 허용할 아이피(권한) # sudo service rpcbind start # sudo service nfslock start # sudo service nfs start exportfs로 정상적으로 실행되는지 확인# exportfs -v 부팅시 자동으로 올라오도록 설.. 2013. 10. 17.
반응형