-
Notifications
You must be signed in to change notification settings - Fork 128
1.准备工作
mysoko edited this page Mar 29, 2015
·
2 revisions
目前仅有文档,后续支持视频教程
Bugatti出自Mac开发,部署在CentOS机器。所以WIKI文档将围绕着OSX和CentOS系统为基础展开,当然有小伙伴使用其他linux系统(比如Ubuntu)run也只要做少许改动即可。
下面给出资源下载地址,请根据系统实际情况使用yum、apt,brew等包管理工具快速下载安装。
➜ ~ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
- MySQL 5.1+
Resource: MySQL Download
➜ ~ mysql --version
mysql Ver 14.14 Distrib 5.5.28, for osx10.6 (i386) using readline 5.1
- Git
Resource: Downloads
➜ ~ git --version
git version 2.3.1
- Salt
Resource: Installation
- Jenkins
Resource: Download Jenkins - Nexus
Resource: Download and Install Nexus OSS
- Spirit https://github.com/ofpay/spirit
- salt-formulas https://github.com/ofpay/salt-formulas
- salt-pkgs https://github.com/ofpay/salt-pkgs
用户目录下创建 ~/.bugatti
登录mysql:
> mysql -u root -h 127.0.0.1 -p
Enter password:
创建数据库用户
create user bugatti identified by 'bugatti';
创建数据bugatti库
create database if not exists bugatti
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
设置权限
grant all privileges on bugatti.* to bugatti@"%" identified by 'bugatti';
grant all privileges on bugatti.* to bugatti@localhost identified by 'bugatti';