Laravel Deployment: Setup environment

Our Laravel app will be cloned from source control: Then create the .env file: nano .env Install composer dependencies: If your run into the following error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes, update AppServiceProvider file: Setup Queue connections Setup supervisor: Configure supervisor for…

Laravel Deployment: Setup dependencies

Install NGINX through apt: Install php dependencies Update php.ini properties: Setup MariaDB We need to install mariaDB server, create a dedicated database and user Secure the setup: Use mysql cli to create database schema and user: Create databse: Create user and grant access to database: Grant privileges: Setup composer

Setup Collabora with Nextcloud

Nextcloud is a great platform for managing a personal or enterprise files. It is Open Source. If you want a similar solution as Google Docs but on your own infrastructure, you can use the Collabora Office Suite. Install Collabora Development Edition on Debian Stretch To deploy Collabora, I recommend using the following ansible playbook: Here…

Manage an OpenLDAP based directory

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. LAM was designed to make LDAP management as easy as possible for the user. It abstracts from the technical details of LDAP and allows persons without technical background to manage LDAP entries. If needed, power…

Setup OpenLDAP on Debian Stretch

OpenLDAP is an Open Source LDAP implementation available for most platforms and Linux distributions. Its main component are: slapd- stand-alone LDAP daemon (server) libraries implementing the LDAP protocol, and utilities, tools, and sample clients. Install slapd Start by making sure your distro is up-to-date: then install slapd and ldap-utils:

During the installation, you will…