甚麼是勇敢?

勇於做自己?

勇於負起責任?

勇於承擔一切?

還是安於現狀?

liaofamily 發表在 痞客邦 留言(0) 人氣()

winsxs_clean

 C disk space is not suffcient after upgrading to Windows 7 SP1.

use below command to delete old system files.

COMMAND PROMPT > dism /online /cleanup-image /spsuperseded

liaofamily 發表在 痞客邦 留言(0) 人氣()

RESET FOUNDRY SWITCH PASSWORD

### connect console cable and press b buttom during power up switch

FE Boot Monitor Version 03.2.00 (BLDR-Rev1a)
Enter 'b' to go to boot monitor ...
BOOT INFO: load monitor from code flash, size = 95344

liaofamily 發表在 痞客邦 留言(0) 人氣()

enable ssh and https on Foundry FES4802

### activate ssh service on Foundry FES4802

telnet@FastIron> show version
SW: Version 03.4.01dTc1 Copyright (c) 1996-2005 Foundry Networks, Inc.
Compiled on Dec 12 2005 at 16:19:09 labeled as FES03401d

liaofamily 發表在 痞客邦 留言(0) 人氣()

CLI to backup D-Link switch configuration by tftp

### activate tftp service on RHEL6

[root@XXX ~]$ vim /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \

liaofamily 發表在 痞客邦 留言(0) 人氣()

CLI to change command prompt of D-Link DES-3552 switch   

### ssh to D-Link switch

[root@XXX~]$ ssh admin@LS2277
admin@LS2277's password:

DES-3552 Fast Ethernet Switch

liaofamily 發表在 痞客邦 留言(0) 人氣()

oracle password recovery free tool ~ ngorca

COLUMN NAME FORMAT A30
COLUMN PASSWORD FORMAT A30
COLUMN SPARE4 FORMAT A70

SQL> SELECT name,password FROM SYS.USER$ WHERE password is not null and name = 'SYSTEM';

liaofamily 發表在 痞客邦 留言(0) 人氣()

create 2nd MySQL instance on Linux

### create directory

mkdir /var/lib/mysql2
chown -R mysql.mysql /var/lib/mysql2/
mkdir /var/log/mysql2

liaofamily 發表在 痞客邦 留言(0) 人氣()

SUSE10P3:~ # cat /etc/issue

Welcome to SUSE Linux Enterprise Server 10 SP3 (x86_64) - Kernel \r (\l).

------------ package management zypper 
### .. repos

SUSE10P3:~ # zypper service-add --type YaST dir:///root/Downloads/SLES10_SP3/ SLES-10-SP3

liaofamily 發表在 痞客邦 留言(0) 人氣()

tomcat 6.0.33 on Solaris 10

### download tomcat and install it to /usr/local/tomcat6

root@XXX:/export/home/netxsqm/Downloads > gunzip apache-tomcat-6.0.33.tar.gz
root@XXX:/export/home/netxsqm/Downloads > tar xvf apache-tomcat-6.0.33.tar

root@XXX:/export/home/netxsqm/Downloads > mv apache-tomcat-6.0.33 /usr/local/

liaofamily 發表在 痞客邦 留言(0) 人氣()

how to retrieve serial number of HP Proliant server by command line

The OS of HP Porliant Server is RHEL 6

the first approach is via HP hpasmcli
 [root@XXX ~]# hpasmcli 
HP management CLI for Linux (v2.0)

liaofamily 發表在 痞客邦 留言(0) 人氣()

(1) display the serial number of Oracle Sun's machine

root@XXX:/ > /usr/sbin/sneep
BEF1043XXX

liaofamily 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。