CentOS下mysql+pureftpd的编译安装

操作系统:CentOS

软件:mysql-5.0.22.tar.gz pure-ftpd-1.0.22.tar.gz

一、编译安装mysql

1、下载并解压mysql和pure-ftpd软件包

[root@localhost chenye]# ls
mysql-5.0.22 mysql-5.0.22.tar.gz pure-ftpd-1.0.22 pure-ftpd-1.0.22.tar.gz

2、编译并安装mysql

[root@localhost chenye]# cd mysql-5.0.22

[root@localhost mysql-5.0.22]# ./configure --prefix=/usr/local/mysql --with-mysql-user=mysql --with-extra-charsets=all --with-unix-socket-path=/usr/local/mysql/var/mysql.sock ;make ;make install

--with-mysql-user指定mysql运行的用户
--with-extra-charsets支持扩展字符集
--with-unix-socket-path指定mysql运行后,套接字文件存放位置

Continue Reading

Other

Copyright © 2007-2010 PageDNS, Some Rights Reserved. Theme by M4 | Powered by Typecho))) | Hosted by 37hi.com.