Lemp

A pre-configured and optimized for better performance LEMP environment for web-applications with the next generation of PHP version 7. It is similiar to the LAMP stack, where Apache is replaced with the lightweight yet powerful Nginx, and PHP works in `php-fpm` mode.

Constructor:

Configuration

Full settings

nginx

Default server host

Main config: /jet/etc/nginx/nginx.conf
Additional configs: /jet/etc/nginx/conf.d
Document Root: /jet/app/www/default
Ports/Sockets: 80
Main Error Log: /jet/log/nginx/error.log

mysqld

Server configuration

Version: Ver 10.1.22-MariaDB for Linux on x86_64 (MariaDB Server)
Main my.cnf: /jet/etc/mycnf/my.cnf
Additional configs: /jet/etc/mycnf/my.cnf.d/
Database directory: /jet/prs/mysqld/data
Administrator username: root
Administrator password: empty
Socket: /jet/run/mysqld/mysql.sock
Error log: /jet/log/mysqld/mysqld.log

Daemon management

Start: start mysqld
Stop: stop mysqld
Restart: restart mysqld

memcached

Settings

Version: 1.4.36
Main config: /jet/etc/memcached/memcached.conf
Sockets: /jet/run/memcached/memcached.socket
Logfile: /jet/log/memcached/memcached.log

Daemon management

Start: start memcached
Stop: stop memcached
Restart: restart memcached

redis

Settings

Version: 3.2.8
Main config: /jet/etc/redis/redis.conf
Additional configs: /jet/etc/redis/redis-sentinel.conf
Databases directory: /jet/prs/redis/data/
Addresses: 127.0.0.1
Ports: 6379
Logfile: /jet/log/redis/redis.log

Daemon management

Start: start redis
Stop: stop redis
Restart: restart redis

php

Version: 7.1.4
Additional modules: PEAR PECL FPM
Path to interpreter: /jet/bin/php
Path to php.ini: /jet/etc/php/php.ini
Additional ini files: /jet/etc/php/php.d

phpmyadmin

Version: 4.7.0
phpMyAdmin address: http://server_address/phpmyadmin

www

Default site directory: /jet/app/www/default

php-fpm

Configuration

Version: 7.1.4 (fpm-fcgi)
Configuration file /jet/etc/php-fpm/php-fpm.conf
Additional config files: /jet/etc/php-fpm/conf.d

Daemon management

Start: start php-fpm
Stop: stop php-fpm
Restart: restart php-fpm

init

Services control

Available services: cron exim memcached monit mysqld nginx php-fpm redis
Start all services: start
Stop all services: stop
Service commands: available|enabled|disabled|enable|disable|start|stop|status|restart servicename

config

Directories

Configurations: /jet/etc
Log files: /jet/log
Applications: /jet/app
Applications data: /jet/var
Temporary files: /jet/tmp
Persistent data: /jet/prs

exim

Configuration

Version: 4.89
Default smtp port 25
Main config: /jet/etc/exim/exim.conf
Main Log: /jet/log/exim/main.log

Daemon management

Start: start exim
Stop: stop exim
Restart: restart exim

mail_submission

Sendmail location: /jet/bin/sendmail

mysqld_main_db

Default databases

main

monit

Settings

Version: 5.19.0
Main config: /jet/etc/monit/monitrc
Additional config files: /jet/etc/monit/monit.d
Logfile: /jet/log/monit/monit.log

Daemon management

Start: start monit
Stop: stop monit
Restart: restart monit
Reload: reload monit
Status: monit summary monit status