User Tools

Site Tools


web_services:pydio

This is an old revision of the document!


Pydio Setup with Ubuntu 12.04

FTP Authentication

  1. Configure winbind to authenticate through active directory
  2. Install vsftpd
  3. Use the following config:
    /etc/vsftpd.conf
    listen=YES
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    dirmessage_enable=YES
    use_localtime=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    secure_chroot_dir=/var/run/vsftpd/empty
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/private/vsftpd.pem
  4. create HOMEDIRROOT e.g. /vol1/homes/
  5. run the following script to create home directories:
    /scripts/create_homes.sh
    #!/bin/sh
     
    USERLIST="`wbinfo -u`"
    HOMEDIRROOT="/vol1/homes/"
     
    for i in $USERLIST
    do
            echo "Making home dir for: ${i}"
            mkdir -p $HOMEDIRROOT/$i
    done

App Repo and Install Pydio

  1. Add the pydio repo
    /etc/apt/sources.list.d/pydio.list
    deb http://dl.ajaxplorer.info/repos/apt stable main
    deb-src http://dl.ajaxplorer.info/repos/apt stable main
  2. Install Packages
    wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | sudo apt-key add -
    sudo apt-get update
    sudo apt-get install pydio mysql-server smbclient vsftpd
    cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-enabled/pydio.conf
  3. Create mysql database
    mysql -p
    create database pydio
  4. Select mysql as a database
web_services/pydio.1391707684.txt.gz · Last modified: 2014/02/06 11:28 by tschulz