Difference between revisions of "Webshare"
RayMitchell (talk | contribs) (Added upload file size section & commands) |
RayMitchell (talk | contribs) (installation changed to use yum install --enablerepo) |
||
Line 26: | Line 26: | ||
1. Log in (with username root) to the SMEserver console. | 1. Log in (with username root) to the SMEserver console. | ||
− | 2. | + | 2. Install smeserver-webshare from the smecontribs repo (which will also install the dependency perl-Apache-Htpasswd) |
− | + | yum install --enablerepo=smecontribs smeserver-webshare | |
− | 3. | + | 3. Instructions at the end of previous installation advises the following commands: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | Instructions at the end of previous installation | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br><code>signal-event post-upgrade and signal-event reboot</code> | <br><code>signal-event post-upgrade and signal-event reboot</code> | ||
<br>but you can skip that (not necessary) and move on. | <br>but you can skip that (not necessary) and move on. | ||
− | + | 4. In a web browser login to server-manager as admin. | |
<br>Under Collaboration there should be a new line named "Webshare". | <br>Under Collaboration there should be a new line named "Webshare". | ||
+ | Configure the webshare name, users and passwords. | ||
+ | |||
+ | 5. Access the newly created webshare using https://www.yourdomain.com/webshare/websharename | ||
+ | Upload and download files as required. | ||
+ | |||
==== Check installed version ==== | ==== Check installed version ==== |
Revision as of 09:48, 24 July 2008
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. Install smeserver-webshare from the smecontribs repo (which will also install the dependency perl-Apache-Htpasswd)
yum install --enablerepo=smecontribs smeserver-webshare
3. Instructions at the end of previous installation advises the following commands:
signal-event post-upgrade and signal-event reboot
but you can skip that (not necessary) and move on.
4. In a web browser login to server-manager as admin.
Under Collaboration there should be a new line named "Webshare".
Configure the webshare name, users and passwords.
5. Access the newly created webshare using https://www.yourdomain.com/webshare/websharename Upload and download files as required.
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