File Sharing System: Difference between revisions

From Alpine Linux
m (Added See also: Setting Up Lighttpd with PHP)
m (→‎Starting: Removed hyperlinks to hypothetical addresses.)
Line 57: Line 57:


* Browse  
* Browse  
http://WEBSERVER_IP_ADDRESS/fss
<nowiki>http://WEBSERVER_IP_ADDRESS/fss</nowiki>
 
You have PHP File Sharing working, to access go to http://WEBSERVER_IP_ADDRESS/fss and enjoy!


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


== See also ==
== See also ==

Revision as of 22:49, 20 December 2021

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 http://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

/etc/init.d/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