Webshare
Maintainer
Darrel May (Contrib)
Description
- Webshare is an addon for SME Server that provides secure web accessible file and directory storage.
- Create and set permissions for each share via Server-manager GUI.
- Can handle many filetypes in the webbrowser.
Step-by-step silly HowTo for installation of Webshare on a fresh SMEserver 7.1.3.
It reflects the experiences I've had during install and are probably not always applicable.
It's intended for Linux-newbies.
Check latest releases at http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/
Replace filenames if you use other versions.
I don't use smedev for this install as advised by dmay
Installation
1. Log in (with username root) to the SMEserver console.
2. Download perl-Apache-Htpasswd (needed by package smeserver-webshare)
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
3. Install perl-Apache-Htpasswd
yum localinstall perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
You will get a y/N-question, answer y if it looks fine.
Instructions at the end of previous installation advices the following commands:
"signal-event post-upgrade" and "signal-event reboot"
But you can ignore that and move on
4. Download smeserver-webshare
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-webshare-1.0.0-8dmay.noarch.rpm
5. Install smeserver-webshare
yum localinstall smeserver-webshare-1.0.0-8dmay.noarch.rpm
You will get a y/N-question, answer y if it looks fine.
6. Instructions at the end of previous installation advices the following commands:
signal-event post-upgrade and signal-event reboot
but you can skip that (not necessary) and move on.
7. Open your webbrowser and go to the server-manager.
Under Collaboration there should be a new line named "Webshare".
Check installed version
yum info installed smeserver-webshare yum info installed perl-Apache-Htpasswd
Uninstall
yum remove smeserver-webshare yum remove perl-Apache-Htpasswd
Adjusting upload file size
Default php settings in sme server will severely limit the file upload size.
These can be adjusted by db commands, see http://wiki.contribs.org/index.php?title=SME_Server:Documentation:Technical_Manual:Booklet#Php
To see the default settings do
config show php
The following commands will set a 50Mb file upload size.
As this includes system overheads, you should specify a value slightly larger than the maximum file size you wish to upload.
db configuration setprop php MaxExecutionTime 3600 db configuration setprop php MemoryLimit 50M db configuration setprop php PostMaxSize 50M db configuration setprop php UploadMaxFilesize 50M expand-template /etc/php.ini /etc/init.d/httpd-e-smith restart
Additional information
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-webshare component or use this link .
Tested software versions
Host: SMEserver v7.1 with update 3 (7.1.3)
Installed: perl-Apache-Htpasswd.noarch 0:1.5.9-1.1.el3.rf
Installed: smeserver-webshare.noarch 0:1.0.0-8dmay