====== Pydio Setup with Ubuntu 12.04 ====== ===== App Repo and Install Pydio ===== - Add the pydio repo deb http://dl.ajaxplorer.info/repos/apt stable main deb-src http://dl.ajaxplorer.info/repos/apt stable main - 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 php5-mysql php5-sqlite cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-enabled/pydio.conf - Create mysql database mysql -p create database pydio - Navigate to **http://[HOSTNAME]/pydio/** - Select mysql as a database ===== FTP Authentication ===== - Configure winbind to authenticate through active directory - Install vsftpd - Use the following config: 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 - create **HOMEDIRROOT** e.g. **/vol1/homes/** - run the following script to create home directories: #!/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 - Login to Pydio as a admin user - Create a ftp workspace with the following settingsHost: 127.0.0.1 Port: 21 Path: / Secure: No Active: Yes Session credentials: Yes - Under Application Core->Authentication use the following settings: Instance Type: FTP Authentication FTP Login Screen: No Repository: the Transmit Clear Pass: Yes Auto Create User: Yes