Oracle Database Post Installation Tasks
Oracle Database Post Installation Tasks Logrotate for oracle database and listener log. ・ Using Logrotate to Manage Oracle Database Alert and Listener Log Files Periodically delete the database archive logs ・ Using RMAN to Delete Oracle Database Archive Logs Setting user environment variables for multiple instances. ~]$ sed -i '/for Oracle/,$d' /home/oracle/.bash_profile~]$ cat >> /home/oracle/.bash_profile << "EOF"# The following is added for Oracleumask 022export ORACLE_B...
Configuring Automatic Restart of an Oracle Database
Configuring Automatic Restart of an Oracle Database systemd [Unit]Description=Oracle Database Start/Stop ServiceAfter=syslog.target network.target local-fs.target remote-fs.target[Service]# systemd, by design does not honor PAM limits# See: https://bugzilla.redhat.com/show_bug.cgi?id=754285LimitNOFILE=65536LimitNPROC=16384LimitSTACK=32MLimitMEMLOCK=infinityLimitCORE=infinityLimitDATA=infinityType=simpleUser=oracleGroup=oinstallRestart=noExecStartPre=/bin/rm -rf /u01/app/oracle/product/12.2....
Installing Docker Engine 26.1.3 on RHEL 8
Installing Docker Engine 26.1.3 on RHEL 8 RHEL 8.10 Install using the rpm repository Set up the repository. sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo Install the Docker packages. LatestSpecific versionsudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugindnf list docker-ce --showduplicates | sort -rdocker-ce.x86_64 3:28.3.3-1.el9 docker-ce-stabledocker-ce.x86...
Installing Tomcat 9.0.54 on RHEL 8
Installing Tomcat 9.0.54 on RHEL 8 RHEL 8.10 RHEL 8.10 Tomcat 9.0.54 Install openjdk. ~]# dnf -y install java-21-openjdk~]# java -versionopenjdk version "21.0.2" 2024-01-16 LTSOpenJDK Runtime Environment (Red_Hat-21.0.2.0.13-1) (build 21.0.2+13-LTS)OpenJDK 64-Bit Server VM (Red_Hat-21.0.2.0.13-1) (build 21.0.2+13-LTS, mixed mode, sharing) Ddownload the Tomcat zip file VERSION=9.0.54wget https://archive.apache.org/dist/tomcat/tomcat-9/v${VERSION}/bin/apache-tomcat-${VERSION}.tar.gz -P /so...
Configuring YUM Repositories
Configuring YUM Repositories RHEL RHEL 7RHEL 8/9/10mkdir /etc/yum.repos.d/bakmv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bakmount -t iso9660 /dev/cdrom /mntcat >/etc/yum.repos.d/media.repo <<EOF[InstallMedia]name=Red Hat Enterprise Linux Server release 7baseurl=file:///mntgpgcheck=0enabled=1[InstallMedia_HighAvailability]name=Red Hat Enterprise Linux Server release 7 HighAvailability Add-Onbaseurl=file:///mnt/addons/HighAvailabilitygpgcheck=0enabled=1EOFyum clean all && yum...
How to Resize KVM Virtual Machine disk size
How to Resize KVM Virtual Machine disk size Only images in raw format can be resized in both directions, whereas qcow2 images can be grown but cannot be shrunk. Confirm the original disk information. ~]# virsh dumpxml vm2 | sed -n '/disk type/,/\/disk/p' <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/vm2.qcow2'/> <backingStore/> <target dev='vda' bus='virtio'/> <alias na...
How to Extend Standard Partition on Linux
How to Extend Standard Partition on Linux CentOS 7.9 /dev/vda3, /, xfs, 15G -> 16G Confirm the disk /dev/vda size is increase. ~]# for i in /sys/class/scsi_host/host*/scan; do echo '- - -' > $i; done~]# echo 1 > /sys/class/block/vda/device/rescan~]# fdisk -lDisk /dev/vda: 16.1 GB, 16106127360 bytes, 31457280 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk label type: dosDisk i...
Linux System Optimization
Linux System Optimization OpenSSH grep -E 'GSSAPIAuthentication|UseDNS' /etc/ssh/sshd_config# Remove existing GSSAPIAuthentication and UseDNS lines to prevent duplicatessed -i '/^GSSAPIAuthentication/d' /etc/ssh/sshd_configsed -i '/^UseDNS/d' /etc/ssh/sshd_config# Disable GSSAPIAuthentication and UseDNScat >>/etc/ssh/sshd_config <<EOFGSSAPIAuthentication noUseDNS noEOFsystemctl restart sshd.service History Command Enable timestamp in history command. ~]# mkdir /var/log/history....
Lenovo WenTian WR3220 G2 Service Manual
Lenovo WenTian WR3220 G2 Service Manual Troubleshooting Issue: Device Management show the RAID Controller driver is not installed. OS: Windows Server 2019 Standard RAID Controller: Broadcom LSI 9364-8i Solution: Reboot, press F1:System Setup, disable Intel VMD and Intel VROC. System Setting -> Devices and I/O Ports -> Inter VMD Support [Disable] \-> PCH Configuration -> PCH SATA Configuration -> Onboard SATA Mode [AHCI] ...
How to create a virtual machine on QEMU-KVM
How to Create a Virtual Machine on QEMU-KVM GUI TUI You can use virt-install to create a VM via the terminal: # Install from local ISOvirt-install \ --virt-type kvm \ --name vm1 \ --memory 512 \ --vcpus 1 \ --os-type linux \ --os-variant centos7.0 \ --network bridge=virbr1 \ --disk /var/lib/libvirt/images/vm1.qcow2,size=10,bus=virtio,format=qcow2 \ --location /soft/CentOS-7-x86_64-DVD-2009.iso -x console=ttyS0 \ --graphics none# Install from network locationvirt-install \ --vir...














