This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
web_services:pydio [2014/02/06 11:23] tschulz [App Repo and Install Pydio] |
web_services:pydio [2014/02/06 11:30] tschulz [FTP Authentication] |
||
---|---|---|---|
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 | ||
+ | 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> | ||
- | |||
- | ===== 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 | ||
- | 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 |