diff --git a/tensorflow_serving/g3doc/setup.md b/tensorflow_serving/g3doc/setup.md index b59a61b5eec..cffd48103ed 100644 --- a/tensorflow_serving/g3doc/setup.md +++ b/tensorflow_serving/g3doc/setup.md @@ -17,17 +17,17 @@ following steps: Let's say you downloaded bazel-0.4.5-installer-linux-x86_64.sh. You would execute: - ```shell +
cd ~/Downloads
chmod +x bazel-0.4.5-installer-linux-x86_64.sh
./bazel-0.4.5-installer-linux-x86_64.sh --user
- ```
+
2. Set up your environment. Put this in your ~/.bashrc.
- ```shell
+
export PATH="$PATH:$HOME/bin"
- ```
+
### gRPC
@@ -91,17 +91,17 @@ sudo apt-get remove tensorflow-model-server
1. Add TensorFlow Serving distribution URI as a package source (one time setup)
- ```shell
+
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | sudo tee /etc/apt/sources.list.d/tensorflow-serving.list
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | sudo apt-key add -
- ```
+
2. Install and update TensorFlow ModelServer
- ```shell
+
sudo apt-get update && sudo apt-get install tensorflow-model-server
- ```
+
Once installed, the binary can be invoked using the command `tensorflow_model_server`.