web_services:pydio
Pydio Setup with Ubuntu 12.04
App Repo and Install Pydio
-
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
-
Select mysql as a database
FTP Authentication
Configure winbind to authenticate through active directory
Install vsftpd
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
create HOMEDIRROOT e.g. /vol1/homes/
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
Login to Pydio as a admin user
Create a ftp workspace with the following settings
Host: 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 <ftp workspace you just created>
Transmit Clear Pass: Yes
Auto Create User: Yes
web_services/pydio.txt · Last modified: 2014/02/07 15:12 by tschulz