Lemp

Modern web application environment with Linux, Nginx 1.10, MySQL 5.7 and PHP 5.6. It is similiar to the LAMP stack, where Apache is replaced with the lightweight yet powerful Nginx. It also includes self-management, self-monitoring and self-healing components. PHP works in the 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 marketplace 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/aws/lemp_php56-161024/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-gg16m4tmp3f1.tar.gz
436 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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/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/aws/lemp_php56-161024/file/container:docker/Dockerfile?os=centos_7'
Download a virtual machine
CentOS 7
Debian 8
Ubuntu 14.04
VMWare
lemp-gg16m4tmp3f1-vmware-centos_7.zip
lemp-gg16m4tmp3f1-vmware-debian_8.zip
lemp-gg16m4tmp3f1-vmware-ubuntu_14.04.zip
VirtualBox
lemp-gg16m4tmp3f1-virtualbox-centos_7.ova
lemp-gg16m4tmp3f1-virtualbox-debian_8.ova
lemp-gg16m4tmp3f1-virtualbox-ubuntu_14.04.ova
Qemu/KVM
lemp-gg16m4tmp3f1-qemu-centos_7.qcow2.gz
lemp-gg16m4tmp3f1-qemu-debian_8.qcow2.gz
lemp-gg16m4tmp3f1-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/aws-lemp_php56-centos_7"
  config.vm.box_url = "http://it.jetware.io/appliances/aws/lemp_php56-161024/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/aws/lemp_php56-161024/download/image:base_image:vagrant?os=centos_7" --name "jetware/aws-lemp_php56-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/aws-lemp_php56-debian_8"
  config.vm.box_url = "http://it.jetware.io/appliances/aws/lemp_php56-161024/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/aws/lemp_php56-161024/download/image:base_image:vagrant?os=debian_8" --name "jetware/aws-lemp_php56-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/aws-lemp_php56-ubuntu_14.04"
  config.vm.box_url = "http://it.jetware.io/appliances/aws/lemp_php56-161024/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/aws/lemp_php56-161024/download/image:base_image:vagrant?os=ubuntu_14.04" --name "jetware/aws-lemp_php56-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