<?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 16:51:12 +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>discard</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/discard?rev=1632359411&amp;do=diff</link>
            <description>discard (trim/unmap)

	*  &lt;https://wiki.archlinux.org/index.php/Solid_State_Drives#Trim_an_entire_device&gt;
	*  &lt;https://en.wikipedia.org/wiki/Trim_(computing)&gt;
	*  &lt;https://en.wikipedia.org/wiki/Wear_leveling&gt;

A legelső generációs SSD-ket leszámítva minden modern SSD támogatja a discard funkciót, amivel blokkokat lehet „üresnek” jelölni anélkül, hogy konkrétan kinulláznánk fizikailag.

Ennek két előnye van:</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 23 Sep 2021 01:10:11 +0000</pubDate>
        </item>
        <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>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>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>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>sysctl</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/sysctl?rev=1493024482&amp;do=diff</link>
            <description>sysctl

	*   http://www.linuxsmiths.com/blog/?p=527

Módosítások alkalmazása

Azaz a sysctl fájlok újra töltése 


sudo sysctl --system

# régebbi rendszereken:
sudo sysctl -p


Rendszer tuning

	*  &lt;http://russ.garrett.co.uk/2009/01/01/linux-kernel-tuning/&gt;

Cache-ek finomhangolásával, a swap-elési igény csökkentésével és egyéb</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 24 Apr 2017 09:01:22 +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>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>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>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>openssl</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/openssl?rev=1611059081&amp;do=diff</link>
            <description>OpenSSL

	*  &lt;http://www.sslshopper.com/article-most-common-openssl-commands.html&gt;
	*  &lt;http://www-user.tu-chemnitz.de/~hot/SSL&gt;
	*  &lt;http://www.ipsec-howto.org/x600.html&gt;
	*  &lt;https://www.ssllabs.com/ssltest/&gt;
	*  &lt;https://raymii.org/s/tutorials/Strong_SSL_Security_On_Apache2.html&gt;

SSL Cert authority

	*  &lt;https://help.ubuntu.com/community/OpenSSL&gt;
	*  &lt;http://wiki.samat.org/CheatSheet/OpenSSL&gt;

Cert generátor


#!/bin/bash
if [ $# -ne 2 ]; then
    echo &quot;Usage: openssl.sh &lt;dir&gt; &lt;key size&gt;&quot;
  …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 19 Jan 2021 12:24:41 +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>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>openvpn</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/vpn/openvpn?rev=1442055903&amp;do=diff</link>
            <description>OpenVPN

Telepítés

	*  &lt;https://help.ubuntu.com/10.04/serverguide/openvpn.html&gt;
	*  &lt;https://help.ubuntu.com/community/OpenVPN&gt;
	*  &lt;http://madisonlinux.org/InstallingOpenVPNOnUbuntu10.04?action=AttachFile&amp;do=get&amp;target=install_open_vpn_on_ubuntu.pdf&gt;

	*  Telepítés: 

sudo apt-get install openvpn


	*  Alap config bemásolása: 

sudo cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/
sudo gzip -d /etc/openvpn/server.conf.gz</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 12 Sep 2015 11:05:03 +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>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>systemd</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/systemd?rev=1652101402&amp;do=diff</link>
            <description>systemd

	*  &lt;https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files&gt;
	*  &lt;https://www.freedesktop.org/software/systemd/man/systemd.service.html&gt;
	*  &lt;https://www.freedesktop.org/software/systemd/man/bootup.html&gt;

Service típusok
 simple(1)  
	*  már eleve „active” állapottal indít (azaz nem blokkol)
 exec(1)  
	*  csak sikeres bináris indítást követően kerül „active” állapotba
 oneshot(2)  
Felfutó és lefutó élen futtat, azaz</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 09 May 2022 13:03:22 +0000</pubDate>
        </item>
        <item>
            <title>inotify</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/inotify?rev=1414098969&amp;do=diff</link>
            <description>Inotify

Limit növelés

	*  Ideiglenes beállítás: 

echo 65536 &gt;/proc/sys/fs/inotify/max_user_watches


	*  Permanens beállítás a /etc/sysctl.conf-ban: 

fs.inotify.max_user_watches=65536</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 23 Oct 2014 21:16:09 +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>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>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>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>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>quilt</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/quilt?rev=1450719140&amp;do=diff</link>
            <description>quilt

Debian patchset kezelésére
debian/*
Változások hozzáadása

	*  &lt;https://wiki.debian.org/UsingQuilt#Using_quilt_with_Debian_source_packages&gt;

	*  Lépj a forrásmappába, amiben megtalálható a debian mappa!
	*  Állítsd be a szükséges környzeti változókat (vagy győződj meg, hogy a .quiltrc-nk jól van beállítva):</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 21 Dec 2015 17:32:20 +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>ionice</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ionice?rev=1418177088&amp;do=diff</link>
            <description>ionice

	*  &lt;http://www.cyberciti.biz/faq/linux-change-io-scheduler-for-harddisk/&gt;
	*  &lt;http://forum.xda-developers.com/showpost.php?s=b236833a23a9d84f6f1b863c120ccda7&amp;p=23616564&amp;postcount=4&gt;

A process IO prioritására való eszköz, hasonlóan a nice és a renice-hoz képest.
IO elevatorcfq
	*  &lt;http://askubuntu.com/a/259516/58298&gt;
	*  &lt;http://unix.stackexchange.com/q/136226/21185&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 10 Dec 2014 02:04:48 +0000</pubDate>
        </item>
        <item>
            <title>gdisk</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/gdisk?rev=1524237840&amp;do=diff</link>
            <description>gdisk

Ez az fdisk GPT-t támogató megfelelője.

sgdisk

Scripteléshez használjuk az sgdisk paranccsát.


sgdisk -ozZ /dev/sda
sgdisk -ozZ -n &quot;1:2048:6143&quot;          -t 1:EF02 -c 1:bios_grub \
            -n &quot;2:6144:4000000&quot;       -t 2:8300 -c 2:boot \
            -n &quot;3:4000001:8000000&quot;    -t 3:8200 -c 3:swap \
            -n &quot;4:8000001:7234521230&quot; -t 4:8300 -c 4:root \
            /dev/sda</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 20 Apr 2018 15:24:00 +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>fetchmail</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/fetchmail?rev=1415323170&amp;do=diff</link>
            <description>fetchmail

	*  &lt;http://www.lug-wr.de/wiki/index.php/Fetchmail&gt;

Azonos limit-ek

	*  &lt;http://stackoverflow.com/a/20064195/1108919&gt;
limit</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 07 Nov 2014 01:19:30 +0000</pubDate>
        </item>
        <item>
            <title>ddrescue</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/ddrescue?rev=1455537697&amp;do=diff</link>
            <description>ddrescue

	*  &lt;http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html&gt;

Hibás merevlemez intelligens dd-zése:

	*  Adatok átvitele fix blokk mérettel (ahol „pukkan”, azt a blokkot kihagyja és felírja a map-fájlba): 

ddrescue --force --no-scrape &#039;/dev/sda&#039; &#039;/dev/sdb&#039; &#039;mapfile&#039;


	*  A hibás blokkok újra bejárása, és a lehető legtöbb adat visszanyerése (blokk méret csökkentgetésével, nagyon időigényes):</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 15 Feb 2016 12:01:37 +0000</pubDate>
        </item>
        <item>
            <title>dd</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/dd?rev=1601019490&amp;do=diff</link>
            <description>dd

	*  &lt;http://man7.org/linux/man-pages/man1/dd.1.html&gt;
ddrescue
Nagy adat közvetlen írása

Ha forrás/cél egy block device, akkor érdemes kierőszakolni, hogy közvetlenül az eszközt írd/olvasd, hogy kevesebb közbülső rétegen menjen keresztül, ami nagy mennyiségű adatnál sokat gyorsít a folyamaton.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 25 Sep 2020 07:38:10 +0000</pubDate>
        </item>
        <item>
            <title>cpufrequtils</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/cpufrequtils?rev=1527261605&amp;do=diff</link>
            <description>CpuFreqUtils

	*  &lt;http://wiki.debian.org/HowTo/CpuFrequencyScaling&gt;
	*  &lt;https://askubuntu.com/a/936488/58298&gt;
TLP
Telepítés

	*  Csomag telepítése:

apt-get install cpufrequtils


	*  Elérhető governor lekérdezése:

cpufreq-info


	*  Config beállítása:

# Available governors:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

GOVERNOR=&quot;ondemand&quot;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 25 May 2018 15:20:05 +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>
        <item>
            <title>arping</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/arping?rev=1538754389&amp;do=diff</link>
            <description>arping

	*  broadcast MAC címen hírdessük az IP címünk új MAC-jét (HA esetén hasznos) 


arping \
    -A -c 10 \
    -I eth0 \
    -s 192.168.0.1 \
    192.168.0.1

 Kapcsoló  Típus  Leírás  -U  REQUEST  „Kié ez az IP cím?”
=melyik MAC-hez tartozik</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 05 Oct 2018 15:46:29 +0000</pubDate>
        </item>
        <item>
            <title>zgui</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/zfs/zgui?rev=1638904304&amp;do=diff</link>
            <description>zgui

	*  &lt;https://gitlab.com/beteras/zgui&gt;


sudo apt-get install libglib2.0-dev libzfslinux-dev libcairo2-dev libpango1.0-dev libgtk-3-dev

go get gitlab.com/andras-tim/zgui</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 07 Dec 2021 19:11:44 +0000</pubDate>
        </item>
        <item>
            <title>protocols</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/samba/protocols?rev=1549384427&amp;do=diff</link>
            <description>Protokollok

	*  &lt;http://pig.made-it.com/samba-setup.html#22230&gt;
SMB1
&lt;https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/&gt;

Verzió kinyerése a TCP csomagból</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 05 Feb 2019 16:33:47 +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>apt</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/apt?rev=1453198893&amp;do=diff</link>
            <description>APT és Debian alapú csomagkezelés

	*  sources.list

Frissítés visszatartása

	*  Ha még az apt-cache policy nem tartalmazza az új verzióját, akkor: 

echo linux-image-server hold | dpkg --set-selections


vagy 


apt-mark hold linux-image-server


	*</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 19 Jan 2016 10:21:33 +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>vt100</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/vt100?rev=1605824733&amp;do=diff</link>
            <description>VT100

	*  &lt;https://notes.burke.libbey.me/ansi-escape-codes/&gt;

Vizualizció

Kell 4 terminal ablak:

	*  Az éles rendszer, ami ír egy „buffer” fájlt: 

stdbuf -o0 ssh remote_host | stdbuf -o0 tee b


	*  A buffer lassítása egy másik fájlba: 

stdbuf -o0 tail -fn0 b | stdbuf -o0 pv -qL 100 &gt; b1</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 19 Nov 2020 22:25:33 +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>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>roundcube</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/roundcube?rev=1422289001&amp;do=diff</link>
            <description>RoundCube

Plugin kezelés

	*  &lt;http://plugins.roundcube.net/&gt;

A pluginek jelenleg eléggé mostohán vannak kezelve, valami gyárilag szállítva van a Complete csomaggal, van amit Composer-rel kell telepíteni, és vannak a régebbiek, amiket oda kell másolni.

Mivel a Composer</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 26 Jan 2015 16:16:41 +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>
    </channel>
</rss>
