This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装方式分为rpm和源码编译安装两种,本文是采用mysql源码编译方式,编译器使用Cmake。软件需要mysql-5.5.29.tar.gz和cmake-2.8.10.2.tar.gz,请自行下载。 | |
下载地址: | |
http://mysql.mirror.kangaroot.net/Downloads/ | |
http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz | |
其中mysql使用最新的稳定版本,即最新试用版的上一个版本,且非rc或者alpha的版本,Cmake直接用的最新版。 | |
1.上传mysql-5.5.29.tar.gz和cmake-2.8.10.2.tar.gz到/usr/local文件夹下。 | |
2.CentOS安装g++和ncurses-devel | |
[root@localhost local]# yum install gcc-c++ | |
[root@localhost local]# yum install ncurses-devel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
基本上参考官方文档就可以十分简单的安装上去, 其中几个注意点自己做下记录 | |
安装要求 | |
Ubuntu/Debian** | |
MySQL or PostgreSQL | |
git | |
gitlab-shell | |
redis | |
Note: 推荐使用内部域名, 这样就可以直接用域名访问, 实现方法可以修改所有使用机的hosts 或 者自建DNS服务器(推荐) |