Teljes szöveg:
- monitorozas
- r system real time performance (CPU, Memory, I/O, etc) 2) Collect performance data in the background on... packets that belongs to a specific protocol type, etc. More tcpdump examples: 15 TCPDUMP Command Examp... agios: Any hardware (servers, switches, routers, etc) Linux servers and Windows servers Databases (Oracle, MySQL, PostgreSQL, etc) Various services running on your OS (sendmail, n
- munin
- 0755 /var/run/munin end script script [ -r /etc/default/munin-node ] && . /etc/default/munin-node exec $DAEMON $DAEMON_ARGS
- openswan @tudasbazis:linux:vpn
- req -x509 -days 3650 -newkey rsa:2048 \ -keyout /etc/ipsec.d/private/caKey.pem \ -out /etc/ipsec.d/cacerts/caCert.pem </code> - Creating a certificatio... ry structure so we create it here:<code bash> cd /etc/openssl/ mkdir demoCA mkdir demoCA/newcerts mkdir... ode bash> openssl req -newkey rsa:1024 \ -keyout /etc/ipsec.d/private/serverKey.pem \ -out /etc/ipsec.d
- monit
- s kezdeti (egyszeri) késleltetéssel: <file bash /etc/monit/monitrc> ... set daemon 60 with start delay 10 ... </file> * Riasztás: <file bash /etc/monit/monitrc> ... set mailserver smtp.foo.bar se... * Távoli hozzáférés engedélyezése: <file bash /etc/monit/monitrc> ... set httpd port 2812 and u... file> - Szolgáltatás újraindítása: <code bash> /etc/init.d/monit restart </code> - Állapot ellenőrz
- ssh
- entikáció ===== - Config átállítása:<code bash /etc/ssh/sshd_config> PubkeyAuthentication yes Challen... /code> - Config érvényre léptetése:<code bash> /etc/init.d/ssh reload </code> ==== /etc/security engedélyezése ==== - Engedélyezni kell a következőt: <file bash /etc/pam.d/sshd> # Uncomment and edit /etc/security/ac
- ntopng
- i apt-ntop-stable.deb grep -q "wheezy-backports" /etc/apt/sources.list || echo "deb http://ftp.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list apt-get clean all apt-get updat... ntopng-data n2disk cento </code> - Beállítás ''/etc/ntopng/ntopng.conf'': <file bash ntopng.conf> # /etc/ntopng/ntopng.conf # # The configuration
- apt
- gy mely verzióját akarjuk megtartani: <file bash /etc/apt/preferences.d/holded_packages> Package: linux... : <code bash> ln -s /usr/share/munin/plugins/apt /etc/munin/plugins/ ln -s /usr/share/munin/plugins/apt_all /etc/munin/plugins/ </code> - Eredeti ''apt-get upda... echo -e '#!/bin/bash\napt-get update; exit $?' > /etc/cron.daily/apt-get_update chmod +x /etc/cron.dail
- proxy
- kliens ====== ===== bash (http) ===== <code bash /etc/environment> https_proxy=http://proxy.host:3128/ ... 8/ </code> ===== bash (socks) ===== <code bash /etc/environment> all_proxy=socks5://proxy.host:8888 A... host:8888 </code> ===== rsync ===== <code bash /etc/environment> https_proxy=http://proxy.host:3128/ </code> ===== apt ===== <file bash /etc/apt/apt.conf.d/80proxy> Acquire::http::Proxy "htt
- noip
- de bash> </code> - Indító script telepítése (''/etc/init.d/noip2''): <file bash noip2> #!/bin/bash #... exit 1 esac exit 0 </file> <code bash> chmod +x /etc/init.d/noip2 </code> - Automatikus indítás és l... lat esetén ==== - Wrapper script beállítása (''/etc/ppp/ip-up.d/noip2''): <file bash noip2> #!/bin/ba... ppd # Restart noip2 daemon NOIP_OPTIONS="-I $1" /etc/init.d/noip2 restart </file> <code bash> chmod +x
- fail2ban
- il2ban</code> - Program beállítása: <file bash /etc/fail2ban/jail.conf> [DEFAULT] # "ignoreip" can b... sen action shortcut (e.g. action_mw, action_mwl, etc) in jail.local # globally (section [DEFAULT]) or ... de bash> ln -s /usr/share/munin/plugins/fail2ban /etc/munin/plugins/ echo -n " [fail2ban] user root " >> /etc/munin/plugin-conf.d/munin-node </code> - Munin
- tovabbitas @tudasbazis:linux:dns
- tsa át a Google szervereire. - Add hozzá az ''/etc/bind/named.conf.options'' fájlhoz a következő sor... ki a távoli nevek feloldására vonatkozó sort a ''/etc/bind/named.conf'' fájlból: <file javascript named.conf> ... include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; // include "/etc/bind/named.conf.defau
- sources.list
- = Debian ===== ==== Wheezy 6.0.6 ==== <file bash /etc/apt/sources.list> #deb cdrom:[Debian GNU/Linux 6.... Ubuntu ===== ==== Precise 14.04 ==== <file bash /etc/apt/sources.list> deb http://hu.archive.ubuntu.co... main </file> ==== Xenial 16.04 ==== <file bash /etc/apt/sources.list> deb http://hu.archive.ubuntu.co... erse </file> ==== Bionic 18.04 ==== <file bash /etc/apt/sources.list> deb http://hu.archive.ubuntu.co
- openvpn @tudasbazis:linux:vpn
- nvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/ sudo gzip -d /etc/openvpn/server.conf.gz </code> - Config fájl (''/etc/openvpn/server.conf'') átállítása: <code bash ser... jl generálása: <code bash> openssl dhparam -out "/etc/openvpn/dh1024.pem" 1024 </code> - Szolgáltatás
- openssl
- hető kiegészítők (**extension**-ök) listáját a ''/etc/ssl/openssl.cnf'' fájl tartalmazza. </note> ==... ===== Fingerprint kézi generálása ===== * Az ''/etc/ssl/'' könyvtárban lévő fingerprintek újragenerál... rintjeinek újragenerálása: <code bash> c_rehash '/etc/ssl/xxx' </code> ===== Kliens-szerver teszt ===
- ffmpeg_intel_quicksync
- files ..." sudo cp -rdf opt/* /opt/ sudo cp -rdf etc/* /etc/ sudo cp -rdf usr/bin/* /usr/bin/ sudo cp -r
