<pre name="code" class="sql">1.安装vsftp
v-lhb-db03:/root# yum install vsftpd-2.2.2-13.el6_6.1.x86_64
Loaded plugins: fastestmirror, security
Determining fastest mirrors
2.注:请自行配置好yum源,不过centos默认的在线yum源也挺好用
# yum -y install gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses* libmcrypt* libtool-ltdl-devel* make cmake --必要软件包安装
rpm -qa gcc \
gcc-c++ \
gcc-g77 \
autoconf \
automake \
zlib* \
fiex* \
libxml* \
ncurses* \
libmcrypt* \
libtool-ltdl-devel* \
make \
cmake \
3.创建用户安装mysql
#groupadd mysql
# useradd -m -g mysql -s /sbin/nologin mysql
# tar -zxvf mysql-5.6.10.tar.gz
# cd mysql-5.6.10
# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -