Myrocks

A ready to use runtime environment for PHP applications with completely integrated, pre-configured and optimized for web-specific tasks LEMP stack with the next generation of PHP version 7 and MyRocks MySQL with RocksDB storage engine. 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 5.6.27 for Linux on x86_64 (MySQL Community Server (GPL))
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

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 monit mysqld nginx php-fpm
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

Documentation