Skip to content

Instantly share code, notes, and snippets.

View lex64's full-sized avatar

Aleksandar Milosavljević lex64

View GitHub Profile
@lex64
lex64 / fixperms.sh
Created February 4, 2022 11:40 — forked from webspectyler/fixperms.sh
Fix permissions in cPanel when getting 500 errors and Forbidden 403 errors
#! /bin/bash
#
# Date: Jan 26th 2012
# Author: Colin R.
# Revisions: Jacob "Boom Shadow" Tirey (boomshadow.net)
# Fixperms script for ServInt
#
# Fixperms script for cPanel servers running suPHP or FastCGI.
# Written for ServInt.net
# Copyright (C) 2012 Colin R.
@lex64
lex64 / install_mysql_client.sh
Created October 20, 2021 08:56 — forked from sshymko/install_mysql_client.sh
Install MySQL 5.7 client on Amazon Linux 2
#!/bin/sh
sudo yum install -y https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
sudo yum install -y mysql-community-client
# supervisor
#
# Author: Günter Grodotzki <gunter@grodotzki.co.za>
# Version: 2015-04-25
#
# set param "SUPERVISE=enable" to activate
#
packages:
yum:
python27-setuptools: []