Thursday, April 9, 2015
reset factory alcatel sw 6800
Switch-> cd working
Switch-> rm boot.cfg
Switch-> cd ..
Switch-> cd network
Switch-> rm userTable*
Switch-> reload working no rollback-timeout
# Wait for the switch to reload
# Login with "admin" / "switch"
Switch-> copy working certified
user 'test' read-write all password password
Thursday, March 26, 2015
Install Powershell windows 2012 Core server
CMD: install powershell
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShellRoot
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all
/reboot Powershell: add windows feature
Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra Shutdown –r -t 0
Friday, March 20, 2015
DSQUERY/DSMOD change password next logon
1. set password never expire off
dsquery user OU=TEST,OU=Office,DC=wnet,DC=local | dsmod user –pwdneverexpires no
2. set default password and set Must change password next Logon
dsquery user OU=TEST,OU=Office,DC=wnet,DC=local | –pwd A1b2C3d4 -mustchpwd yes
dsquery user OU=TEST,OU=Office,DC=wnet,DC=local | dsmod user –pwdneverexpires no
2. set default password and set Must change password next Logon
dsquery user OU=TEST,OU=Office,DC=wnet,DC=local | –pwd A1b2C3d4 -mustchpwd yes
Friday, March 6, 2015
relocate redolog oracle
CONNECT / as SYSDBA STARTUP MOUNT mv /diska/logs/log1a.rdo /diskc/logs/log1c.rdo mv /diska/logs/log2a.rdo /diskc/logs/log2c.rdo ALTER DATABASE RENAME FILE '/diska/logs/log1a.rdo', '/diska/logs/log2a.rdo' TO '/diskc/logs/log1c.rdo', '/diskc/logs/log2c.rdo'; ALTER DATABASE OPEN;
relocate undo tablespaces oracle
#undo tablespace
SQL>create undo tablespace undotbs2 datafile '/new_location/newundo02.dbf' size 2000m;
#Set new tablespace as undo tablespace
SQL> alter system set undo_tablespace= undotbs2 ;
#Drop old undotbs tablespace
SQL> drop tablespace undotbs including contents;
relocate tempfile oracle
EXAMPLE:
sql>alter database tempfile 'D:\APP\PRAMOTE.L\ORADATA\DW\TEMP01.DBF' offline;
copy tempfile to new location
sql>alter database rename file 'D:\APP\PRAMOTE.L\ORADATA\DW\TEMP01.DBF' to 'E:\oradata\dw\temp01.dbf';
sql>alter database tempfile 'E:\oradata\dw\temp01.dbf' online;
sql>alter database tempfile 'D:\APP\PRAMOTE.L\ORADATA\DW\TEMP01.DBF' offline;
copy tempfile to new location
sql>alter database rename file 'D:\APP\PRAMOTE.L\ORADATA\DW\TEMP01.DBF' to 'E:\oradata\dw\temp01.dbf';
sql>alter database tempfile 'E:\oradata\dw\temp01.dbf' online;
Thursday, March 5, 2015
Remove GlobalProtect
Error msg
"An instance of GlobalProtect is already present on the system. Uninstall the current version before attempting to install the new version of GlobalProtect"
- Remove the registry items within the following registry path (Windows OS):
HKEY_LOCAL_MACHINE\Software\Palo Alto Networks\GlobalProtect\PanGPS
- Run the following command as an administrator from the windows cmd line:
sc delete PanGPS
- Reboot the machine
"An instance of GlobalProtect is already present on the system. Uninstall the current version before attempting to install the new version of GlobalProtect"
- Remove the registry items within the following registry path (Windows OS):
HKEY_LOCAL_MACHINE\Software\Palo Alto Networks\GlobalProtect\PanGPS
- Run the following command as an administrator from the windows cmd line:
sc delete PanGPS
- Reboot the machine
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 ...