Teljes szöveg:
- monitorozas
- owing are few ps command examples. Use -u option to display the process that belongs to a specific username. When you have multiple usern... rom top. Once you’ve located a process that needs to be killed, press “k” which will ask for the process id, and signal to send. If you have the privilege to kill that part... plays the memory map of a given process. You need to pass the pid as an argument to the pmap command. The following example displays... d process info will not be shown, you would have to be root to see it all.) tcp 1 0 dev-db:ssh
- drbd
- m reading the documentation It should be possible to add a second host to the setup, by adding this to the config file. <code python> on myhost.mydomai... copy of my data. Note you would probably not want to automount the drbd partition on boot so I have set my system not to automount and to do no fsck's So I now have this in my fstab for /home <code fstab> /dev/drbd0 /home ext3 defaults,noauto,usrquota,grpquota 0 0 </code> and to mount it on
- read @tudasbazis:linux:bash
- om the file descriptor fd supplied as an argument to the -u option, and the first word is assigned to the first name, the second word to the second na... ned empty values. The characters in IFS are used to split the line into words using the same rules the shell uses for exp... | ^ ''-i text'' | If readline is being used to read the line, text is placed into the editing buffer before editing begins. | ^ ''-... t are not treated specially and do not cause read to return until nchars characters are read. | ^ ''-p
- openswan @tudasbazis:linux:vpn
- This guide provides information that can be used to configure OpenSwan to support IPsec VPN client connectivity. The Shrew ... . For example after establishing a vpn connection to our company network, we are able to access the fileserver on ''192.168.0.15''. We use... of view. The big advantage of using ssl-certs is to be able to revoke them (declare them as invalid) if a user l... rightrsasigkey=%cert # leftcert=serverCert.pem auto=add # pfs=no dpddelay=30 dpdtimeout=120 dpdaction
- lvm
- tripe-olt Logical Volume ===== http://tldp.org/HOWTO/LVM-HOWTO/recipethreescsistripe.html - Hozzuk létre a "vo... zre és kiszedése ===== * http://www.tldp.org/HOWTO/LVM-HOWTO/removepvsfromvg.html * http://www.centos.org/do... Manager/stripe_extend.html * http://www.microhowto.info/howto/replace_one_of_the_physical_volumes_in_an_lvm_vol... fdisk -lu </code> - Once installed, run pvscan to scan all disks for physical volume. this to make sure your LVM harddisk is detected by Ubuntu
- bash
- it when a command fails. * Then add ''|| true'' to commands that you allow to fail. * Use ''set -o nounset'' (a.k.a. ''set -u'') to exit when your script tries to use undeclared variables. * Use ''set -o xtrace'' (a.k.a ''set -x'') to trace what gets executed. Useful for debugging. * Use ''set -o pipefail'' in scripts to catch ''mysqldump'' fails in e.g. ''mysqldump |gz
- bandwidthd
- h_cutoff 1024 #Put interface in promiscuous mode to score to traffic #that may not be routing through the host... roblems #filter "ip" #Draw Graphs - This default to true to graph the traffic bandwidthd is recording #Usually set this to false if you only want cdf output or #you are usi... will use very little #ram and cpu if this is set to false. #graph true #Set META REFRESH for static
- ldap
- ====== LDAP ====== * http://www.tldp.org/HOWTO/LDAP-HOWTO/authentication.html <blockquote> **6.2. Authentication using LDAP** To access the LDAP service, the LDAP client first must authenticate itself to the service. That is, it must tell the LDAP serve... the server can decide what the client is allowed to see and do. If the client authenticates successfully to the LDAP server, then when the server subsequentl... ient, it will check whether the client is allowed to perform the request. This process is called acces
- ntopng
- uns in the background # without connection to a specific terminal. To use ntop other than as a casual monitoring # ... e that you can specify -i multiple times in order to instruct ntopng to create multi‐ # ple interfaces. # --inter... considered local. This parameter allows the user to define additional # networks and subnetwor... dered remote. If not specified the default is set to 192.168.1.0/24. # # Commas separate mult
- hdparm
- quences for its lifespan. The better way would be to collect small data into bigger chunks and wait until the chunk is big enough to be written to disk.\\ Current web browsers like Chrome write re... can be thus regarded as distracting by the user. To circumvent this issue, you can switch the drive to the lowest degree of power management (next value... s the flush interval when dirty pages are written to disk. <note tip>Note that all these commands are
- samba
- ection ''smb ports = 139''. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x. | ^ ''%M'' | ... ervice's home directory, obtained from your NIS auto.map entry. The NIS ''auto.map'' entry is split up as ''%N:%p''. | ^ ''%P'' ... | the NetBIOS name of the server. This allows you to change your config based on what the client calls... irectory server. This is obtained from your NIS auto.map entry. If you have not compiled Samba with th
- ssh
- nt and edit /etc/security/access.conf if you need to set complex # access limits that are hard to express in sshd_config. account required pam_access... ######################## # All lines from here up to the end are building a more complex example. ####... ############### # # User "root" should be allowed to get access via cron .. tty5 tty6. + : root : cron
- zfs
- * https://serverfault.com/questions/855895/how-to-set-the-number-of-snapshots-zfs-auto-snapshot-should-retain ===== Teljesítmé... e.goog/community/articles/zfs-caching/?_x_tr_sl=auto&_x_tr_tl=hu&_x_tr_hl=en-US&_x_tr_pto=op * https://linuxhint.com/configure-zfs-cache-... src, the following command transfers the snapshot to the dataset hierarchy at dst on the target system... ommand is interrupted, type the following command to resume the interrupted transfer. ssh 'target-mach
- iptables
- igitalmalaya.net/2011/10/04/iptables-what-happens-to-packets/ {{:tudasbazis:linux:netfilter-packet-fl... * https://help.ubuntu.com/community/IptablesHowTo ===== Korlátozások ===== http://stackoverflow.c... .20/32 -i ppp0 -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.1.242:25 -A PREROUTING -d 86... 20/32 -i ppp0 -p tcp -m tcp --dport 587 -j DNAT --to-destination 192.168.1.242:587 -A PREROUTING -d 8
- grub
- DEFAULT="" GRUB_CMDLINE_LINUX="text" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch... XMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440
