(* Smarty *}
MAIN MENU

Training Media
Click here to visit Spidertools.com.
GP2X Portable
Media Player
GP2X In Stock NOW!! Games, Ebooks, Movies, Photos, Divx, OGG, mp3, Tv out, USB 2.0,
Click and get a GP2X

YaFSUG: Projectz.

Project: Khuti - File Media Server.
By Vincent Angus Williams - scribe63

Screenshots: VIEW

Intro Specs Install Configs Tests Conclusion

Configurations

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

SimpleGroupware:
Requirements
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***>';
template=#\q
After that, i gave the system postgres user a password, and edited
/etc/postgresql/8.1/main/pg_hba.conf
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
for testing.
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

Cofiguration.
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.

iFolder3:
Requirements
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

Configuration.
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,
and /var/log.
I then ran the simias-server-setup command and followed the prompts with the following answers;
Server's Data Path: /var/lib/simias
ServerName: herukhuti
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
Working...
Configuring /var/lib/simias/Simias.config...SetupSimias - Done
Setting up permissions...Done
Configuring /etc/apache2/conf.d/simias.conf...Done
Setting up script files...Done
Run /usr/bin/khuti script to load the server
Setting up Log4Net file...Done
SUCCESS
You may have to add the following line to /etc/apache2/sites-available/default:
Include /etc/simias/apache/default/*.conf
Login to iFolder
Restart Apache:
/etc/init.d/apache restart
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.

After running '/etc/init.d/apache2 restart', i got a warning about conflicts in reference to concurrent
aliases in '/etc/apache2/conf.d/simias.conf' and /'etc/simias/simias_server_config' pointing to the same
place.
Upon checking both file files, it seems that they were both attempting to do the same thing. So i backed
up '/etc/simias/simias_server_config', kept '/etc/apache2/conf.d/simias.conf' and
ran '/etc/init.d/apache2 restart' again and did not get any warnings.


©2006 - 2013 YaFSUG all rights reserved.
All respective © Owners all rights reserved.
------
RESOURCES

Web Site Hosting
Web hosting services
Get $25 off on sign up
Click Button Above
or Enter YAFSUG97PROMO
Get good prices on
Books, ETC,.