diff --git a/doc/GettingStarted.md b/doc/GettingStarted.md index eaea2404e5c..a66cc51062b 100644 --- a/doc/GettingStarted.md +++ b/doc/GettingStarted.md @@ -103,7 +103,16 @@ In addition, Vitess requires the software and libraries listed below. various permission failures when Vitess initializes MySQL instances through the `mysqlctl` tool. This is only an issue for a test environment. If AppArmor is necessary in production, you can configure the MySQL instances appropriately - without going through mysqlctl. (TODO(sougou): provide exact instructions). + without going through mysqlctl. + + ``` sh + $ sudo service apparmor stop + $ sudo service apparmor teardown + $ sudo update-rc.d -f apparmor remove + ``` + + Reboot, just to be sure that `AppArmor` is fully disabled. + 4. Select a lock service from the options listed below. It is technically possible to use another lock server, but plugins currently exist only diff --git a/docs/getting-started/local-instance/index.html b/docs/getting-started/local-instance/index.html index 8550a0c002b..81bdfeeb7a9 100644 --- a/docs/getting-started/local-instance/index.html +++ b/docs/getting-started/local-instance/index.html @@ -426,7 +426,14 @@
mysqlctl tool. This is only an issue for a test environment. If AppArmor
is necessary in production, you can configure the MySQL instances appropriately
-without going through mysqlctl. (TODO(sougou): provide exact instructions).
+without going through mysqlctl.
+
+$ sudo service apparmor stop
+$ sudo service apparmor teardown
+$ sudo update-rc.d -f apparmor remove
+AppArmor is fully disabled.
+
Select a lock service from the options listed below. It is technically possible to use another lock server, but plugins currently exist only for ZooKeeper, etcd and consul.