Kurulumun nasılına
buradan erişebilirsiniz.
/etc/yum.repos.d/nginx.repo
dosya yolunu oluşturun ve içine aşağıdakini yazınki yum paket sistemi nginx'i bulabilsin.
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
[root@localhost ~]# yum install nginx
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vit.com.tr
* extras: mirror.vit.com.tr
* updates: mirror.vit.com.tr
google-chrome | 951 B 00:00
nginx | 2.9 kB 00:00
nginx/primary_db | 34 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.6.2-1.el6.ngx will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nginx x86_64 1.6.2-1.el6.ngx nginx 336 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 336 k
Installed size: 828 k
Is this ok [y/N]: y
Downloading Packages:
nginx-1.6.2-1.el6.ngx.x86_64.rpm | 336 kB 00:06
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : nginx-1.6.2-1.el6.ngx.x86_64 1/1
----------------------------------------------------------------------
Thanks for using nginx!
Please find the official documentation for nginx here:
* http://nginx.org/en/docs/
Commercial subscriptions for nginx are available on:
* http://nginx.com/products/
----------------------------------------------------------------------
Verifying : nginx-1.6.2-1.el6.ngx.x86_64 1/1
Installed:
nginx.x86_64 0:1.6.2-1.el6.ngx
Complete!
[root@localhost ~]#
Hiç yorum yok:
Yorum Gönder