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.

Costruttore:

Utilizzazione

You can install the appliance on any new or existing Linux server, download and run it as a virtual machine, use it as a base image for Docker or Vagrant, or launch it with a new cloud platform instance, VPS or dedicated server for supported hosting providers.

Launch in clouds
Aws ec2 Google cloud platform Digital ocean Microsoft azure Ibm bluemix Oracle cloud platform
Install
Install on Linux

You can install the appliance directly on any Linux with 64-bit kernel (>=2.6.32). Run from the command line:

curl -L http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/installer:nub_tgz/setup | sh

You’ll be asked to execute some operations as root via sudo during the installation.

How to use

To enter the runtime environment or to execute a command inside the runtime environment you can use the utility /jet/enter. If no arguments are present, the standard shell will be executed inside the runtime environment. You can specify a command as an argument, it will be executed inside the runtime environment.

For example, to start all services in the runtime environment you can do /jet/enter start. To execute a mysql client you can do /jet/enter mysql; or run first /jet/enter, and than run from the new command line mysql.

Download archive

You can download the archive, unpack it into the /jet directory, finish installation by executing the command /jet/enter /jet/own/bin/fasten and start the services by running /jet/enter start.

lemp-1op8j8ncvkjgs.tar.gz
438 MB
Run a container
Alpine 3.8
Ubuntu 18.04
Debian 9
CentOS 7
Docker

Copy Dockerfile into your project’s directory:

FROM alpine:3.8
RUN apk add sudo libcap tar
RUN adduser -S -h /jet -s /jet/login jet

RUN { wget -O - "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/setup" || echo exit 1; } | sh

WORKDIR /jet
USER jet
VOLUME ["/jet/prs"]
ENTRYPOINT ["/jet/login"]
CMD ["main"]

or build an image directly from the URL by executing the command:

docker build 'http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/Dockerfile?os=alpine_3.8'

Copy Dockerfile into your project’s directory:

FROM ubuntu:18.04
RUN \
  echo "tzdata tzdata/Areas select Etc" | debconf-set-selections; \
  echo "tzdata tzdata/Zones/Etc select Universal" | debconf-set-selections; \
  apt-get update && \
    DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
      apt-get install -y tzdata netbase sudo wget libcap2-bin
RUN useradd --system -m --home /jet --shell /jet/login jet

RUN { wget -O - "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/setup" || echo exit 1; } | sh

WORKDIR /jet
USER jet
VOLUME ["/jet/prs"]
ENTRYPOINT ["/jet/login"]
CMD ["main"]

or build an image directly from the URL by executing the command:

docker build 'http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/Dockerfile?os=ubuntu_18.04'

Copy Dockerfile into your project’s directory:

FROM debian:9-slim
RUN apt-get update && apt-get install -y netbase sudo wget libcap2-bin
RUN useradd --system -m --home /jet --shell /jet/login jet

RUN { wget -O - "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/setup" || echo exit 1; } | sh

WORKDIR /jet
USER jet
VOLUME ["/jet/prs"]
ENTRYPOINT ["/jet/login"]
CMD ["main"]

or build an image directly from the URL by executing the command:

docker build 'http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/Dockerfile?os=debian_9'

Copy Dockerfile into your project’s directory:

FROM centos:7
RUN yum install -y sudo wget libcap
RUN useradd --system -m --home /jet --shell /jet/login jet

RUN { wget -O - "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/setup" || echo exit 1; } | sh

WORKDIR /jet
USER jet
VOLUME ["/jet/prs"]
ENTRYPOINT ["/jet/login"]
CMD ["main"]

or build an image directly from the URL by executing the command:

docker build 'http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/file/container:docker/Dockerfile?os=centos_7'
Download a virtual machine
CentOS 7
Debian 8
Ubuntu 14.04
VMWare
lemp-1op8j8ncvkjgs-vmware-centos_7.zip
666 MB
lemp-1op8j8ncvkjgs-vmware-debian_8.zip
lemp-1op8j8ncvkjgs-vmware-ubuntu_14.04.zip
VirtualBox
lemp-1op8j8ncvkjgs-virtualbox-centos_7.ova
747 MB
lemp-1op8j8ncvkjgs-virtualbox-debian_8.ova
lemp-1op8j8ncvkjgs-virtualbox-ubuntu_14.04.ova
745 MB
Qemu/KVM
lemp-1op8j8ncvkjgs-qemu-centos_7.qcow2.gz
lemp-1op8j8ncvkjgs-qemu-debian_8.qcow2.gz
lemp-1op8j8ncvkjgs-qemu-ubuntu_14.04.qcow2.gz

You can access the virtual machine via console or SSH:

Login: jet
Password: jet
Strumenti di sviluppo
CentOS 7
Debian 8
Ubuntu 14.04
Vagrant

You can use the appliance as a Vagrant base box for any OS with VirtualBox support (Windows, OS X, Linux).

Copy Vagrantfile in your project’s directory:

Vagrant.configure(2) do |config|
  config.vm.box = "jetware/jetware-lemp7_myrocks-centos_7"
  config.vm.box_url = "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=centos_7"
  config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
end

or add base box to your local boxes:

vagrant box add "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=centos_7" --name "jetware/jetware-lemp7_myrocks-centos_7"

You can use the appliance as a Vagrant base box for any OS with VirtualBox support (Windows, OS X, Linux).

Copy Vagrantfile in your project’s directory:

Vagrant.configure(2) do |config|
  config.vm.box = "jetware/jetware-lemp7_myrocks-debian_8"
  config.vm.box_url = "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=debian_8"
  config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
end

or add base box to your local boxes:

vagrant box add "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=debian_8" --name "jetware/jetware-lemp7_myrocks-debian_8"

You can use the appliance as a Vagrant base box for any OS with VirtualBox support (Windows, OS X, Linux).

Copy Vagrantfile in your project’s directory:

Vagrant.configure(2) do |config|
  config.vm.box = "jetware/jetware-lemp7_myrocks-ubuntu_14.04"
  config.vm.box_url = "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=ubuntu_14.04"
  config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
end

or add base box to your local boxes:

vagrant box add "http://it.jetware.io/appliances/jetware/lemp7_myrocks-170507/download/image:base_image:vagrant?os=ubuntu_14.04" --name "jetware/jetware-lemp7_myrocks-ubuntu_14.04"

Configuration

Main 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

Administrator username: root
Administrator password: empty
Socket: /jet/run/mysqld/mysql.sock

php

Path to php.ini: /jet/etc/php/php.ini

phpmyadmin

Address: http://server_address/phpmyadmin

Documentation