Fulltext results:
- mySQL @linux:databases
- ====== mySQL ====== Server Setup | Security | Performance Tuning | ... ---- == Installation == Set ro... t=3308 \ --password=${PASSWD} | mail -s '[SQL Server] mycheck complete' $EMAILADDI In case the server crashed, mysql suggests an offline check, while server is stopped: myisamchk --silent --force */*.MYI
- LXC @linux:virtualization
- e VS:** # for testing, add google's dns: nameserver 8.8.8.8 **make persistent:** virsh net-autost... ipv6-icmp -j ACCEPT echo "IPv6 setup FOREACH vserver.." ip -6 route add 1234:1234:1234:1234::100 dev... /lxc?&#unprivileged_containers FIX: original keyserver is broken! add: --keyserver hkp://keyserver.ubuntu.com lxc-create -n debian8 -B btrfs -t debian -- -
- Replication @linux:databases:mysql
- cation Setups ===== **A) Master - Slave** * 2 Servers required * Instant backup (the slave may be se... master is tricky.. **B) Master - Master** * 2 Servers required * Instant backup (the slave may be se... ion in both directions * Do not write into both servers! * If both servers are inserting or updating in the same table replication will break on one server
- PHP @linux:webserver
- aster. **vhost php config via unix socket:** server { ... location ~ \.php$ { fastcg... cgi /usr/lib/cgi-bin/php5-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-... fcgi-${USERNAME}-VHOSTNAME FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi-${USERNAME}-VHOSTNAME ... e pool ==== These settings with initial pm.start_servers = 5 is quite good for a server with 32gb RAM and
- Courier @linux:emailserver
- ions speak about putting the cert first: cat myserver.example.com.key myserver.example.com.crt [intermediate.crt] > myserver.example.com.pem TLS_CERTFILE=/etc/cour... cks: openssl s_client -starttls imap -connect myserver.example.com:143 https://www.sslchecker.com/sslche
- SSH @linux:network
- hine: ssh-copy-id -i .ssh/id_rsa.pub user@remoteserver \\ ===== Key authentication - restricted ===== ... n the output: debug1: Sending command: rsync --server -vvlogasdasd.iLsf ..... copy this line from rsyn... command=".." to the key-line: command="rsync --server -vvlogasdasd.iLsf ......" ssh-rsa AAAA..... test... apt-get install sshfs Mount: sshfs -p 222 root@server:/path/ /mnt/server -o allow_other -o reconnect
- VPN @linux:network
- source variant of Tailscale. Install it on your Server: [[https://headscale.net/running-headscale-linux/... server { ... server_name <YOUR DOMAIN>; ... proxy_pass https://<HEADSCALE SERVER IP>:8080;
- Crash Recovery
- ====== Crash Recovery ====== ===== Strato Root Server ===== Login to Remote-Console first, so you can s... very in "RecoveryManager" at https://config.stratoserver.net/ Wait for 15-20min!! until "ServerData" Serverstatus shows: Installation finished Strato sets RAIDs to /md/126 and md127 - **that sucks!**
- Debian Server Install
- ====== Debian Server Install ====== \\ **basic server packages:** apt-get install rsyslog ipset iptables mc tmux screen h... p \ bridge-utils btrfs-progs bzip2 ncdu openssh-server p7zip-full xz-utils \ whois procps psmisc sshfs... ase exim4-config exim4-daemon-light **basic WEBserver packages - jessie - nginx, php-fpm, mariadb:**
- Access Point - hostapd @linux:network
- upported ===== Install hostapd and dnsmasq dhcp server ===== apt-get update apt-get install hostapd... ing any other files like /etc/resolv.conf for nameservers no-resolv # Interface to bind to interface... s addresses to send to the clients # GOOGLE DNS-SERVERS are used here for testing! - you can set this to DNS servers of your provider or use your gateway server=8.
- vsFTPd @linux:network
- ial SSL certificate ===== cat /etc/apache2/ssl/server.crt /etc/apache2/ssl/server.pem > /etc/vsftpd/server.pem if you have an intermediate, chained cert, include that as well: cat /etc/apache2/ssl/server_inter.crt >> /etc/vsftpd/server.pem ===== Genera
- dirvish @linux:backup
- l files. Usually we mirror the data from a remote server and backup via dirvish from this local mirror dir... also possible to use dirvish directly with remote servers. **Dirvish is not developed anymore**. Anyway i... copies of the files. This can even cause database servers to hang, because they don't get a lock on a file... pty/ $d/; fi; done ==== Copy a vault to another Server ==== Rsync can copy the hardlinks correctly - ev
- Synergy @linux:network
- the synergy GUI and get it running on client and server: quicksynergy When its up, you can use comm... your display-manager.** (its easier, when the X-server is already running..) **gdm** has some hooks, wh... the synergyc command from above into it. \\ == Server-side: == This works in the same way: **put the f... bin/synergyc --restart --name <CLIENT HOSTNAME> <SERVER HOSTNAME> == LXDE autostart: == Put a .deskto
- BIOS Upgrade @linux:debian_install
- ====== BIOS Upgrade ====== For Intel Servers. Specially required to fix: https://www.heise.de/news/Patch... support a NMI button?n ===== Errors ===== **On 1 Server the latest BIOS Upgrade seems to have killed the ... ). No response to keyboard. Actions: Restart the server hardware. We have flash and reconfigured IPMI result: Boot OK. Server can 'login'. Ping OK, services started. ===== Li
- Nginx @linux:webserver
- **edit /etc/nginx/sites-available/default:** server { #.... pagespeed on; pagespeed ... _key "$scheme$request_method$host$request_uri"; server { .... location ~ \.php$ { # Setup var ... fastcgi_cache microcache; fastcgi_cache_key $server_name|$request_uri; fastcgi_cache_valid 404 30m;... or included config. Here's an extensive List: server { ... if ($http_user_agent ~* (AspiegelBot