-
vi says it does not know what kind of terminal…
Ok so I got this error when I ran vi on a Solaris box while booted off a CD ROM I don’t know what kind of terminal you are on – all I have is ‘unknown’. Solution: run these two commands: TERM=vt100export TERM Note: Running this command did NOT work: export TERM=vt100
-
Recover Forgotten Weblogic Passwords
Nice utility. However it needs Chrome/FF to work. Recover Forgotten Weblogic Admin Password
-
Weblogic Server "invalid pad byte" error
Here is how to encrypt a password/username for weblogic’s boot.properties or config.xml file java -cp /opt/app/bea/weblogic81/server/lib/weblogic.jar -Dweblogic.RootDirectory=/opt/app/bea/user_projects/domains/mydomain3 weblogic.security.Encrypt test_password I got it from: Anything simple: Oracle BEA Weblogic Server 10 “invalid pad byte” error
-
Setting a static IP using powershell
Here is a quick way to set your IP address to a static value: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration -computername . | where{$_.IPEnabled -eq $true -and $_.DHCPEnabled -eq $true} Foreach($NIC in $NICs) { $ip = "10.0.0.151" $gateway = "10.0.0.1" $subnet = "255.255.255.0" $dns = "10.0.0.10","10.0.0.11" $NIC.EnableStatic($ip, $subnet) $NIC.SetGateways($gateway) $NIC.SetDNSServerSearchOrder($dns) $NIC.SetDynamicDNSRegistration("FALSE") } IPConfig /all Credits: Original script taken from here
-
Set Dynamic IP address using powershell
Here is a quick powershell script to set your network card TCP/IP setting to dynamic addressing: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration | where{$_.IPEnabled -eq “TRUE”} Foreach($NIC in $NICs) { $NIC.EnableDHCP() $NIC.SetDNSServerSearchOrder() } IPConfig /all Credits: Original script taken from here