====== ppa manual method: Unsuccessful ====== Note: This method is **deprecated** and DOESNT WORK. See below for better method * Ubuntu Karmic 9.10 64-bit installed * All default updates downloaded and installed * created directory in /media/documents to simulate a place to put stuff and syncronize * did research on ifolder builds, ppa, rpm, etc * I will try ppa and/or rpm-alien install * wanted to see if firefox would save tabs if VM is switched off unexpectantly * worked! * decided i will test this on amazon ec2 machine instead * booted and ssh'ed to machine * found that i need to reference a PPA from * https://edge.launchpad.net/~marceloshima/+archive/ppa * What this actually does, is tell ubuntu: "Hey, you can refer to this guys location, for when you are looking to update certain packages". Then, if I do a ''apt-get install'', it will look at Marcelo's PPAs to try to get the package installed, in addition to the standard ubunutu locations * So, I found that the file to edit is * /etc/apt/sources.list * sudo cp sources.list sources.list.backup * edited sources.list to add in: deb http://ppa.launchpad.net/marceloshima/ppa/ubuntu karmic main deb-src http://ppa.launchpad.net/marceloshima/ppa/ubuntu karmic main * Reupdated the package lists: * sudo apt-get update * Got error at end ''W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED649F97DE6BFD99'' * I think i expected / read about this. I stil have some key steps to follow next ====== ppa auto method: Unsuccessul ====== Note: This method is **deprecated** and DOESNT WORK. See below for better method * after i did this, i read about a better way to do it on ubuntu 9.1+! * https://help.ubuntu.com/community/Repositories/CommandLine * undid what i changed in file... * Installed required package and ppa * sudo apt-get install python-software-properties sudo add-apt-repository ppa:marceloshima/ppa * Next I ran the ifolder3 install of Marcelos: * sudo apt-get install ifolder3 * I got some weird warnings before stuff started installing WARNING: The following packages cannot be authenticated! libflaim5.2 libsimias0 libifolder0 libmono-simias1.0-cil simias-client ifolder3 Install these packages without verification [y/N]? * Otherwise, looks fine...tons of stuff to install * Installed apache, and get ssl going * sudo apt-get install apache2 sudo a2enmod ssl sudo a2ensite default-ssl sudo /etc/init.d/apache2 reload * Not sure if I need last 3 lines * tried many things to get at simias-server-setup, but could not find it or replicate it * made a snapshot in case I want to go back ======= Source method: Works!!? ====== * New ubutu 64-bit box booted * Now going to follow directions verbatim from http://www.x2b4.com/howto/how-to-install-ifolder-on-ubuntu-server/ * sudo apt-get update * sudo apt-get install apache2 * sudo a2enmod ssl * sudo a2ensite default-ssl * sudo /etc/init.d/apache2 reload * sudo mkdir ~/ifolderinstall * cd /home/ubuntu/ifolderinstall/ * sudo apt-get install build-essential automake autoconf mono-complete liblog4net1.2-cil uuid-dev libxml2-dev mono-apache-server mono-apache-server2 gsoap libapache2-mod-mono libncurses-dev libtool g++-4.3 gcc-4.3 * sudo wget http://forgeftp.novell.com/flaim/development/flaim/downloads/source/libflaim-4.9.989.tar.gz * sudo tar -xzf libflaim-4.9.989.tar.gz * cd libflaim-4.9.989 * sudo sed -i "s/\-Werror//" Makefile * sudo make * sudo make install * cd .. * sudo wget http://downloads.sourceforge.net/project/ifolder/iFolder%20Clients/3.8.0/simias-1.8.3.9328.1.tar.gz * sudo tar -xzf simias-1.8.3.9328.1.tar.gz * cd simias-1.8.3.9328.1/ * export CSC_LIBFLAG="/target:library" export WSDL=wsdl2 export CSC2="gmcs /d:MONO /d:MONONATIVE" export CSC="gmcs /d:MONO /d:MONONATIVE" export MONO=mono export CC=gcc-4.3 export CXX=g++-4.3 * sed -i -e "s+\$(GSOAP_PATH)/wsdl2h+wsdl2h+g" -e "s+\$(GSOAP_PATH)/soapcpp2+soapcpp2+g" -e "s+\$(GSOAP_PATH)/stdsoap2.c+/usr/include/gsoap/stdsoap2.c+g" -e "s+\$(GSOAP_PATH)/stdsoap2.h+/usr/include/stdsoap2.h+g" src/core/libsimias/Makefile.am * ./autogen.sh --prefix=/usr * sudo make * sudo make install * sudo /usr/bin/simias-server-setup * notable settings: * Server Name? [Host1]: iFolder * Public URL? [https://10.244.162.15/simias10]: * System Name? [iFolder]: * System Admin? [admin]: * System Admin Password?: * Apache User? [wwwrun]: www-data * Apache Group? [www]: www-data * at end got: Unable to find the User Move plugin configuration files.. /usr/etc/simias/bill/modules/UserMovement.conf Please make sure, ifolder-enterprise-plugins rpm is installed. * sudo sed -i 's/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g' /etc/apache2/conf.d/simias.conf * sudo mkdir -p /var/www/.config/.mono/ * sudo chown -R www-data:www-data /var/www/.config/ * sudo /etc/init.d/apache2 stop * ps aux | grep apache * sudo /etc/init.d/apache2 start * sudo /usr/bin/ifolder-admin-setup * took defaults except * Web Alias? [/admin]: * iFolder URL? [https://localhost:443/]: * apache to www-data * Configuring /usr/lib64/simias/admin/Web.config...Done * Server DATA PATH is set to : /var/simias/data/simias * Configuring /etc/apache2/conf.d/ifolder_admin.conf...Done * Installing certificate... [Thumbprint] 27D71C43E0C3B1301320F1E9265A26E836F5C931 * sudo /usr/bin/ifolder-web-setup * took defaults except * Web Alias? [/ifolder]: * iFolder URL? [https://localhost:443/]: * Apache User? [wwwrun]: www-data, Apache Group? [www]: www-data * Configuring /usr/lib64/simias/webaccess/Web.config...Done * Server DATA PATH is set to : /var/simias/data/simias * Configuring /etc/apache2/conf.d/ifolder_web.conf...Done * Installing certificate... [Thumbprint] 27D71C43E0C3B1301320F1E9265A26E836F5C931 * sudo sed -i 's/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g' /etc/apache2/conf.d/ifolder_admin.conf * sudo sed -i 's/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g' /etc/apache2/conf.d/ifolder_web.conf * sudo a2enmod rewrite * sudo /etc/init.d/apache2 restart * Got login YAY! * Once machine was turned off and back on, the login no longer works. * I decided to re run sudo /usr/bin/simias-server-setup script with same commands and set admin password to known one *