LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-04-2013, 12:03 AM   #1
Jalalabee
Member
 
Registered: Aug 2003
Distribution: Slackware 10.2
Posts: 102

Rep: Reputation: 15
nginx/1.4.1 '/etc/nginx/sites-available/default' missing


Edit: Distro is Centos 6.4 64-bit

Created '/etc/yum.repos.d/nginx.repo' per http://wiki.nginx.org/Install :
Code:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1
Installed nginx without issues, it seems:

Code:
[root@server1 /]# yum install nginx
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.anl.gov
 * extras: mirror.team-cymru.org
 * updates: mirrors.lga7.us.voxel.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.4.1-1.el6.ngx will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================================
 Package                                               Arch                                                   Version                                                           Repository                                             Size
============================================================================================================================================================================================================================================
Installing:
 nginx                                                 x86_64                                                 1.4.1-1.el6.ngx                                                   nginx                                                 311 k

Transaction Summary
============================================================================================================================================================================================================================================
Install       1 Package(s)

Total download size: 311 k
Installed size: 770 k
Is this ok [y/N]: y
Downloading Packages:
nginx-1.4.1-1.el6.ngx.x86_64.rpm                                                                                                                                                                                     | 311 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nginx-1.4.1-1.el6.ngx.x86_64                                                                                                                                                                                             1/1 
----------------------------------------------------------------------

Thanks for using NGINX!

Check out our community web site:
* http://nginx.org/en/support.html

If you have questions about commercial support for NGINX please visit:
* http://www.nginx.com/support.html

----------------------------------------------------------------------
  Verifying  : nginx-1.4.1-1.el6.ngx.x86_64                                                                                                                                                                                             1/1 

Installed:
  nginx.x86_64 0:1.4.1-1.el6.ngx                                                                                                                                                                                                            

Complete!
[root@server1 /]#
This is what I have:

Code:
[root@server1 /]# ls /etc/nginx/*
/etc/nginx/fastcgi_params  /etc/nginx/koi-utf  /etc/nginx/koi-win  /etc/nginx/mime.types  /etc/nginx/nginx.conf  /etc/nginx/nginx.conf.rpmsave  /etc/nginx/scgi_params  /etc/nginx/uwsgi_params  /etc/nginx/win-utf

/etc/nginx/conf.d:
default.conf  example_ssl.conf
[root@server1 /]#
I'm missing sites-available and sites-enabled also, I've attempted to create the structure and use the 'default.conf' in place of copying the '/etc/nginx/sites-available/default' but this didn't allow for the virtual hosts to resolve to their specific wwwfolder.

Last edited by Jalalabee; 06-04-2013 at 12:19 AM. Reason: Wanted to be explicit about distro
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx - default.conf file missing yashfire007 Linux - Newbie 6 05-17-2013 09:40 AM
nginx + php-fpm and nginx modules fantasygoat Linux - Server 0 06-09-2011 01:21 PM
LXer: Nginx+Varnish compared to Nginx LXer Syndicated Linux News 0 04-27-2011 03:30 PM
Nginx experts help me-problem when using Nginx php-fpm !!! HuMan-BiEnG Linux - Server 2 04-17-2011 03:30 PM
NGINX with PHP-FPM vis NGINX with Spawn-FCGI WhisperiN Linux - Server 1 03-15-2011 07:39 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration