domingo, 16 de octubre de 2011

Instalacion EYEOS


EyeOS 2.5 Installation Manual

for a Debian based distribution

Requirements

  • Apache http Server 2.x
  • MySQL-server and MySQL-client 5.x
  • PHP 5.3, or higher



Others

In order to install these packages and the other pcakages needed for the advanced functionalities you should execute these commands from your shell:


  • apt-get install mysql-server apache2

  • apt-get install openoffice.org php5 libapache2-mod-php5 php5-gd php5- mysql php5-imagick libimage-exiftool-perl php5-sqlite php-pear php5- dev python-uno php5-mcrypt php5-curl zip unzip build-essential



To enable the upload progress bar we must install the uploadprogress module:

pecl install uploadprogress



and then edit the php.ini file and add:

extension=uploadprogress.so



Installation

1. Download EyeOS If you have not got a copy of eyeOS you can download it just clicking this link eyeOS it will show what file best fits your needs.



2. Unpack & Placement

2.1. Uncompress the downloaded package to your web directory. You should see a folder named EyeOS.


2.2. Then you must move this folder wherever you need (e.g. /var/www/)



2.3. After that you should change the permissions of this folder:


#sudo chown -R www-data.www-data /var/www/eyeOS #sudo chmod 750 -R /var/www/eyeOS

(Change www-data to your apache user and /var/www/eyeOS to the eyeOS final place)


3. Create the database

3.1. Using phpMyAdmin or your mysql client create a database called ‘eyeOS’ and grant read and write permissions to a database user.


4. Set up your server configuration


4.1. Enable mod-rewrite on Apache

a2enmod rewrite


4.2. Edit virtual hosts

nano /etc/apache2/sites-available/default

Change, at the variable AllowOverride to All


4.3. Edit php.ini file and set the following variables:

error_reporting = E_ALL & ~E_NOTICE

display_errors = Off

max_execution_time = 30

max_input_time = 60

memory_limit = 128M

post_max_size = 200M

upload_max_filesize = 100M

allow_url_fopen = On

disable_functions =

safe_mode = Off

short_open_tag = On

magic_quotes_runtime = Off

file_uploads = On



4.4. Restart Apache

/etc/init.d/apache2 restart


5. Installation

5.1. Open your browser and navigate to:

o On local computer: http://localhost/eyeOS/install

o On a remote host: http://YOUR_URL/eyeOS/install


On the following steps set the database name, user and password. Fill them to finish the installation!

5.2. Remove install directory

/etc/init.d/apache2 restart