Now it's time to get down to some more seriuos business and check for requirements,
install, configure and then test the applications.
I will continue by installing the following programs using xterm.
But first will check the requirements for SimpleGroupware and iFolder, and after installing
postgresql database i will hunt for phpPgAdmin the web based administration interface for it
instead of using pgAdminIII.
$sudo apt-get install postgresql-8.1 phppgadmin
While phpPgAdmin was being installed php4 was installed also, and it seems like apache2 and
php5 were already installed.
With these installed the basic requirements for SimpleGroupware were met. I then used wget to
download the latest version of SimpleGroupware and its manual in pdf format.
I will now do some basic postgres configuration and prepare for the SimpleGroupware database.
I will start by changing the postgres user passwd..
$sudo su postgres -c psql template1
template=# ALTER USER postgres WITH PASSWORD '<***PASSWD***>';
After that, i gave the system postgres user a password, and edited
with my network information.
I then switch user to postgres, and created a user
$createuser -D -A -P myuser
and his database
$createdb -O myuser mydb
These are some basic commands when in database;
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
Since things are working i will now create the SimpleGroupware database.
$createuser -D -A -P sgs-user'
and his database
$createdb -O sgs-user sgs-db
Before configuring SimpleGroupware i inslalled acl so as to have finer grain access
privileges to folders and files that are going to be shared by different users. I then
installed a couple other packages that SG required, based on its installation instructions
at 'http://simple-groupware.com' for debian. Since i'm using postgresql as it database
backend i had to created the database with UTF8(Unicode) support, i believe this is the
default with postgresql now. I then checked the PHP settings that are needed by the
groupware, by using phpinfo tag and every thing looks good.
Now i will download the latest SimpleGroupware tar file, untar it where i intended
to be access by apache2, make www-data it's owner and group, create a sgs.conf file
in '/etc/apache2/conf.d' to tell apache2 where it's located, and restart apache2.
I added a new repository to my sources.list file, and installed the following files.
$sudo apt-get install libapache2-mod-mono
$sudo apt-get install libflaim4 libflaim-dev liblog4net-cil uuid-dev libxml2 libxml2-dev
automake1.9 php5-gd libncurses5-dev libcommoncpp2-1.3c2a libstdc++5 libtool pkg-config
make g++ mono-mcs php5-pgsql
Since there are no .deb packages for ifolder i resumed the installation of IFolder-Enterprise-Server
by following the instructions at http://www.ifolder.com and installing the other package requirements.
Then per the instruction, used wget to download the ifolder source and got ifolder3-server-3.5.6268.1,
and proceded to build the the package using autogen, make, and checkinstall.
I had to make sure and install all the required packacges, and do some file editing that neededede to
build the package without any errors and make it through this process.
Upon completion checkinstall installed ifolder3-server_3.5.6268.1-1_i386.deb
I did the pre-setup and add the uid.conf file with the user and group information it needed.
I also 'mkdir' the necessary directories and their owner and group privileges to in /var/www, /var/lib,
I then ran the simias-server-setup command and followed the prompts with the following answers;
Server's Data Path: /var/lib/simias
Public URL: http://host.remote.net:8086/simias10
Private URL: http://host.local.net/simias10
Slave Server? [No]
System Name? [iFolder] itiopi Nterprise iFolder
System Description? itiopi Nterprise iFolder System
System Admin? admin
System Admin Password password
Configure Apache? Yes
Configuring /var/lib/simias/Simias.config...SetupSimias - Done
Setting up permissions...Done
Setting up script files...Done
Run /usr/bin/khuti script to load the server
Setting up Log4Net file...Done
You may have to add the following line to /etc/apache2/sites-available/default:
Login to iFolder
You should now be able to login to /simias10, /ifolder on the site. You may login as admin to /admin
and create new users which for logging into the other URLs.