Apply suggestions from code review

This commit is contained in:
tison 2023-07-07 22:39:36 +08:00 committed by GitHub
parent 8d99645533
commit 0bc983a7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 12 deletions

View File

@ -34,7 +34,7 @@ Now that you built the `observer` binary, you can deploy a OceanBase instance wi
```shell
./tools/deploy/obd.sh prepare -p /tmp/obtest
./tools/deploy/obd.sh deploy -c single.yaml
./tools/deploy/obd.sh deploy -c ./tools/deploy/single.yaml
```
This starts the OceanBase server listening on port 10000.
@ -50,7 +50,7 @@ mysql -uroot -h127.0.0.1 -P10000
Alternatively, you can use the `obclient` to connect to OceanBase:
```shell
./deps/3rd/u01/obclient/bin/obclient -h127.0.0.1 -P10000 -uroot -Doceanbase
./deps/3rd/u01/obclient/bin/obclient -h127.0.0.1 -P10000 -uroot -Doceanbase -A
```
## Shutdown
@ -60,12 +60,3 @@ You can run the following command to shut down the server and clean up the deplo
```shell
./tools/deploy/obd.sh destroy --rm -n single
```
## Bonus: RPM packages
You can build OceanBase RPM packages on Fedora based OS:
```shell
sudo yum install rpm-build
bash build.sh rpm --init && cd build_rpm && make -j16 rpm
```

View File

@ -39,7 +39,7 @@ The installation instructions vary among the operator systems and package manage
This includes CentOS, Fedora, OpenAnolis, RedHat, UOS, etc.
```shell
yum install git wget rpm* cpio make glibc-devel glibc-headers binutils m4
yum install git wget rpm* cpio make glibc-devel glibc-headers binutils m4 libtool libaio
```
### Debian based