OwnCloud 7/Pydio/Seafile cloud installation.

Leave a comment

October 13, 2014 by aubreykloppers

I am very excited getting to build my OwnCloud environment. To do this, I followed to following instructions:

OwnCloud

  • Download and Install Turnkey Linux.
  • changed:
    • DocumentRoot /var/www/owncloud/
  • for both 80/443
    • service apache2 restart

I then ended up with the following screen (Using a browser) and once I hit “Finish Setup” my OwnCloud was up and running.
owncloud

  • Added

‘proxy’ => ‘10.0.0.10:3128’,

  • to config.php (/var/www/opencloud/config)

Installing Pydio:

add to /etc/apt/sources.list.d/sources.list

deb http://dl.ajaxplorer.info/repos/apt stable main
deb-src http://dl.ajaxplorer.info/repos/apt stable main

then

wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | apt-key add -
apt-get update
apt-get install php5-gd php5-ldap pydio
cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-enabled/pydio.conf

Installing Seafile:

I added a script /etc/init.d/seafile (http://manual.seafile.com/deploy/using_mysql.html):

### BEGIN INIT INFO
# Provides:          seafile
# Required-Start:    $all
# Required-Stop:     $apache
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Start/Stop seafile servers.
### END INIT INFO

#! /bin/sh
# /etc/init.d/seafile
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/root/cloud/seafile-server-3.1.6

do_stop () {
        # Message should end with a newline since kFreeBSD may
        # print more stuff (see #323749)
        # log_action_msg "Will now stop"
        seafile.sh stop
        seahub.sh stop
}

do_start () {
        # Message should end with a newline since kFreeBSD may
        # print more stuff (see #323749)
        # log_action_msg "Seafile Will now start"
        seafile.sh start
        seahub.sh start
}

do_restart () {
        # Message should end with a newline since kFreeBSD may
        # print more stuff (see #323749)
        # log_action_msg "Will now restart"
        seafile.sh restart
        seahub.sh restart
}

case "$1" in
  start)
        do_start
        ;;
  restart)
        do_restart
        ;;
  stop)
        do_stop
        ;;
  *)
        echo "Usage: $0 start|stop|restart" >&2
        exit 3
        ;;
esac

to enable auto-start-up of the system.  Remember to run:

update-rc.d seafile defaults

enabling start-up functions.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: