centos6.5 安装freeradius.docx
文本预览下载声明
Centos 6.5上编译安装freeradius3.0.10平台:Centos 6.5 x86_64?1,安装源并更新Rpm -Uvh /pub/epel/6/x86_64/epel-RELEASE-6-8.noarch.rpmrpm -Uvh /enterprise/remi-RELEASE-6.rpmyum UPDATE -y?2,安装相关库yum -y install wget expat-devel gcc make gmp-devel gmp pkgconfig perl libpcap gcc-c++ logrotate tar cpio gawk flex bison bison-devel lsof libpcap-devel patch openssl openssl-devel libgcrypt* crypt* autoconf automake libtasn1-devel zlib zlib-devel trousers trousers-devel texinfo libnl-devel?libnl dbus dbus-devel ncurses-devel readline-devel libtool-ltdl libtalloc* hiredis* redhat-lsb python mysql-devel?3,安装Mysql和Apacheyum --enablerepo=remi -y install mysql mysql-server mysql-devel httpd httpd-devel?chkconfig httpd onchkconfig mysqld onservice mysqld startmysql_secure_installationmysql -u root -p 输入密码创建你需要的数据库?4,安装phpyum --enablerepo=remi install -y php php-mysql php-common php-devel php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring?php-mcrypt php-bcmath php-mhash php-snmp php-process libmcrypt libmcrypt-devel?wget /cont/download/ioncube_loaders_lin_x86-64.tar.gztar zxvf ioncube_loaders_lin_x86-64.tar.gzcp -rf ?ioncube /usr/local/?sed -i s/post_max_size = 8M/post_max_size = 50M/g /etc/php.inised -i s/upload_max_filesize = 2M/upload_max_filesize = 50M/g /etc/php.inised -i s/;date.timezone =/date.timezone = PRC/g /etc/php.inised -i s/; cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g /etc/php.inised -i s/max_execution_time = 30/max_execution_time = 300/g /etc/php.inised -i s/disable_functions =.*/disable_functions =?passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server/g /etc/php.iniecho zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.4.so /etc/php.ini?wget /pub/Releases/3.2.0/xcache-3.2.0.tar.gz?tar -zxvf xcache-3.2.0.tar.gz ?cd xcache-3.2.0phpize --cleanphpize./configure --enable-xcachemake make installcat xcache.ini /etc/php.ini?service httpd r
显示全部