User Tools

Site Tools


web_services:pydio

This is an old revision of the document!


Pydio Setup with Ubuntu 12.04

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

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
            chown -R $i $HOMEDIRROOT/$i
    done
  6. Login to Pydio as a admin user
  7. Create a ftp workspace with the following settings
    Host: 127.0.0.1
    Port: 21
    Path: /
    Secure: No
    Active: Yes
    Session credentials: Yes
  8. Under Application Core→Authentication use the following settings:
    Instance Type: FTP Authentication
    FTP Login Screen: No
    Repository: the <ftp workspace you just created>
    Transmit Clear Pass: Yes
    Auto Create User: Yes
web_services/pydio.1391708267.txt.gz · Last modified: 2014/02/06 11:37 by tschulz