Mudanças entre as edições de "Autenticação no Apache pelo NIS"
| Linha 1: | Linha 1: | ||
| − | yum install perl-ExtUtils-AutoInstall.noarch | + | Para realizar a Autenticação no Apache pelo NIS, os seguintes pacotes devem ser instalados: |
| + | Apache 2.2 | ||
| + | perl-ExtUtils-AutoInstall | ||
| + | mod_perl | ||
| + | perl-Net-NIS | ||
| + | Apache-AuthenNIS | ||
| + | Apache-AuthZNIS | ||
| + | |||
| + | ===Apache 2.2=== | ||
| + | Na distribuiçao Fedora Core 6 o Apache 2.2 é instalado durante a instalação dessa distruibuição. Enventuais dúvidas sobre a instalação consulte o [[http://httpd.apache.org/ | Apache HTTP]]. | ||
| + | |||
| + | ===perl-ExtUtils=== | ||
| + | Digite no terminal: | ||
| + | yum install perl-ExtUtils-AutoInstall.noarch | ||
| + | |||
| + | ===mod_perl=== | ||
| + | Digite no terminal: | ||
| + | yum install mod_perl.i386 | ||
| + | |||
| + | ===perl-Net-NIS=== | ||
| + | Digite no terminal: | ||
| + | cd Net-NIS-0.34/ | ||
| + | perl Makefile.PL | ||
| + | make | ||
| + | make install | ||
| − | + | ===Apache-AuthenNIS=== | |
| − | + | O Apache-AuthenNIS é utilizado para autenticar usuários do NIS. Digite no terminal: | |
| − | cd | + | |
| − | perl Makefile.PL | + | cd Apache-AuthenNIS-0.13 |
| − | + | perl Makefile.PL | |
| − | |||
| − | + | **************** NOTICE ********************* | |
| − | + | If you are planning to use mod_perl2 and Apache2, please, do not | |
| − | + | answer yes when prompted to install mod_perl. You will need to | |
| − | + | download mod_perl2 manually from | |
| − | + | http://perl.apache.org/download/index.html | |
| − | + | ********************************************* | |
| − | + | *** ExtUtils::AutoInstall version 0.63 | |
| − | + | *** Checking for dependencies... | |
| − | + | [Core Features] | |
| − | + | - Net::NIS ...loaded. (0.34) | |
| − | + | - mod_perl ...missing. | |
| − | + | ==> Auto-install the 1 mandatory module(s) from CPAN? [y] '''n''' | |
| − | *** Checking for dependencies... | + | ==> The module(s) are mandatory! Really skip? [n] '''y''' |
| − | [Core Features] | + | *** ExtUtils::AutoInstall configuration finished. |
| − | - Net::NIS ...loaded. (0.34) | + | Checking if your kit is complete... |
| − | - mod_perl ...missing. | + | Looks good |
| − | ==> Auto-install the 1 mandatory module(s) from CPAN? [y] n | + | Writing Makefile for Apache::AuthenNIS |
| − | ==> The module(s) are mandatory! Really skip? [n] y | ||
| − | *** ExtUtils::AutoInstall configuration finished. | ||
| − | Checking if your kit is complete... | ||
| − | Looks good | ||
| − | Writing Makefile for Apache::AuthenNIS | ||
| + | make | ||
| + | make install | ||
Substitua o arquivo AuthenNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo . | Substitua o arquivo AuthenNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo . | ||
| − | + | ===Apache-AuthZNIS=== | |
| − | cd Apache-AuthZNIS-0.11 | + | O Apache-AuthZNIS é utilizado para autenticar grupos de usuários no NIS. Digite no terminal: |
| − | perl Makefile.PL | + | cd Apache-AuthZNIS-0.11 |
| − | make | + | perl Makefile.PL |
| − | make install | + | make |
| + | make install | ||
| + | |||
Substitua o arquivo AuthezNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo . | Substitua o arquivo AuthezNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo . | ||
Edição das 16h06min de 2 de outubro de 2007
Para realizar a Autenticação no Apache pelo NIS, os seguintes pacotes devem ser instalados: Apache 2.2 perl-ExtUtils-AutoInstall mod_perl perl-Net-NIS Apache-AuthenNIS Apache-AuthZNIS
Apache 2.2
Na distribuiçao Fedora Core 6 o Apache 2.2 é instalado durante a instalação dessa distruibuição. Enventuais dúvidas sobre a instalação consulte o [| Apache HTTP].
perl-ExtUtils
Digite no terminal:
yum install perl-ExtUtils-AutoInstall.noarch
mod_perl
Digite no terminal:
yum install mod_perl.i386
perl-Net-NIS
Digite no terminal:
cd Net-NIS-0.34/ perl Makefile.PL make make install
Apache-AuthenNIS
O Apache-AuthenNIS é utilizado para autenticar usuários do NIS. Digite no terminal:
cd Apache-AuthenNIS-0.13 perl Makefile.PL
**************** NOTICE ********************* If you are planning to use mod_perl2 and Apache2, please, do not answer yes when prompted to install mod_perl. You will need to download mod_perl2 manually from http://perl.apache.org/download/index.html ********************************************* *** ExtUtils::AutoInstall version 0.63 *** Checking for dependencies... [Core Features] - Net::NIS ...loaded. (0.34) - mod_perl ...missing. ==> Auto-install the 1 mandatory module(s) from CPAN? [y] n ==> The module(s) are mandatory! Really skip? [n] y *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Apache::AuthenNIS
make make install
Substitua o arquivo AuthenNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo .
Apache-AuthZNIS
O Apache-AuthZNIS é utilizado para autenticar grupos de usuários no NIS. Digite no terminal:
cd Apache-AuthZNIS-0.11 perl Makefile.PL make make install
Substitua o arquivo AuthezNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo .