Difference between revisions of "Wuala"

From Amahi Wiki
Jump to: navigation, search
m
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Apps]]
+
{{NeedsUpdate}}
[http://www.wuala.com Wuala] is an application developed by Lacie. It is a solution to offer some online storage in the "cloud"
 
 
 
It allows automatic backup of your data and synchronisation between PCs as well as time keep track or "version" of you file (you can go back in time)
 
 
 
It is a Java application and because of that can more or less run on every computer.
 
 
 
On their website they only have a package for Ubuntu but there is a package for all the other.
 
  
To install it you need several packages
 
  
For Fedora 12 you will need to install:
+
[http://www.wuala.com Wuala] is an application developed by Lacie. It is a solution to offer some online storage in the "cloud".  It allows automatic backup of your data and synchronisation between PCs as well as time keep track or "version" of you file (you can go back in time).
  
  java-1.6.0-openjdk-1, java-1.6.0-openjdk-plugin-1, fuse-libs, fuse, xdg-utils
+
It is a Java application and because of that can more or less run on every computer. On their website they only have a package for Ubuntu but there is a package for all the others.
  
If you don't need the full system integration you don't need fuse-libs, fuse, xdg-utils but you will loose having a virtual drive of your online data on the desktop
+
For Fedora 12 you will need to install:  java-1.6.0-openjdk-1, java-1.6.0-openjdk-plugin-1, fuse-libs, fuse, xdg-utils.  If you don't need the full system integration you don't need fuse-libs, fuse, xdg-utils but you will loose having a virtual drive of your online data on the desktop
  
# Installation of dependencies
+
== Install ==
 +
1. Installation of dependencies
 
  yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1 fuse-libs fuse xdg-utils
 
  yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1 fuse-libs fuse xdg-utils
# Download the latest version of wuala
+
2. Download the latest version of wuala
 
  wget <nowiki>http://www.wuala.com/files/wuala.tar.gz</nowiki>
 
  wget <nowiki>http://www.wuala.com/files/wuala.tar.gz</nowiki>
# Untar it as root is /usr/local
+
3. Untar it as root in /usr/local (This will create a directory wuala)
 
  cd /usr/local
 
  cd /usr/local
 
  tar xvfz wuala.tar.gz
 
  tar xvfz wuala.tar.gz
 
+
4. Manually start the program (make sure you have an account with them first)
This will create a directory wuala.
 
 
 
# Manually start the program (make sure you have an account with them first)
 
 
  /usr/local/wuala/wuala  -basepath /usr/local/wuala login YourUserName YourPassword
 
  /usr/local/wuala/wuala  -basepath /usr/local/wuala login YourUserName YourPassword
 
 
if all goes well you have started the program successfully and can test it
 
if all goes well you have started the program successfully and can test it
 
 
  /usr/local/wuala --help
 
  /usr/local/wuala --help
 
  /usr/local/wuala/wuala showStatus  -> will tell you if you are online
 
  /usr/local/wuala/wuala showStatus  -> will tell you if you are online
 
  /usr/local/wuala/wuala showSettings -> will show your settings
 
  /usr/local/wuala/wuala showSettings -> will show your settings
 
+
5. Start Wuala as a service
# Start Wuala as a service
+
 
 
+
I found a little init.d script that sort of works but it is not perfect. For example I can't seem to make it work with service so that it starts at bootup or shows that status is started. So if someone can fix it it would be great.
I found a little init.d script that sort of work but it is not perfect. For example I can't seem to make it work with service so that it starts at bootup
 
 
 
So if someone can fix it it would be great.
 
  
 
Copy the code below in file called wuala in /etc/init.d and make it executable
 
Copy the code below in file called wuala in /etc/init.d and make it executable
 
+
  <nowiki>
 
  #!/bin/sh
 
  #!/bin/sh
 
  # chkconfig: 235 99 10
 
  # chkconfig: 235 99 10
Line 55: Line 40:
 
  # Description: Start or stop the Wuala server
 
  # Description: Start or stop the Wuala server
 
  ### END INIT INFO
 
  ### END INIT INFO
 
 
  # Source function library.
 
  # Source function library.
 
  . /etc/rc.d/init.d/functions  
 
  . /etc/rc.d/init.d/functions  
 
 
  WUALA_USER="YourUserName"
 
  WUALA_USER="YourUserName"
 
  WUALA_PASS="YourPassword"
 
  WUALA_PASS="YourPassword"
 
  WUALA_PATH="/usr/local/wuala"
 
  WUALA_PATH="/usr/local/wuala"
 
 
 
  #start=/etc/webmin/start
 
  #start=/etc/webmin/start
 
  #stop=/etc/webmin/stop
 
  #stop=/etc/webmin/stop
Line 70: Line 51:
 
  pidFile=/var/wuala/wuala.pid
 
  pidFile=/var/wuala/wuala.pid
 
  name='Wuala'
 
  name='Wuala'
 
 
  case "$1" in
 
  case "$1" in
 
  'start')
 
  'start')
Line 114: Line 94:
 
;;
 
;;
 
  esac
 
  esac
  exit $RETVAL
+
  exit $RETVAL</nowiki>
 +
 
 +
== References ==
 +
There is a potential init script that might work [http://pascal.nextrem.ch/2009/10/20/wuala-init-d-script/ here] and another one [http://cloudservers.rackspacecloud.com/index.php/Ubuntu_-_Setting_up_Wuala here].
 +
 
 +
 
 +
[[Category:Apps]]

Latest revision as of 02:11, 23 June 2020

Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.


Wuala is an application developed by Lacie. It is a solution to offer some online storage in the "cloud". It allows automatic backup of your data and synchronisation between PCs as well as time keep track or "version" of you file (you can go back in time).

It is a Java application and because of that can more or less run on every computer. On their website they only have a package for Ubuntu but there is a package for all the others.

For Fedora 12 you will need to install: java-1.6.0-openjdk-1, java-1.6.0-openjdk-plugin-1, fuse-libs, fuse, xdg-utils. If you don't need the full system integration you don't need fuse-libs, fuse, xdg-utils but you will loose having a virtual drive of your online data on the desktop

Install

1. Installation of dependencies

yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1 fuse-libs fuse xdg-utils

2. Download the latest version of wuala

wget http://www.wuala.com/files/wuala.tar.gz

3. Untar it as root in /usr/local (This will create a directory wuala)

cd /usr/local
tar xvfz wuala.tar.gz

4. Manually start the program (make sure you have an account with them first)

/usr/local/wuala/wuala  -basepath /usr/local/wuala login YourUserName YourPassword

if all goes well you have started the program successfully and can test it

/usr/local/wuala --help
/usr/local/wuala/wuala showStatus   -> will tell you if you are online
/usr/local/wuala/wuala showSettings -> will show your settings

5. Start Wuala as a service

I found a little init.d script that sort of works but it is not perfect. For example I can't seem to make it work with service so that it starts at bootup or shows that status is started. So if someone can fix it it would be great.

Copy the code below in file called wuala in /etc/init.d and make it executable

 
 #!/bin/sh
 # chkconfig: 235 99 10
 # description: Start or stop the Wuala server
 # 
 ### BEGIN INIT INFO
 # Provides: wuala
 # Required-Start: $network $syslog
 # Required-Stop: $network
 # Default-Start: 2 3 5
 # Default-Stop: 0 1 6
 # Description: Start or stop the Wuala server
 ### END INIT INFO
 # Source function library.
 . /etc/rc.d/init.d/functions 
 WUALA_USER="YourUserName"
 WUALA_PASS="YourPassword"
 WUALA_PATH="/usr/local/wuala"
 #start=/etc/webmin/start
 #stop=/etc/webmin/stop
 lockfile=/var/lock/subsys/wuala
 #confFile=/etc/webmin/miniserv.conf
 pidFile=/var/wuala/wuala.pid
 name='Wuala'
 case "$1" in
 'start')
 	su - root -c "$WUALA_PATH/wuala -basepath $WUALA_PATH login $WUALA_USER $WUALA_PASS &" & >/dev/null 2>&1 </dev/null
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		touch $lockfile >/dev/null 2>&1
	fi
	;;
 'stop')
	su - root -c "$WUALA_PATH/wuala -basepath $WUALA_PATH logout &" &
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		rm -f $lockfile
	fi
	pidfile=$pidFile
	rm -f $pidfile
	;;
 'status')
	pidfile=$pidFile
	if [ -s $pidfile ]; then
		pid=`cat $pidfile`
		kill -0 $pid >/dev/null 2>&1
		if [ "$?" = "0" ]; then
			echo "$name (pid $pid) is running"
			RETVAL=0
		else
			echo "$name is stopped"
			RETVAL=1
		fi
	else
		echo "$name is stopped"
		RETVAL=1
	fi
	;;
 'restart')
 	$stop ; $start 
	RETVAL=$?
	;;
 *)
	echo "Usage: $0 { start | stop | status | restart }"
	RETVAL=1
	;;
 esac
 exit $RETVAL

References

There is a potential init script that might work here and another one here.