Setup Linux

Here is a complete step-by-step guide on how to install all necessary applications on Debian 5.

This text assumes you are logged on as a privileged user.

I assume you have already installed Debian 5.

Next you have to write these commandlines in the shell.

First you install apache and php 5

"apt-get install apache2 php5 libapache2-mod-php5"

Accept the installation.

Next you install MySQL

"apt-get install mysql-server mysql-client php5-mysql"

Accept the installation.

You will be prompted to set a password. Choose a password and remember it.

Installation of phpmyadmin is optional

"apt-get install phpmyadmin"

Accept the installation

You will be prompted to choose a setup for a webserver, choose apache2.

If you cannot get access to phpmyadmin you will have to manually add "Include /etc/phpmyadmin/apache.conf" to the bottom of  /etc/apache2/apache2.conf

Next You need to enable mod_rewrite do this by running this command

"a2enmod rewrite"

To enable this mod on Bromine go to /etc/apache2/sites-enabled/ there should be a file named 000-default or similar open this and find the entry that looks like this:

<directory /var/www/>

Inside this there should be a line with AllowOverride None, change this to AllOverride All. Save and close the file

Now open the php.ini file. Located here

/etc/php5/apache2/

Find the entry with magic quotes, it should looks something like this "magic_quotes_gpc = On" set this to off like this:

magic_quotes_gpc = Off

Now find max_execution time and max_input_time and set this to a very high number eg. 6000000. Save and close the file.

Now restart apache with this command:

"/etc./init.d/apache2 restart"

You are almost ready to install Bromine. First off unpack bromine at the root of /var/www. Now before you install Bromine you have to set the right permissions. The following should have write permissions, to do this navigate to the listed file/folder and change the owner to www-data:

    * /var/www/app/tmp/
    * /var/www/app/tmp/cache
    * /var/www/app/config/database.php*
    * /var/www/scheduler/server.properties
    * /var/www/app/webroot/img/temp
    * /var/www/app/webroot/logs
    * /var/www/app/webroot/testscripts (Should be recursive on all files and folders inside this folder)

*Rename database.dbo.php, found in /var/www/app/config/, to database.php. Note in future releases this should already have been done when you have downloaded Bromine.

Now open localhost in your browser and follow the installation.

(this is a work in progress)

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.