Install Veeam plugin Oracle linux
rpm -Uvh --nodigest --nofiledigest VeeamPluginforOracleRMAN-12.2.0.334-1.x86_64.rpm
Dicas diversas sobre TI, sistemas operacionais e networking
Install Veeam plugin Oracle linux
rpm -Uvh --nodigest --nofiledigest VeeamPluginforOracleRMAN-12.2.0.334-1.x86_64.rpm
Oracle JDK 11 error when run apt-get update or apt-get upgrade
Run:
sudo rm /var/lib/dpkg/info/oracle-java11-installer-local.postinst
Locate the systemd file of that service:
pico /usr/lib/systemd/system/grafana-server
Add this 2 lines at service
[Service]
…
…
AmbientCapabilities = CAP_NET_BIND_SERVICE
CapabilityBoundingSet = CAP_NET_BIND_SERVICE
Run:
systemctl daemon-reload
Restart service
To add custom entries in the /etc/hosts
file of pods, you can utilize the hostAliases
field in the deployment configuration. This field allows you to define a list of custom hostname and IP address mappings.
Here’s an example of how you can add a custom entry using the oc
command-line tool:
$ oc get deployment httpd1 -o yaml | grep -A4 -B14 hostAliases
spec:
containers:
- image: image-registry.openshift-image-registry.svc:5000/iamgini-dev/httpd1@sha256:b58b0719265d8b1a5beacfb42f4f2e946905c1ba4069c9949834edf97db3ace2
imagePullPolicy: Always
name: httpd1
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8443
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
hostAliases:
- hostnames:
- myadded.example.com
ip: 192.168.1.1
restartPolicy: Always
https://www.techbeatly.com/adding-custom-entries-in-etc-hosts-file-in-kubernetes-and-openshift-containers/
mv /etc/openvpn/easy-rsa/pki/reqs/server_xyzblablabla.req server_xyzblablabla.req.backup
mv /etc/openvpn/easy-rsa/pki/private/server_xyzblablabla.key server_xyzblablabla.key.backup
mv /etc/openvpn/easy-rsa/pki/issued/server_xyzblablabla.crt server_xyzblablabla.crt.backup
mv /etc/openvpn/server_xyzblablabla.crt server_xyzblablabla.crt.backup
mv /etc/openvpn/server_xyzblablabla.key server_xyzblablabla.key.backup
cd /etc/openvpn/easy-rsa
./easyrsa build-server-full server_xyzblablabla nopass
cp /etc/openvpn/easy-rsa/pki/issued/server_xyzblablabla.crt /etc/openvpn
cp /etc/openvpn/easy-rsa/pki/private/server_xyzblablabla.key /etc/openvpn
Send request from IP address to another IP
iptables -t nat -A OUTPUT -d 10.10.11.11 -j DNAT --to-destination 10.20.11.11
Packets to 10.10.11.11 will be sent to 10.20.11.11
View rule:
iptables -t nat -L
Flush rule:
iptables -t nat -F
1 - NFS server config
Edit /etc/exports
/backupnfs 10.10.10.130(rw)
#oracle linux
/backupnfs 10.10.10.132(rw,all_squash,anonuid=1001,anongid=1001)
Run
service nfs-server reload
2 - NFS client
Edit /etc/fsatb
mkdir /backupnfs
#NFS share
10.10.0.158:/backupnfs /backupnfs nfs hard,bg,proto=tcp,suid,rsize=32768,wsize=32768,noac 0 0
Run
systemctl daemon-reload
Install Veeam plugin Oracle linux rpm -Uvh --nodigest --nofiledigest VeeamPluginforOracleRMAN-12.2.0.334-1.x86_64.rpm