<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=Install_OpenUpload</id>
	<title>Install OpenUpload - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=Install_OpenUpload"/>
	<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=Install_OpenUpload&amp;action=history"/>
	<updated>2026-11-14T11:43:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://cocnm.computerisms.ca/index.php?title=Install_OpenUpload&amp;diff=273&amp;oldid=prev</id>
		<title>Bob: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=Install_OpenUpload&amp;diff=273&amp;oldid=prev"/>
		<updated>2013-09-19T06:20:02Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Server Prep==&lt;br /&gt;
*apt-get install postgresql php5-pgsql libapache2-mod-php5&lt;br /&gt;
&lt;br /&gt;
==Obtain and Prepare OpenUpload==&lt;br /&gt;
*&amp;lt;b&amp;gt;Find latest downloads here:&amp;lt;/b&amp;gt; http://openupload.sourceforge.net/&lt;br /&gt;
*cd /usr/src&lt;br /&gt;
*wget http://sourceforge.net/projects/openupload/files/openupload/v0.4/openupload-0.4.2.tar.gz&lt;br /&gt;
*tar zxf openupload-0.4.2.tar.gz&lt;br /&gt;
*mkdir -p /Computerisms/sites/fetch.computerisms.com&lt;br /&gt;
*mkdir -p /usr/local/openupload&lt;br /&gt;
*cd openupload-0.4.2/&lt;br /&gt;
*cp -r lib/ locale/ plugins/ sql/ templates/ txtdb/ /usr/local/openupload/&lt;br /&gt;
*cp -r data/ templates_c/ www/ /Computerisms/sites/fetch.computerisms.com/&lt;br /&gt;
*sed -i &amp;#039;s/admins/Domain Admins/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/2_base.sql&lt;br /&gt;
*sed -i &amp;#039;s/unregistered/Domain Guests/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/2_base.sql&lt;br /&gt;
*sed -i &amp;#039;s/registered/Domain Users/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/2_base.sql&lt;br /&gt;
*sed -i &amp;#039;s/admins/Domain Admins/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/3_mode_private.sql&lt;br /&gt;
*sed -i &amp;#039;s/unregistered/Domain Guests/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/3_mode_private.sql&lt;br /&gt;
*sed -i &amp;#039;s/registered/Domain Users/&amp;#039; /usr/src/openupload-0.4.2/sql/pgsql/3_mode_private.sql&lt;br /&gt;
&lt;br /&gt;
==Configure Postgres==&lt;br /&gt;
*&amp;gt; /etc/postgresql/9.1/main/pg_hba.conf; vi [[/etc/postgresql/9.1/main/pg_hba.conf]]&lt;br /&gt;
*chown postgres:postgres /etc/postgresql/9.1/main/pg_hba.conf&lt;br /&gt;
*/etc/init.d/postgresql restart&lt;br /&gt;
*su - postgres&lt;br /&gt;
*createuser -P -S -D -R -l fetch&lt;br /&gt;
*createdb --owner=fetch fetch &amp;quot;DB for fetch.computerisms.com&amp;quot;&lt;br /&gt;
*psql -h 127.0.0.1 -W -U fetch -f /usr/src/openupload-0.4.2/sql/pgsql/1_structure.sql&lt;br /&gt;
*psql -h 127.0.0.1 -W -U fetch -f /usr/src/openupload-0.4.2/sql/pgsql/2_base.sql&lt;br /&gt;
*psql -h 127.0.0.1 -W -U fetch -f /usr/src/openupload-0.4.2/sql/pgsql/3_mode_private.sql&lt;br /&gt;
*exit&lt;br /&gt;
&lt;br /&gt;
==Configure OpenUpload==&lt;br /&gt;
*vi [[/Computerisms/sites/fetch.computerisms.com/www/config.inc.php]]&lt;br /&gt;
*chown -R fetch:fetch /usr/local/openupload/ /Computerisms/sites/fetch.computerisms.com/&lt;br /&gt;
*find /Computerisms/sites/fetch.computerisms.com/ -type d -exec chmod 2770 {} \;&lt;br /&gt;
*find /Computerisms/sites/fetch.computerisms.com/ -type f -exec chmod 0660 {} \;&lt;br /&gt;
*rm /Computerisms/sites/fetch.computerisms.com/www/.htaccess&lt;br /&gt;
&lt;br /&gt;
==Configure Apache==&lt;br /&gt;
*sed -i &amp;#039;s/\;date.timezone =/date.timezone = America\/Whitehorse/&amp;#039; /etc/php5/apache2/php.ini &lt;br /&gt;
*vi [[/etc/apache2/sites-available/fetch.computerisms.com.conf]]&lt;br /&gt;
*mkdir /var/log/apache2/fetch.computerisms.com&lt;br /&gt;
*chown root:adm /var/log/apache2/fetch.computerisms.com/&lt;br /&gt;
*a2ensite fetch.computerisms.com&lt;br /&gt;
*/etc/init.d/apache2 restart&lt;br /&gt;
*samba-tool dns add houselian computerisms.com fetch A 192.168.26.10&lt;br /&gt;
&lt;br /&gt;
==Configure OpenUpload Plugins and Rights==&lt;br /&gt;
*navigate to https://fetch.computerisms.com/&lt;br /&gt;
*log in as the network Administrator or as any member of Domain Admins, like bob.miller&lt;br /&gt;
*navigate to the Administration link, then choose plugins.&lt;br /&gt;
**select plugin options and configure the plugins how you want to use them==Configure Plugins==&lt;br /&gt;
**navigate back to plugins=&amp;gt;plugins ACLs.  Click the &amp;quot;plug&amp;quot;in in the top left&lt;br /&gt;
**choose the plugin and the group to assign it to, as well as access permissions.&lt;br /&gt;
*User and Group Administration is not handled in this interface, all users under dc=computerisms,dc=com in the AD will be able to log in.&lt;br /&gt;
**restrict this wtih the basedn in the config file, or by setting all groups to full deny and creating specific groups in AD that will have Rights&lt;br /&gt;
*Groups are not created in this interface, but rights are granted to the group the user belongs too&lt;br /&gt;
**navigate Administration=&amp;gt;Rights.  Select groups that obviously do not need access, like DNSAdmins, and set them to full deny&lt;br /&gt;
***If you see ERROR: query failed: INSERT INTO with a corresponding duplicate key value violates unique constraint in the apache log just keep doing it, it will get a unique key eventually&lt;br /&gt;
***&amp;lt;credit:&amp;gt;http://howto.landure.fr/gnu-linux/debian-4-0-etch/installer-loutil-de-partage-de-fichiers-open-upload-sur-debian&lt;br /&gt;
****took me 12 times to change the rights on a group&lt;br /&gt;
&lt;br /&gt;
==Helpful Reading==&lt;br /&gt;
*http://sourceforge.net/apps/mediawiki/openupload&lt;/div&gt;</summary>
		<author><name>Bob</name></author>
	</entry>
</feed>