EyeOS

From Alpine Linux
Revision as of 12:15, 2 July 2011 by Epi (talk | contribs) (added commands for latest Eyeos Version 2.5)

What is eyeOS?

eyeOS is an open source web desktop following the cloud computing concept that leverages collaboration and communication among users. It is mainly written in PHP, XML, and JavaScript. It acts as a platform for web applications written using the eyeOS Toolkit. It includes a Desktop environment with 67 applications and system utilities

Set up eyeOS on Alpine Linux

This document will be a quick c/p guide to setup eyeOS on Alpine linux. What we will setup is the following:

  • Lighttpd with PHP
  • eyeOS

Install lighttpd, and PHP

Basic Installation

For installing the additional packages first activate community packages and update the package index

Install the required packages:

# apk add lighttpd php82 fcgi php82-cgi

Configure Lighttpd

Edit lighttpd.conf (/etc/lighttpd/lighttpd.conf) and uncomment the line:

Contents of /etc/lighttpd/lighttpd.conf

... include "mod_fastcgi.conf" ...

Edit mod_fastcgi.conf (/etc/lighttpd/mod_fastcgi.conf), find and change /usr/bin/php-cgi to /usr/bin/php-cgi82.

Contents of /etc/lighttpd/mod_fastcgi.conf

... "bin-path" => "/usr/bin/php-cgi82" # php-cgi ...

Start lighttpd service and add it to default runlevel

# rc-service lighttpd start # rc-update add lighttpd default

Installing and configuring eyeOS

Install eyeOS

Make webapps folder

mkdir /usr/share/webapps/ -p

Download previous version:

cd /usr/share/webapps/
wget http://sourceforge.net/projects/eyeos/files/eyeos/1.9.0.1/eyeOS_1.9.0.1.zip/download

Unpack and delete zip file

unzip download
rm download

Also you can download latest version:

cd /usr/share/webapps/
wget http://sourceforge.net/projects/eyeos/files/eyeos2/eyeos-2.5.tar.gz/download

Unpack and delete tar.gz file

cd /usr/share/webapps/
tar -xvzf download

Change Folder Persmissions

 chmod -R 777 /usr/share/webapps/eyeOS/

Make symlinks to eyeOS

ln -s /usr/share/webapps/eyeOS/ /var/www/localhost/htdocs/eyeos

Unpack main package

 cd /usr/share/webapps/eyeOS/
 mv /usr/share/webapps/eyeOS/package.eyepackage /usr/share/webapps/eyeOS/package.tar.gz
 tar zxvf  /usr/share/webapps/eyeOS/package.tar.gz

Starting

Starting http service and adding to boot

 /etc/init.d/lighttpd start && rc-update add lighttpd default

Config your eyeos

Browse to: http://WEBSERVER_IP_ADDRESS/eyeos

 Please fill out the following form to install eyeOS:
 Root Password
 Retype Password
 System Name
 Allow users to create accounts

When you finish, press "Install eyeOS!" button, and thats all. :) You have eyeOS cloud computing system working, to access go to http://WEBSERVER_IP_ADDRESS/eyeOS and enjoy!