mirror of
https://github.com/filegator/filegator.git
synced 2025-08-15 20:54:04 +02:00
Website generation with Couscous
This commit is contained in:
@@ -146,6 +146,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<p>NOTE: For security reasons <code>/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people can’t access any of your important files through the browser.</p>
|
<p>NOTE: For security reasons <code>/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people can’t access any of your important files through the browser.</p>
|
||||||
<h2 id="install-on-fresh-ubuntu-1804-or-debian-103">Install on fresh Ubuntu 18.04 or Debian 10.3</h2>
|
<h2 id="install-on-fresh-ubuntu-1804-or-debian-103">Install on fresh Ubuntu 18.04 or Debian 10.3</h2>
|
||||||
|
<p>On a new server, login as root and copy/paste this into the shell:</p>
|
||||||
<pre><code>apt update
|
<pre><code>apt update
|
||||||
apt install -y wget unzip apache2 php libapache2-mod-php php-zip
|
apt install -y wget unzip apache2 php libapache2-mod-php php-zip
|
||||||
|
|
||||||
@@ -159,14 +160,14 @@ chmod -R 775 filegator/
|
|||||||
echo "
|
echo "
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
DocumentRoot /var/www/filegator/dist
|
DocumentRoot /var/www/filegator/dist
|
||||||
ServerName filegator.example.com
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
" >> /etc/apache2/sites-available/filegator.conf
|
" >> /etc/apache2/sites-available/filegator.conf
|
||||||
|
|
||||||
a2dissite 000-default.conf
|
a2dissite 000-default.conf
|
||||||
a2ensite filegator.conf
|
a2ensite filegator.conf
|
||||||
systemctl restart apache2</code></pre>
|
systemctl restart apache2
|
||||||
<p>Open your browser and go to <a href="http://your.server.ip.address/filegator">http://your.server.ip.address/filegator</a></p>
|
</code></pre>
|
||||||
|
<p>Open your browser and go to <a href="http://your_server_ip_address">http://your_server_ip_address</a></p>
|
||||||
<h2 id="show-your-support">Show your support</h2>
|
<h2 id="show-your-support">Show your support</h2>
|
||||||
<p>Please star this repository on <a href="https://github.com/filegator/filegator/stargazers">GitHub</a> if this project helped you!</p>
|
<p>Please star this repository on <a href="https://github.com/filegator/filegator/stargazers">GitHub</a> if this project helped you!</p>
|
||||||
<h2 id="upgrade">Upgrade</h2>
|
<h2 id="upgrade">Upgrade</h2>
|
||||||
|
Reference in New Issue
Block a user