Skip to content

Instantly share code, notes, and snippets.

View lassaadbaati's full-sized avatar

lassaad Baati lassaadbaati

View GitHub Profile
@lassaadbaati
lassaadbaati / homestead.md
Last active April 12, 2017 08:49
Installation de homestead avec vagrant
  • Installer virtualbox
  • Installer vagrant
  • Ubuntu - Host install virtualbox
  • Activer la virtualisation dans le bios

Installer homestead

Install homestead

  • Ajouter la box laravel/homestead
 vagrant box add laravel/homestead
@lassaadbaati
lassaadbaati / Debian server setup script (PHP 7.1)
Last active May 10, 2019 11:22 — forked from Ravaelles/Ubuntu server setup script (PHP 7.1)
PHP 7.1 + nginx + MongoDB driver for PHP
#!/bin/bash
######################################################
### README ###########################################
######################################################
###
### One-line server install script for Ubuntu.
### Installs Nginx + PHP7.1 + MongoDB for PHP driver.
###
### Removes previous Apache, PHP, nginx installations.
@lassaadbaati
lassaadbaati / Dockerfile
Created May 31, 2020 15:14 — forked from bsod90/Dockerfile
Centos 7 with Systemd Dockerfile
FROM centos:7
MAINTAINER "orion" <orion@thoughtspot.com>
# Steps needed to use systemd enabled docker containers.
# Reference: https://hub.docker.com/_/centos/
ENV container docker
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\