update README.md

Former-commit-id: e28550bbbf254514b93e318a7aa8798274e5e55d
This commit is contained in:
xj.lin 2019-07-02 19:58:15 +08:00
parent 619a800766
commit 3d9a0df2bd

View File

@ -1,13 +1,12 @@
### Compilation
#### Step 1: install necessery tools
Install MySQL
centos7 :
yum install gfortran qt4 flex bison mysql-devel
yum install gfortran qt4 flex bison mysql-devel mysql
ubuntu16.04 :
sudo apt-get install gfortran qt4-qmake flex bison libmysqlclient-dev
sudo apt-get install gfortran qt4-qmake flex bison libmysqlclient-dev mysql-client
If `libmysqlclient_r.so` does not exist after installing MySQL Development Files, you need to create a symbolic link:
@ -56,10 +55,10 @@ If you encounter the following error when building:
### Launch server
Set config in cpp/conf/server_config.yaml
Add milvus/bin/lib to LD_LIBRARY_PATH
Add milvus/lib to LD_LIBRARY_PATH
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/milvus/bin/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/milvus/lib
```
Then launch server with config: