From ce6a0ab36e6b3c6f8cf83c4dc895c3aa605c1721 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 23 Dec 2023 02:06:46 -0500 Subject: [PATCH] composer fix --- protected/README.MD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/protected/README.MD b/protected/README.MD index 5bebeb2..006cadb 100644 --- a/protected/README.MD +++ b/protected/README.MD @@ -6,10 +6,10 @@ 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: I use the greater-than sign > for the MySQL prompt commands. ``` -## Pull repo +## Pull Git repo ``` # AS a normal user NOT Root, we will sudo or doas for that from time to time: $ mkdir -p /var/www @@ -20,7 +20,7 @@ $ git clone https://git.mysnippetsofcode.com/bobs/cms $ cd cms ``` -## SETUP from MySQL Root run: +## SETUP MySQL as Root, run: ``` # Install the server: $ sudo apt-get install mysql-server @@ -74,6 +74,7 @@ Admin password is: SunSet@XQWET ## Install Composer ``` $ curl -sS https://getcomposer.org/installer | php +$ sudo mv composer.phar /usr/local/bin/composer ``` ## Install Composer deps @@ -86,7 +87,7 @@ $ composer install ## Install web server apache2 or nginx -Pick one +Pick just one ``` # for Apache2 @@ -117,7 +118,7 @@ $ sudo apt-get install certbot $ sudo certbot --apache $ sudo systemctl restart apache2 ------------------------------------------------------------ +---------------------------OR-------------------------------- # for nginx $ sudo apt-get install nginx