- ARTS
- COMPUTERS
- INTERNET
- HOME
- RECREATION
- SOCIETY
- PRIVATE
I heard about OpenGoo , a webapplication which you can host at your own server and basically let’s you do the “office” things: contacts, todo, documents, spreadsheets, calender, task, links, and so on.
Although it probably lacks a lot of features this might be handy to install in our household. I really like to have all my data within my own household and I believe distributed everything is basically the way to go.
The main problem are the memory demands, it requires really some MB’s while my Synology CS 407 is already running uhm… a lot.
But let’s try anyway.
|
- Download the zip file from the SourceForge site - Just copy to your /web directory - Open the installation page by just typing in the url of the place you copied it to (e.g. http://cubestation/doc) - You get a nice message and have to click next |
|
- The next page warns you about “simplexml extension is not installed” - According to Synology however this extension is not available yet in their default php release (no libxslt.so). However I read about some “hack” : “install a second apache with a full enabled PHP —> ipkg install php-apache”. Some questions pop in my mind now… ah…. what the heck. |
|
CubeStation> ipkg list php* |
ipkg list php* hmmm… CubeStation> ipkg install php-apache |
| 1) vi /opt/etc/apache2/httpd.conf
(in /opt/lib/php/extensions is now the needed xsl.so) (also change all libexec/bla.so to /opt/libexec/…) Then edited the portnumber to 81 and changed the default webpath. 2) run /opt/sbin/httpd –k start |
and we are running another instance on port 81:
|
The webserver out-of-the-box works great on the NAS but it was not so handy that I only had 1 documentroot, meaning: http://cubestation and http://cubestation/leau would both have as root http://cubestation . This is unhandy because I have seperate sites on the cube which have html code that is often relative to the root. Meaning: I have to rewrite the code or use some hacks.
However, with the help of synology.nl forum and the help of Patrick on the synology.com forum I managed to get it working.
I edited /usr/syno/apache/conf/httpd.conf-user and uncommented the virtual hosts line:
Include conf/extra/httpd-vhosts.conf
Then I added the conf/extra/httpd-vhosts.conf and added 1 subsite to test “leau.cubestation” :
NameVirtualHost *:80
<VirtualHost *:80>
ServerName cubestation
DirectoryIndex index.php index.html index.htm index.shtml
DocumentRoot /var/services/web
<Directory “/var/services/web”>
AllowOverride all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName leau.cubestation
DirectoryIndex index.php index.html index.htm index.shtml
DocumentRoot /var/services/web/leau
<Directory “/var/services/web/leau”>
AllowOverride all
</Directory>
</VirtualHost>
And then I added this new subsite to the /etc/hosts file:
127.0.0.1 localhost
192.168.1.70 CubeStation
192.168.1.70 leau.cubestation
After a reboot it works perfectly from my browser. I can now add all other websites as virtual roots to the cubestation without needing domain names.
