<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://dras.hu/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>tiaWiki</title>
        <description></description>
        <link>https://dras.hu/wiki/</link>
        <lastBuildDate>Tue, 24 Nov 2026 17:01:20 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://dras.hu/wiki/_media/wiki/logo.png</url>
            <title>tiaWiki</title>
            <link>https://dras.hu/wiki/</link>
        </image>
        <item>
            <title>monitorozas</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/monitorozas?rev=1424282953&amp;do=diff</link>
            <description>Monitorozás

	*  &lt;http://www.thegeekstuff.com/2011/12/linux-performance-monitoring-tools/&gt;


Top 25 Best Linux Performance Monitoring and Debugging Tools
by RAMESH NATARAJAN on DECEMBER 7, 2011
 

I’ve compiled 25 performance monitoring and debugging tools that will be helpful when you are working on Linux environment. This list is not comprehensive or authoritative by any means.

However this list has enough tools for you to play around and pick the one that is suitable your specific debugging …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Feb 2015 18:09:13 +0000</pubDate>
        </item>
        <item>
            <title>drbd</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/drbd?rev=1431398208&amp;do=diff</link>
            <description>DRBD

&lt;http://www.sgenomics.org/~jtang/blog/posts/Experimenting_with_DRBD_for_data_replication_for_backup_purposes/&gt;



	*  DRBD &lt;http://www.drbd.org&gt; - I downloaded the centos srpms for v8.3.x and rebuilt them for scientificlinux.
	*  Scientificlinux 5.4 &lt;http://www.scientificlinux.org&gt;




#
# please have a a look at the example configuration file in
# /usr/share/doc/drbd83/drbd.conf
#

global {
    usage-count no;
}

common {
    syncer { 
        rate 33M;
        verify-alg sha1;
    }
}

r…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 12 May 2015 02:36:48 +0000</pubDate>
        </item>
        <item>
            <title>lvm</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/lvm?rev=1588474325&amp;do=diff</link>
            <description>LVM

Stripe-olt Logical Volume

&lt;http://tldp.org/HOWTO/LVM-HOWTO/recipethreescsistripe.html&gt;

	*  Hozzuk létre a „volume group descriptor area”-t (VGDA) a használni kívánt köteteken:

sudo pvcreate /dev/md0
sudo pvcreate /dev/md1


	*  Ezekkel hozzunk létre egy volume groupot:

sudo vgcreate &quot;my_group&quot; /dev/md0 /dev/md1</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 03 May 2020 02:52:05 +0000</pubDate>
        </item>
        <item>
            <title>read</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/bash/read?rev=1601211894&amp;do=diff</link>
            <description>read


read [-ers] [-a aname] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]



 -a aname       The words are assigned to sequential indices of the array variable aname, starting at 0.  aname is unset before any new values are assigned.  Other name arguments are ignored.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 27 Sep 2020 13:04:54 +0000</pubDate>
        </item>
        <item>
            <title>bash</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/bash?rev=1747637522&amp;do=diff</link>
            <description>bash

	*  &lt;http://kvz.io/blog/2013/11/21/bash-best-practices/&gt;
	*  &lt;http://wiki.bash-hackers.org/commands/builtin/printf&gt;
	*  &lt;https://github.com/dylanaraps/pure-bash-bible&gt;

Beállítások

Alapvető hibakezelés: 


set -eufo pipefail


...

	*  Use set -o errexit (a.k.a. set -e) to make your script exit when a command fails.
	*  Then add || true to commands that you allow to fail.
	*  Use set -o nounset</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 19 May 2025 06:52:02 +0000</pubDate>
        </item>
        <item>
            <title>bandwidthd</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/bandwidthd?rev=1420702330&amp;do=diff</link>
            <description>bandwidthd

	*  Telepítés: 

apt-get install bandwidthd


	*  Config: 

####################################################
# Bandwidthd.conf
# 
# Commented out options are here to provide
# documentation and represent defaults

# Subnets to collect statistics on.  Traffic that 
# matches none of these subnets will be ignored.
# Syntax is either IP Subnet Mask or CIDR
#subnet 192.168.0.0/24

subnet 6.6.6.0/24


# Device to listen on
# Bandwidthd listens on the first device it detects
# by defau…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 08 Jan 2015 07:32:10 +0000</pubDate>
        </item>
        <item>
            <title>ldap</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ldap?rev=1437513417&amp;do=diff</link>
            <description>LDAP

	*  &lt;http://www.tldp.org/HOWTO/LDAP-HOWTO/authentication.html&gt;

6.2. Authentication using LDAP



„”„”

RFCURL&lt;http://asg.web.cmu.edu/sasl/sasl-library.html&gt;

&lt;http://www.padl.com/OSS/pam_ldap.html&gt;

Bejeletnezés

	*  &lt;https://tools.ietf.org/html/rfc3112#section-5&gt;
	*  &lt;http://stackoverflow.com/questions/4066265/ldap-how-to-check-a-username-password-combination&gt;
	*  &lt;http://stackoverflow.com/questions/16168293/how-to-do-password-authentication-for-a-user-using-ldap&gt;
	*  &lt;http://php.net/man…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 21 Jul 2015 21:16:57 +0000</pubDate>
        </item>
        <item>
            <title>ntopng</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ntopng?rev=1472767020&amp;do=diff</link>
            <description>ntopng

	*  &lt;http://packages.ntop.org/apt-stable/&gt;
	*  &lt;http://blog.webernetz.net/2016/02/09/ntopng-installation/&gt;
	*  &lt;http://idroot.net/linux/install-ntopng-ubuntu-16-04/&gt;

	*  Forrás hozzáadása (Wheezy-n): 

wget http://apt-stable.ntop.org/wheezy/all/apt-ntop-stable.deb
dpkg -i apt-ntop-stable.deb
grep -q &quot;wheezy-backports&quot; /etc/apt/sources.list || echo &quot;deb http://ftp.debian.org/debian wheezy-backports main&quot; &gt;&gt; /etc/apt/sources.list

apt-get clean all
apt-get update</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 01 Sep 2016 21:57:00 +0000</pubDate>
        </item>
        <item>
            <title>hdparm</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/hdparm?rev=1423079510&amp;do=diff</link>
            <description>hdparm

	*  &lt;http://en.wikipedia.org/wiki/Hdparm&gt;
	*  &lt;http://prohardver.hu/tema/milyen_winchestert_vegyek_3/hsz_32468-32468.html&gt;
	*  &lt;https://sites.google.com/site/disablehddapm/&gt;

	*  Energiagazdálkodás kikapcsolása: 

hdparm -B 255 /dev/sda



	*  Display information of the hard drive: 

hdparm -I /dev/sda


	*  Turn on DMA for the first hard drive: 

hdparm -d1 /dev/sda


	*  Test device read performance of the first hard drive:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:51:50 +0000</pubDate>
        </item>
        <item>
            <title>openswan</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/vpn/openswan?rev=1442056134&amp;do=diff</link>
            <description>OpenSwan

	*  &lt;https://help.ubuntu.com/community/L2TPServer&gt;

Introduction



Overview

roadwarrior
roadwarriors192.168.2.0/24/24 (255.255.255.0)
192.168.0.0/24192.168.0.15



Gateway Configuration


apt-getaptitude

OpenSwan Setup

	*  Get root access on the appropriate machine and install the package through the provided mechansim for your operation system.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 12 Sep 2015 11:08:54 +0000</pubDate>
        </item>
        <item>
            <title>ssh</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ssh?rev=1432023457&amp;do=diff</link>
            <description>SSH

Kulcsos authentikáció

	*  Config átállítása:

PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no


	*  Config érvényre léptetése:

/etc/init.d/ssh reload



/etc/security engedélyezése

	*</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 19 May 2015 08:17:37 +0000</pubDate>
        </item>
        <item>
            <title>zfs</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/zfs?rev=1751479737&amp;do=diff</link>
            <description>ZFS

	*  &lt;https://wiki.archlinux.org/index.php/Install_Arch_Linux_on_ZFS&gt;
	*  &lt;https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html&gt;
	*  &lt;https://www.usenix.org/system/files/login/articles/login_winter16_09_jude.pdf&gt;
	*  &lt;https://bigstep.com/blog/zfs-best-practices-and-caveats&gt;
	*  &lt;https://docs.oracle.com/cd/E19253-01/819-5461/6n7ht6qvi/index.html&gt;
	*  &lt;https://docs.oracle.com/cd/E19253-01/819-5461/gammr/index.html&gt;
	*  &lt;https://unixlinux.tmit.bm…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 02 Jul 2025 18:08:57 +0000</pubDate>
        </item>
        <item>
            <title>grub</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/grub?rev=1423078119&amp;do=diff</link>
            <description>Grub

root vs real_root - A real_root használja az initramfs-t az eszközök inicializálásához


title Gentoo Linux
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/mapper/nvidia_abiccada4 dodmraid video=vesafb:ywrap,pmipal,1280x1024-16@60
initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:28:39 +0000</pubDate>
        </item>
        <item>
            <title>iptables</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/iptables?rev=1508321147&amp;do=diff</link>
            <description>iptables

	*  &lt;http://livesin.digitalmalaya.net/2011/10/04/iptables-what-happens-to-packets/&gt;

&lt;http://commons.wikimedia.org/wiki/File:Netfilter-packet-flow.svg&gt;

Egszerű szabályok

	*  &lt;http://stackoverflow.com/a/10197461/1108919&gt;

	*  Hozzáadás: 

iptables -A INPUT -i eth0 -s 192.168.0.1 -o eth0 -d 192.168.0.2 -j DROP


	*  Törlés: 

iptables -D INPUT -i eth0 -s 192.168.0.1 -o eth0 -d 192.168.0.2 -j DROP



Logging

	*  &lt;https://help.ubuntu.com/community/IptablesHowTo&gt;

Korlátozások</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Oct 2017 10:05:47 +0000</pubDate>
        </item>
        <item>
            <title>samba</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/samba?rev=1657071051&amp;do=diff</link>
            <description>Samba

	*  &lt;http://www.samba.org/samba/docs/man/manpages-3/&gt;
	*  &lt;http://raerek.blogspot.hu/search/label/samba?max-results=10000&gt;

Gyorsítás

	*  &lt;https://www.arm-blog.com/samba-finetuning-for-better-transfer-speeds/&gt;
	*  &lt;https://forums.unraid.net/topic/97165-smb-performance-tuning/&gt;

smbpasswd

Password file: /var/lib/samba/passdb.tdb

NTLMv2


raw NTLMv2 auth = yes

 CVE-2016-2111
Csomag aláírás


server signing = auto
client signing = auto


Változók

	*  &lt;http://www.samba.org/samba/docs/man…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 06 Jul 2022 01:30:51 +0000</pubDate>
        </item>
        <item>
            <title>munin</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/munin?rev=1414103586&amp;do=diff</link>
            <description>Munin

Általános problémák

	*  Munin bind address beállítása az /etc/munin/munin-node.conf-ban:

# Which address to bind to;
#host *
host 127.0.0.1


Grafikon generálás oldalnyitáskor

Forrás: &lt;http://munin-monitoring.org/wiki/CgiHowto&gt;

	*  Függőségek telepítése:

apt-get install libapache2-mod-fastcgi libcgi-fast-perl</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 23 Oct 2014 22:33:06 +0000</pubDate>
        </item>
        <item>
            <title>doveadm</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/dovecot/doveadm?rev=1524185932&amp;do=diff</link>
            <description>doveadm

	*  &lt;http://wiki2.dovecot.org/Tools/Doveadm&gt;
	*  &lt;http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery&gt;

Tipikus paraméterek
Paraméter Leírás  -f table  táblázatos forma (mindig a parancs előtt)  -A vagy
-u *@yyy.zz vagy
-u xxx@yyy.zz  minden felhasználó, vagy
egy domain összes felhasználója, vagy
egy konkrét felhasználóra szűrés</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 20 Apr 2018 00:58:52 +0000</pubDate>
        </item>
        <item>
            <title>ksm</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ksm?rev=1423078679&amp;do=diff</link>
            <description>Kernel SamePage Merging (KSM)

Azaz memória deduplikáció

	*  &lt;http://ham.to/?p=15&gt;
	*  &lt;http://v-kompany.blogspot.hu/2014/07/ksmkernel-samepage-merging.html&gt;

Engedélyezés

echo 1 &gt; /sys/kernel/mm/ksm/run

Proc fájlok leírása

KSMMADV_MERGEABLE/sys/kernel/mm/ksm/
 pages_shared  how many shared unswappable kernel pages KSM is using</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:37:59 +0000</pubDate>
        </item>
        <item>
            <title>vmware-tools</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/vmware-tools?rev=1457377704&amp;do=diff</link>
            <description>VMware Tools

Telepítés

	*  VMware Tools telepítése: 

# Be root
sudo -s

# Install requirements
apt-get install make gcc build-essential linux-headers-`uname -r` psmisc

# Mount ISO
mkdir -p /media/cdrom/
mount -o loop /dev/cdrom /media/cdrom/

# Extract VMware Tools
cd /tmp
tar -xvzf /media/cdrom/VMwareTools-*.tar.gz

# Install tools
cd /tmp/vmware-tools-distrib
./vmware-install.pl

# Power off
poweroff</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 07 Mar 2016 19:08:24 +0000</pubDate>
        </item>
        <item>
            <title>ures_rendszer_csomagjai</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ures_rendszer_csomagjai?rev=1420700381&amp;do=diff</link>
            <description>Üres rendszer csomagjai

Debian 6.0.6 - Proxmox OpenVZ


adduser apt apt-listchanges apt-utils aptitude at base-files base-passwd bash bash-completion bc bind9-host
bsd-mailx bsdmainutils bsdutils coreutils cpio cpp cpp-4.4 cron dash dc debconf debconf-i18n
debian-archive-keyring debian-faq debianutils dhcp3-common diffutils dmidecode dnsutils doc-debian
doc-linux-text dpkg e2fslibs e2fsprogs file findutils fontconfig-config ftp gcc-4.4-base gettext-base gnupg
gpgv grep groff-base gzip hostname …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 08 Jan 2015 06:59:41 +0000</pubDate>
        </item>
        <item>
            <title>swap</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/swap?rev=1446135789&amp;do=diff</link>
            <description>swap

