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
- read @tudasbazis:linux:bash
- | ^ ''-e'' | If the standard input is coming from a terminal, readline (see READLINE above) is used to obtain the line. Readline uses the curre... ing settings. | ^ ''-i text'' | If readline is being used to read the line, text is placed into the editing buffer before editing beg... before attempting to read any input. The prompt is displayed only if input is coming from a terminal. | ^ ''-r'' | B... portion following the decimal point. This option is only effective if read is reading input from a terminal, pipe, or other spe
- ldap
- rst must authenticate itself to the service. That is, it must tell the LDAP server who is going to be accessing the data so that the server... from the client, it will check whether the client is allowed to perform the request. This process is called access control. In LDAP, authentication is supplied in the "bind" operation. Ldapv3 supports ... that sends a LDAP request without doing a "bind" is treated as an anonymous client. Simple authentica
- openswan @tudasbazis:linux:vpn
- nicate 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... configuration: The pool for the ''roadwarriors'' is ''192.168.2.0/24''. A single ''/24 (255.255.255.0)'' network. The internal company network is ''192.168.0.0/24'' where all of the servers resid... int of view. The big advantage of using ssl-certs is to be able to revoke them (declare them as invali
- ntopng
- g/ntopng.conf # # The configuration file is similar to the command line, with the exception t... options with no value (e.g. -v) the equal is also necessary. Example: "-v=" must be used. # # ... Specifies the path where the PID (process ID) is saved. # --pid-path=/var/run/ntopng.pid # # ... terface. Any traffic on # those networks is considered local. This parameter allows the user
- 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... kept inside?? Do not worry, because the solution is here....... - Get a live cd, for example, Ubun... nstall lvm2 </code> - To make sure the harddisk is recognised, you can use fdisk<code bash> sudo fdi... sical volume. this to make sure your LVM harddisk is detected by Ubuntu<code bash> sudo pvscan #PV /de
- bandwidthd
- ons that don't usually get changed # An interval is 2.5 minutes, this is how many # intervals to skip before doing a graphing run #skip_intervals 0 # Graph cutoff is how many k must be transfered by an # ip before w... s default to true to graph the traffic bandwidthd is recording #Usually set this to false if you only ... dwidthd will use very little #ram and cpu if this is set to false. #graph true #Set META REFRESH for
- samba
- the client machine (very useful). This parameter is not available when Samba listens on port 445, as ... ur NIS auto.map entry. The NIS ''auto.map'' entry is split up as ''%N:%p''. | ^ ''%P'' | X | the root ... | ^ ''%h'' | | the Internet hostname that Samba is running on. | ^ ''%L'' | | the NetBIOS name of ... the name of your NIS home directory server. This is obtained from your NIS auto.map entry. If you hav
- openvpn @tudasbazis:linux:vpn
- 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 mellé az ''iptables'' POSTROUTING láncán MASQUERADE-re is szükség lesz. </note> {{tag>vpn}}\\
- 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... ate place that exists in most Linux distributions is the ''/etc/rc.local'' script.</note> </blockquote
- fail2ban
- gnoreip = 127.0.0.1/8 192.168.0.0/16 # "bantime" is the number of seconds that a host is banned. # 86400 s = 1 day bantime = 86400 ... # A host is banned if it has generated "maxretry" during the
- 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
- dd
- sokat gyorsít a folyamaton. Ha a forrás és a cél is block device: <code bash> dd if=/dev/sdXXX of=/de... eretnénk a művelet végén egy implicit ''sync''-et is hívni (pl. Ubuntu telepítő USB-re írásakor), akkor használjuk az ''conv=fdatasync''-et is: <code bash> dd if=Downloads/ubuntu.iso of=/dev/s
- bash
- the last command that threw a non-zero exit code is returned. ... <cite>kvz.io</cite> </blockquote> ... writes the input data to file **d** if the **d** is not existed ??? | creates **d** file | | `cat >>e... e bash> # a szülő process megszűnésekor a parancs is leáll command & # a szülő process megszűnésekor
- swap
- n.wikipedia.org/wiki/Swappiness Ha a géped akkor is swap-el, amikor még gigabájtok vannak szabadon a ... entirely. | | ''vm.swappiness = 10'' | This value is sometimes recommended to improve performance when
