From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 8 Nov 2009 16:22:31 +0300 From: "Alexey I. Froloff" To: sysadmins@lists.altlinux.org Message-ID: <20091108132231.GA11910@altlinux.org> References: <200909302156.05916.alexey.borovskoy@gmail.com> <4AC31FBF.8020407@nevod.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <4AC31FBF.8020407@nevod.ru> User-Agent: Mutt/1.5.20 (2009-06-23) Subject: Re: [Sysadmins] =?koi8-r?b?68HLINrByM/T1MnU2CDSxczY08/Xz8Ug0NLJzM/W?= =?koi8-r?b?xc7JxT8=?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2009 13:20:43 -0000 Archived-At: List-Archive: --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2009 at 03:07:11PM +0600, =FB=C9=C7=C1=D0=CF=D7 =F2=C9=CE= =C1=D4 wrote: > =E4=CC=D1 =D0=D2=CF=C4=C1=CB=DB=CE =CD=CF=D6=CE=CF =C9=D3=D0=CF=CC=D8=DA= =CF=D7=C1=D4=D8 =D0=D2=CF=CB=D3=C9=D2=CF=D7=C1=CE=C9=C5 =CE=C1 mongrel (=C5= =D3=CC=C9 apache,=20 > =D4=CF mod_proxy). =EE=C5=D0=CC=CF=C8=D5=C0 =D0=D2=CF=C9=DA=D7=CF=C4=C9= =D4=C5=CC=D8=CE=CF=D3=D4=D8 =C4=C1=A3=D4 lighthttpd. =F7 =F3=C9=DA=C9=C6 =D5=DB=A3=CC ruby-mongrel_cluster, =CF=D3=CE=CF=D7=CE= =C1=D1 =C9=C4=C5=D1 =D3=D0=A3=D2=D4=C1 =C9=DA Debian (=D0=C1=CB=C5=D4 mongrel-cluster). =E7=CF=CD=CF=D3=D1=D4=C9=CE=C1 =D7 =CF=C2=CC=C1=D3=D4=C9 =DA=C1=D0=D5=D3=CB= =C1-=CF=D3=D4=C1=CE=CF=D7=CB=C9 =D0=C5=D2=C5=D0=C9=D3=C1=CE=C1 =CE=C1 shell= =D3 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CE=C9=C5=CD start-stop-daemon, =D7=CE=C5=DB= =CE=C9=CA =D7=C9=C4 =C9 =D0=CF=D7=C5=C4=C5=CE=C9=C5 =CB=CF=CD=C1=CE=C4 mongrel_cluster_ctl =C9 mongrel_rails cluster::* =C9=C4=C5=CE=D4=C9=DE=CE=D9 =CE=C1=D4=D5=D2=C1=CC=D8=CE=D9=CD. =F0=D2=CF=C9=DA=D7=CF=CC=D8=CE=CF=C5 =D2=C5=CC=D8=D3=CF=D7=CF=C5 =D0=D2=C9= =CC=CF=D6=C5=CE=C9=C5 =C8=CF=D3=D4=C9=D4=D3=D1 =D4=C1=CB: $ cd /path/to/application $ mongrel_rails cluster::configure -C application_cluster.yml [=CF=D0=C3=C9= =C9] # cp application_cluster.yml /etc/mongrel_cluster/sites-available # ln -sf ../sites-available/application_cluster.yml \ /etc/mongrel_cluster/sites-enabled/application_cluster.yml # service mongrel_cluster start =E4=C1=CC=D8=DB=C5 =CE=C1 =D0=CF=D2=D4=D9 'port' (3000) -- 'port' + 'server= s' - 1 (3001) =CD=CF=D6=CE=CF =D0=D2=CF=CB=D3=C9=D2=CF=D7=C1=D4=D8 =C9=DA apache (mod_pro= xy_balancer), lighthttpd, nginx, etc. =EF=D0=C3=C9=D1=CD=C9 'port' =C9 'servers' =DA=C1=C4=C1=A3=D4=D3=D1 =D3=CB= =CF=CC=D8=CB=CF =D0=D2=CF=C3=C5=D3=D3=CF=D7 mongrel_rails =C9 =CE=C1 =CB=C1=CB=C9=C8 =D0=CF=D2=D4=C1=C8 =C2=D5=C4=C5=D4= =DA=C1=D0=D5=DD=C5=CE=CF. =F5=CE=C9=CB=C1=CC=D8=CE=CF=D3=D4=D8 =D0=CF=D2=D4=CF=D7 =C4=CF=CC=D6=C5=CE =CF=C2=C5=D3=D0=C5=DE=C9=D4=D8 =C1=C4= =CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2. =E5=D3=CC=C9 =CF=D0=C3=C9=C9 'pid_file'= =C9 'log_file' =CE=C5 =DA=C1=C4=C1=CE=D9, =C2=D5=C4=D5=D4 =C9=D3=D0=CF=CC=D8=DA= =CF=D7=C1=D4=D8=D3=D1 /var/run/mongrel_cluster/mongrel.=F0=EF=F2=F4.pid =C9 /var/log/mongrel_cluster/mongrel.=F0=EF=F2=F4.log =D3=CF=CF=D4=D7=C5=D4=D3= =D4=D7=C5=CE=CE=CF. =EF=D0=C3=C9=D1=CD=C9 'user' =C9 'group' =DA=C1=C4=C1=A3=D4=D3=D1 =D3 =CB= =C1=CB=C9=CD=C9 =D0=D2=C1=D7=C1=CD=C9 =C2=D5=C4=C5=D4 =D2=C1=C2=CF=D4=C1=D4= =D8 =D3=C5=D2=D7=C5=D2, =D0=CF =D5=CD=CF=CC=DE=C1=CE=C9=C0 _mongrel:_mongrel. =F0=D2=CF=DB=D5 =D4=C5=D3=D4=C9=D2=CF=D7=C1=D4=D8, =C2=C1=C7=C9 =CB=C1=CB = =CF=C2=D9=DE=CE=CF =D7 =C2=C1=C7=DA=C9=CC=CC=D5. --=20 Regards, Sir Raorn. --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkr2xhcACgkQVqT7+fkT8wq7sgCg3yU4UCwTkreGYSYe3lASeYn5 0GcAoIt7O4nsc5x0lK+p8kX1XIF3tmhz =8KCD -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--