[SOLVED] How to install ownCloud

You have a problem with Salix? Post here and we'll do what we can to help.
baran
Posts: 74
Joined: 8. Feb 2010, 17:41

[SOLVED] How to install ownCloud

Post by baran »

Hi,

do you have experience with install ownCloud on SalixOS? I found only procedures for CentOS, FC, Ubuntu, Debian. All from repo. SalixOS or Slackware not :-(


Thank you

Rene
Last edited by baran on 13. Oct 2014, 12:27, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: How to install ownCloud

Post by gapan »

I haven't used them, but I can see there are slackbuilds available in sourcery. Have you tried them?
Image
Image
User avatar
skrotnisse
Posts: 17
Joined: 10. Oct 2014, 14:03

Re: How to install ownCloud

Post by skrotnisse »

I'm an owncloud user and I installed from SlackBuild. Owncloud works great in Salix (for me at least).
baran
Posts: 74
Joined: 8. Feb 2010, 17:41

Re: [SOLVED] How to install ownCloud

Post by baran »

Hi,

yes, I found it, but I'm not able to use it :-( Error between chair and keyboard ;-) I'm using it via web gui. I'm working with installation (configure, make ...) or with conversion (rpm2tgz, alien). I don't use slackbuild :-( Do you have some procedure step by step, please?

Thank you

Rene
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: [SOLVED] How to install ownCloud

Post by mimosa »

What happens when you try to install it using Sourcery, or spi? Does the build fail? What messages do you see?

Here, dependencies check, iniparser and ocsync are required to build owncloud-client; they built automatically without problems. It looks like cmake is a build dependency, so make sure that is installed first.

owncloud seems to be working fine here. If yours builds but doesn't work, please try calling it from the commandline and report any messages.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] How to install ownCloud

Post by laprjns »

It's working here and I kind of like it. Similar to Drop Box without putting your data on the internet. Here's how I got it working on my network.

Installed the server version on the compute you want to use as the owncloud server using Salix Package Installer (spi).

Code: Select all

rich[~]$ sudo spi -u
rich[~]$ sudo spi -i ownclould-server
ownclous-server using Apache Web Server (httpd), so you need to configure it per the instruction on the Slackbuild page; http://slackbuilds.org/repository/14.1/ ... ud-server/
Slackbuild OwnCloud Server Page wrote:Configuration
-------------

(1) Add the following in /etc/httpd/httpd.conf

<Directory "/srv/httpd/htdocs/owncloud">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>

(2) In /etc/httpd/httpd.conf, enable mod_rewrite and PHP by uncommenting
"LoadModule rewrite_module ..." and "Include /etc/httpd/mod_php.conf",
then restart httpd.

(3) After installation, **and after every upgrade**, you need to complete
setup by visiting this page:

http://localhost/owncloud/
You do need to add accounts user names and passwords once you fire up the administrator web page

Install the ownclould client version on all the client computers again using spi;

Code: Select all

rich[~]$ sudo spi -u
rich[~]$ sudo spi -i ownclould-client
So I've got it working within my own network. Was even able to connect my android tablet by download the owncloud android app
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
baran
Posts: 74
Joined: 8. Feb 2010, 17:41

Re: [SOLVED] How to install ownCloud

Post by baran »

Hi,

I needed ownCloud Client. I found more info on NET. I selected it to the 3 steps.


Procedure step by step (32bit)

1. Download packages
- ocsync (RPM)
(http://pkgs.org/centos-6/puias-unsuppor ... 6.rpm.html)
- mirall (TGZ)
(http://www.slackware.com/~alien/slackbu ... /pkg/14.1/)
- qtkeychain (TGZ)
(http://www.slackware.com/~alien/slackbu ... /pkg/14.1/)

Code: Select all

wget http://puias.math.ias.edu/data/puias/unsupported/6/i386/ocsync-0.91.4-1.1.sdl6.i686.rpm
wget http://www.slackware.com/~alien/slackbuilds/mirall/pkg/14.1/mirall-1.5.4-i486-1alien.tgz
wget http://www.slackware.com/~alien/slackbuilds/qtkeychain/pkg/14.1/qtkeychain-0.1.0-i486-1alien.tgz
2. Convert ocsync to tgz file (RPM -> TGZ) vith rpm2tgz util.

Code: Select all

sudo rpm2tgz ocsync-0.91.4-1.1.sdl6.i686.rpm
3. Install packages

Code: Select all

sudo installpkg ocsync-0.91.4-1.1.sdl6.i686.tgz
sudo installpkg mirall-1.5.4-i486-1alien.tgz
sudo installpkg qtkeychain-0.1.0-i486-1alien.tgz
4. Use ownCloud ;-)

http://linux.remontsw.eu/salixos/owncloud_00.png
http://linux.remontsw.eu/salixos/owncloud_01.png
http://linux.remontsw.eu/salixos/owncloud_02.png
http://linux.remontsw.eu/salixos/owncloud_03.png


Thank you for all info. It helped me.

Rene
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] How to install ownCloud

Post by laprjns »

You do know that all you needed to do was:

Code: Select all

$ sudo slapt-src --install owncloud-client
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: [SOLVED] How to install ownCloud

Post by gapan »

baran, what you're describing is terrible. You should never, ever ever ever have to do anything like that. I'm only posting here, so that I can make it perfectly clear that this is NOT the way it works in salix and that is NOT a valid HOWTO, so new users won't get confused. laprjns provided a simple one line command with how it should work.

You were advised to do the same by myself and others. When you said you couldn't make it work, you didn't provide any more information as to what went wrong, as was requested. Instead you posted this nonsense. Maybe you made it "work" like that, but keep doing that and then you will break your system and when you do, it won't be Salix's fault, it will only be your fault. I'm also sure that when that happens (and it will happen) your post will be something like: "it doesn't work, what did I do wrong?", with no additional information either, so I rest my case...

Do yourself a favor and read the startup guide, linked from the main page. When you're finished, read it again.
Image
Image
baran
Posts: 74
Joined: 8. Feb 2010, 17:41

Re: [SOLVED] How to install ownCloud

Post by baran »

Hi,

you're right. It can be more question "it doesn't works ...". Nobody have same system (apps...). And dependencies are not resolved like in Debian. It was one from more procedures. I wrote it, because it works on my PC. And it is point No 1 for me.

I know, it is not so clean. Well all apps coverted from rpm will be not clean. Why is rpm2tgz in repo? It contradicts a little.

OK, no more info and procedures for others. So sorry.

Rene
Post Reply