+24; date "+%d")`
</code>
==== Password in Config File verschlüsselt ablegen ====
Ziel ist es das zwar ... ######################################
# Password file handling
encryptPWDFile () {
if [ -f "/usr/bi... R}" > /dev/null
#debug printf "%s encrypt file :: \n%s to \n%s.des3 \n" "--" "${PWDFILE}" "${PWD...
printError "Openssl not exits - password file will be not encrypted"
fi
}
dencryptPWDFile
=====NFS für einen VOT File einem 12c Oracle Real Applikation Clusters unter Linux 7 verwenden=====
**A... D_HOME/bin/crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------... mpleted after 50% of the maximum interval. Voting file /dev/oracleasm/disks/VOT1_02 will be considered n
s/jre"
Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom"
Environment="CATALINA_PID=/srv/t... etc/guacamole/guacd.conf
<code bash>
[daemon]
pid_file = /var/run/guacd.pid
#log_level = debug
[server]... allation ===
Der eigentliche Client wird als WAR File im Tomcat deployt und liest die Konfiguration unt... _safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
</code>
Service ei
ILES=/u01/app/11.2.0.4/grid/rdbms/audit/*.aud
LOG_FILE=/tmp/aud_delete_logs_list.log
DATE_NOW_EPOCH=`da... months" +"%s"`
echo "Info - check the age of the file - start at -- `date` -- " > $LOG_FILE
for f in $FILES
do
#File date as epoch
FILE_DATE=`stat -c %Y ${f}`
FILE_LOG_DATE=`stat -c %y ${
uchen mit Schalter **-R**
<code bash>
grep -R 'my_file' /dir/
</code>
----
==== Find ====
Suche eine... icht älter als x tage sind:
(Man Page: -mtime n File's data was last modified n*24 hours ago )
<code... anlegen:
<code bash>
dd if=/dev/zero of=copy_test_file.dmp bs=1M count=1000
</code>
----
==== In allen... n anderes ersetzen.\\
<code bash>
!/bin/bash
for file in $(grep -l -R $searchterm $startdirectory)
do
.sh eine Fehlermeldung (sh: /bin/netstat: No such file or directory ) daher, idt doch die Installation d... ain/repo/OracleLinux/OL8/addons/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
... eut per ssh anmelden
# Meldung " /usr/bin/xauth: file /root/.Xauthority does not exist"
# prüfen ob nu... ystemd-tmpfiles-on-rhel7/
----
====Shared Memory File System Mount on Linux====
Set to:
<code bash>
#Ch
.sh eine Fehlermeldung (sh: /bin/netstat: No such file or directory ) daher, idt doch die Installation d... eut per ssh anmelden
# Meldung " /usr/bin/xauth: file /root/.Xauthority does not exist"
# prüfen ob nu... -R 775 /opt/18.1.0.0/grid
</code>
----
=== Tmp File Verhalten ===
Configure verify temporary locatio... sr/tmp/.oracle*
</code>
----
===Shared Memory File System Mount on Linux===
Set to:
<code bash>
#Che
face statistic and write the information to a log file
#
########## Environment ##############
DAY_OF_WE... TERFACE="eth1"
HOST=`hostname -a`
######### Log file Handling ###########
OVERWRITE="false"
# check if a new file must be created
if [ ! -e $SCRIPTS/${HOST}_${INTE...
OVERWRITE="true"
else
# check the age of the file
# if older then one day overwrite
FILEAGE_SEC
Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/anton/.ssh/id_ed2... uthentication refused: bad ownership or modes for file /home/anton/.ssh/authorized_keys
</code>
Rechte richtig setzen bei "bad ownership or modes for file" , siehe oben!
=== Anmelden testen===
Kann sic... Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\gpipperr/.ssh/
fact directory if not exits
ansible.builtin.file:
path: "{{ fact_dir }}"
state: direc... e fact directory if not exits
ansible.builtin.file:
path: "{{ fact_dir }}"
state: direc