Swappiness beállítása

	*  &lt;https://en.wikipedia.org/wiki/Swappiness&gt;

Ha a géped akkor is swap-el, amikor még gigabájtok vannak szabadon a memóriában, akkor érdemes a swappiness értékét lecsökkenteni.

Ezt vagy a /etc/sysctl.conf-ban, vagy a /etc/sysctl.d mappában egy .conf</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 29 Oct 2015 16:23:09 +0000</pubDate>
        </item>
        <item>
            <title>imap_migralas</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/imap_migralas?rev=1415317231&amp;do=diff</link>
            <description>IMAP fiók migrálása

	*   imapsync
	*   IMAP Messages Transfer Tool</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 06 Nov 2014 23:40:31 +0000</pubDate>
        </item>
        <item>
            <title>fs_cache</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/fs_cache?rev=1725032813&amp;do=diff</link>
            <description>FS Cache

Cache takarítás

	*  &lt;https://discuss.aerospike.com/t/tuning-kernel-memory-for-performance/4195&gt;

	*  Flush RW cache: 

sync


	*  To free pagecache: 

echo 1 &gt; /proc/sys/vm/drop_caches


	*  To free dentries and inodes: 

echo 2 &gt; /proc/sys/vm/drop_caches


	*  To free pagecache, dentries and inodes: 

echo 3 &gt; /proc/sys/vm/drop_caches</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 30 Aug 2024 15:46:53 +0000</pubDate>
        </item>
        <item>
            <title>rsync</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/rsync?rev=1619181277&amp;do=diff</link>
            <description>RSync

	*  &lt;https://www.computerhope.com/unix/rsync.htm&gt;


rsync -aAxXhHzP --compress-level 9 --numeric-ids --delete --inplace --info=progress2 --stats &quot;forras&quot; &quot;cel&quot;


Hasznos kapcsolók
 Kapcsoló  Leírás (man-ból)  Komment  -A, --acls  preserve ACLs (implies -p)   -a, --archive  archive mode; equals</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 23 Apr 2021 12:34:37 +0000</pubDate>
        </item>
        <item>
            <title>noip</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/noip?rev=1473972579&amp;do=diff</link>
            <description>NoIP

Telepítés

	*  Program fájl telepítése: 



	*  Indító script telepítése (/etc/init.d/noip2): 

#!/bin/bash

### BEGIN INIT INFO
# Provides:          noip2
# Required-Start:
# Required-Stop:
# Should-Start:      $network $syslog
# Should-Stop:       $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop noip2
# Description:       noip2 manages dyn dns
### END INIT INFO

. /lib/lsb/init-functions

set -euf -o pipefail

NOIP_BIN=&#039;/usr/loc…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 15 Sep 2016 20:49:39 +0000</pubDate>
        </item>
        <item>
            <title>nagios</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/nagios?rev=1423078151&amp;do=diff</link>
            <description>Nagios

Core

	*  &lt;http://askubuntu.com/questions/145518/how-do-i-install-nagios&gt;
	*  &lt;https://www.digitalocean.com/community/articles/how-to-install-nagios-on-ubuntu-12-10&gt;
	*  &lt;http://nagios.sourceforge.net/docs/nagioscore/3/en/addons.html&gt;
	*  &lt;http://exchange.nagios.org/directory&gt;

XI

	*  &lt;http://library.nagios.com/library/products/nagiosxi/downloads/main&gt;

TODO

	*  /usr/lib/nagios/plugins

	*  adduser www-data nagios</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:29:11 +0000</pubDate>
        </item>
        <item>
            <title>lxc</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/lxc?rev=1423078268&amp;do=diff</link>
            <description>Linux Container (LXC)

	*  &lt;http://lxc.sourceforge.net/&gt;
	*  &lt;https://wiki.archlinux.org/index.php/Linux_Containers&gt;
	*  &lt;http://nigel.mcnie.name/blog/a-five-minute-guide-to-linux-containers-for-debian&gt;

Telepítés Precise-on LXC-Webbel


#!/bin/bash -e

