Teljes szöveg:
- monitorozas
- Log Network Traffic using VNStat 24. Htop htop is a ncurses-based process viewer. This is similar to top, but is more flexible and user friendly. You can interact... atistics – SS ss stands for socket statistics. This displays information that are similar to netstat ... e following displays socket summary statistics. This displays the total number of sockets broken down
- read @tudasbazis:linux:bash
- ractional portion following the decimal point. This option is only effective if read is reading input from a terminal, pipe, or other spe... without trying to read any data. The exit status is 0 if input is available on the specified file descriptor, non-zero otherwise. The exit status is greater than 128 if the timeout is exceeded. | ^ ''-u fd'' | Read input from... or fd. | If no names are supplied, the line read is assigned to the variable REPLY. The return code is zero, unless end-of-file is encountered, read tim
- ldap
- from the client, it will check whether the client is allowed to perform the request. This process is called access control. In LDAP, authentication i... encrypted channel (such as SSL), provided that this is supported by the LDAP server. Finally, SASL is t... ther services too (Sendmail, Login, Ftp, etc.). This is accomplished migrating specific user information ... ation Module). The authentication module for LDAP is available as a tar ball on the following address:
- openswan @tudasbazis:linux:vpn
- mmunicate with a single remote private network. This is often called a ''roadwarrior'' scenario where a single clients is accessing the company network from different loca... int of view. The big advantage of using ssl-certs is to be able to revoke them (declare them as invalid) if a user lost his computer or leave the company. We generate the Ce... ile> As we prepare the client configurations in this example, the client ip is predefined. The network settings can also be assi
- samba
- the service's home directory, obtained from your NIS auto.map entry. The NIS ''auto.map'' entry is split up as ''%N:%p''. | ^ ''%P'' | X | the root ... personality”. | ^ ''%N'' | X | the name of your NIS home directory server. This is obtained from your NIS auto.map entry. If you have not compiled Samba with the ''--with-automount'' option, this value will be the same as ''%L''. | ^ ''%v'' |
- ntopng
- terface. Any traffic on # those networks is considered local. This parameter allows the user to define additional # ... ntopng periodically purges idle hosts. With this option you can modify this behaviour by # telling ntopng not to purge the hosts specified by -S. This parameter requires an argu‐ # ment that... irectory (it must be writable). Default directory is ./data # --data-dir=/var/tmp/ntopng # # -q|
- bandwidthd
- ons that don't usually get changed # An interval is 2.5 minutes, this is how many # intervals to skip before doing a grap... d strange problems #filter "ip" #Draw Graphs - This default to true to graph the traffic bandwidthd is recording #Usually set this to false if you only ... Bandwidthd will use very little #ram and cpu if this is set to false. #graph true #Set META REFRESH for
- lvm
- sk using Ubuntu livecd ===== <blockquote>Mounting is an easy process to do, provided the filesystem type you are using is supported. What happen when you have an LVM forma... n pvscan to scan all disks for physical volume. this to make sure your LVM harddisk is detected by Ubuntu<code bash> sudo pvscan #PV /de... ash> sudo vgscan #Reading all physical volumes. This may take a while... #Found volume group "VolGroup
- drbd
- to add redundancy for backup purposes. /dev/sdb2 is just a small 50gb partition for testing purposes and the 10.0.0.1 address is just a private ip address that I intend on bindin... le to add a second host to the setup, by adding this to the config file. <code python> on myhost.mydo... on myhost.mydomain1, assuming you want to make this the primary node <code bash> drbdadm disconnect ... to automount and to do no fsck's So I now have this in my fstab for /home <code fstab> /dev/drbd0
- gdb
- ash> gdb -c 'core_file' 'debugosan_forgatott_binaris' </code> * Osztott képernyős forráskód nézővel:... gdb -tui -c 'core_file' 'debugosan_forgatott_binaris' </code> Ezt ki-be kapcsolni utólag a <key>ctrl-x... ával lehet ===== Parancsok ===== * {{:tudasbazis:linux:gdb_cheat_sheet.pdf|GDB Cheat Sheet}} * h... stája | | <code c>i f # info frame</code> | Aktuális frame-ről mindent | | <code c>i shared # info sha
- ssh
- be # allowed to get access from all sources. # This will only work if netgroup service is available. + : remote_access : ALL # # User "john
- hdparm
- ash> hdparm -A 1 /dev/sda </file> * If the disk is constantly too noisy, you can change its acoustic... data into bigger chunks and wait until the chunk is big enough to be written to disk.\\ Current web b... ant data when the application crashes. However, this lets the disk spin very often as the drive repeat... arded as distracting by the user. To circumvent this issue, you can switch the drive to the lowest deg
- openvpn @tudasbazis:linux:vpn
- g # ROUTE THE CLIENT'S INTERNET ACCESS THROUGH THIS SERVER: #push "redirect-gateway def1" #push "dhcp... t. * Ha szeretnénk a belső hálózat erőforrásait is megosztani, akkor figyeljünk, hogy a ''sysctl.con... legyen a routing és az ''iptables'' FORWARD ágán is fel kell venni a ''tun0''-t. * Ha az internetet is szeretnénk átkergetni a VPN-en, akkor az előzők m
- mentendo_adatok
- = Merevlemez ===== * Partíciós tábla: [[tudasbazis:linux:sfdisk#particios_tabla_mentese|sfdisk (Partíciós tábla mentése)]] * LVM: [[tudasbazis:linux:lvm#config_mentese|LVM (Config mentése)]] * Titkosított fájlrendszer adatai: [[tudasbazis:linux:cryptsetup#titkositasi_informaciok_mentese|... k ===== * Debian csomaglista mentése: [[tudasbazis:linux:dpkg#telepitetteltavolitott_csomagok_mentes
- swap
- bling it entirely. | | ''vm.swappiness = 10'' | This value is sometimes recommended to improve performance when
