Skip to content

Instantly share code, notes, and snippets.

View luis02lopez's full-sized avatar
😎

Luis López luis02lopez

😎
View GitHub Profile
@ipedrazas
ipedrazas / awslogs-logrotate
Created July 14, 2015 09:50
awslogs logrotate conf
/var/log/awslogs.log {
daily
missingok
notifempty
size 50M
create 0600 root root
delaycompress
compress
rotate 4
postrotate
@pascalbaljet
pascalbaljet / imagick-3.4.0-PHP7-forge.sh
Last active November 11, 2024 16:53
Install Imagick 3.4.0 on PHP 7.0 server (Laravel Forge)
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
apt-get install pkg-config libmagickwand-dev -y
cd /tmp
wget https://pecl.php.net/get/imagick-3.4.0.tgz
tar xvzf imagick-3.4.0.tgz