# su - cyrus
$ cd /usr/lib/cyrus-imapd
./squatter
exit
Wednesday, April 27, 2016
Tuesday, April 26, 2016
Add static route gateway persistent
add static route gateway persistent
:windows
route -p add dest_network mask dest_netmask gateway
ex:
route -p add 192.168.1.0 mask 255.255.255.0 10.10.10.1
:solaris 10
route -p -net dest_network/24 -gateway gateway
ex:
route -p add 192.168.1.0/24 -gateway 10.10.10.1
:OracleLinux 6.5
# cd /etc/sysconfig/network-scripts
# cat route-eth2
# echo ‘10.11.18.0/24 via 10.10.18.4′ >> /etc/sysconfig/network-scripts/route-eth0
:windows
route -p add dest_network mask dest_netmask gateway
ex:
route -p add 192.168.1.0 mask 255.255.255.0 10.10.10.1
:solaris 10
route -p -net dest_network/24 -gateway gateway
ex:
route -p add 192.168.1.0/24 -gateway 10.10.10.1
:OracleLinux 6.5
# cd /etc/sysconfig/network-scripts
# cat route-eth2
# echo ‘10.11.18.0/24 via 10.10.18.4′ >> /etc/sysconfig/network-scripts/route-eth0
Tuesday, April 19, 2016
Clear Alert log /Trace file in Oracle 11g using adrci
adrci command line
:ON Database SID (alert log & trace file)
show home
set homepath diag/rdbms/db_sid/db_sid
show alert -tail
show tracefile -tail
PURGE -AGE 7200 -TYPE ALERT;
:ON Listener log (alertlog & tracefile)
show home
set home diag/tnslsnr/db_hostname/listener
show alert -tail
show tracefile -tail
PURGE -AGE 7200 -TYPE ALERT;
-age in sec
:ON Database SID (alert log & trace file)
show home
set homepath diag/rdbms/db_sid/db_sid
show alert -tail
show tracefile -tail
PURGE -AGE 7200 -TYPE ALERT;
:ON Listener log (alertlog & tracefile)
show home
set home diag/tnslsnr/db_hostname/listener
show alert -tail
show tracefile -tail
PURGE -AGE 7200 -TYPE ALERT;
-age in sec
lock account/unlock account Office 365 user
To block a user account:
Set-MsolUser –UserPrincipalName user@yourdomain –blockcredential $true
To unlock a user accout:
Set-MsolUser -UserPrincipalName user@yourdomain –blockcredential $false
Set-MsolUser –UserPrincipalName user@yourdomain –blockcredential $true
To unlock a user accout:
Set-MsolUser -UserPrincipalName user@yourdomain –blockcredential $false
Subscribe to:
Posts (Atom)
ALCATEL 6900
write memory copy running certified reload from working no rollback-timeout
-
SET LLDP System NAME: system name ALL-Uplink system location SIAM-FL11 SHOW LLDP Configure: show lldp config or show lldp local-syste...
-
grant execute on utl_http to wc grant execute on dbms_lock to wc; BEGIN DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => ...
-
:system view system-view or sys :show all config dis current-configuration :create vlan vlan vlan_number :show ip interface ...