From c2e241e74bbc74f7d7f82d0f65f2d72554d774d7 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 23 Dec 2023 09:46:46 -0500 Subject: [PATCH] git --- protected/README.MD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protected/README.MD b/protected/README.MD index 7ebdf7d..b92469b 100644 --- a/protected/README.MD +++ b/protected/README.MD @@ -7,6 +7,7 @@ Updates: Robert S. Note: I use the hash sign # to note a comment, do not run it in the terminal. Note: I use the dollar sign $ for the Linux prompt commands to run. Note: I use the greater-than sign > for the MySQL prompt commands. +Note: The apt-get package mgr is used by debian Linux like Ubuntu. ``` ## Pull Git repo @@ -15,6 +16,7 @@ Note: I use the greater-than sign > for the MySQL prompt commands. $ mkdir -p /var/www $ sudo groupadd www-data $ chgrp www-data /var/www +$ sudo apt-get update && sudo apt-get install git $ cd /var/www $ git clone https://git.mysnippetsofcode.com/bobs/cms $ cd cms @@ -80,6 +82,7 @@ $ sudo mv composer.phar /usr/local/bin/composer ## Install Composer deps ``` +# Must be a regular user belonging to www-data group. $ cd protected $ pwd # You should be in /var/www/cms/protected