Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: cyberjuls 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.
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.
================================================================
-
Well the search button would help you a lot faster than i did but here you go...
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
-
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.
-
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
-
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 (http://fisheye1.cenqua.com/browse/smeserver/), 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
-
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.
-
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.
-
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
-
mmm i tought there was something like that. Got to chek help file then.
c ya
-
Help file won't help you (what an irony)
This should work:
/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.
-
Ok thanks, have to do the same with max post size also.
-
Step-by-step silly HowTo for installation of Webshare on SMEserver 7.1.3
Moved to Wiki: http://wiki.contribs.org/Webshare
-
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.
-
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.
-
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.
-
1: Exellent suggestion to put it in the wiki, thats the place.
I will try that as soon as I get wiki access.
But I must admit that it feels like a quite *official* place so I hesitate a bit...
Shouldn't someone with more experience (with Linux) do that? But if no other.....
2: I disagree with you on this. An experienced Linux/SME admin are probably happy with a few hints here and there about what to do.
But for a Windows-guy like me that try to move over to Linux its harder.
I'm spoiled with comprehensive, fool-proof, step-by-step, animated tutorials that starts with "Press power-button gently and then release"-stuff.
So I thougt that a Howto that includes the tweaks for a individual contrib could make the world a little less Micro-fucking-WGA-Activation-BSOD-soft-dependent.
-
Well that's true but you would have to make some more howtos.
It's better if you write a general howto with contents how to transfer contribs, install them and so on.
Just searh for apropriate place in the wiki and use this mini howto to write a definite howto and you can use this mini howto for example if you think that it's needed.
It doesn't matter if you mess something up because anyone with wiki access can edit your post and fix it if you make a mistake and this mini howto is quite nice and you'll write a great howto. The only thing you need to change is rpm command (yum install is prefered) but other than that it's a good start.
-
OK, I'll have a shot at the wiki later.
I have searched, tested and added the tweaks to the howto, there are a couple of comments in bold text that I need help with.... Please....
And about howto design: I've already installed sme7admin without a problem, thanks to a good howto by the author.
Even though I didn't get the sensors to work, but I'm in a virtual machine, so no wonder.. (probably no sensors on a virtual motherboard).
Later I will continue with other contribs that I'm interested in, I will probably find similarities, and then I decide if it is one *definite* howto or one for each contrib.
/Per
-
Well the memory limit you marked in bold sets the maximum allowed filesize (eg. you can't upload a file that has 31M only less then 30M if you don't change that setting). It's a good thing if you want to limit uploading of files so people don't upload whole movies in you webshare.
-
Ah! The coin finally fell down!
-is that also a saying in english/Slovenian?
(what you meant about yum install) I've added that too...
-
I have updated the Howto to show the file size setting commands etc.
http://wiki.contribs.org/Webshare