Dell PowerEdge C6220 Manuel d'installation - Page 14

Parcourez en ligne ou téléchargez le pdf Manuel d'installation pour {nom_de_la_catégorie} Dell PowerEdge C6220. Dell PowerEdge C6220 26 pages. Lamp reference architecture centos 6.2
Également pour Dell PowerEdge C6220 : Manuel technique (35 pages), Manuel du portefeuille (27 pages)

Dell PowerEdge C6220 Manuel d'installation
Dell PowerEdge C6220 and CentOS 6.2: A LAMP Reference
Architecture
PHP
PHP is a Web scripting language that can be embedded into HTML source
documents instead of using an external file to process data. The Web server interprets
the PHP code to generate a Web page. For more information about PHP, visit
http://www.php.net/.

Installation procedure

Installing Apache Web Server
1. Log onto the CentOS server as root.
2. Install the Apache Web Server application packages and their dependencies:
yum install @web-server
Installing MySQL Database
1. Log in as root.
2. Install the MySQL application packages and their dependencies
yum install @mysql @mysql-client
Installing PHP Scripting Language
1. Install the application packages and their dependencies:
yum install @php php-mysql
Testing with a sample LAMP application
To complete the LAMP deployment, we create a sample LAMP application
consisting of a test database with test data, a PHP script which creates a dynamic Web
page that prints the contents of a SQL query from the database. In this case, we
demonstrate using the well-known "Hello World" example.
1. Log onto the CentOS server as root.
2. Start the MySQL database instance.
service mysqld start
chkconfig mysqld on
3. Run the mysql_secure_installation utility to modify MySQL's default settings
and set the instance's root password to "RootPassword" (It is initially
unset).
mysql_secure_installation
4. Using the mysql client, create a test database, a test application user, and
set privileges:
mysql --user root --password=RootPassword
mysql> USE mysql;
Principled Technologies, Inc. 14