Setup Simple Certificate Plugin , Theme, and Access Moodle Using Pinggy

 Temporary Link: https://xhozd-112-201-201-221.run.pinggy-free.link

Run this  command to generate  a pinggy link  that is valid  for 60 minutes

ssh -p 443 -R0:localhost:8080 free.pinggy.io

Moodle Plugins for Simple Certificate and Almondb  Theme

https://drive.google.com/drive/folders/1g5xgkV3l55d-CbJmRGIIjj-0GPSr3Xzp

Code for Simple  Certificate Text:

<center>

    <p style="text-align:center;font-size:20px;font-family:Sans Serif ;"></p>

    <p style="text-align: center;font-size:30px;font-family:Sans Serif;font-weight:bold;">{FIRSTNAME} {LASTNAME}</p>

    <p style="text-align: center;font-size:20px;font-family:SansSerif;"></p>

</center>

Set Up Simple  Certificate using Moodle User  Interface 

For the  certificate size, download the  original certificate  below:














  Console or  Terminal Commands 


/Var/www/html/Moodle/config.php



HISTORY of Commands in  Userland to Set Up Environment for Moodle


userland@localhost:/var/www/html/moodle$ history

    1  history

    2  sudo apt update && sudo apt upgrade -y

    3  pkg install proot-distro

    4  proot-distro install debian

    5  proot-distro login debian

    6  sudo pkg install proot-distro

    7  sudo proot-distro install debian

    8  sudo proot-distro login debian

    9  sudo mysql -u root

   10  clear

   11  reset

   12  history

   13  sudo apt update

   14  sudo apt upgrade

   15  sudo apt install apache2 mysql-server php libapache2-mod-php php-mysql php-gd php-curl php-zip php-xml php-mbstring php-intl php-xmlrpc php-soap -y

   16  sudo mysql -u root

   17  sudo mysql_secure_installation

   18  sudo apt update

   19  sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql php-gd php-curl php-zip php-xml php-mbstring php-intl php-xmlrpc php-soap php-gd -y

   20  sudo mysql_secure_installation

   21  sudo systemctl stop mysql

   22  kill 1

   23  sudo kill 1

   24  sudo mysqld_safe --skip-grant-tables --skip-networking &

   25  sudo service apache2 start

   26  sudo service mariadb start

   27  history

   28  pwd

   29  sudo apt get update

   30  sudo apt update

   31  nano testfile.txt

   32  scp testfile.txt testfile2.txt

   33  sudo scp testfile.txt testfile2.txt

   34  sudo cp testfile.txt testfile2.txt

   35  ls

   36  mkdir folder

   37  ls

   38  cd foldeer

   39  cd folder

   40  mkdir anotherdirectory

   41  pwd

   42  cd anotherdirectory

   43  nano testfile1.txt

   44  cd ..

   45  ls

   46  nano textfile.txt

   47  cd..

   48  cd ..

   49  ls

   50  cd folder

   51  ls -l

   52  ls -l -a

   53  chmod 777 anotherdirectory

   54  ls

   55  ls -l -a

   56  chmod 755 anotherdirectory

   57  ls -a -l

   58  nano textfile.txt

   59  apache2 -v

   60  mariadb -v

   61  sudo mariadb -v

   62  ls

   63  cd anotherdirectory

   64  ls

   65  cd ..

   66  pwd

   67  ipconifg

   68  ipconfig

   69  ls -lh

   70  df -h

   71  grep -rnw '/folder' -e text

   72  grep -rnw '/folder/' -e 'text'

   73  grep -rnw '/folder/' -e 'txt'

   74  grep -r -rnw '/folder/' -e 'text'

   75  grep -r '/folder/' -e 'text'

   76  ls

   77  nano textfile.txt

   78  grep -r '/folder/' -e 'upperdirectory'

   79  grep -r 'upperdirectory'

   80  manual

   81  ipconfig

   82  show ipaddr

   83  ip a

   84  sudo ip a

   85  sudo ip addr show

   86  cd ..

   87  ip a

   88  sudo ip a

   89  ip -4 addr show

   90  cd..

   91  pws

   92  pwd

   93  ip addr show

   94  su ip addr show

   95  sudo ip addr sho

   96  sudo ip addr show

   97  ifconfig

   98  hostname -I

   99  sudo hostname -I

  100  exit

  101  sudo service apache2 start

  102  sudo service mariadb start

  103  service apache2 start

  104  service mariadb start

  105  cd ../../../var/www/html/moodle

  106  ls

  107  sudo config.php.original

  108  nano config.php.original

  109  sudo nano config.php

  110  nano config.php

  111  service apache2 restart

  112  service mariadb restart

  113  nano config.php

  114  history


    

Post a Comment

0 Comments