Changes

Jump to navigation Jump to search
568 bytes added ,  00:19, 4 March 2017
Line 1: Line 1:  
{{Languages}}
 
{{Languages}}
== Webshare for SME Server ==
+
 
 +
{{Warning box| this contrib is not maintained and the php phpfm used to display files needs to be updated to something else as it seems not maintained anymore. Use at your own risks}}
    
=== Maintainer ===
 
=== Maintainer ===
[http://myezserver.com/ Darrel May] (Contrib)
+
no active maintainer.
 +
 
 +
original contributor: [http://myezserver.com/ Darrel May] (Contrib)  
 +
 
 +
=== Version ===
 +
{{ #smeversion: smeserver-webshare }}
    
=== Description ===
 
=== Description ===
Line 11: Line 17:  
*Can handle many filetypes in the webbrowser.
 
*Can handle many filetypes in the webbrowser.
   −
<br>Step-by-step HowTo for installation of Webshare on a fresh SMEserver 7.x.
+
<br>Step-by-step HowTo for installation of Webshare on a fresh SMEserver 7.x. Will not install on Koozali SME Server 9.1.
    
Check latest releases at http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/RPMS/
 
Check latest releases at http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/RPMS/
   −
=== Installation ===
+
=== Installation SME8 ===
    
1. Log in (with username root) to the SMEserver console.
 
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)
+
2. Install smeserver-webshare from the smecontribs repo (which also installs the dependency perl-Apache-Htpasswd & perl-Crypt-PasswdMD5)
    
  yum install --enablerepo=smecontribs smeserver-webshare
 
  yum install --enablerepo=smecontribs smeserver-webshare
   −
Note: For sme8 there is a newer compatible rpm, smeserver-webshare-1.0.0-10.el4.sme.noarch.rpm
+
3. Instructions at the end of previous installation advises the following commands:
yum install --enablerepo=smetest smeserver-webshare
+
<br><code>signal-event post-upgrade and signal-event reboot</code>
 +
<br>but you can skip that (not necessary) and move on.  
 +
 
   −
You will need to manually enable the old sme7 smetest repo until sme8.x repos are fully populated so your sme8 server can access the compatible package, as follows)
+
4. In a web browser login to server-manager as admin.
 +
<br>Under Collaboration there should be a new line named "Webshare".
 +
Configure the webshare name, users and passwords.
   −
db yum_repositories set sme7test repository \
  −
GPGCheck yes \
  −
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smetest-7 \
  −
Name 'SME 7 - test' \
  −
Visible no \
  −
status disabled
     −
signal-event yum-modify
+
5. Access the newly created webshare using https://www.yourdomain.com/webshare/websharename
Wait a minute or two for yum to finish, you can check if yum is still active using
+
Upload and download files as required.
top -i
+
 
(Ctrl c to exit)
+
=== Installation SME9 ===
then do
+
Update pending. Being moved to smecontribs for Koozali SME 9.
yum clean all
     −
To get the dependency & the sme 8.x compatible package both installed install use this command
+
1. Login as root to the console.
yum install smeserver-webshare --enablerepo=sme7test --enablerepo=smecontribs
  −
signal-event post-upgrade; signal-event reboot
      +
2. This contrib currently resides in the sme8contribs repository. See https://wiki.contribs.org/SME9.0_Contribs_QA#Setup for instructions on enabling it. Dependencies require the enabling of the epel repository as well https://wiki.contribs.org/Epel#tab=For_SME_9_x.
   −
3. Instructions at the end of previous installation advises the following commands:
+
3. Install with
<br><code>signal-event post-upgrade and signal-event reboot</code>
+
  yum --enablerepo=sme8contribs,smecontribs,epel install smeserver-webshare
<br>but you can skip that (not necessary) and move on.
     −
4. In a web browser login to server-manager as admin.
+
4. Then
<br>Under Collaboration there should be a new line named "Webshare".
+
signal-event post-upgrade; signal-event reboot
Configure the webshare name, users and passwords.
     −
5. Access the newly created webshare using https://www.yourdomain.com/webshare/websharename
+
5. Go to server-manager panel and setup webshares.  
Upload and download files as required.
      +
6. Access webshare using
 +
https://your-domain.tld/webshare/nameofshare
    
==== Check installed version ====
 
==== Check installed version ====
Line 98: Line 99:  
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
 
  cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
 
  cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
  pico 86WebSharealias
+
  nano 86WebSharealias
    
Contents of 86WebSharealias
 
Contents of 86WebSharealias
Line 189: Line 190:     
*Add [http://forums.contribs.org/index.php?topic=39729.0;topicseen more than four uploads].
 
*Add [http://forums.contribs.org/index.php?topic=39729.0;topicseen more than four uploads].
 +
 +
==special WebShare==
 +
 +
to be documented more but reading configuration file you can create a special webshare with user that have right on other webspaces.
 +
It seems that to do so you have to create
 +
db WebShare set MultiAccess MultiAccess WebShareName YOURNAME Webshares SHARE2,SHARE3,SHARE5 Users user1:pass1,user2:pass2
    
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-webshare component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-webshare|title=this link}}.
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-webshare component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-webshare|title=this link}}.
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc|disablecache=1 |component=smeserver-webshare|noresultsmessage="No open bugs found."}}
    
=== Tested software versions ===
 
=== Tested software versions ===
70

edits

Navigation menu