提交 33471f56 编写于 作者: F frf12 提交者: 玉楼

fix build.sh and update README

上级 285390b6
# remove spec
rm -f ob-deploy.spec
# push to oceanbase-ce-publish/obdeploy
rm -rf .git && git init
git remote add origin git@gitlab.alibaba-inc.com:oceanbase-ce-publish/obdeploy
git add -f . && git commit -m "init push"
git push -f origin master
\ No newline at end of file
......@@ -44,6 +44,7 @@
使用源码安装 OBD 之前,请确认您已安装以下依赖:
- gcc
- wget
- python-devel
- openssl-devel
- xz-devel
......
......@@ -44,6 +44,7 @@
使用源码安装 OBD 之前,请确认您已安装以下依赖:
- gcc
- wget
- python-devel
- openssl-devel
- xz-devel
......
......@@ -19,12 +19,12 @@ if [ "x$REPLY" != "x" ]; then
fi
rm -fr /usr/obd && mkdir -p /usr/obd
rm -fr $obd_dir/mirror/remote -p $obd_dir/mirror/remote && cd $obd_dir/mirror/remote
wget http://yum.tbsite.net/mirrors/oceanbase/OceanBase.repo
cp -r -d $obd_dir/* /usr/obd
cd /usr/obd/plugins && ln -sf oceanbase oceanbase-ce
cp -f /usr/obd/profile/obd.sh /etc/profile.d/obd.sh
rm -fr /usr/obd/mirror/remote && mkdir -p /usr/obd/mirror/remote
cd /usr/obd/mirror/remote && wget http://yum.tbsite.net/mirrors/oceanbase/OceanBase.repo
rm -fr /usr/bin/obd
echo -e "# /bin/bash\n$python_bin /usr/obd/_cmd.py \$*" > /usr/bin/obd
chmod +x /usr/bin/obd
echo -e 'Installation of obd finished successfully\nPlease source /etc/profile.d/obd.sh to enable it'
\ No newline at end of file
echo -e 'Installation of obd finished successfully\nPlease source /etc/profile.d/obd.sh to enable it'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册