Menu Close

devstate.de

A Dreams Engine Blog. This Blog may not make any sense to you. This is a collection of internal snippets that we collect with our experiences, but we hope some of our post will help you in some way.

Tag / linux

.zsh in favor of .bash

Instalar ZSH en Linux apt-get install zsh //or aptitude Cambiar permanentemente a zsh chsh /bin/zsh (En OSX: En OSX , solo habra que ir a las configuraciones de usuarios y en opciones avanzadas cambiamos de /bin/bash a /bin/zsh ) Prettifying: Instalar oh-my-zsh! #OSX sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)” #LINUX sh -c “$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)” […]

Continue Reading

Logrotate

for WordPress /sites/*/public/wp-content/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate endscript maxage 10 compresscmd /bin/bzip2 compressext .bz2 } /sites/*/public/assets/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate endscript maxage 10 compresscmd /bin/bzip2 compressext .bz2 } for Nginx Log Sites /sites/*/log/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate […]

Continue Reading