瀏覽代碼

Add apt commands to install procedure in README.md

Yannick Warnier 5 年之前
父節點
當前提交
699ba2f44e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -17,6 +17,9 @@ We assume you have already installed "yarn" and "composer" and you're installing
 not in a sub folder inside a domain.
 not in a sub folder inside a domain.
 
 
 ~~~~
 ~~~~
+# on a fresh Ubuntu, you can prepare your server by issuing an apt command like the following
+apt update && apt -y upgrade && apt install apache2 libapache2-mod-php mariadb-client mariadb-server php-pear php-dev php-gd php-curl php-intl php-mysql php-mbstring php-zip php-xml php-cli php-apcu php-bcmath git unzip
+# otherwise, you can use the following directly:
 git clone https://github.com/chamilo/chamilo-lms.git chamilo2
 git clone https://github.com/chamilo/chamilo-lms.git chamilo2
 cd chamilo2
 cd chamilo2
 composer install (If composer asks to accept recipes, just press enter or "n")
 composer install (If composer asks to accept recipes, just press enter or "n")