原创 perlnote7

#!/usr/bin/perl -w use strict; =head  this section describes file system; =cut =head1 1 test operators  2 built-in su

原创 How to Create an ALOM CMT Compatibility Shell

How to Create an ALOM CMT Compatibility Shell 1. Log onto the server with username: root. When powered on, the server b

原创 [轉帖自滬江]靈指神探

人物介紹: Ned 男主角;派店老闆,擁有讓一切起死回生的能力,但復活的事物他再不能觸碰,否則又將死去;而讓復活者回生超過一分鐘,另有一個等值的生命就會死去。Chuck 女主角;Ned的青梅竹馬,兩人9歲之後就沒有再見過面,直至C

原创 Upgrade firmware on solaris sparc based on ALOM

1. Download firmware upgrade file, e.g. 139439-01.zip 2. use sysfwdownload to load the image to Service Processor(SP) s

原创 網絡上的一道題目(1)

1. 考慮一個字符串替換的過程,在一個文本文件中含有一些文本內容和一些需要替換的變量,變量的格式爲“$Var$”,原來的“$”使用“$$”進行轉義,原 來的“$$”表示爲“$$$”。我們將含有變量的文件稱爲模板(文件名爲t),文本文件的平

原创 Install OS with jumpstart without login console.

We always login console and enter the OK mode  to install OS from jumpstart server,   OK~  boot net - install    if t

原创 Upgrade LDom1.0.3 to LDom 1.1

Box: SPARC-Enterprise-T5220   1. svcadm disable ldmd 2. pkgrm SUNWldm SUNWjass 3. install LDom1.1 4. reboot os.     I m

原创 Book reading plan

There are 3 books to be read:   Data Structures and Algorithm Analysis in C; Advanced Programming in the UNIX Enviro

原创 Disable dhcp

ifconfig nic_name dhcp drop 點贊 收藏 分享 文章舉報 wenchenzhao113 發佈了45 篇原創文章 · 獲贊 0 · 訪問量 3萬+

原创 Use a whole share disk for the ldom vdisk

Use a whole disk for the ldom vdisk, the disk's partition looks like as follows:   partition> print Current partition t

原创 Regular Expression

1.  /^[a-z]+/d+$/ begin with one or more lower chars [a-z], end with one or more digital numbers.   2. /^([a-z]+(/d)+)+

原创 自我批判

記錄自我缺點,從現在開始改正:   1. 得過且過,比較懶,沒有韌性,雖然設定了不少目標,但是堅持不下來; 2. 沒有明確計劃,有了中短期的目標,但是沒有詳細的計劃。 3. 執行力不夠,沒有徹底執行的決心;     從現在開始,要徹底執行

原创 How to setup VVR in VCS , including the FireDrill.

Here is a script for setup the env:   >>>begin #!/bin/bash DG2_CLUS1=datadg DG2_CLUS2=datadg2 DISK2_CLUS1="c2t500601603

原创 Enable/disable nfs

Solaris : share -F nfs /dir unshare /dirLinux : modify /etc/exports add dirs you want to share /dir *(ro, no_root_squas

原创 How to update Sun System Firmware without Solaris, using ILOM or ALOM CLI.

How to update Sun System Firmware without Solaris, using ILOM or ALOM CLI. The Sun System Firmware update process enab