From Fedora Project Wiki

(New page: Como minha primeira contribuição segue as configurações de um Servidor Web com FEDORA 7. Este Servidor foi configurado para atender as necessidades do Ministério Público do Tocantins...)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Como minha primeira contribuição segue as configurações de um Servidor Web com FEDORA 7. Este Servidor foi configurado para atender as necessidades do Ministério Público do Tocantins, espero ser prático.
Hello, I am Fedora user since 2002 and now are migrating all the operating systems of the stations of our institution for Fedora 8. All our servers are already Fedora since 2005, providing all corporate services:


FEDORA 7,PHP,APACHE,ORACLE(OCI8),
-- Web server (PHP, APACHE)
MYSQL,POSTGRESQL,MBD2
-- E-mail server (Postfix, Amavis, Clamav)
-- Server PDC (SAMBA, LDAP)
-- Server Database (ORACLE, MySQL, Postgres)
-- Server with internal repositories for upgrading.


Versões instaladas:
I'm writing an article about migration for the Fedora Magazine Brazil.


instantclientlinux32-10.2
We must reach the end of the migration of the stations at the end of the year, reaching approximately 300 computers using Fedora 8.
http-2.2.4
php-5.2.4
PostGRESQL 8.2.6
MySQL 5.0.4


XFCE to use the computers to 256Mb memory and Gnome to over 512Mb


ORACLE
Use and recommend Fedora to be a reliable distribution and have a community that grows every day, thereby increasing the quality of support.


Download
Anderson Menezes
 
I represent the city of Palmas in the state of Tocantins - Brazil
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
 
Copiar os arquivos do Instant Client Basic e SDK para /usr/local:
 
#cp instantclient-basic-linux32-10.2.0.2-20060331.zip /usr/local
#cp instantclient-sdk-linux32-10.2.0.2-20060331.zip /usr/local
 
Descompactar os arquivos:
 
# unzip instantclient-basic-linux32-10.2.0.2-20060331.zip
# unzip instantclient-sdk-linux32-10.2.0.2-20060331.zip
 
Será criada uma pasta em /usr/local com o nome instantclient_10_2.
 
O pacote Basic extrai os arquivos em /usr/local/instantclient_10_2 e o SDK em /usr/local/instantclient_10_2/sdk.
 
Agora teremos de configurar a variável de ambiente LD_LIBRARY_PATH, que será importante logo em seguida para a instalação do PHP:
 
# export LD_LIBRARY_PATH=/usr/local/instantclient_10_2
 
Criar um link simbólico para a libclntsh:
 
# ln -sf /usr/local/instantclient_10_2/libclntsh.so.10.1 /usr/local/instantclient_10_2/libclntsh.so
 
Atualizar informações da LD:
 
# ldconfig
 
.bashrc usuario root
 
export LD_LIBRARY_PATH=/usr/instantclient_10_2
 
 
Instalar o POSTGRESQL, POSTGRESQL-SERVER E POSTGRESQL-DEVEL
 
yum install postgrsql.i386 postgresql-devel postgresql-server
 
Instalar o Mysql, MySQL-SERVER E MySQL-DEVEL
 
yum install mysql.i386 mysql-devel mysql-server
 
 
Apache
 
Download http://httpd.apache.org/download.cgi
Extracao tar xvfz httpd-NN.tar.gz
 
# cd httpd-NN
 
Configure # ./configure
Compilacao # make
Instalacao # make install
Customizacao # vi /usr/local/apache2/conf/httpd.conf
Teste # /usr/local/apache2/bin/apachectl -k start
 
 
PHP
 
Download http://www.php.net/downloads.php
Extracao tar xvfz php-nnnn.tar.gz
 
#cd php-nnnn
 
Configure # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --sysconfdir=/etc/php --with-mod_charset --localstatedir=/var --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php --disable-debug --enable-pic --enable-dbase --disable-rpath --enable-inline-optimization --with-bz2 --with-db4 --with-curl --with-freetype-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --without-gmp --with-iconv --with-openssl --with-xml --with-expat-dir=/usr --with-zlib-dir= --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-shmop --enable-sysvmsg --enable-track-vars --enable-trans-sid --disable-yp --enable-wddx --with-pear --enable-memory-limit --enable-calendar --enable-dbx --enable-dio --with-mime-magic --with-mysql --with-readline --enable-gd-jis-conv --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --enable-dba --with-gd --with-jpeg-dir=/usr/lib --with-oci8=instantclient,/usr/local/instantclient_10_2 --with-pgsql
 
 
Compilacao # make
Instalacao # make install
Copiar o arquivo php.ini-dist para /etc/php/php.ini
 
 
 
Se as informações retornadas do banco Oracle saírem truncadas:
Editar o arquivo /usr/local/apache2/bin/envars
 
export NLS_LANG="AMERICAN_AMERICA.WE8ISO8859P1"
 
reinicie o apache.

Latest revision as of 20:31, 19 June 2008

Hello, I am Fedora user since 2002 and now are migrating all the operating systems of the stations of our institution for Fedora 8. All our servers are already Fedora since 2005, providing all corporate services:

-- Web server (PHP, APACHE) -- E-mail server (Postfix, Amavis, Clamav) -- Server PDC (SAMBA, LDAP) -- Server Database (ORACLE, MySQL, Postgres) -- Server with internal repositories for upgrading.

I'm writing an article about migration for the Fedora Magazine Brazil.

We must reach the end of the migration of the stations at the end of the year, reaching approximately 300 computers using Fedora 8.

XFCE to use the computers to 256Mb memory and Gnome to over 512Mb

Use and recommend Fedora to be a reliable distribution and have a community that grows every day, thereby increasing the quality of support.

Anderson Menezes I represent the city of Palmas in the state of Tocantins - Brazil