[Gelistirici] /srv

Eren Türkay turkay.eren at gmail.com
9 Kas 2008 Paz 08:23:16 EET


On 09 Nov 2008 Sun 00:21:34 Fatih Aşıcı wrote:
> Daha önce Çağlar değinmişti sanki :) FHS demişken $SUBJECT'i de kullanmaya
> başlasak mı acaba sunucu servisleri için ?

Böyle bir thread'i hatırlıyorum gibi :-) Biraz araştırdığıma sonucu şöyle bir 
şeye rastladım [0] adresinde, der ki;

(...)

This main purpose of specifying this is so that users may find the location of 
the data files for particular service, and so that services which require a 
single tree for readonly data, writable data and scripts (such as cgi 
scripts) can be reasonably placed. Data that is only of interest to a 
specific user should go in that users' home directory.

The methodology used to name subdirectories of /srv is unspecified as there is 
currently no consensus on how this should be done. One method for structuring 
data under /srv is by protocol, eg. ftp, rsync, www, and cvs. On large 
systems it can be useful to structure /srv by administrative context, such 
as /srv/physics/www, /srv/compsci/cvs, etc. This setup will differ from host 
to host. Therefore, no program should rely on a specific subdirectory 
structure of /srv existing or data necessarily being stored in /srv. 
However /srv should always exist on FHS compliant systems and should be used 
as the default location for such data.

(...)

[0] http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE16A

Son cümle garibime gitti. FHS dizinin nasıl kullanacağını belirlemiş değil 
ancak /srv dizinini öntanımlı servisler için kullanın diyor. 

Gerçekten bize yararlı olacağını düşünüyorsak kullanalım derim (en azından 
sunucu dosyaları tek bir yerde tutulur)?. Ancak Pardus üzerinde aynı işi 
yapan 2 hatta 3 sunucu servisi olabileceğini düşünürsek, bu sunucuları 
yapılandırırken baştan önlem alalım karışıklığı önlemek için.

Örneğin Nginx, apache HTTP sunucuları ve bunların /srv içerisindeki yerleri 
için

Nginx: /srv/www/nginx
Apache: /srv/www/apache

Aynı şekilde FTP servisleri için:

vsFTP: /srv/ftp/vsftp
tFTP: /srv/ftp/tftp

gibi?

İyi çalışmalar,
Eren



Gelistirici mesaj listesiyle ilgili daha fazla bilgi