RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Requirements: linux, docker, grep, awk | |
| # This script removes all "Down" (off) nodes from Docker Swarm | |
| # Useful to clean stuff from time to time, if you have auto-joining nodes for example | |
| sudo docker node rm $(sudo docker node ls | grep Down | awk -F" " '{ print $1 }') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NPROC=$(getconf _NPROCESSORS_ONLN) | |
| mkdir -p /usr/src/php/ext | |
| cd /usr/src/php/ext | |
| pecl bundle redis | |
| docker-php-ext-configure redis --enable-redis-igbinary --enable-redis-lzf | |
| docker-php-ext-install -j${NPROC} redis | |
| cd - |
Laravel 6.0, Horizon 3.x, Redis 5.x
Parepare application
- Install and configure Laravel Horizon as instructed in docs
- Make sure you can access the Horizon dashboard like -
http://yourapp.com/horizon - For now it should show status as
inactiveon dashbaord
Install redis-server
- XAMPP for Windows: https://www.apachefriends.org/download.html
- The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed
- The VC15 builds require to have the Visual C++ Redistributable for Visual Studio 2017 x64 or x86 installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd\Program Files\Microsoft Office\Office16 | |
| cd\Program Files (x86)\Microsoft Office\Office16 | |
| cscript OSPP.VBS /sethst:kms.digiboy.ir | |
| cscript OSPP.VBS /actcscript OSPP.VBS /dstatus | |
| slmgr.vbs /ckms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pré-Requisitos (Esse How to foi testado na versão dos S.O citados abaixo) | |
| Ubuntu 16.04.X LTS x64 ou Debian 8.X | |
| Bacula 7.4.X | |
| Postgresql 9.X | |
| >>> Atualizar o sistema operacional | |
| # apt-get update | |
| # apt-get upgrade |