티스토리 뷰
EPEL 저장소 셋팅
yum install epel-release -y
REMI 저장소 셋팅
RHEL 7/CentOS 7
rpm -Uvh http://mirror.premi.st/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
RHEL 6/CentOS 6
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RHEL 5/CentOS 5
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
PHP 설치시 --enablerepo=remi 생략법
PHP 5.6 을 CentOS 6 에 설치하는 레퍼런스를 구글링해서 찾으면 대개
$ yum install -y php-fpm php php-devel php-mysql --enablerepo=remi-php56
와 같이 사용 저장소=remi-php56 과 같이 명령마다 번거롭게 해야하는데
생략하는 방법은
$ vi /etc/yum.repos.d/remi.repo
각 [섹션] 항목 중 사용할 저장소는 enabled=1 로 수정 하는것.
예) PHP 5.6 사용시는
[remi-php56]
......
enabled=1
......
이후부터는
$ yum install -y php php-fpm php-devel php-mysql
과 같이 명령을 주면 최신버젼이 설치된다.
참고
- https://www.lesstif.com/pages/viewpage.action?pageId=6979743
- https://lowendbox.com/blog/php-on-centos-7-php-fpm/
'OS-서버-서비스 > Linux' 카테고리의 다른 글
암호 없이 ssh-keygen & ssh-copy-id 사용하여 SSH 로그인 수행 3단계 (0) | 2016.11.24 |
---|---|
ubuntu 설치된 패키지 목록 검색 (0) | 2016.11.11 |
CentOS 6 에 Nginx 1.9.x mainline 버젼 설치 (0) | 2016.04.06 |
CentOS 에 PHP FPM 5.6 설치 (0) | 2016.04.06 |
CentOS NginX 403 Forbidden error 해결 (3) | 2015.12.08 |
- Total
- Today
- Yesterday
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
- centos
- CSS
- Wordpress
- Debug
- Prototype
- iis
- ASP
- API
- 안드로이드
- nodejs
- JSON
- JQuery
- Docker
- 한글
- classic asp
- mssql
- Linux
- nginx
- javascript
- IE
- git
- IOS
- laravel
- Android
- sencha touch
- Chrome
- iphone
- Mac
- PHP
- 워드프레스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |