Ayant Symfony3 qui tourne bien, j’ai voulu modifier ma configuration de nginx et non tout refaire. Après de nombreux problèmes et de longues recherches, Continue reading “Configuration de WP avec nginx, php-fpm et une dose de ssl” »
Create a new bundle:
php app/console generate:bundle
And if you want to go faster (i.e. no interactions), dir give the src path, namespace the name of the bundle and structure the need to generate basic directory :
php app/console generate:bundle --dir=/Volumes/Docs/Projects/CV/www/src --namespace=CV/EditorialBundle --structure --no-interaction
I needed a powerfull to provide me with information that Google Analytics doesn’t bring such as bandwith consumption, IP addresses etc.
We all care of our stuff and need to back it up. I recently set up a system to automatically do it. I use crontab to perform backups as long as I want.
I rarely use disk commands that why I often forget them and spend minutes to find the right command that I already used.
Here are some of the most useful disk commands I use:
# List all existing disks fdisk -l # Show mounted partitions, modify them in /etc/fstab, to mount use "-all" argument mount # Build a RAID 1 from 2 disks /dev/sda3 & /dev/sdb3 mdadm -C /dev/md3 --level=raid1 --raid-devices=2 /dev/sda3 /dev/sdb3 # Details about RAID /dev/md3 mdadm --detail /dev/md3 # Update mdadm.conf, delete lines before mdadm --examine --scan >> /etc/mdadm/mdadm.conf # Format /dev/md3 in ext4 mke2fs -t ext4 /dev/md3
This website (https://www.startssl.com/) provide free SSL certificates in its basic version.
Thank you 🙂
I wanted to set email aliases like firstname.lastname@example.org to be resent to my personal email address. In order to do so, I installed postfix.
I am not an apache guru but I can share some of the things I did on my server. The first step is to disable useless modules and the second one is to tune your configuration file.
First, you need to know which module is enable : apachectl -t -D DUMP_MODULES or apache2ctl -M
Continue reading “How to tune apache” »