Review--Configure the environment on X86

37 篇文章 0 订阅



Open terminal,

1.Prepare sth for new os test,so input command lines as following:

bash

su

//input password

pkg info entire 

/*to check the build of current os,eg.branch 175.1.0.0.10.0,means the last build of os is 175,and '1' stands for update No.1,and there are two "0" just  fit to the naming rule which  made by US company,well ,the following "10"means this os's build is 10.  */


2.Check current BE(BE:boot environment ),so input command lines as following:

bash

beadm list  // "beadm" is used to check current BE

/*if u see "S11-10  NR(active) etc."means ur machine's os now is S11-10,and now "N" stands for current os,and "R" stands for the build of os which u wanna to use when restart the machine(or BE).*/

/*u can use command lines as "beadm --help" to check the use of "beadm"*/



Now take a note:

Pls be sure ur current  BE is just fall behind no more than two versions(I mean the number following  'Build" ),compareing between the current os and one u gonna to use.


3.Update the BE (S11u1b10) to BE(S11u1b11).

/*From step 2 ,I see the current BE is" S11u1b10" ,whose version falls behind  "S11u1b11"  no more than two  versions.*/

Now I need to update my current BE to "S11u1b11",so input command lines as following:

beadm activate S11u1b10  //Now ur machine is doing update

beadm list    //  To check if ur current BE is turn to S11u1b11

reboot   // Reboot to "S11u1b11"


/*After a short while ,u will see a commandline interface ,and input as following:  */

pkg update --be -name S11u1b11

/* Means current BE update to "S11u1b11",and "S11u1b11" is the name u name it just now.  */


Take a note:

Command line :pkg update --be -name S11u1b11 is equal to some operations on  GUI,which only need to click the button  "update" on the right top of  GUI.

And here u can check the url of Solaris,command lines as:

pkg publisher

// And command-line:pkg set-publisher Name of  a publisher may reset publisher's URL.  Then check it with commandline: beadm lish




4.Intall last x build  "S11u1xb12"  (this x just means some part of the whole os before integrateing to form a build  ) on to the testing box("S11u1b11"),

so input command lines as following:


/opt/onbld/bin/bnu -o -u http://xserver.us.oracle.com:10000 - U x-nightly  -t S11u1b11_xb12

/*  "S11u1b11_xb12" is a new BE name u have to name it,and this name is whatever u wanna to give.    */


Take a note:

Before this operation of Step 4,u have to check whether u have had installed the package "onbld",if not ,u should input the command line as:pkg install onbld


5.Check whether X can startup sucessfully after installation, input command lines as following:


pkg info X-incorporation

/*if u see Branch is 0.175.1.0.0.12.1258,that is correct.Means X startups sucessfully after installation.*/








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值