WXZH001, come and see About APACHE+PHP+MYSQL+SSL Linux under Installation configuration (go from house Orso near) _php tutorial

Source: Internet
Author: User
Tags website server
The author of this article: the original house Orso near network user Herodong oicq:6678705
/* Lone wolf: The original is too big, more than 36K. I choose the important part to affix, 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 of the 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 Toolbox (mod_ssl required)
rsaref-only for US 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 one. The reason for choosing Mod_ssl/openssl is because I have its previous experience, which is the fastest configuration and easiest to install. I chose PHP and MySQL in order to easily integrate with Apache for each other. Remember, Perl can do whatever you want, but PHP is easy and easy for any programmer who wants to learn it.
Hopefully you will be able to accomplish the following goals successfully after this simple guide is completed.
Installing and setting up a MySQL database server
Install and set up an Apache Web server with SSL
PHP 4.0 hypertext preprocessor for installing and configuring server-side scripting
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 files) 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 install the MySQL server first and make sure it works, then we will install PHP and mod_ssl, and finally we will install the Apache website server. After we have Apache installed, we can test whether PHP and MOD_SSL support are working.
MySQL source code installation (UNIX)
The basic command you must use to perform the installation of MySQL source code distribution is (since a "tar" file was not unpacked):
By using SU as the root user.
$su
Go directly to the directory where you have the tar file. (Use a temporary directory.) Use/tmp/download/here)

http://www.bkjia.com/PHPjc/629528.html www.bkjia.com true http://www.bkjia.com/PHPjc/629528.html techarticle The author of the article: the original house Orso near network user herodongoicq:6678705/* Lone wolf: The original is too big, more than 36K. I choose the important part to affix, if need the original text can mailto:wolflx@263.net me ...

  • 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.