标签:ncurses 准备工作 remove code 检查 etc cap apach size
建立一个软件包目录存放 mkdir -p /usr/local/src/ 清理已经安装包 rpm -e httpd rpm -e mysql rpm -e php yum -y remove httpd yum -y remove mysql yum -y remove php #搜索apache包 rpm -qa http* #强制卸载apache包 rpm -e --nodeps 查询出来的文件名 #检查是否卸载干净 rpm -qa|grep http* selinux可能会致使编译安装失败,我们先禁用它。永久禁用,需要重启生效 sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g‘ /etc/selinux/config
临时禁用,不需要重启 setenforce 0
yum -y install make gcc gcc-c++ gcc-g77 flex bison file libtool libtool-libs autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel gettext gettext-devel ncurses-devel gmp-devel pspell-devel unzip libcap lsof
aaa
标签:ncurses 准备工作 remove code 检查 etc cap apach size
原文地址:http://www.cnblogs.com/Easonlou/p/7797910.html