remove disk Solaris 10
- unmount disk
- cfgadm -al ; for check medadata
- cfgadm -c unconfigure c0::dsk/c0t1d0
- devfsadm -Cv
Thursday, May 29, 2014
Thursday, May 22, 2014
Thursday, April 17, 2014
Solaris10 & X-manager
# svccfg
svc:> select cde-login
svc:/application/graphical-login/cde-login> listprop arg
dtlogin/args astring
svc:/application/graphical-login/cde-login> setprop dtlogin/args=astring:" -udpPort 177"
svc:/application/graphical-login/cde-login> quit
# svcadm restart cde-login
# ps -ef |grep dtlogin
root 25145 23150 0 06:22:50 pts/1 0:00 grep dtlogin
root 24997 1 0 06:22:01 ? 0:00 /usr/dt/bin/dtlogin -daemon -udpPort 177
svc:> select cde-login
svc:/application/graphical-login/cde-login> listprop arg
dtlogin/args astring
svc:/application/graphical-login/cde-login> setprop dtlogin/args=astring:" -udpPort 177"
svc:/application/graphical-login/cde-login> quit
# svcadm restart cde-login
# ps -ef |grep dtlogin
root 25145 23150 0 06:22:50 pts/1 0:00 grep dtlogin
root 24997 1 0 06:22:01 ? 0:00 /usr/dt/bin/dtlogin -daemon -udpPort 177
Friday, March 21, 2014
Create Batch file as Windows Services
- Download Windows Server 2003 Resource Kit Tools @http://www.microsoft.com/en-us/download/details.aspx?id=17657
- Create Service
sc create ServiceName binPath= 'path_to_binary' DisplayName= 'Name_of_Servies' start= auto
- Create Parameters on Regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName
- Create Key name 'Parameters'
- Add String Value 'Application' for binary file (Full path)
- go to Services.msc
- on 'Log on' tab check box 'Allow service to interact with desktop'
- Create Service
sc create ServiceName binPath= 'path_to_binary' DisplayName= 'Name_of_Servies' start= auto
- Create Parameters on Regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName
- Create Key name 'Parameters'
- Add String Value 'Application' for binary file (Full path)
- go to Services.msc
- on 'Log on' tab check box 'Allow service to interact with desktop'
Saturday, February 1, 2014
IMAP-Cyrus
# service cyrus-imapd stop
# su - cyrus
$ cd /usr/lib/cyrus-imapd
$ ./ctl_cyrusdb -r
$ exit
# service cyrus-imapd start
# su - cyrus
$ cd /usr/lib/cyrus-imapd
$ ./ctl_cyrusdb -r
$ exit
# service cyrus-imapd start
Thursday, December 12, 2013
convert cert.pfx to cer , key
Extract crt and key
openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.crt
openssl pkcs12 -in domain.pfx -nocerts -nodes -out domain.key
openssl pkcs12 -in domain.pfx -out domain-ca.crt -nodes -nokeys -cacerts
Created pfx file from crt and key
openssl pkcs12 -export -out nokey-domain.pfx -inkey domain.key -in domain.crt
openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.crt
openssl pkcs12 -in domain.pfx -nocerts -nodes -out domain.key
openssl pkcs12 -in domain.pfx -out domain-ca.crt -nodes -nokeys -cacerts
Created pfx file from crt and key
openssl pkcs12 -export -out nokey-domain.pfx -inkey domain.key -in domain.crt
Friday, December 6, 2013
Disable bing.com
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing
change vule to 0
change vule to 0
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 ...