fix and modify some documents

This commit is contained in:
scorpionis 2016-03-23 08:14:21 +08:00
parent 405d12cce1
commit 24a97173cd
2 changed files with 7 additions and 9 deletions

View File

@ -72,9 +72,6 @@ src/
...
web/
web.py
dep/
etcd-multi-nodes.sh
etcd-one-node.sh
doc/
tools/
update-basefs.sh
@ -131,9 +128,10 @@ file system.
### etcd ###
For single host environment, start **dep/etcd-one-node.sh** . Some recent
For single host environment, start **tools/etcd-one-node.sh** . Some recent
Ubuntu releases have included **etcd** in the repository, just `apt-get
install etcd`, and it need not to start etcd manually.
install etcd`, and it need not to start etcd manually. For others, you
should install etcd manually.
For multi hosts distributed environment, start
**dep/etcd-multi-nodes.sh** in each etcd server hosts. This scripts

View File

@ -37,12 +37,12 @@ apt-get install -y etcd
# check and install configurable-http-proxy
which configurable-http-proxy &>/dev/null || npm install -g configurable-http-proxy
which configurable-http-proxy &>/dev/null || { echo "Error : install configurable-http-proxy failed, you should try again" && exit 1; }
which configurable-http-proxy &>/dev/null || { echo "Error: install configurable-http-proxy failed, you should try again" && exit 1; }
[[ -f conf/docklet.conf ]] || { echo "Generating docklet.conf from template" && cp conf/docklet.conf.template conf/docklet.conf; }
echo ""
echo "All preparation installation is done."
echo "All preparation installations are done."
echo "****************************************"
echo "* Please Read Lines Below Before Start *"
echo "****************************************"
@ -51,8 +51,8 @@ echo ""
echo "Before staring : you need a basefs image. "
echo "basefs images are provided at: "
echo " http://docklet.unias.org/download"
echo "Please download it to FS_PREFIX/local and then extract it. (defalut FS_PRERIX is /opt/docklet)"
echo "Probably you will get a dicectory structure like"
echo "please download it to FS_PREFIX/local and then extract it. (defalut FS_PRERIX is /opt/docklet)"
echo "you will get a dicectory structure like"
echo " /opt/docklet/local/basefs/etc "
echo " /opt/docklet/local/basefs/bin "
echo " /opt/docklet/local/basefs/..."