View Single Post
  #6  
Old 11th January 2022, 23:19
mogo mogo is offline
Senior Member
 
Join Date: Jun 2020
P2P
Posts: 97
Default
Quote:
Originally Posted by kis2a View Post
not how to for install Empornium/Luminance in the unbutu20 or debian 10 ?
Luminance Installation
Dependencies
PHP >= 7.0
MySQL >= 5.6
Memcached
Nginx (recommended) or Apache
Sphinx 2.0.x
Radiance
PHP Modules
php-mcrypt
php-mbstring
php-memcache
php-mysqlnd
Composer
cd into the Luminance directory and follow the brief instructions on https://getcomposer.org/download/ to download composer.

Once downloaded simply run the following command:

php composer.phar install
Database
You need to create a database before running the Luminance install:

mysql -u root -p
create database luminance;
grant all privileges on luminance.* to 'luminance'@'localhost' identified by '<DatabasePassword>';
Ensure the database password is both stong and unique, preferably a random string.

Luminance
To install a brand new instance of Luminance cd into the Luminance directory and run these commands:

php application/entry.php setup configure
php application/entry.php setup install
To upgrade an existing instance of Luminance cd into the Luminance directory and run this command:

php application/entry.php setup upgrade
To migrate from Gazelle cd into the Luminance directory and run these commands:

php application/entry.php setup configure ../../path/to/gazelle/classes/config.php
php application/entry.php setup upgrade
Sphinx
An example Sphinxsearch configuration file can be found in the install directory.

Nginx Configuration
An example http and https Nginx vhost configuration files can be found in the install directory.

Cronjobs
crontab -e
Set the following as contents for the file:

0,15,30,45 * * * * /usr/bin/php /var/www/localhost/application/entry.php schedule >> /root/schedule.log
* * * * * /usr/bin/indexer -c /etc/sphinx/sphinx.conf --rotate delta
5 * * * * /usr/bin/indexer -c /etc/sphinx/sphinx.conf --rotate --all
Reply With Quote