admin 管理员组

文章数量: 887021


2024年3月29日发(作者:软考access怎么操作)

Centos 6.5上编译安装freeradius3.0.10

平台:Centos 6.5 x86_64

1,安装源并更新

Rpm -Uvh

/pub/epel/6/x86_64/

rpm -Uvh /enterprise/

yum 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和Apache

yum --enablerepo=remi -y install mysql mysql-server mysql-devel httpd

httpd-devel

chkconfig httpd on

chkconfig mysqld on

service mysqld start

mysql_secure_installation

mysql -u root -p 输入密码

创建你需要的数据库

4,安装php

yum --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_

tar zxvf ioncube_loaders_lin_

cp -rf ioncube /usr/local/


本文标签: 安装 需要 输入 数据库 密码