Difference between revisions of "Installation:website"

From PrometheusIPN Wiki
Jump to: navigation, search
Line 17: Line 17:
 
The next step is for Linux only Make sure to set the right permissions for your files!
 
The next step is for Linux only Make sure to set the right permissions for your files!
 
This can be done by running these commands in a linux terminal:
 
This can be done by running these commands in a linux terminal:
<code>cd path/to/installdir<br>
+
 
sudo chown www-data:www-data install.php img/pkgs updates
+
<code>
sudo mkdir cache/auto
+
cd path/to/installdir<br>
sudo chmod 775 install.php cert/* ipn_errors.log img/pkgs cache/* updates
+
sudo chown www-data:www-data install.php img/pkgs updates<br>
sudo chmod 0777 cache/auto</code>
+
sudo mkdir cache/auto<br>
 +
sudo chmod 775 install.php cert/* ipn_errors.log img/pkgs cache/* updates<br>
 +
sudo chmod 0777 cache/auto
 +
</code>
  
 
The next step is for Windows only!
 
The next step is for Windows only!

Revision as of 22:08, 29 July 2015

Video tutorial

{{youtube>J_hrKtHqF9c?large}}


WEBSITE INSTALLATION

The web installation is pretty straight forward.

 * Extract the contents of the "Web files" folder to your web server
 * Edit the file config.php to fit your MySQL database details
 * Create the database you specified above
 * Visit yourwebsite.com/install.php Now you will see something similar to this:

Installation:1.png?900

The three last fields will be automatically filled in and the other ones are pretty self explanatory.

The next step is for Linux only Make sure to set the right permissions for your files! This can be done by running these commands in a linux terminal:

cd path/to/installdir
sudo chown www-data:www-data install.php img/pkgs updates
sudo mkdir cache/auto
sudo chmod 775 install.php cert/* ipn_errors.log img/pkgs cache/* updates
sudo chmod 0777 cache/auto

The next step is for Windows only!

 * Create cache/auto
 * Right click on it -> Properties -> Security and make sure guests have access to write to the directory

When the installation is done the first user to sign in gets admin priveleges