Instalacja nginx na RHEL 7
/opt/rh/rh-nginx18/root/usr/sbin/nginx -t -c /etc/opt/rh/rh-nginx18/nginx/nginx.conf
Instalacja nginx na RHEL 7
/opt/rh/rh-nginx18/root/usr/sbin/nginx -t -c /etc/opt/rh/rh-nginx18/nginx/nginx.conf
Ansible – https://www.redhat.com/en/services/training/do007-ansible-essentials-simplicity-automation-technical-overview?sc_cid=70160000001202fAAA
RHEL – https://www.redhat.com/en/services/training/rh024-red-hat-linux-technical-overview
OpenStack – https://www.redhat.com/en/services/training/cl010-red-hat-openstack-technical-overview
OpenShift – https://www.redhat.com/en/services/training/do080-deploying-containerized-applications-technical-overview
Zapytanie wyświetlające status różnych operacji, które są utuchomione dużej niż 6 sekund.
SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK, ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE", MESSAGE FROM V$SESSION_LONGOPS WHERE TOTALWORK != 0 AND SOFAR <> TOTALWORK;
#!/bin/bash LOG=/var/log/rsync_log_rlz.log echo "$(date +'%F %H.%M.%S') ---------START---------" >> $LOG rsync --archive --exclude='katalog' --exclude='plik.txt' -e ssh --delete /home/user01/logs/ user01@server02:/home/user01/logs_from_server01/ >> $LOG
Blokowanie odpowiedzi typu ICMP timestamp na RedHat Linux.
Przy działającym iptables.service
iptables -A input -p icmp --icmp-type timestamp-request -j DROP iptables -A output -p icmp --icmp-type timestamp-reply -j DROP
Przy działającym firewalld.service
firewall-cmd --permanent --add-rich-rule='rule icmp-block name="timestamp-reply"'
firewall-cmd --permanent --add-rich-rule='rule icmp-block name="timestamp-request"'
firewall-cmd --reload
Listowanie dostępnych typów icmp:
firewall-cmd --get-icmptypes
destination-unreachable echo-reply echo-request parameter-problem redirect router-advertisement router-solicitation source-quench time-exceeded timestamp-reply timestamp-request
yum install bind-utils
Select sys_contekst (‘USERDEV’, ‘current_schema’) from dual
Nowe wersje pobrać można z
http://search.cpan.org/~jmcnamara/
http://www.j-tsurugashima.com/cgi/lib/Spreadsheet/WriteExcel/doc/install.html
Instalacja / Aktualizacja modułu Spreadsheet::WriteExcel
Untar and unzip the module as follows or use winzip:
tar -zxvf Spreadsheet-WriteExcel-0.xx.tar.gz
Change to the directory that tar creates. The module can be installed using the standard Perl procedure:
perl Makefile.PL
make
make test
make install # You may need to be root
make clean # optional
$ wget http://search.cpan.org/CPAN/authors/id/K/KW/KWITKNR/Spreadsheet-ParseExcel-0.2602.tar.gz
$ tar zxof Spreadsheet-ParseExcel-0.2602.tar.gz
$ cd Spreadsheet-ParseExcel-0.2602
$ perl Makefile.PL
$ make test
$ su root
# make install
perl -le 'eval „require $ARGV[0]” and print $ARGV[0]->VERSION’ Spreadsheet::WriteExcel
perl -le 'eval „require $ARGV[0]” and print $ARGV[0]->VERSION’ OLE::Storage_Lite