LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2017, 03:21 PM   #1
mdek
LQ Newbie
 
Registered: Apr 2010
Posts: 10

Rep: Reputation: 0
Seafile (server + client) and Slackware


As a former heavy user of Dropbox, I decided I want fewer restrictions on my file storage. After a good amount of research and trial/error, I settled on seafile for various reasons (some of which include features, reliability, mobile client, etc). The documentation does NOT address getting things up and running on slackware, but I managed to get things running fairly smoothly and want to document things publically. So far, I have successfully deployed the latest version seafile server and gui client, as well as the webdav plugin for the server. Although scripts are available on slackbuilds, they are for substantially older 4.x versions. My instructions below are ugly and somewhat incomplete but worked for me.


## TODO:
- try installation on a "fresh" system to verify completeness of instructions
- reimplement as proper slackbuilds and submit to SBo maintainers
- more details for server portion, server deployment using https (Let's Encrypt)
- ???

## Background
- slackware64-current as of 2017-03-28, with multilib
- sbopkg configured with SBo-git repository (as per the sticky in this forum)
- slackpkg configured with alienbob's alienbob and ktown repository

## Server deployment
I mostly followed the seafile manual section "Deploying Seafile with SQLite" at https://manual.seafile.com/deploy/using_sqlite.html

I was unsuccessful (couldn't upload files) when I installed outside of the recommended /opt/haiwen directory, but it may be unrelated. The server requires libselinux and libsepol, which I built easily from https://github.com/fskmh/SlackBuilds/tree/master/system

Punching the appropriate ports through your firewall to allow remote access, combined with either a static IP or a dynamic DNS setup. NAT loopback is necessary for access from the local network if the server is otherwise configured to be remotely accessible.

## Client with GUI
Summary: some of the build options and prefixes seem to be necessary to avoid confusion between 32/64-bitness and leaving them out or changing them causes downstream compilation/linking errors.
1) install the following using sbopkg: vala libevhtp
2) install the following from slackpkg: qt5 (ktown), libxkbcommon (alienbob)
3) make a temporary build directory and into it git clone each of the following projects from https://github.com/haiwen/ libsearpc ccnet seafile seafile-client
4) cd libsearpc && make uninstall && make clean && ./autogen.sh && ./configure --prefix=/usr --libdir=/usr/lib64 && make -j4 && make install && ldconfig
5) cd ../ccnet && make uninstall && make clean && ./autogen.sh && ./configure --prefix=/usr --libdir=/usr/lib64 && make -j4 && make install && ldconfig
6) cd ../seafile && make uninstall && make clean && ./autogen.sh && ./configure --prefix=/usr --libdir=/usr/lib64 && make -j4 && make install && ldconfig
7) cd ../seafile-client && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . && make -j4 && make install && ldconfig
8) run 'seafile-applet'

## Webdav
Follow instructions in https://manual.seafile.com/extension/webdav.html

## References
- https://github.com/haiwen/ (Github for seafile development)
- https://manual.seafile.com/ (Seafile manual)
- http://www.linuxquestions.org/questi...-a-4175530553/ (previous discussion about seafile and other dropbox alternatives on slackware)

Last edited by mdek; 03-28-2017 at 03:23 PM.
 
Old 03-29-2017, 12:03 PM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Why not simply go for either OwnCloud or NextCloud? They just need a LAMP stack and an SSL certificate. No SELinux nonsense and no weird dependencies. Free and Open Source, and clients available for all platforms, including tablets and mobile phones. I installed a few of these on Slackware, and they're running perfectly.

Cheers,

Niki
 
Old 03-29-2017, 12:39 PM   #3
mdek
LQ Newbie
 
Registered: Apr 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kikinovak View Post
Why not simply go for either OwnCloud or NextCloud? They just need a LAMP stack and an SSL certificate. No SELinux nonsense and no weird dependencies. Free and Open Source, and clients available for all platforms, including tablets and mobile phones. I installed a few of these on Slackware, and they're running perfectly.

Cheers,

Niki
When I was originally exploring my options, I recall reading about some performance/syncing issues with owncloud. That was several months ago, and it's possible that nextcloud has improved since. I sync/transfer multiple gigabytes quite frequently so the ability to saturate my connection is important, but I may re-evaluate things...

Other than the (very strange) selinux requirement, I think the other dependencies for seafile client are not too burdensome. FWIW, as far as I can tell, the selinux packages just sit there and keep the server happy, and have not in any way interfered with my system otherwise.
 
Old 03-29-2017, 11:40 PM   #4
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
nextcloud-client and qt

Hi

Quote:
Originally Posted by mdek View Post
When I was originally exploring my options, I recall reading about some performance/syncing issues with owncloud. That was several months ago, and it's possible that nextcloud has improved since. I sync/transfer multiple gigabytes quite frequently so the ability to saturate my connection is important, but I may re-evaluate things...
I always built nextcloud-client against qt4 and had issues when syncing big files (more than 10Mo) (I have a very slow bandwidth). Since this week, I built the client against qt5 (using alienbob qt5 packages) and now it works perfectly. So if you planned to retry owncloud/nextcloud, I really suggest you to build the client against qt5.

Have a nice day !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] TSE Terminal Server Client for Slackware? kikinovak Slackware 11 03-20-2014 01:05 PM
x2go (server|client) for slackware nass Slackware 0 04-16-2013 06:44 PM
configuring NFS Slackware(server) XP(client) props666999 Slackware 8 05-07-2007 01:33 PM
mandrake client wont connect to slackware server Fantus Linux - Networking 0 12-18-2004 08:25 PM
Slackware server OSX client dublinclontarf Linux - Networking 2 03-16-2004 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration