1. Preparation
1. Install the compilation tools gcc, gcc-c, and make. Pay attention to solving dependencies. It is recommended to use yum for installation. If you cannot connect to the Internet, you can use the installation CD as the yum source—— 1) Edit the yum configuration file: Mount /dev/cdrom /media vi /etc/yum.repos.d/CentOS-Media.repo [c5-media] name=CentOS-$releasever - Media baseurl=file:///media * Change to CD mount point enabled=1 * Change to 1 To enable gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 2) Set the alias value: Vi /etc/bashrc alias yum="yum --disablerepo=\ * --enablerepo=c5-media"
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn