Linux system is an open source operating system, and there are many popular versions at present.The Linux version used in this article is the RedHat series.There are two modes to install software on RedHat Linux system, one is installation package installation, the other is source code installation. This article introducesWebsite constructionSource code installation.Before starting the installation, first log in to the terminal, and then use the root user to log in. The command is as follows.
The first line is the dollar sign. After entering the "su" command, you are required to enter the password of the root user, and then the command prompt changes to "#", indicating that you have logged in as the root management account.
To facilitate installation, create a new directory to store the installation software. The command is as follows.
Enter the new directory.
Download the required software.
Install the zlib library.
Install the png graphics library.
Install the freetype library.
Install the jpeg graphics library.
Install the XSLT library.
Install the XML library.
Install GD library.
Install MySQL database.
Install the Apache Web server.
Install the PHP interpreter.
The installation of Apache Web server, MySQL database and PHP environment under Linux is completed.