Hero Image

IT setup examples

Maxscale and pacemaker on centos 7

Install packages on both nodes

sudo yum install corosync pcs pacemaker maxscale

Set the password for the hacluster user [both nodes]

sudo passwd hacluster

Start the pcs daemon service [both nodes]

sudo systemctl start pcsd

Authenticate the cluster

sudo pcs cluster auth node01.domain....

Read more

13th Dec 2022

Virtual folder to url with sub filter with nginx

First define virtual path called virtualfolder. It can be any name actually. Then define subfilter what replaces slash with virtualfolder name.

location /virtualfolder/ {

        sub_filter "/" "/virtualfolder/";
}

Any url in location will become /virtualfolder/

Read more

8th Jun 2022

Laravel google smtp setup

For this to work you would need also enabling in your google account "Less secure app access". It is under "My Account Page" and "Security". After this, edit .env file and add following:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
[email protected]
MAIL_PASSW...

Read more

8th Jun 2022