Coder Social home page Coder Social logo

imaginariaactual's Introduction

WTF

Здесь хранятся сырцы текущей версии имажинарии на базе движка Livestreet 1.0.3

Лицензия GPL.

Из репозитория исключены конфигурационные файлы

  • config/config.local.php
  • config/searchd.credentials.imaginaria

Install

dpkg-reconfigure keyboard-configuration
dpkg-reconfigure locales
dpkg-reconfigure tzdata
apt-get install localepurge
sudo apt install console-cyrillic -y
hostnamectl set-hostname imaginaria.ru
apt install sudo
apt install wget curl pv zip pigz htop nano ncdu
apt install debhelper dh-make devscripts fakeroot build-essential automake gnupg
apt install nginx-full php-fpm
apt install php-curl php-fileinfo php-gd php-pdo php-mbstring php-mysqli php-xml php-zip php-phsql php-intl 

Конфиг для мантикоры должен лежать в /etc/manticonf/credentials.imaginaria:

#!/usr/bin/env bash

export DB_HOST="localhost"
export DB_BASE="imaginaria"
export DB_USER="imaginaria"
export DB_PASS="..."
# -eof-

Restore configs

cp /srv/Imaginaria.Config/config.local.php /path/to/config/config.local.php
cp /srv/Imaginaria.Config/plugins.dat /path/to/plugins/plugins.dat
  • примонтировать cache
  • выставить права и владельца

Оптимизация админки и списка пользователей

(однократно) CREATE INDEX ls_adminset_adminset_key_IDX USING BTREE ON ls_adminset (adminset_key); CREATE INDEX ls_adminban_user_id_IDX USING BTREE ON ls_adminban (user_id);

раз в год

SET SQL_MODE='ALLOW_INVALID_DATES'; DELETE FROM ls_session WHERE YEAR(session_date_last) != 2024; OPTIMIZE TABLE ls_session; DELETE FROM ls_shistory WHERE YEAR(enter_date) != 2024;

imaginariaactual's People

Contributors

karelwintersky avatar

Watchers

James Cloos avatar  avatar

Forkers

palikhov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.