wxzh001, come look at the Linux installation configuration for Apache+php+mysql+ssl (from Osso)

Source: Internet
Author: User
Tags install php openssl php and mysql
The author of this article: original Osso net user Herodong oicq:6678705
* Lone Wolf: The original text is too big, 36K more. I choose the important part to paste, if need the original text can mailto:wolflx@263.net
Our goal is to install a Web server that allows us to host multiple Web sites, some of which are security solutions for E-commerce, and most Web sites are driven by a script that connects a database server and extracts its data.
The tools required for this task are:
apache-a Web server
mod_ssl-a Secure Sockets Layer (SSL) module
openssl-Open Source Code kit (required by mod_ssl)
Rsaref-only to American users
mysql-a database server
php-a scripting language
"All roads lead to Rome" ... So this is just one of the many configurations that can meet our requirements. I chose this configuration because it is the simplest and fastest kind. The reason for choosing Mod_ssl/openssl is because I have its previous experience and is one of the fastest configurations and easiest to install. For easy integration with Apache, I chose PHP and MySQL. Remember, Perl can do anything you want to do, however, PHP is easy and easy for anyone who wants to learn about it.
Hopefully you will succeed in accomplishing the following goals after completing this simple guide.
Install and set up the MySQL database server
Install and set up an Apache Web server with SSL
PHP 4.0 hypertext preprocessor for installing and configuring server-side Scripts
Create some sample certificates for Apache SSL
This article assumes that you have installed the following software on your system.
Perl (preferably ver 5+)
Gzip or Gunzip
GCC and GNU make
Get ready
Apache (Web server)-http://www.apache.org
MOD_SSL (Secure Server layer)-http://www.modssl.org
OpenSSL (SSL Toolbox)-http://www.openssl.org
PHP (scripting language)-http://www.php.net
MySQL (SQL database server)-http://www.mysql.com
Download all (tar file) source code to a temporary directory. Make sure you put them in a place with lots of space ... You should download them as root to avoid permissions issues.
Our plan.
Our plan is to first install the MySQL server and make sure it works, then we will install PHP and mod_ssl, and finally we will install the Apache Web server. After we have Apache installed, we can test whether PHP and MOD_SSL support is working.
MySQL source code installation (UNIX)
You have to perform the basic command of installing MySQL source code (since one did not unlock the "tar" file):
By using Su to become the root user.
$su
Go directly to the directory where you have the tar file. (Use a temporary directory.) Use/tmp/download/here)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.