Fulltext results:
- mySQL @linux:databases
- $DB > $FILE If you get "error 34 too many open files".. increase open_files_limit in /etc/mysql/my.cnf open_files_limit = 50000 Restart mysql and check to see current setting:
- Shell Commands & Oneliner
- ===== **create tar.gz archiv** tar -czvf myfiles.tar.gz /home/username/myfiles/ **create tar.gz archiv of full system without ** tar cvpzf /mnt/som... "normalize" by id3 tag** mp3gain analyses sound files and saves an id3 volume metatag to them. many mus
- btrfs @linux:filesystems
- ===== optimize ===== COW is not good for small files like database files: disable it for a directory: chattr -R +C /var/lib/mysql check: lsattr /var/... X **check and repair - last resort: may destroy files:** btrfs check -p /dev/sdaX * https://ser
- dirvish @linux:backup
- ps of directories trees up to 100GB of small mail files. Usually we mirror the data from a remote server ... ory tree to find if there are other copies of the files. This can even cause database servers to hang, be... blems, but for me this worked with 100GB of small files copying to a slow internet line: rsync --progr
- Security
- update-grub reboot aa-status install more profiles: apt-get install apparmor apparmor-profiles apparmor-utils more info: * https://wiki.debian.org/A
- PXE netboot @linux:debian_install
- tftp server, you just need to serve the pxe boot files from there. For debian, you can use: * an unp... s the pxelinux.cfg directory and debian-installer files. * a debian live cd: you can mount an iso and
- LXC @linux:virtualization
- 000 /vservers/<containername>/rootfs If you copy files from outside into the container, they have wrong ... art, check if /dev /sys /proc exist * Check log files in /containerrootdir/ * Check network settings
- duplicity @linux:backup
- ug-Fixes ===== ==== restore error 'too many open files' ==== increase open file limits in /etc/security... ulimit -Hn ulimit -Sn http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/
- Courier @linux:emailserver
- == SSL Certificates ===== ...tricky! All config files use these two variables, so I set them to the same cert files in all configs: Private Key and Cert and interme
- Access Point - hostapd @linux:network
- and add: # disables dnsmasq reading any other files like /etc/resolv.conf for nameservers no-resolv
- Crypto @linux:filesystems
- eboot. Do a filesystem check. Create thousands of files and delete them. Copy loads of big ISO images. Do
- Multiboot Stick @linux:filesystems
- v/sdX * edit grub.cfg config to match your iso files - edit /mnt/usb/boot/grub/grub.cfg * examp
- VPN @linux:network
- ile to *all* other servers and get the other host files Start tinc: tincd -n <netname> For debugging
- PHP @linux:webserver
- memory_consumption=1024 opcache.max_accelerated_files=50000 ; php script changes will appear after
- Nginx @linux:webserver
- # Cache information about frequently accessed files open_file_cache max=2000 inactive=20s; open_f