GNU/Linux a BSD

Články věnující se GNU/Linuxu a BSD systémům

How to reduce MySQL ibdata when you're out of space

You can easily jump into troubles if you're using MySQL InnoDB storage engine in its default configuration (which is most used setup). It is absurd that there is not built-in function to compact ibdata file. This is something that I don't fully understand, but you simply can't delete space/transactions in this file and only acceptable (not reasonable) answer which I have found has been related to performance impact when file needs to be expanded...
The only way how you can reduce size of ibdata is database/table export which you will import back. BUT you're already out of space so how to do it?

Using curl to test authentication methods through web proxy (basic, ntlm, kerberos)

This is just quick note because I'm re-discovering it every time when needed :]

Jak správně nastavit Tor server

V tomto článku shrnu "best practices" při nastavení Tor serveru v režimu Exit Node. Zde popsané nastavení používám i na svém serveru, který do bandwidthu Tor sítě přidává 2MB/s. Aktualně síť Tor tvoří cca 2500 serverů s celkovou kapacitou okolo 1TB/s.

Expect script which can execute commands on multiple servers via SSH

This script will help Linux administrators in tasks where they need push commands on multiple servers in network. Script create SSH connection to every server located in hosts file, store fingerprint as trusted if needed, make "sudo su -" and push commands.
I am using it regularly when creating/deleting new users, patching applications or harvesting data.
There are some similar scripts on Internet but this one exceeds the functionality and usability of others.

Linux sysctl hardening and network tuning

This article will show you how you can tune-up system security and network stack via sysctl.conf file on Linux-based operating systems because by default are kernel parameters very general and as other applications need some tuning to achieve better performance and system security.

Check Point automatic MDS backup script with upload to SSH

#!/bin/bash
#
# Check Point automatic MDS backup script with upload to SSH(SCP)/FTP server
# Author: Martin Cmelik (cm3l1k1) 11.1.2010
# Website: www.security-portal.cz (use translator module if needed)
# License: GNU General Public License version 3
#

Vyšlo OpenBSD 4.6

Vyšla nová verze jednoho z nejbezpečnějších operačních systémů a to OpenBSD.
Novinky a odkazy naleznete v článku.

BSD operacni systemy, v cem se lisi a proc si je lide pletou

Na zacatek je asi potreba rict neco k historii. Na zacatku nebylo nic. Pak Buh rekl "budiz svetlo". Ani potom nebylo nic, ale bylo to videt.

Vyslo OpenSSH verze 5.3

1 Oct vyslo OpenSSH, verze 5.3. Jedna se o bugfix vydani, takze nepribily zadne nove vlastnosti, jen ty soucasne byly opraveny (nebo vyrazeny :-)

Sifrovani disku v OpenBSD pomoci SOFTRAID(4)

Pro sifrovani disku na OpenBSD sem driv pouzival vnconfig. Ten bohuzel ma spoustu at uz uplne, nebo jenom trochu nevyhod. Jednou z nich je napriklad velikost "disku", ktera je omezena jenom okolo 7.2 GB. Disku pisu v uvozovkach proto, ze se vlastne ani nejedna o disk, ale o sifrovany soubor. Take se pro sifrovani pouziva napevno 128b blowfish.

Syndikovat obsah