This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
web_services:pydio [2014/02/06 11:09] tschulz created |
web_services:pydio [2014/02/07 15:12] tschulz [App Repo and Install Pydio] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Pydio ====== | + | ====== Pydio Setup with Ubuntu 12.04 ====== |
- | <file vsftpd /etc/vsftpd.conf> | + | ===== App Repo and Install Pydio ===== |
+ | |||
+ | - Add the pydio repo<file apt /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 | ||
+ | </file> | ||
+ | - Install Packages<file bash> | ||
+ | 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 | ||
+ | </file> | ||
+ | - Create mysql database<file> | ||
+ | mysql -p | ||
+ | create database pydio | ||
+ | </file> | ||
+ | - 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: <file vsftpd /etc/vsftpd.conf> | ||
listen=YES | listen=YES | ||
anonymous_enable=NO | anonymous_enable=NO | ||
Line 14: | Line 36: | ||
rsa_cert_file=/etc/ssl/private/vsftpd.pem | rsa_cert_file=/etc/ssl/private/vsftpd.pem | ||
</file> | </file> | ||
- | + | - create **HOMEDIRROOT** e.g. **/vol1/homes/** | |
- | <file bash /scripts/create_homes.sh> | + | - run the following script to create home directories: <file bash /scripts/create_homes.sh> |
#!/bin/sh | #!/bin/sh | ||
Line 25: | Line 47: | ||
echo "Making home dir for: ${i}" | echo "Making home dir for: ${i}" | ||
mkdir -p $HOMEDIRROOT/$i | mkdir -p $HOMEDIRROOT/$i | ||
+ | chown -R $i $HOMEDIRROOT/$i | ||
done | done | ||
</file> | </file> | ||
- | + | - Login to Pydio as a admin user | |
- | ===== App Repo and Install Pydio ===== | + | - Create a ftp workspace with the following settings<file>Host: 127.0.0.1 |
- | + | Port: 21 | |
- | <file apt /etc/apt/sources.list.d/pydio.list> | + | Path: / |
- | deb http://dl.ajaxplorer.info/repos/apt stable main | + | Secure: No |
- | deb-src http://dl.ajaxplorer.info/repos/apt stable main | + | Active: Yes |
+ | Session credentials: Yes | ||
</file> | </file> | ||
- | + | - Under Application Core->Authentication use the following settings:<file> | |
- | <file> | + | Instance Type: FTP Authentication |
- | wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | sudo apt-key add - | + | FTP Login Screen: No |
- | sudo apt-get update | + | Repository: the <ftp workspace you just created> |
- | sudo apt-get install pydio | + | Transmit Clear Pass: Yes |
- | cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-enabled/pydio.conf | + | Auto Create User: Yes |
</file> | </file> |