<?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>Wed, 25 Nov 2026 13:32:16 +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>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>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>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>sudo</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/sudo?rev=1423090045&amp;do=diff</link>
            <description>Sudo

	*  A /etc/sudoers szerkesztéséhez a következő parancsot használd: 

sudo visudo


	*  A Ubuntu környezetben az egyéni beállításokat az /etc/sudoers.d/ mappában tárold!

Beállítások

	*  Autentikációt igénylő sudo engedélyezése minden parancsra a</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 22:47:25 +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>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>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>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>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>proxy</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/proxy?rev=1453391670&amp;do=diff</link>
            <description>Proxy kliens

bash (http)


https_proxy=http://proxy.host:3128/
http_proxy=http://proxy.host:3128/
ftp_proxy=http://proxy.host:3128/


bash (socks)


all_proxy=socks5://proxy.host:8888
ALL_PROXY=socks5://proxy.host:8888


rsync


https_proxy=http://proxy.host:3128/</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 21 Jan 2016 15:54:30 +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>heartbeat</title>
            <link>https://dras.hu/wiki/tudasbazis/linux/heartbeat?rev=1423079576&amp;do=diff</link>
            <description>Heartbeat

Állapotok

	*  &lt;http://serverfault.com/questions/333853/heartbeat-find-out-machines-status-within-a-cluster/344251#344251&gt;
	*  &lt;http://linux-ha.org/wiki/Ha.cf&gt;

	*  Lekérdezés: 

# 1.
/etc/init.d/heartbeat status

# 2.
/usr/bin/cl_status rscstatus

# 3.
/usr/bin/cl_status rscstatus -m


 Állapot     Leírás                                                          none</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 04 Feb 2015 19:52:56 +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>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>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>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>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>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>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>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>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>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>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>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>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>
    </channel>
</rss>
