ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Установка noc-0.6.3-alt1
Date: Tue, 11 Oct 2011 18:01:45 +0400
Message-ID: <CAEdvWkTFN6+A99oAyq0GspoS0XS780FU5B942q4xsHbWM670cQ@mail.gmail.com> (raw)
In-Reply-To: <201110111626.54914.a_s_y@sama.ru>

11 октября 2011 г. 16:26 пользователь Sergey <a_s_y@sama.ru> написал:
> On Tuesday, October 11, 2011, Alexey Shabalin wrote:
>
>> > пробую вариант для Apache.  DocumentRoot, на сколько я понимаю,
>> > /usr/share/noc, так ? Но тогда непонятны два момента.
>>
>> То есть не надо ничего искать в /opt
>> (Согласен, документацию надо подправить.)
>
> Так я там и не искал, что её нет, это понятно. Просто уточнил, что
>
>> > Первый - FastCGIExternalServer /opt/noc/noc.fcgi... А файла noc.fcgi
>> > в пакете нет.
>
>> noc.fcgi - это сокет процесса fcgi. он определён в
>> /etc/noc/noc-fcgi.conf как socket = /tmp/noc.fcgi.
>> Появляется только после старта сервиса.
>
> Не совсем понял. Полная строка по ссылке такая:
>
> FastCGIExternalServer /opt/noc/noc.fcgi -socket /tmp/noc.fcgi
>
> Что /tmp/noc.fcgi - сокет, тут понятно вроде, но что тогда /opt/noc/noc.fcgi ?
> Или это какой-то симлинк на сокет будет после старта (понятно, что надо
> не /opt/noc/) ?
>
>> > Второй - Alias  /media /opt/noc/contrib/lib/django/contrib/admin/media/
>> > Этого каталога в пакете тоже нет, хотя в исходном тарболе admin/media
>> > присутствует.
>>
>> Все contrib из noc вырезаны, используется системные пакеты (django и др.)
>> Ищите в /usr/lib/python2.6/site-packages/django/contrib/admin/media/
>
> Это бы тоже тогда в read.me. Алиас тогда, получается, на этот каталог ?
> А как с этому веб-сервер относится, в смысле, что оно не в DocumentRoot ?
>
>> > Ну и ничего похожего на какой-нибудь стартовый index.* тоже не видно...
>
>> Это нормально для django, всё работает через fcgi.
>
> понятно.
>
>> Я бы порекомендовал использовать lighttpd.
>
> Apache я хоть чуть-чуть знаю, а тут совсем сначала начинать.
> Хотя конфиг поправить, если только этим кончится, не самое
> сложное.
>
>> - static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
>> ------------------
>> fastcgi.server              = ( "/noc.fcgi" =>
>>                                 ( "main" =>
>>                                    (
>>                                      "socket"      => "/tmp/noc.fcgi",
>
> Вот и тут noc.fcgi дважды упоминается...
>
>> В общем noc используется уже больше года, очень полезная штука для
>> отдела telecom. Обращайтесь с проблемами, помогу.
>
> Спасибо.

Пожалуйста. :)
конфиг для lighttpd я Вам дал.
А с apache Вам придётся разбираться самому.
Начинайте от сюда
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer

-- 
Alexey Shabalin

  parent reply	other threads:[~2011-10-11 14:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 17:46 Sergey
2011-10-11 10:46 ` Alexey Shabalin
2011-10-11 12:26   ` Sergey
2011-10-11 12:32     ` Sergey
2011-10-11 14:01     ` Alexey Shabalin [this message]
2012-08-31 13:45   ` [Sysadmins] Установка noc-0.7.0-alt4 Sergey
2012-08-31 13:59     ` Alexey Shabalin
2012-08-31 14:53       ` Sergey
2012-08-31 15:27         ` Alexey Shabalin
2012-08-31 21:25           ` Sergey
2012-09-04  9:36               ` Sergey
2012-09-04 13:25                 ` Sergey
2012-09-04 13:34                   ` Alexey Shabalin
2012-09-04 13:48                     ` Sergey
2012-09-06  6:01                       ` Sergey
2012-09-06  7:07                         ` Sergey
2012-09-07  6:57                           ` Sergey
2012-09-07  8:29                             ` Sergey
2012-09-10 13:38                               ` Sergey
2012-09-10 14:02                                 ` Viacheslav Dubrovskyi
2012-09-10  7:23                         ` Sergey
2012-09-07 11:28     ` Sergey
2012-09-10 13:00       ` Sergey
2012-09-11 12:53         ` Sergey
2012-09-11 15:19           ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEdvWkTFN6+A99oAyq0GspoS0XS780FU5B942q4xsHbWM670cQ@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git