Koozali.org: home of the SME Server

Webshare instalation on sme 7.1.3

cyberjuls

Webshare instalation on sme 7.1.3
« on: April 02, 2007, 12:31:26 AM »
Hi all,

was searching around something to exchange file over the web.
found webshare contribs but seems it doesn't work for me? any ideas?
I'm on an sme 7.1.3. here's what it writes when i try to install it.



Code: [Select]
yum --enablerepo=smedev install smeserver-webshare
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
smedev                    100% |=========================|  951 B    00:00
smeaddons                 100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 132 kB    00:00
smedev    : ################################################## 269/269
Added 5 new packages, deleted 0 old in 0.95 seconds
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-webshare.noarch 0:1.0.0-7.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: perl-Apache-Htpasswd for package: smeserver-webshare
--> Finished Dependency Resolution
Error: Missing Dependency: perl-Apache-Htpasswd is needed by package smeserver-webshare
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Webshare instalation on sme 7.1.3
« Reply #1 on: April 02, 2007, 12:35:52 AM »
Well the search button would help you a lot faster than i did but here you go...
Code: [Select]
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
"It should just work" if it doesn't report it. Thanks!

cyberjuls

Webshare instalation on sme 7.1.3
« Reply #2 on: April 02, 2007, 01:17:56 AM »
ok thanks that's working like a charm now.

I did searched, but didn't found this one or pass on it to quickly ;).
Ok now searching for file limitation. seems it's locked to 10Mb file max.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Webshare instalation on sme 7.1.3
« Reply #3 on: April 02, 2007, 06:00:03 AM »
FYI. I have never personally placed any of my contribs in smedev. The rpms in this repository are not current. Please do not use them. My contrib dir is here:

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x

Darrell

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Webshare instalation on sme 7.1.3
« Reply #4 on: April 02, 2007, 08:53:38 AM »
Quote from: "dmay"
FYI. I have never personally placed any of my contribs in smedev. The rpms in this repository are not current. Please do not use them. My contrib dir is here:

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x

Darrell
It would be even nicer if you would place your code in the SME Server SourceForge CVS repository, this way you can have it build automatically and after a succesfull build it is placed in the smedev repository, more information can be found here: http://sourceforge.net/cvs/?group_id=96750
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Webshare instalation on sme 7.1.3
« Reply #5 on: April 02, 2007, 02:02:02 PM »
Quote
Ok now searching for file limitation. seems it's locked to 10Mb file max.

This can be also found bu searching. We had a topic about this.
"It should just work" if it doesn't report it. Thanks!

cyberjuls

Webshare instalation on sme 7.1.3
« Reply #6 on: April 02, 2007, 02:11:54 PM »
Founded,


got to edit php.ini in /etc/

changing upload max size and then post max size.
Now it's ok.

Dmay, just a few questions, would it be possible to get files into an ebay instead of localizing files in /opt/webshares?
By the way, do you plan to gives user the ability to get different rights on files in a next version?
Last but not least, would it be possible to use a kind of skin php file like a blog? that would be really cool to personnalize webshare style. ;)

Congrats anyway, the contribs is working really good and is really what i needed.

c ya later.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Webshare instalation on sme 7.1.3
« Reply #7 on: April 02, 2007, 02:42:45 PM »
Quote from: "cyberjuls"
Founded,


got to edit php.ini in /etc/

changing upload max size and then post max size.
Now it's ok.



you'd edit the template, not php.ini, othervise your changes will be lost next time php.ini is rebuilt.

Ciao

Stefano

cyberjuls

Webshare instalation on sme 7.1.3
« Reply #8 on: April 02, 2007, 05:24:16 PM »
mmm i tought there was something like that. Got to chek help file then.

c ya

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Webshare instalation on sme 7.1.3
« Reply #9 on: April 02, 2007, 06:03:39 PM »
Help file won't help you (what an irony)
This should work:
Code: [Select]
/sbin/e-smith/db configuration setprop php UploadMaxFileSize xM
/sbin/e-smith/signal-event email-update

Where x is the maximum size (eg. 50 for).

You can use db configuration show php to check the settings.
"It should just work" if it doesn't report it. Thanks!

cyberjuls

Webshare instalation on sme 7.1.3
« Reply #10 on: April 02, 2007, 06:10:33 PM »
Ok thanks, have to do the same with max post size also.

per_epost

HowTo Webshare install
« Reply #11 on: April 07, 2007, 08:53:13 PM »
Step-by-step silly HowTo for installation of Webshare on SMEserver 7.1.3

Moved to Wiki: http://wiki.contribs.org/Webshare

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Webshare instalation on sme 7.1.3
« Reply #12 on: April 07, 2007, 09:52:44 PM »
Install for perl-apache:
yum install perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm

AFAIK this is a standard installation for all contribs and you just invented hot water.  :)

And webshare doesn't have any users set. You have to create users when you create a webshare.
This is normal because it would be a paine in the a$$ deleting all the users that have accounts on SME every time you create a webshare.
"It should just work" if it doesn't report it. Thanks!

per_epost

Webshare instalation on sme 7.1.3
« Reply #13 on: April 08, 2007, 08:44:30 AM »
My intent is to show all necessary steps to install webshare on SME7, not to invent anything new.

And about user and username: I obviously didn't make myself clear, I have edited that section now.
What I meant was that if you got a username "brent" with password "brent123" in your SMEserver domain, it seem that it don't work to use the same username and password for a webshare.

During the day I will experiment with your (bpivk) advice about the settings, and hopefully add them to the howto.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Webshare instalation on sme 7.1.3
« Reply #14 on: April 08, 2007, 12:35:54 PM »
Well my suggestion would be that you should write a howto fro installing contribs for all the people that don't know how to do that but it should be put into wiki not the forums.
Instalation is the same for all the contribs and there's really no need to write a mini howto because you can write a howto for all the contribs that exist and that's unnecessary if you just wrote a standard instalation procedure.
"It should just work" if it doesn't report it. Thanks!