function enable_cgroup_memory()
{
    set +e
    grep -q &#039;^GRUB_CMDLINE_LINUX=&quot;.*cgroup_enable=memory swapaccount=1&#039; /etc/default/grub
    if [ $? -ne 0 ]
    then
        set -e
        sudo sed -E &#039;s&gt;^(GRUB_CMDLINE_LINUX=&quot;)&gt;\1cgroup_enable=memo…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:31:08 +0000</pubDate>
        </item>
        <item>
            <title>gpg</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/gpg?rev=1637727497&amp;do=diff</link>
            <description>GPG

Kulcsok listázása


gpg --keyid-format LONG --list-keys
gpg --keyid-format LONG --list-secret-keys


Publikus kulcsok feltöltése


gpg --keyserver pgp.mit.edu --send-keys XXXXXXXXXXXXXXXX


Kulcsok exportálása

	*  &lt;https://unix.stackexchange.com/a/482559/21185&gt;

	*  Publikus kulcs exportálása:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 24 Nov 2021 04:18:17 +0000</pubDate>
        </item>
        <item>
            <title>fsck</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/fsck?rev=1597746806&amp;do=diff</link>
            <description>fsck

	*  &lt;http://superuser.com/a/19984/141252&gt;
Parancs  Fájlrendszer  efsck  EXT  e2fsck  EXT2, EXT3, EXT4  dosfsck  FAT32 fsck.&lt;fs&gt;
Például:fsck.ext4
Fájlrendszer feltétel nélküli ellenőrzése


fsck.ext4 -f &#039;/dev/sda&#039;


Fájlrendszer automatikus ellenőrzése

	*  &lt;https://linuxconfig.org/how-to-force-fsck-to-check-filesystem-after-system-reboot-on-linux&gt;
	*  &lt;https://superuser.com/questions/1241796/when-will-fsck-run-if-maximum-mount-count-is-1&gt;

Feltételek</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 18 Aug 2020 10:33:26 +0000</pubDate>
        </item>
        <item>
            <title>fail2ban</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/fail2ban?rev=1544656396&amp;do=diff</link>
            <description>fail2ban
jailfail2banlogrotatefail2banbann-time
Telepítés

	*  Csomag telepítése: 
apt-get install fail2ban

	*  Program beállítása: 

[DEFAULT]

# &quot;ignoreip&quot; can be an IP address, a CIDR mask or a DNS host
ignoreip = 127.0.0.1/8 192.168.0.0/16

# &quot;bantime&quot; is the number of seconds that a host is banned.
# 86400 s = 1 day
bantime = 86400

...

# A host is banned if it has generated &quot;maxretry&quot; during the last &quot;findtime&quot;
# seconds.
# 604800 s = 7 days
findtime = 604800
maxretry = 10

...

destemai…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 12 Dec 2018 23:13:16 +0000</pubDate>
        </item>
        <item>
            <title>efibootmgr</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/efibootmgr?rev=1628289361&amp;do=diff</link>
            <description>efibootmgr

Boot rekordok listázása


efibootmgr -v


Boot rekordok törlése

A efibootmgr alapján, az összes ID-ra egyessével meg kell hívni a következő parancsot: 


efibootmgr -b &lt;ID&gt; -B


Új rekord létrehozása

	*  &lt;https://wiki.debian.org/UEFI#efibootmgr_example_3_-_add_a_new_boot_entry&gt;

„”


efibootmgr -c -d /dev/sdb -p 1 -w -L debian -l &#039;\EFI\debian\grubx64.efi&#039;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 06 Aug 2021 22:36:01 +0000</pubDate>
        </item>
        <item>
            <title>tovabbitas</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/dns/tovabbitas?rev=1421751192&amp;do=diff</link>
            <description>DNS továbbítás

	*  &lt;https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-caching-or-forwarding-dns-server-on-ubuntu-14-04&gt;
	*  &lt;https://www.isc.org/downloads/bind/dnssec/&gt;

Egy már jól működő, lokális és távoli neveket feloldó szerveren a következőket kell elkövetni, hogy az csak a lokálisakat oldja fel helyileg, a többit irányítsa át a Google szervereire.

	*  Add hozzá az</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 20 Jan 2015 10:53:12 +0000</pubDate>
        </item>
        <item>
            <title>nyomozas</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/zfs/nyomozas?rev=1722247871&amp;do=diff</link>
            <description>ZFS Nyomozás

Pool állapotának lekérdezése

	*  

zpool status -stvD



  pool: backup_pool
 state: ONLINE
  scan: none requested
config:

        NAME                                                           STATE     READ WRITE CKSUM  SLOW
        backup_pool                                                    ONLINE       0     0     0     -
          mirror-0                                                     ONLINE       0     0     0     -
            ata-WDC_WD60EZAZ-00SF3B0_WD-WX22D51FH…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 29 Jul 2024 10:11:11 +0000</pubDate>
        </item>
        <item>
            <title>halozat</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/halozat?rev=1612746015&amp;do=diff</link>
            <description>Linux hálózat

ephemeral port

	*  &lt;https://serverfault.com/a/873488/122703&gt;

„Ephemeral port” az a port, amit a kernel akkor használ, amikor egy bejövő kapcsolatot tesz tovább egy másik portra, hogy a listener portot felszabadítsa.

IP adatok lekérdezése toolok nélkül


cat /proc/net/fib_trie</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 08 Feb 2021 01:00:15 +0000</pubDate>
        </item>
        <item>
            <title>ubuntu</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ubuntu?rev=1505308506&amp;do=diff</link>
            <description>Ubuntu

Kiadás verziójának lekérdezése


cat /etc/lsb-release



DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=&quot;Ubuntu 16.04.3 LTS&quot;


Frissítés 13.04-ről (raring) 14.04 (trusty) LTS-re

	*  &lt;http://www.tuxtrix.com/2014/03/upgrade-from-ubuntu-1304-to-ubuntu-1404.html&gt;

	*  Ubuntu repók átállítása:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 Sep 2017 13:15:06 +0000</pubDate>
        </item>
        <item>
            <title>tmux</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/tmux?rev=1505209070&amp;do=diff</link>
            <description>tmux

Röviden a tmux egy fejlett screen.

Használata

	*  &lt;https://gist.github.com/MohamedAlaa/2961058&gt;
	*  &lt;http://code.tutsplus.com/tutorials/intro-to-tmux--net-33889&gt;

Minden tmux billentyűprancsot meg kell előznie egy úgynevezett „prefix”-nek, ami az alapbeállítások szerinte a . Ezt leütve fogja a tmux a többi billentyűleütésünket értelmezni, mint utasítás</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 12 Sep 2017 09:37:50 +0000</pubDate>
        </item>
        <item>
            <title>tlp</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/tlp?rev=1527262424&amp;do=diff</link>
            <description>TLP

	*  &lt;https://askubuntu.com/a/724987/58298&gt;
	*  &lt;http://linrunner.de/en/tlp/docs/tlp-configuration.html&gt;

Laptopok energiaháztartását automatikusan állító eszköz. Áramforrástól függően tudja állítani a CPU sebességét és még sok minden mást, így laptopok esetén hasznosabb ezt használni, mint a CpuFreqUtils-t.
CpuFreqUtils
Beállítás

Hasznos egyedi beállítások az</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 25 May 2018 15:33:44 +0000</pubDate>
        </item>
        <item>
            <title>screen</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/screen?rev=1424013305&amp;do=diff</link>
            <description>Screen

Beállítás

	*  &lt;https://snarfed.org/dotfiles/.screenrc&gt;
	*  &lt;https://github.com/ankurdave/dotfiles/blob/master/.screenrc&gt;

	*  ${HOME}/.screenrc: 

# No &quot;New screen...&quot; message at startup
startup_message off

# Set shell
shell /bin/zsh

# Longer scroll history
defscrollback 999999

hardstatus alwayslastline
hardstatus string &#039;%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]&#039;
#hardstatus string &#039;%{= mK}%-Lw%{= KW}%50&gt;%n%f*…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 15 Feb 2015 15:15:05 +0000</pubDate>
        </item>
        <item>
            <title>monit</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/monit?rev=1472683470&amp;do=diff</link>
            <description>Monit

Ha a monit indított egy service-t, és az valamiért leállt (pl. OOM-killer), a monit vissza fogja indítani. (és mindezekről küld egy-egy státusz emailt is)

Beállítás

	*  &lt;http://www.tecmint.com/how-to-install-and-setup-monit-linux-process-and-services-monitoring-program/&gt;

	*  Telepítsük fel a csomagot: 

apt-get install monit</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 31 Aug 2016 22:44:30 +0000</pubDate>
        </item>
        <item>
            <title>mc</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/mc?rev=1634947930&amp;do=diff</link>
            <description>Midnight Commander

Panelok trükkös kezelése

	*  &lt;http://unix.stackexchange.com/questions/5901/how-to-open-the-same-directory-in-another-panel-in-midnight-commander/16729#16729&gt;

	*   Az aktív panel elérési útjára állítja a passzív panelt.
	*   Az aktív panel kijelölésére állítja a passzív panelt.

Makrók

	*  &lt;https://linuxcommand.org/lc3_adv_mc.php#macros&gt;
 Macro	 Meaning  %f  Selected file’s name</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 23 Oct 2021 00:12:10 +0000</pubDate>
        </item>
        <item>
            <title>locale</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/locale?rev=1605787849&amp;do=diff</link>
            <description>Locale
tzdata
Beállítás


sudo -s
apt-get install language-pack-en language-pack-hu
dpkg-reconfigure locales

update-locale --reset \
  LANG=&quot;en_US.UTF-8&quot; \
  LC_MESSAGES=&quot;POSIX&quot; \
  LANGUAGE= \
  LC_ALL= \
  LC_CTYPE=&quot;en_US.UTF-8&quot; \
  LC_NUMERIC=&quot;en_US.UTF-8&quot; \
  LC_TIME=&quot;en_US.UTF-8&quot; \
  LC_COLLATE=&quot;en_US.UTF-8&quot; \
  LC_MONETARY=&quot;en_US.UTF-8&quot; \
  LC_PAPER=&quot;en_US.UTF-8&quot; \
  LC_NAME=&quot;en_US.UTF-8&quot; \
  LC_ADDRESS=&quot;en_US.UTF-8&quot; \
  LC_TELEPHONE=&quot;en_US.UTF-8&quot; \
  LC_MEASUREMENT=&quot;en_US.UTF-8&quot; \
  LC_I…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 19 Nov 2020 12:10:49 +0000</pubDate>
        </item>
        <item>
            <title>keepass</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/keepass?rev=1547858568&amp;do=diff</link>
            <description>KeePass

&lt;http://askubuntu.com/questions/130627/how-to-integrate-keypass-and-chrom-chromium-using-chromipass&gt;

Telepítés: 


sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get install keepass2 mono-complete


Böngésző jelszó kiszolgáló

	*  Töltsd le a /usr/lib/keepass2/plugins mappába:
		*  Newtonsoft.Json.dll
		*  KeePassHttp.dll
		*  HaveIBeenPwned.dll

	*  Telepítsd fel a böngésző plugin-eket a</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 19 Jan 2019 00:42:48 +0000</pubDate>
        </item>
        <item>
            <title>iperf</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/iperf?rev=1643623496&amp;do=diff</link>
            <description>iperf

	*  &lt;http://www.jamescoyle.net/how-to/574-testing-network-speed-with-iperf&gt;
	*  &lt;https://askubuntu.com/a/7977/58298&gt;

	*  Szerver oldal indítása: 

iperf3 -s


	*  Kliens oldal indítása: 

iperf3 -c test.host -t 60</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 31 Jan 2022 10:04:56 +0000</pubDate>
        </item>
        <item>
            <title>gnome-keyring</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/gnome-keyring?rev=1550156789&amp;do=diff</link>
            <description>gnome-keyring

Keyringek törlése


find &quot;${HOME}/.local/share/keyrings&quot; -type f -delete


Lassan indul a Google Chrome

	*  &lt;https://askubuntu.com/questions/867/how-can-i-stop-being-prompted-to-unlock-the-default-keyring-on-boot&gt;

Ha korábban beállításra került jelszó a kulcskarikához, előfordulhat, hogy nem kerül automatikusan kinyitásra a tároló. Ennek több</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 14 Feb 2019 15:06:29 +0000</pubDate>
        </item>
        <item>
            <title>gdb</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/gdb?rev=1542894084&amp;do=diff</link>
            <description>gdb

Indítás

	*  &lt;https://sourceware.org/gdb/onlinedocs/gdb/TUI-Keys.html&gt;

	*  Mezitlábasan:

gdb -c &#039;core_file&#039; &#039;debugosan_forgatott_binaris&#039;


	*  Osztott képernyős forráskód nézővel:

gdb -tui -c &#039;core_file&#039; &#039;debugosan_forgatott_binaris&#039;


Ezt ki-be kapcsolni utólag a ,  megnyomásával lehet</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 22 Nov 2018 13:41:24 +0000</pubDate>
        </item>
        <item>
            <title>cryptsetup</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/cryptsetup?rev=1642759451&amp;do=diff</link>
            <description>cryptsetup

Telepítés


sudo apt-get install cryptsetup


LUKS

	*  &lt;https://www.lisenet.com/2013/luks-add-keys-backup-and-restore-volume-header/&gt;

Partíció titkosítása


sudo cryptsetup -vy luksFormat &#039;/dev/sda2&#039;


Titkosított partíció kinyitása


# &gt; /dev/mapper/crypt_my_part
sudo cryptsetup luksOpen --allow-discards &#039;/dev/sda2&#039; crypt_my_part</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jan 2022 10:04:11 +0000</pubDate>
        </item>
        <item>
            <title>console-setup</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/console-setup?rev=1513249198&amp;do=diff</link>
            <description>console-setup

Fizikai konzol beállítása

	*  &lt;https://github.com/notro/fbtft/wiki/Boot-console#console-font&gt;


sudo dpkg-reconfigure console-setup


Ubuntu Xenial alapértelmezett konzol beállítása

	*  Szerkesszük a /etc/default/console-setup fájlt: 

# CONFIGURATION FILE FOR SETUPCON

# Consult the console-setup(5) manual page.

ACTIVE_CONSOLES=&quot;/dev/tty[1-6]&quot;

CHARMAP=&quot;UTF-8&quot;

CODESET=&quot;guess&quot;
FONTFACE=&quot;Fixed&quot;
FONTSIZE=&quot;8x16&quot;

VIDEOMODE=

# The following is an example how to use a braille font…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 14 Dec 2017 10:59:58 +0000</pubDate>
        </item>
        <item>
            <title>tahoe-lafs</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/tahoe-lafs?rev=1428661451&amp;do=diff</link>
            <description>Tahoe-LAFS

	*  &lt;https://www.tahoe-lafs.org&gt;

Telepítés

	*  &lt;https://www.tahoe-lafs.org/trac/tahoe-lafs/browser/docs/quickstart.rst&gt;

	*  Csomag telepítése: 

apt-get install tahoe-lafs


Elvileg telepíthető Windows alá is: &lt;https://tahoe-lafs.org/trac/tahoe-lafs/wiki/RelatedProjects&gt;

	*  A tool függőségeinek ellenőrzése: 

tahoe --version



allmydata-tahoe: 1.10.0
foolscap: 0.6.4
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
zfec: 1.4.5
Twisted: 13.2.0
Nevow: 0.10.0
zop…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 10 Apr 2015 10:24:11 +0000</pubDate>
        </item>
        <item>
            <title>zsh</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/zsh?rev=1431624234&amp;do=diff</link>
            <description>ZSH

Telepítés

Szerintem a ZSH az oh my zsh környezettel lesz igazán frankó.

	*  Függőségek telepítése: 

apt-get install zsh git-core


	*  Környezet letöltése és telepítése: 

wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 14 May 2015 17:23:54 +0000</pubDate>
        </item>
        <item>
            <title>networking</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/networking?rev=1654790327&amp;do=diff</link>
            <description>Linux networking</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 09 Jun 2022 15:58:47 +0000</pubDate>
        </item>
        <item>
            <title>aufs</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/aufs?rev=1419339668&amp;do=diff</link>
            <description>AUFS

Fekcsatolása

	*  Kernel támogatással: 

apt-get install aufs-tools
mount -t aufs -o cow,max_files=32768 -o allow_other,use_ino,suid,dev,nonempty ${PRIVATE_PATH}=RW:${TEMPLATE_PATH}=RO ${IMAGE_PATH}


	*  Fuse-os megfelelője: 

apt-get install unionfs-fuse
unionfs-fuse -o cow,max_files=32768 -o allow_other,use_ino,suid,dev,nonempty ${PRIVATE_PATH}=RW:${TEMPLATE_PATH}=RO ${IMAGE_PATH}</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 23 Dec 2014 13:01:08 +0000</pubDate>
        </item>
        <item>
            <title>ffmpeg_intel_quicksync</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ffmpeg_intel_quicksync?rev=1470753396&amp;do=diff</link>
            <description>ffmpeg + Intel QuickSync

	*  &lt;http://emby.media/community/index.php?/topic/10723-gpu-transcoding-intel-quicksync-and-nvidia-nvenc/page-30#entry314835&gt;

Fordítás forráskódból Ubuntu Trusty-n (14.04)

	*  Install requirements: 

sudo apt-get install libvdpau-va-gl1

sudo apt-get install cmake make gcc pkg-config patch yasm g++ autoconf automake build-essential cifs-utils texi2html 

sudo apt-get install libpthread-stubs0-dev libpciaccess-dev libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev l…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 09 Aug 2016 14:36:36 +0000</pubDate>
        </item>
        <item>
            <title>billentyuzet_kiosztas</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/billentyuzet_kiosztas?rev=1420702375&amp;do=diff</link>
            <description>Billentyűzet kiosztás

Beállítás

	*  Alapbeállítások: 

sudo dpkg-reconfigure keyboard-configuration


	*  Kiosztásváltó beállítása: 

setxkbmap -option grp:switch,grp:alt_shift_toggle us,hu</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 08 Jan 2015 07:32:55 +0000</pubDate>
        </item>
        <item>
            <title>hyper-threading</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/hyper-threading?rev=1510311178&amp;do=diff</link>
            <description>Hyper-threading

Kikapcsolása OS szinten

	*  Használjuk a noht kernel paramétert
	*  Vagy tiltsuk le a HT párok „második” magját: 

cat /sys/devices/system/cpu/cpu*/topology/thread_siblings_list \
    | awk -F, &#039;{print $2}&#039; \
    | sort -nu \
    | while read -r X; do echo &quot;$X&quot;; echo 0 &gt;&quot;/sys/devices/system/cpu/cpu$X/online&quot;; done</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 10 Nov 2017 10:52:58 +0000</pubDate>
        </item>
        <item>
            <title>aspell</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/aspell?rev=1432273102&amp;do=diff</link>
            <description>aspell

Telepítés

	*  Program telepítése: 

sudo apt-get install aspell


	*  Nyelvi csomagok telepítése: 

sudo apt-get install aspell-hu



Nyelvi fájl generálása

	*  Alap nyelvi fájl generálása: 

aspell --lang &#039;hu&#039; dump master | cut -d/ -f1 &gt; ~/.spelling/hu.dic</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 22 May 2015 05:38:22 +0000</pubDate>
        </item>
    </channel>
</rss>
