File Sharing System

From Alpine Linux
Revision as of 09:52, 17 November 2023 by Sertonix (talk | contribs) (replace /etc/init.d with rc-service)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What is PHP FSS?

PHP File system administrator now called "PHP File Sharing System" is a Web Application made for easy server file administration, that provides end-user and easy interfase for browsing and uploading files.

Set up FSS on Alpine Linux

This document will be a quick c/p guide to setup this file sharing system on Alpine linux. What we will setup is the following:

  • Lighttpd with PHP
  • FSS

Install lighttpd, PHP

apk add lighttpd php

Configuring Lighttpd

Edit lighttpd.conf

nano +46 /etc/lighttpd/lighttpd.conf

Uncomment line:

include "mod_fastcgi.conf"

Installing FSS

Install FSS

  • Make webapps folder

mkdir /usr/share/webapps/fss -p

  • Go to web folder

cd /usr/share/webapps/fss

  • Download FSS

wget https://sourceforge.net/projects/phpfilesadmin/files/phpfilesadmin/FSS%20Release%201.5.1/FSS_Release_1_5_1.zip

  • Unpack FSS

unzip FSS_Release_1_5_1.zip

  • Set permissions

chmod 777 -R /usr/share/webapps/fss

  • Make Symlink

ln -s /usr/share/webapps/fss/ /var/www/localhost/htdocs/fss

Starting

Starting http and server and adding to boot

rc-service lighttpd start && rc-update add lighttpd default

  • Browse

http://WEBSERVER_IP_ADDRESS/fss

You have PHP File Sharing working, to access go to http://WEBSERVER_IP_ADDRESS/fss and enjoy!

See also