running seafile server on low power computer (Sheevaplug, Raspberry,...)

閲覧: 2,150 回
最初の未読メッセージにスキップ

FD

未読、
2012/12/30 2:24:232012/12/30
To: sea...@googlegroups.com
Hello,

I am considering running Seafile server on a dedicated low power computer (such as Sheevaplug, maybe Raspberry,...).
Before I start trying to get this up and running:

-do you forecast the computing power of those ARM based devices will be sufficient?
-can Seafile server be compiled for ARM without problem?

Thanks,

FD.

JiaQiang Xu

未読、
2012/12/30 2:33:092012/12/30
To: sea...@googlegroups.com
Seafile server is not a CPU intensive program so ARM should be sufficient.
We haven't tried to compile seafile on ARM. But seafile is written in C and Python so it's portable.

Jiaqiang


2012/12/30 FD <francois...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "seafile" group.
To post to this group, send email to sea...@googlegroups.com.
To unsubscribe from this group, send email to seafile+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile?hl=en.
 
 

JiaQiang Xu

未読、
2012/12/30 2:35:512012/12/30
To: sea...@googlegroups.com
The only requirement to compile Seafile is a full Linux OS, with all the necessary libraries installed.
We'll be glad to see Seafile running on a low power computer. If you have any problem, please let use know.


2012/12/30 JiaQiang Xu <xjqki...@gmail.com>

FD

未読、
2012/12/30 2:48:302012/12/30
To: sea...@googlegroups.com
Thanks a lot for your feedback. I will then give it a try in the coming days and let you know the outcome.

Flo Paul

未読、
2012/12/30 16:32:402012/12/30
To: sea...@googlegroups.com
it works fine on a raspberry. it doesn't use a lot of cpu for transfers, but be careful which filesystem you use for storage. fuse systems like ntfs or extfat use up all the cpu and gives you transfer speeds around 1 MB/s.

here you go:

http://www.fileswap.com/dl/JYrD6QRD1j/

Shuai Lin

未読、
2012/12/30 21:36:192012/12/30
To: sea...@googlegroups.com
Hi Paul,

Glad to see you've built a Seafile server package for ARM. Indeed there is a script that can automatically build the server release tarball.  Take a look at it here

Later this week I'll write about how to use the script on the seafile github wiki.

Regards,
Lin

FD

未読、
2013/01/11 14:47:492013/01/11
To: sea...@googlegroups.com
I apologize if I missed something obvious, but my 1st install of seafile server is failing at very early stage:

---
Checking packages needed by seafile ...

Checking python on this machine ...
Find python: python2.6

  Checking python module: setuptools ... Done.
  Checking python module: python-simplejson ... Done.
  Checking python module: python-imaging ... Done.
  Checking python module: python-sqlite3 ... Done.

Checking for sqlite3 ...Done.

Checking Done.


What do you want to use as the name of this seafile server?
Your seafile users would see this name in their seafile client.
You can use a-z, A-Z, 0-9, _ and -, and the length should be 3 ~ 15
[server name]: seafile-test

What is the ip or domain of this server?
For example, www.mycompany.com, or, 192.168.1.101

[ip or domain]: 192.168.1.10

What tcp port do you want to use for ccnet server?
10001 is the recommended port.
[default: 10001 ]

Where do you want to put your seafile data?
Note: Please use a volume with enough free space.
[default: /home/fd/seafile-test/seafile-data ] /mnt/usb-disk/seafile-data

What tcp port do you want to use for seafile server?
12001 is the recommended port.
[default: 12001 ]


This is your config information:

server name:        seafile-test
server ip/domain:   192.168.1.10
server port:        10001
seafile data dir:   /mnt/usb-disk/seafile-data
seafile port:       12001

If you are OK with these configuration, press [ENTER] to continue.

Generating ccnet configuration in /home/fd/seafile-test/ccnet...



Error occured during setup.
Please fix possible problems and run the script again.
---

How can I find out what the error is?

Thanks,

Shuai Lin

未読、
2013/01/11 22:17:222013/01/11
To: sea...@googlegroups.com
Hi FD,

Please give us more details about your enviroument.

What is the OS / CPU type?

Which seafile server package are you using?




FD

未読、
2013/01/12 5:23:442013/01/12
To: sea...@googlegroups.com


Please give us more details about your enviroument.

What is the OS / CPU type?

This is Sheevaplug (ARM CPU) with Debian 6.0.6

Which seafile server package are you using?

I am using the ARM package that was published above in this thread.

Thanks for your help.

 

Shuai Lin

未読、
2013/01/12 7:37:592013/01/12
To: sea...@googlegroups.com
Well, please edit the file setup-seafile.sh to let it print the error message. 

  1.  Find the line containing the following code:       ${ccnet_init}" -c "${default_ccnet_conf_dir}" ... 2>/dev/null 1>&2
  2. Remove the part "2>/dev/null 1>&2"
  3. Run the script again. If it fails again, please give me the error message.

FD

未読、
2013/01/12 15:12:192013/01/12
To: sea...@googlegroups.com
ok. so this line is failing:

./setup-seafile.sh: line 365: /home/fd/seafile-test/seafile-server-20121231-arm/seafile/bin/ccnet-init: No such file or directory

The file does exist, but the binary seems not to execute well:
---
fd@plug:~/seafile-test/seafile-server-20121231-arm/seafile/bin$ ./ccnet-init
bash: ./ccnet-init: No such file or directory
fd@plug:~/seafile-test/seafile-server-20121231-arm/seafile/bin$ ldd ./ccnet-init
    libssl.so.1.0.0 => not found
    libcrypto.so.1.0.0 => not found
    libresolv.so.2 => /lib/libresolv.so.2 (0x40006000)
    libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x4001a000)
    libccnet.so.0 => not found
    libpthread.so.0 => /lib/libpthread.so.0 (0x400ef000)
    libc.so.6 => /lib/libc.so.6 (0x40110000)
    libpcre.so.3 => /lib/libpcre.so.3 (0x40241000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40277000)
    /lib/ld-linux-armhf.so.3 => /lib/ld-linux.so.3 (0x2a000000)

fd@plug$ openssl version
OpenSSL 0.9.8o 01 Jun 2010
---

Si I probably to have the required OpenSSL version....but this is the latest (newest) one available in my Debian version (6.06) apparently...

Shuai Lin

未読、
2013/01/12 21:45:472013/01/12
To: sea...@googlegroups.com
Hi FD,

In the seafile server package there is an openssl shared library with it. Generally, we do the following:

* Copy all the shared libraries depended by seafile server programs (libevent, openssl, etc.) to the seafile/lib subdirectory
* Add the path to seafile/lib to the LD_LIBRARY_PATH environment variable when running seafile programs. 

This way, the package is usable on various Linux distributions without requiring the user to install these libraries.

Since the package you are using is not packaged by us, you can try to contact Flo Paul who published the package you've used.
全員に返信
投稿者に返信
転送
新着メール 0 件