티스토리 뷰
먼저 yum repository 저장소를 업데이트합니다.
# yum install epel-release
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.navercorp.com
* extras: mirror.navercorp.com
* updates: mirror.navercorp.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================
Package Arch Version Repository Size
============================================================================================================================
Installing:
epel-release noarch 6-8 extras 14 k
Transaction Summary
============================================================================================================================
Install 1 Package(s)
Total download size: 14 k
Installed size: 22 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-6-8.noarch.rpm | 14 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release-6-8.noarch 1/1
Verifying : epel-release-6-8.noarch 1/1
Installed:
epel-release.noarch 0:6-8
Complete!
yum 저장소가 업데이트 되었는지 확인합니다.
# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 3.8 kB 00:00
* base: ftp.daumkakao.com
* epel: ftp.kddilabs.jp
* extras: ftp.daumkakao.com
* updates: ftp.daumkakao.com
epel | 4.3 kB 00:00
epel/primary_db | 5.8 MB 00:04
repo id repo name status
base CentOS-6 - Base 6,696
*epel Extra Packages for Enterprise Linux 6 - x86_64 12,128
extras CentOS-6 - Extras 61
nginx nginx repo 28
updates CentOS-6 - Updates 125
repolist: 19,038
nginx를 설치합니다.
# yum install nginx
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.daumkakao.com
* epel: free.nchc.org.tw
* extras: ftp.daumkakao.com
* updates: ftp.daumkakao.com
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.0.15-12.el6 will be installed
--> Processing Dependency: nginx-filesystem = 1.0.15-12.el6 for package: nginx-1.0.15-12.el6.x86_64
--> Processing Dependency: nginx-filesystem for package: nginx-1.0.15-12.el6.x86_64
--> Processing Dependency: gd for package: nginx-1.0.15-12.el6.x86_64
--> Processing Dependency: GeoIP for package: nginx-1.0.15-12.el6.x86_64
--> Processing Dependency: libgd.so.2()(64bit) for package: nginx-1.0.15-12.el6.x86_64
--> Processing Dependency: libGeoIP.so.1()(64bit) for package: nginx-1.0.15-12.el6.x86_64
--> Running transaction check
---> Package GeoIP.x86_64 0:1.6.5-1.el6 will be installed
--> Processing Dependency: geoipupdate for package: GeoIP-1.6.5-1.el6.x86_64
--> Processing Dependency: GeoIP-data for package: GeoIP-1.6.5-1.el6.x86_64
---> Package gd.x86_64 0:2.0.35-11.el6 will be installed
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-2.0.35-11.el6.x86_64
---> Package nginx-filesystem.noarch 0:1.0.15-12.el6 will be installed
--> Running transaction check
---> Package GeoIP-GeoLite-data.noarch 0:2015.12-1.el6 will be installed
--> Processing Dependency: GeoIP-GeoLite-data-extra = 2015.12-1.el6 for package: GeoIP-GeoLite-data-2015.12-1.el6.noarch
---> Package fontconfig.x86_64 0:2.8.0-5.el6 will be installed
---> Package geoipupdate.x86_64 0:2.2.1-2.el6 will be installed
--> Running transaction check
---> Package GeoIP-GeoLite-data-extra.noarch 0:2015.12-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================
Package Arch Version Repository Size
============================================================================================================================
Installing:
nginx x86_64 1.0.15-12.el6 epel 404 k
Installing for dependencies:
GeoIP x86_64 1.6.5-1.el6 epel 113 k
GeoIP-GeoLite-data noarch 2015.12-1.el6 epel 363 k
GeoIP-GeoLite-data-extra noarch 2015.12-1.el6 epel 23 M
fontconfig x86_64 2.8.0-5.el6 base 186 k
gd x86_64 2.0.35-11.el6 base 142 k
geoipupdate x86_64 2.2.1-2.el6 epel 28 k
nginx-filesystem noarch 1.0.15-12.el6 epel 8.1 k
Transaction Summary
============================================================================================================================
Install 8 Package(s)
Total download size: 24 M
Installed size: 50 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): GeoIP-1.6.5-1.el6.x86_64.rpm | 113 kB 00:00
(2/8): GeoIP-GeoLite-data-2015.12-1.el6.noarch.rpm | 363 kB 00:00
(3/8): GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch.rpm | 23 MB 00:02
(4/8): fontconfig-2.8.0-5.el6.x86_64.rpm | 186 kB 00:00
(5/8): gd-2.0.35-11.el6.x86_64.rpm | 142 kB 00:00
(6/8): geoipupdate-2.2.1-2.el6.x86_64.rpm | 28 kB 00:00
(7/8): nginx-1.0.15-12.el6.x86_64.rpm | 404 kB 00:00
(8/8): nginx-filesystem-1.0.15-12.el6.noarch.rpm | 8.1 kB 00:00
----------------------------------------------------------------------------------------------------------------------------
Total 5.0 MB/s | 24 MB 00:04
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid : EPEL (6) <epel@fedoraproject.org>
Package: epel-release-6-8.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch 1/8
Installing : GeoIP-GeoLite-data-2015.12-1.el6.noarch 2/8
Installing : geoipupdate-2.2.1-2.el6.x86_64 3/8
Installing : GeoIP-1.6.5-1.el6.x86_64 4/8
Installing : fontconfig-2.8.0-5.el6.x86_64 5/8
Installing : gd-2.0.35-11.el6.x86_64 6/8
Installing : nginx-filesystem-1.0.15-12.el6.noarch 7/8
Installing : nginx-1.0.15-12.el6.x86_64 8/8
Verifying : nginx-filesystem-1.0.15-12.el6.noarch 1/8
Verifying : GeoIP-1.6.5-1.el6.x86_64 2/8
Verifying : GeoIP-GeoLite-data-2015.12-1.el6.noarch 3/8
Verifying : fontconfig-2.8.0-5.el6.x86_64 4/8
Verifying : geoipupdate-2.2.1-2.el6.x86_64 5/8
Verifying : GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch 6/8
Verifying : nginx-1.0.15-12.el6.x86_64 7/8
Verifying : gd-2.0.35-11.el6.x86_64 8/8
Installed:
nginx.x86_64 0:1.0.15-12.el6
Dependency Installed:
GeoIP.x86_64 0:1.6.5-1.el6 GeoIP-GeoLite-data.noarch 0:2015.12-1.el6
GeoIP-GeoLite-data-extra.noarch 0:2015.12-1.el6 fontconfig.x86_64 0:2.8.0-5.el6
gd.x86_64 0:2.0.35-11.el6 geoipupdate.x86_64 0:2.2.1-2.el6
nginx-filesystem.noarch 0:1.0.15-12.el6
Complete!
서비스를 시작합니다.
# service nginx start
Starting nginx: [ OK ]
브라우저에서 http://서버아이디 or 도메인 을 입력합니다.
'개발스토리' 카테고리의 다른 글
MySQL 원격접속 가능하도록 IP추가하기 (0) | 2016.09.01 |
---|---|
하위 디렉토리별 파일 개수 표시하기 (0) | 2015.07.24 |
카카오톡, 카카오스토리 연동하기 (1) | 2013.02.22 |
- Total
- Today
- Yesterday
- 한글깨짐
- sphinx
- Eclipse
- php
- 10월의 어느 멋진 날에 듣기
- 백일상
- innodb_buffer_pool_size
- php7
- 카카오스토리 API
- 메일제목
- timestamp
- CMYK
- 아이폰6 플러스
- ie8
- 10월의어느멋진날에
- 이미지 제한
- 가로모드
- base64_encode
- 모바일 사파리
- file compare
- nginx
- 소스유출
- MySQL
- jpg
- 아이폰
- 해금
- 태그를 입력해 주세요.
- Git
- php-cgi
- 카카오톡
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |