Update Instruction

This commit is contained in:
Lionel
2021-01-19 09:06:14 +01:00
parent f5ea3a2326
commit ce6ed4b184
3 changed files with 26 additions and 30 deletions

View File

@ -1,9 +1,34 @@
## For Install it ##
Download and extract the zip file for download fontawesome on server ROOT
Install Dependency :
```
sudo apt install apache2 php php-mbstring
```
Install Fontawesome :
Download and extract the zip file on server ROOT
```
wget https://use.fontawesome.com/releases/v5.15.1/fontawesome-free-5.15.1-web.zip
unzip fontawesome-free-5.15.1-web.zip
rm fontawesome-free-5.15.1-web.zip
mv fontawesome-free-5.15.1-web fontawesome
```
Change Apache2 Configuration for security :
```
#Add these lines to /etc/apache2/apache2.conf
<Directory /var/www/html/uploads/>
Options -Indexes -FollowSymLinks
php_flag engine off
</Directory>
```
Change php max upload size :
```
#Edit these lines in /etc/php/<php_version>/apache2/php.ini
post_max_size = 5G
upload_max_filesize = 5G
```