You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2018/04/23 15:55:45 UTC
qpid-dispatch git commit: DISPATCH-972 - Update sudo command prompts.
This closes #289.
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 0c46fcd47 -> e96358761
DISPATCH-972 - Update sudo command prompts. This closes #289.
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e9635876
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e9635876
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e9635876
Branch: refs/heads/master
Commit: e96358761b4c909e7c6d80a61c161d648c393eb0
Parents: 0c46fcd
Author: Ben Hardesty <bh...@redhat.com>
Authored: Thu Apr 19 15:55:39 2018 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Mon Apr 23 11:54:38 2018 -0400
----------------------------------------------------------------------
doc/new-book/cyrus-sasl.adoc | 4 +--
doc/new-book/reliability.adoc | 32 ++++++++++----------
.../understand-router-configuration.adoc | 2 +-
3 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e9635876/doc/new-book/cyrus-sasl.adoc
----------------------------------------------------------------------
diff --git a/doc/new-book/cyrus-sasl.adoc b/doc/new-book/cyrus-sasl.adoc
index cff8fff..3618ffc 100644
--- a/doc/new-book/cyrus-sasl.adoc
+++ b/doc/new-book/cyrus-sasl.adoc
@@ -31,7 +31,7 @@ To generate a SASL database to store credentials, enter the following command:
[options="nowrap",subs="+quotes"]
----
-# saslpasswd2 -c -f _SASL_DATABASE_NAME_.sasldb -u _DOMAIN_NAME_ _USER_NAME_
+$ sudo saslpasswd2 -c -f _SASL_DATABASE_NAME_.sasldb -u _DOMAIN_NAME_ _USER_NAME_
----
This command creates or updates the specified SASL database, and adds the specified user name to it. The command also prompts you for the user name's password.
@@ -46,7 +46,7 @@ To view the user names stored in the SASL database:
[options="nowrap",subs="+quotes"]
----
-# sasldblistusers2 -f qdrouterd.sasldb
+$ sudo sasldblistusers2 -f qdrouterd.sasldb
user2@domain.com: __PASSWORD__
user1@domain.com: __PASSWORD__
----
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e9635876/doc/new-book/reliability.adoc
----------------------------------------------------------------------
diff --git a/doc/new-book/reliability.adoc b/doc/new-book/reliability.adoc
index 31cc5af..2826c55 100644
--- a/doc/new-book/reliability.adoc
+++ b/doc/new-book/reliability.adoc
@@ -141,14 +141,14 @@ Starting the receiver, it waits for messages with no output on the console.
[options="nowrap"]
----
-# python simple_recv.py -a localhost:6001/my_queue -m 10
+$ sudo python simple_recv.py -a localhost:6001/my_queue -m 10
----
Starting the sender, all the messages flow through "Router.A" and "Router.B" reaching the receiver; at this point the messages are all confirmed at sender side.
[options="nowrap"]
----
-# python simple_send.py -a localhost:6001/my_queue -m 10
+$ sudo python simple_send.py -a localhost:6001/my_queue -m 10
all messages confirmed
----
@@ -179,7 +179,7 @@ The receiver is still reachable in order to get messages from the sender as disp
[options="nowrap"]
----
-# python simple_recv.py -a localhost:6002/my_queue -m 10
+$ sudo python simple_recv.py -a localhost:6002/my_queue -m 10
{u'sequence': 1L}
{u'sequence': 2L}
{u'sequence': 3L}
@@ -325,7 +325,7 @@ First of all, thanks to the broker and its "store and forward" feature, the send
[options="nowrap"]
----
-# python simple_send.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_send.py -a localhost:6000/my_queue -m 10
all messages confirmed
----
@@ -333,7 +333,7 @@ All messages are confirmed because they reached the queue inside the broker thro
[options="nowrap"]
----
-# qdstat -b localhost:6001 -a
+$ sudo qdstat -b localhost:6001 -a
Router Addresses
class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc
=================================================================================================================
@@ -359,7 +359,7 @@ Starting the receiver connected to the "Router.A", it gets all the available mes
[options="nowrap"]
----
-# python simple_recv.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_recv.py -a localhost:6000/my_queue -m 10
{u'sequence': 1L}
{u'sequence': 2L}
{u'sequence': 3L}
@@ -376,7 +376,7 @@ Using the `qdstat` tool on the "Router.B" another time, the output is like follo
[options="nowrap"]
----
-# qdstat -b localhost:6001 -a
+$ sudo qdstat -b localhost:6001 -a
Router Addresses
class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc
=================================================================================================================
@@ -407,7 +407,7 @@ Using the `qdmanage` tool, it is possible to configure the waypoint on `my_queue
[options="nowrap"]
----
-[root@localhost /]# qdmanage -b localhost:6002 create --stdin
+$ sudo qdmanage -b localhost:6002 create --stdin
[
{ "type":"connector", "name":"BROKER", "port":5672, "role":"route-container" },
{ "type":"address", "prefix":"my_queue", "waypoint":"yes" },
@@ -478,7 +478,7 @@ At this point, the sender can connect to the "Router.A" for sending messages to
[options="nowrap"]
----
-# python simple_send.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_send.py -a localhost:6000/my_queue -m 10
all messages confirmed
----
@@ -486,7 +486,7 @@ All messages are confirmed because they reached the queue inside the broker thro
[options="nowrap"]
----
-# qdstat -b localhost:6002 -a
+$ sudo qdstat -b localhost:6002 -a
Router Addresses
class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc
=================================================================================================================
@@ -512,7 +512,7 @@ Starting the receiver connected to the "Router.A", it gets all the available mes
[options="nowrap"]
----
-# python simple_recv.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_recv.py -a localhost:6000/my_queue -m 10
{u'sequence': 1L}
{u'sequence': 2L}
{u'sequence': 3L}
@@ -529,7 +529,7 @@ Using the `qdstat` tool on the "Router.C" another time, the output is like follo
[options="nowrap"]
----
-# qdstat -b localhost:6002 -a
+$ sudo qdstat -b localhost:6002 -a
Router Addresses
class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc
=================================================================================================================
@@ -641,7 +641,7 @@ Using the Python sample from the Qpid Proton library, the sender can connect to
[options="nowrap"]
----
-# python simple_send.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_send.py -a localhost:6000/my_queue -m 10
all messages confirmed
----
@@ -649,7 +649,7 @@ All messages are confirmed because they reached the queue and, thanks to the def
[options="nowrap"]
----
-# qdstat -b localhost:6000 -l
+$ sudo qdstat -b localhost:6000 -l
Router Links
type dir conn id id peer class addr phs cap undel unsettled deliveries admin oper
=======================================================================================================================
@@ -667,7 +667,7 @@ Starting the receiver connected to the "Router.A", it gets all the available mes
[options="nowrap"]
----
-# python simple_recv.py -a localhost:6000/my_queue -m 10
+$ sudo python simple_recv.py -a localhost:6000/my_queue -m 10
{u'sequence': 1L}
{u'sequence': 2L}
{u'sequence': 3L}
@@ -684,7 +684,7 @@ As for the sender, they are received through both the brokers and related shards
[options="nowrap"]
----
-# qdstat -b localhost:6000 -l
+$ sudo qdstat -b localhost:6000 -l
Router Links
type dir conn id id peer class addr phs cap undel unsettled deliveries admin oper
=======================================================================================================================
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e9635876/doc/new-book/understand-router-configuration.adoc
----------------------------------------------------------------------
diff --git a/doc/new-book/understand-router-configuration.adoc b/doc/new-book/understand-router-configuration.adoc
index a8bbc94..a576f65 100644
--- a/doc/new-book/understand-router-configuration.adoc
+++ b/doc/new-book/understand-router-configuration.adoc
@@ -78,7 +78,7 @@ If you created a new configuration file, you must specify the path using the `--
+
[options="nowrap"]
----
-# qdrouterd -d --conf /etc/qpid-dispatch/new-configuration-file.conf
+$ sudo qdrouterd -d --conf /etc/qpid-dispatch/new-configuration-file.conf
----
[id='changing-configuration-for-running-router']
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org