Update Instruction
This commit is contained in:
27
README.md
27
README.md
@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user