How to reset root password in Solaris 11.2
How to reset root password in Solaris 11.2 Step 1: Boot from the Oracle Solaris media. Step 2: Import the root pool. Import the root pool, Mostly the pool name for root file system is rpool. zpool import -f rpool Step 3: Mount the boot environment. a. Create a mount point for the boot environment. mkdir /a b. Check for the boot environments available. beadm list c. Mount the boot environment(in our case solaris-1) on the mount point /a. beadm mount solaris-1 /a Step 3: Remove the root pass...
Upgrading from RHEL 6 to RHEL 7
Upgrading from RHEL 6 to RHEL 7
How to resize disk capacity while replacing disk in asm diskgroup
How to resize disk capacity while replacing disk in asm diskgroup SYMPTOMS The new disk and old disk do not have equal size. ORA-15410: Disks in disk group OCRDG do not have equal size. SOLUTION Determine the capacity of the new disk and the old disk. SQL> select name,os_mb,total_mb,free_mb,hot_used_mb,cold_used_mb,sector_size from v$asm_disk; new disk less than old disk. SQL> alter diskgroup ocrdg resize disk OCRDG_0000 size 5119M, OCRDG_0001 size 5119M, OCRDG_0002 size 5119M;SQL&...
How to Install Mesa Drivers on Ubuntu
How to Install Mesa Drivers on Ubuntu Qemu start with a Mesa error. sakura@sakurayumeno:~$ sudo qemu-system-x86_64 -m 4G -smp 4 -cpu host -usb -device usb-tablet -boot d -enable-kvm -drive file=/mnt/e/Downloads/Edgeless_Beta_4.1.0.iso,media=cdrom -device virtio-gpu-pci[sudo] password for sakura:error: XDG_RUNTIME_DIR is invalid or not set in the environment.MESA: error: ZINK: failed to choose pdevglx: failed to create drisw screen Install the latest stable version of Mesa driver. glxinfo | g...
How to do a Release Upgrade on Linux System
How to do a Release Upgrade on Linux System FedoraUbuntuSystem upgrade is only officially supported and tested over 2 releases at most (e.g. from 38 to 40). When upgrading across more than two releases, you may need to import the GPG key for the release you want to update to. You can do this with: sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-N-primary # Performing system upgradesudo dnf -y install dnf-plugin-system-upgrade # require plugin for DNF4sudo dnf --refresh upgradesudo dnf...
How to Repair Corrupted XFS Filesystem with xfs_repair
How to Repair Corrupted XFS Filesystem with xfs_repair Our partition is now successfully mounted as an xfs partition. Next, we are going to simulate filesystem corruption by trashing random filesystem metadata blocks using the xfs_db command. ~]$ sudo mount | grep /dev/sdb1~]$ sudo umount /dev/sdb1~]$ sudo xfs_db -x -c blockget -c "blocktrash -s 512109 -n 1000" /dev/sdb1 Before we embark on repairing the filesystem, we can perform a dry run using the -n flag as shown. A dry run provides a pe...
Oracle Database Automatic Install Scripts
Oracle Database Automatic Install Scripts For 11g single instance ・ installDB11g_SI.sh
p31537677_112040_Linux-x86-64
p31537677_112040_Linux-x86-64 Patch 31537677 - Oracle Database Patch Set Update 11.2.0.4.201020 ・ p31537677_112040_Linux-x86-64_README Record Upgrade the OPatch utility version 11.2.0.3.23 or later to apply this patch. ~]# mv $ORACLE_HOME/OPatch{,.bak.`date +%Y%m%d`}~]# unzip -q -d $ORACLE_HOME /soft/p6880880_112000_Linux-x86-64_11.2.0.3.31.zip~]# chown -R oracle:oinstall $ORACLE_HOME/OPatch~]# su - oracle -c "$ORACLE_HOME/OPatch/opatch version"OPatch Version: 11.2.0.3.31OPatch succeeded....
ins_emagent.mk 113 warning overriding recipe for target 'nmosudo'
ins_emagent.mk 113 warning overriding recipe for target 'nmosudo' APPLIES TO Oracle Database - Version 11.2.0.3 to 11.2.0.4 [Release 11.2] SYMPTOMS [oracle@allinone 19692824]$ $ORACLE_HOME/OPatch/opatch apply -silentOracle Interim Patch Installer version 11.2.0.3.4Copyright (c) 2012, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/db_1Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db_1/oraInst.locOPa...
Using rsync to migrate or clone linux system
Using rsync to migrate or clone linux system P2V,V2V NOTE: Before hot cloning, ensure you disable all the services that involve shipping or writing data e.g. databases, mail service, etc. Install Rsync in Linux ~]# yum install -y rsync~]# rsync --versionrsync version 3.1.2 protocol version 31Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.Web site: http://rsync.samba.org/Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpai...














