Red Hat APPLICATION STACK 2.0 RELEASE Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 22
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
A Principled Technologies test report 13
Red Hat Enterprise Linux 6: Performance advantages with an
open source software stack
done
mv php.conf-orig php.conf
4. Modify the default PHP configuration file /etc/php.ini. For each row in the next table, replace the line in the PHP
configuration file (the entry in the left column) with the contents on the right.
Original PHP setting
Updated setting
error_reporting = E_ALL & ~E_DEPRECATED
error_reporting =
E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
display_errors = Off
display_errors = On
mysql.default_host =
mysql.default_host = localhost
mysql.default_user =
mysql.default_user = web
mysql.default_password =
mysql.default_password = web
mysqli.default_port = 3306
mysqli.default_port =
5. Create the directories that will contain the Web content:
mkdir /www
mkdir /www/html0{1,2,3}
mkdir /www/*/ds2
6. Start the Web server at boot time:
chkconfig httpd on
Installing MySQL Database on Red Hat Enterprise Linux 6.2
The MySQL database software was installed as part of the operating system installation. We configure three
independent instances, and start and stop them from scripts rather than use the init/services mechanism.
1. Stop the default MySQL instance and prevent it from automatically starting
service mysqld stop
chkconfig mysqld off
2. The configuration file for each instance will generate from a template. Create the file /mysql/my-template.cnf
with the content:
[mysql]
socket = /mysql/logXYZZY/mysql.sock
[mysqld]
user = mysql
default_storage_engine = InnoDB
socket = /mysql/logXYZZY/mysql.sock
pid_file = /mysql/logXYZZY/mysql.pid
skip-networking
large_pages = true
key_buffer_size = 32M
myisam_recover = FORCE,BACKUP
max_allowed_packet = 16M
max_connect_errors = 1000000
innodb = FORCE
datadir = /mysql/datXYZZY
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 21 22

Comentarios a estos manuales

Sin comentarios