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

Title: Webshare instalation on sme 7.1.3
Post 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.



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.
================================================================
Title: Webshare instalation on sme 7.1.3
Post by: bpivk 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
Title: Webshare instalation on sme 7.1.3
Post by: cyberjuls 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.
Title: Webshare instalation on sme 7.1.3
Post by: dmay 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
Title: Webshare instalation on sme 7.1.3
Post by: cactus 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 (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
Title: Webshare instalation on sme 7.1.3
Post by: bpivk 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.
Title: Webshare instalation on sme 7.1.3
Post by: cyberjuls 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.
Title: Webshare instalation on sme 7.1.3
Post by: Stefano 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
Title: Webshare instalation on sme 7.1.3
Post by: cyberjuls on April 02, 2007, 05:24:16 PM
mmm i tought there was something like that. Got to chek help file then.

c ya
Title: Webshare instalation on sme 7.1.3
Post by: bpivk 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.
Title: Webshare instalation on sme 7.1.3
Post by: cyberjuls on April 02, 2007, 06:10:33 PM
Ok thanks, have to do the same with max post size also.
Title: HowTo Webshare install
Post by: per_epost 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
Title: Webshare instalation on sme 7.1.3
Post by: bpivk 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.
Title: Webshare instalation on sme 7.1.3
Post by: per_epost 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.
Title: Webshare instalation on sme 7.1.3
Post by: bpivk 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.
Title: Webshare instalation on sme 7.1.3
Post by: per_epost on April 08, 2007, 01:53:42 PM
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.
Title: Webshare instalation on sme 7.1.3
Post by: bpivk on April 08, 2007, 03:15:44 PM
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.
Title: Webshare instalation on sme 7.1.3
Post by: per_epost on April 08, 2007, 11:33:43 PM
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
Title: Webshare instalation on sme 7.1.3
Post by: bpivk on April 09, 2007, 11:06:00 AM
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.
Title: Webshare instalation on sme 7.1.3
Post by: per_epost on April 09, 2007, 04:32:08 PM
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...
Title: Re: Webshare instalation on sme 7.1.3
Post by: raem on February 01, 2008, 02:40:40 AM
I have updated the Howto to show the file size setting commands etc.

http://wiki.contribs.org/Webshare