From patchwork Mon Apr 5 22:50:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aidan Shribman X-Patchwork-Id: 1462550 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=agYdTCOI; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FDm9N5t35z9sV5 for ; Tue, 6 Apr 2021 08:51:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C980460B4C; Mon, 5 Apr 2021 22:51:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cvcB8ecXsReq; Mon, 5 Apr 2021 22:51:18 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTP id 2113D60B49; Mon, 5 Apr 2021 22:51:17 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E531DC000C; Mon, 5 Apr 2021 22:51:16 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id EF17DC000A for ; Mon, 5 Apr 2021 22:51:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C8A8040275 for ; Mon, 5 Apr 2021 22:51:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9rwg6jhAkPlE for ; Mon, 5 Apr 2021 22:51:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by smtp2.osuosl.org (Postfix) with ESMTPS id BDFA6400B8 for ; Mon, 5 Apr 2021 22:51:14 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id x21so14214595eds.4 for ; Mon, 05 Apr 2021 15:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8qe3I0WtU+QygQran7jOwatziImO6knSlsKqeARLs3c=; b=agYdTCOIIB0tCRMFyW1uaFO7coS9+m0qpR/p5JiG8aY9jD51bbYUUT3Q0833us6DYO c+q8y6EQ3i0W8Yb+C/O8yq0b83Z2WPgnQBDhVw+mg7JK8HuezGTIdmucLAXpZqEiCaGn lwKyvur/AwsqIqJI7CJcYnKxNSW+LrRTB2TRWW1uYgG/+12ATsP8G4LdcFQkcIVdGoT8 qP/Stda5rFA+WlQe8uzS4IXLxEq0om4xdTRN3F0p7FmuAmsuVJodKF8yY3038O+T3NS0 9GfZzj8r/U7qkkK2/lrZMTuNNoTe8EIUSXChcOb7WZnuchV+nQ+EpHU27QrX9qaE9qwN Kwbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8qe3I0WtU+QygQran7jOwatziImO6knSlsKqeARLs3c=; b=j+EUF8d8IuO0kpZiHOxeUfeC3IfA2QRoaMK+tnDAm4BFimK4MdQlV95Wlu9jYISRKo B+qcTpi6QVsnGAZVidZXYfisbTcp4LOgbv126QB1iS/ZPoI16g333E+1fvkcMaORKGXK QDxRYp6uwiVr5PeLPmoiltTszXI2r6ghzT0rVTI5BNZ/PlrV6eF/oENpFeRvd+CQf7I9 41vfgdr9IUfkf7zEzk3K+3fNIFNZLjh9JORfnUz2GSZZbFfuZRGGFqPDKhkixTBmN3Yv Bo7ZFfU9fnzFm19ulTbnbk311IaYd4uPmvEdRh5VAPFAkhZI8DCKEGO9NOovk4ZrzaG+ b/Kg== X-Gm-Message-State: AOAM531wMwyIwpi3TvkLrsa+Jg63cVDhrUJKO+x1+fw0HgwQ+WofvXTV Mo4lfj8pWLI8PMfrlXqr+A32XbPdy4zYtTyY X-Google-Smtp-Source: ABdhPJyYHHcPSTE85M0yDxpdZ7G+LZgvnmcqNOTdkcTUuw/cgBisXbUp7XlMjZalhzxd1eZF1tiLYA== X-Received: by 2002:a05:6402:34f:: with SMTP id r15mr12288367edw.195.1617663072460; Mon, 05 Apr 2021 15:51:12 -0700 (PDT) Received: from vagrant.haifa.ibm.com (bl9-205-140.dsl.telepac.pt. [85.242.205.140]) by smtp.gmail.com with ESMTPSA id m14sm12243909edr.13.2021.04.05.15.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 15:51:11 -0700 (PDT) From: hunchback To: ovs Date: Mon, 5 Apr 2021 22:50:07 +0000 Message-Id: <20210405225006.2752169-1-aidan.shribman@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: hunchback Subject: [ovs-dev] [PATCH ovn] documentation: add sudo to install X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" add documentation of install sequence sudo to support running install sequence as non-root user Signed-off-by: hunchback --- Documentation/intro/install/general.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst index 08a03a632..23a7f5149 100644 --- a/Documentation/intro/install/general.rst +++ b/Documentation/intro/install/general.rst @@ -371,7 +371,7 @@ Building 3. Run ``make install`` to install the executables and manpages into the running system, by default under ``/usr/local``:: - $ make install + $ sudo make install .. _general-starting: @@ -422,7 +422,7 @@ Before starting ovn-northd you need to start OVN Northbound and Southbound ovsdb-servers. Before ovsdb-servers can be started, configure the Northbound and Southbound databases:: - $ mkdir -p /usr/local/etc/ovn + $ sudo mkdir -m 777 -p /usr/local/etc/ovn $ ovsdb-tool create /usr/local/etc/ovn/ovnnb_db.db \ ovn-nb.ovsschema $ ovsdb-tool create /usr/local/etc/ovn/ovnsb_db.db \ @@ -431,7 +431,7 @@ configure the Northbound and Southbound databases:: Configure ovsdb-servers to use databases created above, to listen on a Unix domain socket and to use the SSL configuration in the database:: - $ mkdir -p /usr/local/var/run/ovn + $ sudo mkdir -m 777 -p /usr/local/var/run/ovn $ ovsdb-server /usr/local/etc/ovn/ovnnb_db.db --remote=punix:/usr/local/var/run/ovn/ovnnb_db.sock \ --remote=db:OVN_Northbound,NB_Global,connections \ --private-key=db:OVN_Northbound,SSL,private_key \