-
Recent Posts
Recent Comments
- systemd unit hardening followup followup | the world needs more puppet! on systemd unit hardening followup
- systemd unit hardening followup | the world needs more puppet! on systemd unit hardening
- Andreas on Dovecot: Apply sieve filter to existing emails
- Feiko Nanninga on Short Tip: Install shellcheck on an outdated CentOS
- Computerkid/Grayson Penland on Linux Short Tip: systemd-networkd and DNS servers
Archives
- February 2022
- January 2022
- August 2020
- June 2020
- January 2019
- November 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- March 2014
- February 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- July 2011
Categories
Meta
Category Archives: Short Tips
Short Tip: Replacing a failed drive in mdadm softwareraid
Sometimes you check your fileserver and your raid looks like this: # cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md125 : active (auto-read-only) raid6 sdl[1] sdh[7] sdf[5] sdk[2] sdg[6] sdm[8] sdi[0] sdn[10] sde[4] 23441080320 blocks super 1.2 level 6, … Continue reading
Posted in 30in30, General, Linux, Short Tips
Leave a comment
Linux Short Tip: Correct IPv6 with ferm firewalling
I mentioned ferm in my last post about gluster (an iptables/ip6tables abstraction layer in perl with a nice firewall config). The default rule-set looks like this: Most people attend to C&P that blog and wrap it in domain ip6 {} … Continue reading
Posted in 30in30, General, Linux, Short Tips
Leave a comment
Short Tip: Setup glusterfs share on Arch Linux
I made a detailed tutorial for a Arch Linux installation a few days back. This is a quick follow up post to create a Distributed-Replicated gluster share. The goal is to create a mirror for several linux distributions. A mirror … Continue reading
Posted in 30in30, General, Linux, Short Tips
1 Comment
Short Tip: Fiddling around with login shells
I’m currently playing around with LARS, this script collection creates a arch ISO with some post-install magic, for example setting a login shell for root. The used code is: I could boot up the image and ssh into it with … Continue reading
Posted in 30in30, General, Linux, Short Tips
Leave a comment
Short Tip: git magic (copy changed files from branch A to B)
Let us consider the following case: I’ve got a huge project which you want to refactor. You checkout master, create a branch called cleanup and commit every change. Most of the refactoring is only style guide related so no change … Continue reading
Posted in General, Linux, Short Tips
Leave a comment
Short Tip: tuning Zabbix Database Part 2
[part 1] Besides disabling autovacuum you can also try to increase the performance if you have got enough free resources. There are three important options for this: autovacuum_vacuum_cost_delay I lowered the sleep between two autovacuums to 0.2ms autovacuum_vacuum_cost_limit/vacuum_cost_limit (setting autovacuum_vacuum_cost_limit … Continue reading
Posted in General, Linux, Short Tips
Leave a comment
Short Tip: tuning Zabbix Database
I am currently running a zabbix setup which is a bit bigger than the average ones, right now it receives ~2100 new values per second, generated by 169052 items. The data is stored in a postgresql database, and I am … Continue reading
Posted in General, Linux, Short Tips
1 Comment
Short Tip: Moving commits between branches
Sometimes you are developing on a huge new feature on a software project. If you are smart you do it in a separate (feature-) branch. During the development cycle you may modify existing code and after a few days you … Continue reading
Posted in General, Linux, Short Tips
Leave a comment
Securing Postfix on a shared Webserver
I’m operating a webserver for shared webspace accounts. I’m not responsible for the stuff hosted on the webspace, but for the server itself. Many people like to host their wordpress or joomla on this server, both scripts are well known … Continue reading
Posted in General, IT-Security, Linux, Short Tips
Leave a comment
Fighting PHP spam
A good friend owns a very old joomla website which has been hacked. It is massively sending spam, how can we investigate this? First of all, reject outgoing mails in your firewall (ferm.conf style): Now we have time to investigate. … Continue reading
Posted in General, IT-Security, Linux, Short Tips
Leave a comment