[doc] use sudo for all apt commands
This commit is contained in:
parent
c2e599998b
commit
96f8e2244b
|
@ -105,8 +105,8 @@ Ensure you have a recent version of nginx on your server. On Debian-like system,
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install nginx
|
sudo apt-get install nginx
|
||||||
|
|
||||||
Then, download our sample virtualhost file and proxy conf:
|
Then, download our sample virtualhost file and proxy conf:
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ Apache2
|
||||||
Ensure you have a recent version of apache2 installed on your server.
|
Ensure you have a recent version of apache2 installed on your server.
|
||||||
You'll also need the following dependencies::
|
You'll also need the following dependencies::
|
||||||
|
|
||||||
apt install libapache2-mod-xsendfile
|
sudo apt-get install libapache2-mod-xsendfile
|
||||||
|
|
||||||
Then, download our sample virtualhost file:
|
Then, download our sample virtualhost file:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue