Centos 7 : nfs setup hint

on Server   yum install nfs-utils rpcbind  mkdir /test1 mkdir /test2   systemctl enable rpcbind systemctl enable nfs-server systemctl enable nfs-lock systemctl enable nfs-idmap   systemctl start rpcbind systemctl start nfs-server systemctl start nfs-lock systemctl start nfs-idmap   systemctl status rpcbind systemctl status nfs-server systemctl status nfs-lock systemctl status nfs-idmap   vi /etc/exports /test1   […]

Read More

oracle : move & relocate dbf datafile Hint

Manual Online SQL> SELECT name FROM v$datafile WHERE name LIKE '%test%'; SQL> ALTER TABLESPACE test OFFLINE NORMAL; SQL> HOST mv /oracle0/test0.dbf /oracle1/test1.dbf SQL> ALTER TABLESPACE test RENAME DATAFILE '/oracle0/test0.dbf' TO '/oracle1/test1.dbf'; SQL> ALTER TABLESPACE test ONLINE; SQL> SELECT name FROM v$datafile; SQL> SHUTDOWN IMMEDIATE   Manual Offline SQL> HOST MOVE /oracle0/test0.dbf /oracle1/test1.dbf  SQL> STARTUP MOUNT […]

Read More

centos 7 cacti install Hint

  yum --enablerepo=epel -y install cacti net-snmp net-snmp-utils php-mysql php-snmp rrdtool     vi /etc/snmp/snmpd.conf   com2sec notConfigUser  default       public com2sec local     localhost       testServer   com2sec mynetwork 192.168.0.0/24      testServer group MyRWGroup  v2c        local   group MyROGroup  v2c        mynetwork   view […]

Read More