Fulltext results:
- LXC @linux:virtualization
- p://manpages.ubuntu.com/manpages/precise/man5/lxc.conf.5.html * Working bridge config (french) http://blog.champs-libres.coop/sysadmin/2015/08/18/ip-failove... terfaces on host or in vs - only in the container config file!** **Move eth0 to br0 in /etc/network/int... bridge_fd 0 bridge_maxwait 0 **Container config:** # comment the default empty network inter
- PHP @linux:webserver
- ====== PHP ====== ===== PHP-FPM Setup ===== Configure pools for each domain/vhost to separate the do... the sftp user - not www-data. **Pool per domain config:** cd /etc/php5/fpm/pool.d/ cp www.conf {user1.conf,user2.conf} replace all appearances of "www" in user.conf /etc/init.d/php-fpm restart *
- Access Point - hostapd @linux:network
- pt-get update apt-get install hostapd dnsmasq rcconf ===== Configure hostapd ===== Edit **/etc/hostapd/hostapd.conf** **First test:** #change wlan0 to your wireles... heck, if the SSID "test" is visible. **Complete config** Change SSID, wpa_passphrase and channel:
- Nginx @linux:webserver
- ays use latest versions from dotdeb repo **nginx.conf optimizations:** ** # use the number of** logic... r/log/nginx/access.log main buffer=16k; # gzip config gzip on; gzip_disable "msie6"; gzip_min_l... ps://developers.google.com/speed/pagespeed/module/config_filters ===== rewrites ===== URL-Encoding wi... ort time on busy sites to reduce php load: Vhost config top: fastcgi_cache_path /home/cache levels=1
- Synergy @linux:network
- ing synergy automatically on boot ===== You can configure synergy to start automatically when the comp... cksynergy When its up, you can use commands and config created by quicksynergy (see 'ps aux|grep syner... Just replace username with your login and use the config created by quicksynergy-GUI: su username -c "/usr/bin/synergys --config /home/username/.quicksynergy/synergy.conf" \\
- PXE netboot @linux:debian_install
- ver, which serves the boot images. ===== dnsmasq config ===== Example config: dhcp-range=192.168.20.100,192.168.20.150,12h dhcp-boot=pxelinux.0 enabl... the client boots via pxe/tftp. put your matching config here. # the debian installer. this is includ... etcfg/choose_interface=eth0 domain=mynet keyboard-configuration/xkb-keymap=de locale=en_US.UTF-8 debian-
- ipv6 @linux:network
- tables - same syntax as iptables** ===== Network config ===== OVH /etc/network/interfaes iface eth... eth0 (no eth0.x aliases): post-up /sbin/ifconfig eth0 inet6 add 2001:41d0:8:5d66::144/64 pre-down /sbin/ifconfig eth0 inet6 del 2001:41d0:8:5d66::144/64 ... ke ipv6-add-ips: #!/bin/sh sleep 2 /sbin/ifconfig eth0 inet6 add ipv6_ip_here/64 exit 0 =====
- Debian Server Install
- ort-https dselect aptitude iproute2 \ tcpdump rcconf tzdata traceroute tar less lftp locales ntpdate f... ls it in): apt remove --purge exim4-base exim4-config exim4-daemon-light **basic WEBserver package... sks:** * networking * firewall * /etc/sshd_config * authorized_keys * rsync etc from somewher... ssing ==== TODO replace by msmtp ==== fail2ban Config Changes ==== TODO ====== Remove systemd ===
- MTA - Mail transfer agents @linux:emailserver
- l on local server sometimes it crashs.. ^^ ===== config ===== setup a correct (dns resolvable) hostname: dpkg-reconfigure exim4-config mailservers may block temporary dyndns IPs or move them to spam! ===== mailq =====... s and system to just send mail. /etc/ssmtp/ssmtp.conf: # The user that gets all the mails (UID < 100
- RAID @linux:filesystems
- ===== RAID setup changes ===== update the raid config - achtung ">>" adds to the files, ">" overwrites: mdadm --examine --scan >> /etc/mdadm/mdadm.conf you need to update initramfs: to find the root... check in /boot, if they got recreated! dpkg-reconfigure mdadm ===== RAID Monitoring Tools / resy... ed_limit_min sysctl dev.raid.speed_limit_max Reconfigure Speed Limits: sysctl -w dev.raid.speed_lim
- Apache @linux:webserver
- crt > /etc/apache2/ssl/chain.crt Common SSL-Cert config for all vhosts in 000-default: # cert-file: ... /2015/08/apache-wont-start-with-a-generic-ah00016-configuration-failed/ ===== Block Bots ===== This line in apache2.conf // httpd.conf blocks the User-Agent EvilBotName: SetEnvIfNoCase User-Agent "EvilBotName" BlockedAgen
- Saltstack
- ==== Saltstack ====== infrastructure management, configuration management, orchestration & remote execu... /debian/9/armhf/latest stretch main ===== minion config ===== set ID in /etc/salt/minion_id xxxx.yyyy config in /etc/salt/minion : master: 1.2.3.4 ... git add . git commit git push Salt master configuration: fileserver_backend: - git git
- Courier @linux:emailserver
- ep "error,relay" /var/log/mail.log|less ===== config tricks ===== ===== 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 intermediate-cert a... S1" ==== .forward ==== there are two ways, to configure forwarding of all mails: 1. use $HOME/.cour
- Crypto @linux:filesystems
- ml Check if the kernel supports EFI cat /boot/config-2.6.26-2-686 | grep EFI Replace version by wit... adm --detail /dev/md1 **Create /etc/mdadm/mdadm.conf** cd /etc/mdadm echo 'DEVICE /dev/hd*[0-9] /dev/sd*[0-9]' >> mdadm.conf mdadm --detail --scan >> mdadm.conf Comment original DEVICE line out ---- \\ **Encrypting the Bloc
- VPN @linux:network
- ] Proxy it via nginx to get httpS. Nginx Example Config: map $http_upgrade $connection_upgrade { ... te keys: tincd -n <netname> -K8192 Setup tinc.conf, tinc-up, tinc-down Configure the /hosts/<hostname> file like: Address = <myip> Port = 55555 Su