免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 16755 | 回复: 10
打印 上一主题 下一主题

[IRIX] IRIX版精华整理 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-30 13:18 |只看该作者 |倒序浏览
1.一个关于SGI机身号的讨论!

# cc -o change-sid change-sid.c -lmld
# sysinfo
System ID:
de ad 12 34 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
rodent 44# ./change-sid
hexadecimal system id seems to be dead1234
rodent 45# ./change-sid 12345678
rodent 46# ./change-sid
hexadecimal system id seems to be 12345678
rodent 47# sysinfo
System ID:
12 34 56 78 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

-- change-sid.c --

/*
* change system id on IRIX 5.3 - only minimally tested on one machine
* consider this pre-pre-alpha - USE AT YOUR OWN RISK
* compile by -- cc -o change-sid change-sid.c -lmld
* placed in the public domain by the author - Nov 1996
* Mark Henderson <mch@squirrel.com>;
*/

#include <fcntl.h>;
#include <unistd.h>;
#include <stdio.h>;
#include <sys/types.h>;
#include <sys/uio.h>;
#include <nlist.h>;
struct nlist nl[2];

main(argc,argv)
int argc;
char *argv[];
{
int kmem;
int just_read = 0;
unsigned int new_id, cur_id;
off_t where;
just_read = (argc <= 1);
if (argc >; 1)
new_id = strtoul(argv[1], NULL, 16);

if ((kmem = open("/dev/kmem", O_RDWR)) < 0) {
fprintf(stderr, "cannot open /dev/kmem\n";
exit(1);
}
nl[0].n_name="eccf_addr";
nl[1].n_name = NULL;
if (nlist("/unix", nl) < 0) {
fprintf(stderr, "cannot read namelist out of /dev/ksyms\n";
exit(1);
}
if ((where = nl[0].n_value) == 0) {
fprintf(stderr, "unknown kernel variable eccf_addr\n";
exit(1);
}
if (lseek(kmem, where + 4, SEEK_SET) == (-1)) {
fprintf(stderr, "lseek on /dev/kmem failed\n";
exit(1);
}
if (!just_read) {
if (write (kmem, &new_id, 4) < 4) {
fprintf(stderr, "write to /dev/kmem failed\n";
exit(1);
}
}
else {
if (read(kmem, &cur_id, 4) < 4) {
fprintf(stderr, "read failed\n";
exit(1);
}
printf("hexadecimal system id seems to be %08x\n", cur_id);
}
close(kmem);
exit(0);
}

          




2.How to change mac address on Irix

I test it at my O200, it work well.

#include <stdio.h>;
#include <unistd.h>;
#include <sys/ioctl.h>;
#include <sys/types.h>;
#include <sys/socket.h>;
#include <net/raw.h>;
#include <net/if.h>;
#include <net/soioctl.h>;

main(int argc,char **argv)
{
int cnt,ret,sock,a1,a2,a3,a4,a5,a6;
struct ifreq ifdat;
struct sockaddr_raw sr;

if (argc<3)
{
printf("usage : %s <interface>; <eaddr>;\n",argv[0]);
exit(1);
}

sock=socket(PF_RAW, SOCK_RAW, RAWPROTO_SNOOP);

if (sock<0) {
perror("socket:";
exit(1);
}

strcpy(ifdat.ifr_name, argv[1]);
ret=ioctl(sock, SIOCGIFADDR, &ifdat );
if (ret<0)
{
printf("ret=%d\n", ret);
perror("ioctl:";
exit(1);
}

printf("Current address : %2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x\n",
ifdat.ifr_ifru.ifru_enaddr[2], ifdat.ifr_ifru.ifru_enaddr[3],
ifdat.ifr_ifru.ifru_enaddr[4], ifdat.ifr_ifru.ifru_enaddr[5],
ifdat.ifr_ifru.ifru_enaddr[6], ifdat.ifr_ifru.ifru_enaddr[7]);


sscanf(argv[2],"%x:%x:%x:%x:%x:%x", &a1,&a2,&a3,&a4,&a5,&a6);
printf("setting %s to %2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x\n",
argv[1],a1,a2,a3,a4,a5,a6);

ifdat.ifr_ifru.ifru_enaddr[2]=a1; ifdat.ifr_ifru.ifru_enaddr[3]=a2;
ifdat.ifr_ifru.ifru_enaddr[4]=a3; ifdat.ifr_ifru.ifru_enaddr[5]=a4;
ifdat.ifr_ifru.ifru_enaddr[6]=a5; ifdat.ifr_ifru.ifru_enaddr[7]=a6;

ret=ioctl(sock, SIOCSIFADDR, &ifdat );
if (ret<0)
{
printf("ret=%d\n", ret);
perror("ioctl:";
exit(1);
}
printf("Done\n";
return 0;
}
          


3.怎么办?O200安装APACHE??


老大们!我是菜鸟,我在O200上把APACHE2.0.43已经解压缩了,下来怎么办呀,用INSTALL没反映啊! 本来装了一个APACHE1.3的,要不要卸载啊,主要怎么卸呀?
解压后有四个文件census fw_apache2 fw_apache2.idb fw_apache2.man 下来应该用什么命令呢?

我这个没有显示器,SWMGR运行后显示
Error: Swmgr: Can't Open Display 到底该怎么办呢,一头雾水啊!
另今天在APACHE.ORG网站下载了一个httpd-2.0.46.tar.gz,在机器上运行
tar vxf httpd-2.0.46.tar.gz后显示
tar: directory checksum error是提示什么东西呢?怎么解压不开呢,哪个老大给说的详细点,该怎么解压怎么安装啊




#swmgr 启动安装tools


#inst
inst>;from /temp //you apache directory
inst>;conf
inst>;go
inst>;quit

sgiman 写到:
download x-win32 for pc 仿真桌面。

#swmgr 启动安装tools



3种解决方案
1:telnet 到o200上用文本方式inst
2:在PC上安装Xmanager,telnet 到o200上用图形方式swmgr
3:在另一台有显示器的SGI机器上执行一下命令
#xhost +
#telnet o200
#toolchest
在选择desktop/system maintenance/software manager


简直受不了了,IRIX这东西怎么这么难啊!谢谢楼上门的帮助,呵呵,可现在还是没有装上,谁让我是菜鸟呢~~现在介绍一下情况先:

现在安装了X-WIN32;我在SGI网站下载了fw_apache-2.0.43.tardist文件放在了/usr/tmp下,用swmgr启动X-WIN32,找到fw_apache-2.0.43.tardist安装,安装时出现几个conflict,清除conflict后,安装完毕,并且最后还检查了什么EOF,用软件管理能看见安装成功了,但是用PS -EF看好像没有APACHE的进程,在网上看APACHE安装成功后一般会在/usr/local下有一个APACHE目录,但我看我的系统怎么没有啊??
另外想试试APACHE的最新版,从APACHE.ORG下载了一个2.0.47.TAR.GZ,怎么用X-WIN32一安装就提示说文件是坏的.如果用命令行形式怎么安装, 比如我的文件放在/usr/tem下.请各位高手们多多指点.详细一点,谢谢啊~~

sgi 发表于: 2003-07-19 14:07    发表主题:
查看系统有没有安装apache
1.versions | grep apache
目录一般在/usr/freeware
或者直接找apache的配置文件httpd.conf
2.find / -name httpd.conf
要是你找到了,就说明你的apache装成功了.
如果你不会用apache的话,可以到www.apache.org
看看.


逐月      发表于: 2003-07-19 16:07    发表主题:

谢谢SGI兄~~
从SGI网站上下载的2.0.43装不上,就下载了一个1.3.27版,还好用X-WIN32装成功了。现在想问一下,为什么2。0。43安装不上,用X-WIN32安装时出现一个fw_apache2.sw的冲突,只能选择NOT INSTALL(后面一堆什么LIB不知道是什么),最后也提示安装成功,用你说的versions | grep apache 命令也能看到2。0。43版;但找不到httpd.conf,找到的是1.3.27版的httpd.conf;在/usr/freeware下有apache2文件夹,但是里面只有两个目录,是。include和manual文件夹,不像apache13。27的文件夹下有什么etc,sbin.share等文件夹,不会是下载的文件有问题吧?请指导一下是什么地方的问题? 谢谢诸位!^_^


sgi   发表于: 2003-07-21 11:07    发表主题:
我测试过了,正常,只要把相关的软件一起安装就行了,把下面的所以软件download下来,一起装.

fw_apache-2.0.43.tardist,
fw_gdbm-1.8.0.tardist,
fw_pcre-3.9.tardist,
fw_db-3.2.9-sgipl1.tardist,
fw_expat-1.95.6.tardist,
下次安装其它软件的时候,它要其它什么软件,你就给它装上.

4.Irix 6.5.X的详细安装过程



--------------------------------------------------------------------------------

http://www1.discreet.com/site/faq.nsf/ca8bb2ebce61f15585256ac70050bf2a/2ce813f79bb8e93885256a700066d7cd?OpenDocument


Installing Irix 6.5.11f


effect3, frost, flame, fire, inferno, smoke


Installing IRIX 6.5.x for Onyx1, Onyx2, OCTANE, O2 and IMPACT With Discreet CD-ROMs
Revision 2.40


The CDROM based installation requires the following, replace the X with the versions you want to install , For Installing 6.5.X you need a minimum of 1.5 GB on space left on you system disk. (1.5 GB , is the maximum size 6.5.X take in your system disk ).

Package Upgrade IRIX 6.5.X Overlays

IRIX 6.5.X Installation Tools and Overlays (1 of 2)
IRIX 6.5.X Overlays (3 of 3)
IRIX 6.5.X Applications

Package basic IRIX 6.5

IRIX 6.5 Foundation 1
IRIX 6.5 Foundation 2
OCTANE/IMPACT Video <Only needed if you have an IMPACT or OCTANE >;
Divo 2.1 for 6.5 <Only needed if you have an Onyx2>;
Sirius for 6.5 <Only needed if you have an Onyx1>;
SGI HiPPI 3.2 and Essential HiPPI for 6.5 <Only needed if you have a HiPPI network>;
(Located on the Beta2 software CD-ROM)
ONC3/NFS versions 3, for IRIX 6.2 6.3 6.4 and 6.5 <All platforms>;

Useful address: http://support.sgi.com/6.5/installing.html

Note: Percentages and numbers (Such as Disk Block Numbers) are provided only for examples; More than likely, your system will have different numbers than those we have specified in this document. Also, Be sure to read the sections as they contain some valuable information for some cases.
If your system is on a Network, it is recommended to keep a copy of the files required to setup the network after this upgrade. These files may include:

/etc/hosts, /etc/sys_id, /etc/ethers, /etc/TIMEZONE, /etc/net, /etc/sendmail.cf, /etc/exports, /etc/host.equiv, /etc/aliases, /etc/initd.conf, /etc/resolv.conf, /etc/fstab, /etc/group, /etc/config/*, /etc/init.d/network.local, /etc/passwd, /var/yp/ypdomain, etc.

Ask your system administrator for more information.

Steps to install IRIX 6.5.X from Scratch:

1. Backup your existing system disk
2. Reformat and exercise the drive (Optional but recommended by Discreet Logic Technical Support )
3. Install IRIX 6.5.X
4. Setup the network information
5. Load setup files from the system disk backup


Step 1: Back up your system disk

It is very important that you backup your System Disk because when you install IRIX 6.5.X, you will lose all information currently stored on it. It is recommended that you do the two following steps:

A. BACKUP: When you install IRIX 6.5, you will lose all of the data on your system disk. Use the Backup command to make a tape backup of entire system. You should backup:

1. Login as root
2. Determine the SCSI controller number and device unit number of the tape drive from the hardware inventory. Type:

hinv | grep Tape

The hardware inventory “ hinv ” line for the tape drive appears, and looks similar to:

Tape drive: unit 2 on SCSI controller 0: DAT

3. Command to backup the entire system disk.

Backup –t /dev/mt/tps<controller#>;d<device#>;ns –i /

Where <controller#>; and <device#>; are the SCSI controller and device unit numbers you determined above from the hinv command.

B. TAR file: The setup files from the /usr/discreet home directory, the logical volume table (/etc/lvtab) if you are using a DL disk array, and any other files, software applications, and so on, that you want to keep and restore quickly.

1. Log in as root.
2. Determine the SCSI controller number and device unit number of the tape drive from the hardware inventory. Type:
hinv | grep Tape

The hardware inventory line for the tape drive appears, and looks similar to:

Tape drive: unit 2 on SCSI controller 0: DAT

3. Enter the tar command using the following format:

tar -covf /dev/mt/tps<controller#>;d<device#>;ns <filelist>;

where <controller#>; and <device#>; are the SCSI controller and device unit numbers you determined above from the hinv command, and <filelist>; is the list of directories you want to back up.
For example, if you are currently running flame* and smoke*, and want to backup /etc/passwd and /usr/people/MyAccount to tape:

tar -covf /dev/mt/tps0d6ns /usr/discreet /usr/people/MyAccount /etc/passwd

Note: It is important to gather the file list prior to using the tar command above because each time the above command is execute, the files on the tape will be overwritten. See your System Administrator for assistance or see the tar man page.


Step 2: Resize and exercise the drive. (optional)

This procedure takes about an hour to run. It is done to ensure that the disk is clean, free from bad blocks. It's recommended to exercise the drive for re-mapping all bad blocks.

1. Shut down the computer by typing

init 0
2. When this message appears:

Okay to power off the system now. Press any key to restart.

Click “Restart”.
3. When this message appears:

Starting up the system
Click, “Stop For Maintenance” or press Escape (Some systems may not display the “Stop for Maintenance” button).

4. Select “Enter Command Monitor” in the PROM Monitor. The Command Monitor appears.
5. Determine the unit and controller numbers for the CD-ROM drive. in the Command Monitor, type:
hinv

6. In the hinv listing that appears, look for a line similar to this:

SCSI CDROM :scsi(X)cdrom(Y)

Write down the SCSI controller (X) and CD-ROM unit (Y) numbers.
scsi (X) :____ cdrom (Y) :____
7. Start the fx utility by entering the following command, replacing X and Y with the values you determined above:
Put the CDROM: Installation Tools and Overlays (1 of 2)
Where X is for the Controllers numbers and Y the unit numbers for your CDROM

For IP30 / IP27

boot -f dksc(X,Y,sash64 dksc(X,Y,7)stand/fx.64 -–x
or
boot -f cdrom(X,Y,sash64 cdrom(X,Y,7)stand/fx.64 -–x

For IP19 / IP22 / IP25 / IP32

boot -f dksc(X,Y,sashARCS dksc(X,Y,7)stand/fx.ARCS -–x

Some platforms require this syntax (in the hinv for the CDROM, it will say:

“CDROM: unit Y on SCSI Controller X, (cdrom(X,Y,7))”):

boot -f cdrom(X,Y,sash64 cdrom(X,Y,7)stand/fx.64 –-x
8. The output of the fx utility is shown below. Follow the actions written in bold.

SGI Versions 6.5 ARCS
fx :device-name = (dksc) <ENTER>;
fx :ctlr# = (0) <ENTER>; (See Note below)
fx :drive# = (1) <ENTER>; (See Note below)
Important: If you are running on an O2 R10K or a machine whose system disk is NOT on ID 1 or the Controller is not 0, ensure to enter the Disk ID number before the ENTER above and enter the Controller number before the ENTER.

...opening dksc(0,1,)
...controller test ...OK
Scsi derive type = = SEAGATE ST34502LC 0005

--- please choose one (? for help, .. to quit this menu) ---
[exit]t [d]ebug/ [l]abel/ [a]uto
adblock/ [exe]rcise/ [r]epartition/ [f]ormat
fx>; exe <ENTER>; (exercise the drive and remap the bad blocks)

----- please choose one (? for help, .. to quit this menu)-----
utterfly [seq]uential [set]testpat
[e]rrlog [st]op_on_error [sh]owtestpat
[r]andom [m]iscompares [c]omplete

fx/exercise>; seq <ENTER>;
fx/exercise/sequential:modifier = (rd-only) wr-c <ENTER>; (*DESTRUCTIVE*)
fx/exercise/sequential:starting block# = (0) <ENTER>;
fx/exercise/sequential:nblocks = (888784 <ENTER>;
fx/exercise/sequential:nscans = (1) <ENTER>;
* * * * * WARNING * * * * *
sequential pass 1 :scanning [0, 8887848]
about to destroy data on disk dksc(0,1,0) ! ok? yes <ENTER>;

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...done

----- please choose one (? for help, .. to quit this menu)-----
utterfly [seq]uential [set]testpat
[e]rrlog [st]op_on_error [sh]owtestpat
[r]andom [m]iscompares [c]omplete

fx/exercise>;.. <ENTER>;

--- please choose one (? for help, .. to quit this menu) ---
[exit]t [d]ebug/ [l]abel/ [a]uto
adblock/ [exe]rcise/ [r]epartition/ [f]ormat

fx>; r <ENTER>; (repartition your drive)
Note: If you are on a new System Disk, type “ro” at the “fx/repartition>;” prompt to ensure that the system disk is a rootdrive.

---- please choose one (? for help, .. to quit this menu) ----
[ro]otdrive [o]ptiondrive [e]xpert
srrootdrive [re]size
fx/repartition>; re <ENTER>; (resize the partitions)

After changing the partition, the other partitions will be adjusted around it to fit the change. The results will be displayed and you will be asked whether it is OK, before the change is committed to disk. Only the standard partitions may be changed with this function.

Type ? at prompt for a list of all possible choices

fx/repartition/resize:partition to change = (swap) <ENTER>; (select the sub partitions)

current: type raw base: 3597 cycls, 8125623 blks, 3968 Mb
len: 116 cycls, 262044 blks, 128 Mb

fx/repartition/resize :partitioning method = (megabytes(2^20)) <ENTER>; (select the type of the partitions)

\Note: For running DL products on OCTANE, Onyx1, Onyx2, O2 and IMPACT a minimum of 256 MB of swap space. This requires with 4 GB hard drive minimum.

fx/repartition/resize :size in megabytes (max 4301)= (12 512 <ENTER>;
----- partitions-----
part type blocks Megabytes (base+size)
0: xfs 4096 + 7836252 2 + 3826
1: raw 7840348 + 1048576 3828 + 512
8: volhdr 0 + 4096 0 + 2
10: volume 0 + 8888924 0 + 4340

Use the new partition layout? (no) yes <ENTER>;

[ro]otdrive [o]ptiondrive [e]xpert
srrootdrive [re]size
fx/repartition>; /exi <ENTER>; (Exit the FX application)
NOTE: Some systems may also state this after this step.

label info has changed for disk dksc(0,1,0). write out changes? (yes) yes <ENTER>;
9. When you exit fx, the screen turns black. If any error messages appear, reformat the drive or change the disk drive for a other one . If no error messages appear, you are returned to the PROM Monitor.


Step 3: Install IRIX 6.5.X

1. Select the Install System Software option from the PROM monitor.

2. Select the Local CD-ROM option, and click Install.

3. When this message appears:

“Insert the installation CD-ROM now.”

Insert the IRIX 6.5.X Installation Tools and Overlays (1 of 2)
Click Continue after led stops blinking (Or if your CD-ROM does not have a LED, wait approximately 10 seconds). The installation tools will then be copied to disk.

4. A window with the “IRIX Release 6.5” copyright statement appears.
The output that appears in this window is shown below. Follow the actions written in bold.

WARNING: In some cases the installation stops on this line:

Unable to mount partition: /dev/dsk/dkscXdYs0 on /root
:
:
Press ENTER to invoke C shell csh# <ENTER>;

Type this line in the prompt (Replacing X with the controller that your system disk is on (Generally 0 except on ONYX1 IR where it would be 1) and Y with the SCSI ID of your system disk (Generally 1)):

# mkfs /dev/rdsk/dksXdYs0 <ENTER>;

After some messages and the prompt come back, type:

# exit <ENTER>;

Mounting file systems:
/dev/dsk/dksc0d1s0: Invalid argument

No valid file system found on: /dev/dsk/dksc0d1s0
This is your system disk: without it we have nothing on which to install software.

Make new file system on /dev/dsk/dks0d1s0 [yes/no/sh/help]: yes <ENTER>;

About to remake (mkfs) file system on: /dev/dsk/dks0d1s0
This will destroy all data on disk partition: /dev/dsk/dks0d1s0
Are you sure? [y/n]: y <ENTER>;
Block size of filesystem 512 or 4096 bytes? 4096 <ENTER>;
meta-data =/dev/rdsk/dks0d1s0 isize=256 agcount=8 agsize=131246blks
data = bsize=4096 blck=1049963 imaxpct=25
log = internal log bsize=4096 blocks=1000
realtime = none bzise=65536 blocks=0 rtextents=0


Note: If the system does not prompt you to create a new file system (mkfs), you should type “admin” (13) at the first “Inst>;” prompt, type “mkfs” (11) at the “Admin>;” prompt, and answer “yes” to all questions. Lastly, type “..” to get back to the initial menu.


Invoking software installation

Inst 3.6 Main Menu
1. from [source]
2. open [source]
3. close [source[
4. list [keywords] [names]
5. go
6. install [keywords] [names]
7. remove [keywords] [names]
8. keep [keywords] [names]
9. step [keywords] [names]
10. conflicts [choice ...]
11. help [topics]
12.view ...
13.admin
14.quit

Inst>; 1 <ENTER>; (specify location of software to be installed)

Previous installation sites:
1. /CDROM/dist
2. none (no distribution. view installed products)
3. quit (no action)

Install software from: [/CDROM/dist] <ENTER>;

more ? (h=help) q

Note: On some platforms (such as the Indigo2), the “more?” prompt may not appear.

Reading product descriptions .. 25%
Setting distribution to /CDROM/dist
Reading product descriptions .. 100% Done.
:
:

1. Place me on the maintenance stream
2. Place me on the feature stream
3. cancel

Enter a choice: 2 <ENTER>;

You can insert another CD (or specify the name of a different distribution) and press "Enter"


1. /CDROM/dist
2. done (distribution information read, return to inst prompt)


5. Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive (lower right corner or the upper right corner on Onyx2 systems) and load the IRIX 6.5.X Overlays (3 of 3). Continue with the installation. Wait until CDROM Led stops flashing (Or if your CD-ROM does not have a LED, wait approximately 10 seconds).

Install software from: [/CDROM/dist] <ENTER>;

Reading product descriptions... 13%
Reading /root/var/inst/hist/
Reading product descriptions... 25%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You can insert another CD (or specify the name of a different distribution) and press "Enter"

1. /CDROM/dist
2. done (distribution information read, return to inst prompt)

Install software from: [/CDROM/dist]/CDROM/dist/ <ENTER>;

Reading product descriptions... 0%
Reading product descriptions... 25%
Setting distribution to /CDROM/dist/
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You can insert another CD (or specify the name of a different distribution) and press "Enter"


1. /CDROM/dist
2. done (distribution information read, return to inst prompt)

5a. Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive (lower right corner or the upper right corner on Onyx2 systems) and load the IRIX 6.5.X Overlays (3 of 3). Continue with the installation. Wait until CDROM Led stops flashing (Or if your CD-ROM does not have a LED, wait approximately 10 seconds).

Install software from: [/CDROM/dist] <ENTER>;

Reading product descriptions... 13%
Reading /root/var/inst/hist/
Reading product descriptions... 25%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You can insert another CD (or specify the name of a different distribution) and press "Enter"

1. /CDROM/dist
2. done (distribution information read, return to inst prompt)



Note: The next section is on the same CD, hence you do not have to change CD-ROMs.


Install software from: [/CDROM/dist]/CDROM/dist/unbundled <ENTER>;

Reading product descriptions... 0%
Reading product descriptions... 25%
Setting distribution to /CDROM/dist/unbundled
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You can insert another CD (or specify the name of a different distribution) and press "Enter"

1. /CDROM/dist/unbundled
2. /CDROM/dist
3. done (distribution information read, return to inst prompt)

6. Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the IRIX 6.5 Applications. Continue with the installation.

Install software from: [/CDROM/dist/unbundled] /CDROM/dist <ENTER>;
:
:
subsystem installation messages)
:
:
more? (h=help) q <ENTER>;
:
Reading product descriptions... 0%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You can insert another CD (or specify the name of a different distribution) and press "Enter"

1. /CDROM/dist
2. /CDROM/dist/unbundled
3. done (distribution information read, return to inst prompt)


7. Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the IRIX 6.5 Foundation 1. Continue with the installation.

Install software from: [/CDROM/dist] <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You may also enter name of different distribution, or enter "done" if you are ready to proceed with the installation now.

1. /CDROM/dist
2. /CDROM/dist/unbundled
3. done (distribution information read, return to inst prompt)


8. Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the IRIX 6.5 Foundation 2. Continue with the installation.

Install software from: [/CDROM/dist] <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You may also enter name of different distribution, or enter "done" if you are ready to proceed with the installation now.

1. /CDROM/dist
2. /CDROM/dist/unbundled
3. done (distribution information read, return to inst prompt)


9. ONLY FOR OCTANE or IMPACT SYSTEMS, <SKIP IF YOU DON’T HAVE A OCTANE or IMPACT>;
Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the OCTANE/IMPACT video for Irix 6.5 CD. Continue with the installation.

Install software from: [/CDROM/dist] <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/dist
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You may also enter name of different distribution, or
Enter "done" if you are ready to proceed with the installation now.

1. /CDROM/dist
2. /CDROM/dist/unbundled
3. done (distribution information read, return to inst prompt)

Continue on to Step 12.

10. ONLY ONYX2, <SKIP IF YOU DON’T HAVE A DIVO board installed>;
Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the Divo 2.1 and Sirius CD. Continue with the installation.

Install software from: [/CDROM/dist] /CDROM/divo <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/divo
Reading product descriptions... 100% Done.
:
:
subsystem installation messages)
:
:
You may also enter name of different distribution, or
Enter "done" if you are ready to proceed with the installation now.

1. /CDROM/divo
2. /CDROM/dist
3. /CDROM/dist/unbundled
4. done (distribution information read, return to inst prompt)

Continue on to Step 12.


11. ONLY ONYX1, <SKIP IF YOU DON’T HAVE A Sirius board installed >;
Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the Divo 2.1 and Sirius CD. Continue with the installation.
Install software from: [/CDROM/dist] /CDROM/sirius <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/sirius
Reading product descriptions... 100% Done.
:
:
:(subsystem installation messages)
:
:
You may also enter name of different distribution, or
Enter "done" if you are ready to proceed with the installation now.

1. /CDROM/sirius
2. /CDROM/dist
3. /CDROM/dist/unbundled
4. done (distribution information read, return to inst prompt)

Continue on to Step 12.


12. ALL PLATFORMS, <SKIP IF YOU DON’T HAVE HIPPI Hardware installed>;
Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the Beta2 software CD. Continue with the installation.

Install software from: [] /CDROM/<DL beta software>;/<IPxx>;/dist/hippi/<type>; <ENTER>;

Where:
<IPxx>; would be IP25 for Onyx1 IR, IP27 for Onyx2, IP30 for Octane.
<DL beta software>; would be flame61beta2, smoke30beta2, fire30beta2 or inferno31beta2.
<type>; would be ESS for Essential HiPPI Hardware or SGI for SGI HiPPI Hardware.

NOTE: If you are using SGI HiPPI Hardware, see Section 4: Setup the network information).

Reading product descriptions... 0%
Setting distribution to /CDROM/<DL beta software>;/<IPxx>;/dist/hippi/<type>;
Reading product descriptions... 100% Done.
:
:
:(subsystem installation messages)
:
:
You may also enter name of different distribution, or
enter "done" if you are ready to proceed with the installation now.

1. /CDROM/<DL beta software>;/<IPxx>;/dist/hippi/<type>;
2. <ath to Video Software and Drivers>; (If Applicable)
3. /CDROM/dist
4. /CDROM/dist/unbundled
5. done (distribution information read, return to inst prompt)

Continue on to Step 13.

13. OPTIONAL, IF YOU NEED NFS/NIS INSTALLED ON YOUR MACHINE <SKIP IF YOU DON’T NEED IT>;
Eject the CD from the CD-ROM drive by pressing the button on the CD-ROM drive and load the ONC3/NFS for IRIX 6.2 6.3 6.4 and 6.5 CD. Continue with the installation.

“WARNING: different location for the distribution.

Install software from: [/CDROM/dist] /CDROM/dist6.5 <ENTER>;
Reading product descriptions... 0%
Setting distribution to /CDROM/dist6.5
Reading product descriptions... 100% Done.
:
:
:(subsystem installation messages)
:
:
You may also enter name of different distribution, or enter "done" if you are ready to proceed with the installation now.

1. /CDROM/dist6.5
2. /CDROM/<DL beta software>;/<IPxx>;/dist/hippi/<type>; (If Applicable)
3. <ath to Video Software and Drivers>; (If Applicable)
3. /CDROM/dist
4. /CDROM/dist/unbundled
5. done (distribution information read, return to inst prompt)

14. Complete the pre-Installation and install the Sub-Systems.

Install software from: [/CDROM/dist6.5] done <ENTER>;
Inst>; keep *

Inst>; install standard

Inst>; install prereqs
No matches for "prereqs" were found
Note: This is a normal messages.

Inst>; keep incompleteoverlays

Note: If you have any other messages, perform the above steps again starting at keep *.

Optional and not recommended

If you need to remove some subsytem , refers to the list in Appendix A before the Step 4. Do this for each subsytem you want to remove, at the Inst>; type “remove SUBSYSTEM “.
It’s recommended to remove all subsytems you don’t want after the upgrade will be finished. You login to the root account and re-run the installation tool inst for removing.

Inst>; go <ENTER>;


Follow the instructions as provided:

Pre-installation check... 8%
Checking space requirements... 16%
Pre-installation check completed
Installing/removing files... 16%

Please insert the "IRIX 6.5 FOUNDATION-1" CD.
Type control-C interrupt:
:
:
Note: You don't need to press any keys at this point. The installation will automatically read the new CD after it is inserted. If you have any problems reading the CD you placed in the tray, try to place another CD, then remove it, and place the one the system requires.

Note: There is no need to be alarmed concerning messages you may see during this process. If you are doing the procedure on multiple platforms, you also should not be alarmed that one platform may have different or more messages. Ignore any messages such as “Device not ready” that you may get when removing and inserting CD-ROMs. The only messages that you should watch for are as follows:

Please insert the "IRIX 6.5 Application " CD.
Type control-C interrupt:

Note: If you walk away from the system and the system states that it has timed out waiting for the next CD, simply replace the current CD with the one that the system asks for and then type “retry”.

Note: An error will appear for the package: appletalk.sw.xinet_base.

:
:
Error/Interrupt Menu

1.retry
2. stop
3. continue
4. set
5. help
6. sh
7. shroot

Interrupt>; 3 <ENTER>;

NOTE: If you require XINET, you should see XINET’s web site at http://www.xinet.com for an updated version.

:
:
Please insert the "ONC3/NFS Version 3 FOR IRIX 6.2 THROUGH 6.5" CD. (Only if NFS/NIS was installed in step 10 the system ask for this CD)
Type control-C interrupt:
:
:
Please insert the "IRIX 6.5 FOUNDATION-2" CD.
Type control-C interrupt:
:
:
Please insert the "OCTANE/IMPACT VIDEO FOR IRIX 6.5" CD. (Only if OCTANE or IMPACT was installed in step 9 the system ask for this CD)
Type control-C interrupt:
:
:
Please insert the "Untitled" CD. (Only if Onyx2 with DIVO option board was installed in step 10 the system ask for this CD; This is the CD labeled “Divo 2.1 and Sirius”)
Type control-C interrupt:
:
:
Please insert the "Untitled" CD. (Only if Onyx1 with Sirius board was installed in step 11 the system ask for this CD; This is the CD labeled “Divo 2.1 and Sirius”)
Type control-C interrupt:
:
:
Please insert the "Untitled" CD. (Only if Essential or SGI HIPPI was installed in step 12 will the system ask for this CD; This is the DL Beta Software CD)
Type control-C interrupt:
:
:
Please insert the "IRIX 6.5.X Installation Tools and Overlays 1-of-2 " CD.
Type control-C interrupt:
:
:
Please insert the "IRIX 6.5.X Overlays 2-of-2" CD.
Type control-C interrupt:
:
:
Inst>; <ENTER>;

Inst 3.5 Main Menu
1. from [source]
2. open [source]
3. close [source[
4. list [keywords] [names]
5. go
6. install [keywords] [names]
7. remove [keywords] [names]
8. keep [keywords] [names]
9. step [keywords] [names]
10. conflicts [choice ...]
11. help [topics]
12. view ...
13. admin
14. quit

Inst>; quit <ENTER>;

Requickstarting ELF files (see rqsall(1)).. 100% done.
Automatically reconfiguring the operating system.
Ready to restart the system. Restart? { (y)es, (n)o, (sh)ell ,(h)elp } : yes <ENTER>;


Step 4: Set up network information (if applicable)

If your machine is on the network, set up the following files may be required:

/etc/hosts, /etc/sys_id, /etc/TIMEZONE, /etc/aliases, /etc/fstab, /etc/group, /etc/hosts.equiv, /etc/passwd, /var/yp/ypdomain, etc.
If you have SGI HiPPI network hardware:

a) Make a backup of the installed driver by typing:

cp /var/sysgen/boot/hps.o /var/sysgen/boot/hps.bak

b) Copy an updated driver by typing:

cp /CDROM/<DL beta software>;/<IPxx>;/dist/hippi/SGI/hps.o /var/sysgen/boot/

c) Finally type autoconfig –vf to rebuild the kernel and reboot your system.

Ask your system administrator for more information.


Step 5: Load setup files from the system disk backup

If you want to use setup files created in previous versions of Discreet Logic product, from the backup tape you created in Step 1.

To load the files from tape:

1. Make sure you are logged in as root.

2. Load the contents of the tape by using:

For The tape created in Step 1A:
Restore –t /dev/mt/tps<controller#>;d<device#>;ns <filelist>;

For the tape created in Step 1B:
tar xovf /dev/mt/tps<controller#>;d<device#>;ns <filelist>;

For example, to load the directories saved in the example in Step 1, you would type (on one line):
tar xovf /dev/mt/tps0d6ns /usr/discreet /usr/people/MyAccount

See your System Administrator for more information.

Warning: If those files already exist on the system disk, they will be overwritten by what you have just copied from the DAT/EXABYTE tape. Also note that some of the contents of these files may have changed from your previous operating system to IRIX 6.5.3, hence restoring should be used with EXTREME caution.

You are now ready to install the software!

APPENDIX A.

For Discreet Logic’s Software, removing all of these subsystems is at your discretion. One of these subsystems prevents the Discreet Logic product of running.
InPerson, PeoplePages, OutOfBox SoftWindows95, SoftWindows95_MS, Register
ViewKit21_dev, Welcome, accessx, annotator, appletalk, arraysvcs, cosmocreate
custlink dynaweb elec_svcs ftn_eoe gateway mbase_client motif21_dev
netwr_client, ns_fasttrack, nss_fasttrack, ns_admin, ocs_client, outbox
pcnfsd, pcp_eoe, performer_demo, roboinst, sgimeeting, sitemgr, systour, websetup whatsnew



5.[求助]如何用shell实现ftp的传送



--------------------------------------------------------------------------------

我现在要做一个备份的脚本文件,就是用ftp把unix系统里固定目录下几个文件传送到一win2000的机器里固定目录里。

我会用ftp,因为每天需要做,我不知道怎么用shell来实现。



--------------------------------------------------------------------------------

UNIX向Windows2000传数据,过程如下:

主要是设置Windows2000的ftp客户端。

在Windows2000,编辑以下文本文件:

1、ftp.bat,内容如下:
c:\winnt\system32\ftp -s:ftp.txt
exit

2、ftp.txt,内容如下:
open *.*.*.* ——*.*.*.*代表UNIX主机的IP地址
username ——username表示ftp用户(UNIX主机的有效用户)
password ——password表示ftp用户登录的密码
bin ——采用二进制格式传输数据,asci表示采用文本格式传输
cd /dir ——在UNIX主机上,切换到放置要传输的文件的目录/dir下
lcd d:\dir ——在Windows2000上,切换到放置文件的目录d:\dir
prompt ——关闭交互模式
mget *.* ——将/dir目录下的所有文件抓下来
bye ——退出ftp对话

编辑好以上两个文件,将ftp.bat文件和ftp.txt文件放在同一个目录下,然后按照以下步骤,启动Windows2000的自动执行服务:

开始->;程序->;附件->;系统工具->;任务计划,启动任务计划,按照提示在指定的时间执行ftp.bat文件,即可。

Enjoy it!


6.irix6.5怎么样实现上网?

--------------------------------------------------------------------------------

以root用户登录,
#vi /etc/hosts
加入一行
x.x.x.x<tab键>;[SGI机器的机器名]
(注意:通过more /etc/sys_id文件可以获得[SGI机器的机器名]。)
#vi /etc/config/ifconfig-1.options
加入一行
netmask 255.255.255.0(你的网络的子网掩码)
#vi /etc/config/static-route.options
加入一行
$ROUTE $QUIET add default <y.y.y.y>;
(y.y.y.y是网关地址)
#vi /etc/resolv.conf
加入一行
nameserver z.z.z.z
(z.z.z.z是DNS服务器的IP地址)

如果没有修改SGI机器的机器名的话,执行以下命令:
#/etc/init.d/network stop
#/etc/init.d/network start

如果修改了机器名,
#reboot

就可以与局域网内的其他的机器通过网络进行互相访问了。



cheerland       发表于: 2002-09-23 11:09    发表主题: irix6.5怎么样实现上网?   

--------------------------------------------------------------------------------

我们这里控制比较严,直接上网的机子是由网络中心分配IP的,剩下的共用一台socks5代理,并且要用一个代理转化软件上网,unix下有这种代理软件(就象sockscap32)吗?
如果没有,是不是没有办法?


tomdeng       发表于: 2002-09-24 14:09    发表主题: irix6.5怎么样实现上网?   

--------------------------------------------------------------------------------

1、用能出去的机器作路由转发;
2、用代理(如Netscape Proxy Server,squid等软件),不过这些都是Web-Caching代理,不是SOCK代理。

其中tomdeng兄的内容。
这个在可视化环境下在toolchest-system-system manage中的Networking and Connectivity中也可以改。




7.why?  



K@K       发表于: 2003-07-03 18:07    发表主题: why?   

--------------------------------------------------------------------------------

怎么总是提示我交换空间不够呢,以前没有这种情况啊,怎么能把交换空间变大一点。

-------------------------------------------------------------------------------

login as root:

#mkfile 1000m /swap1
#swap -a /swap1

Add such world in one line in the /etc/fstab file.
/swap1 swap swap pri=0 0 0


8.how to install openssh 3.6 on irix6   

sgi  发表于: 2003-07-11 13:07    发表主题: how to install openssh 3.6 on irix6   

--------------------------------------------------------------------------------

1.Download openssh,openssl,tcp_wrappers,libz,PAM from freeware.sgi.com
note: You should download fw_openssh-3.6.1p1.ta+ and fw_openssl-0.9.6j.tar+ from http://freeware.sgi.com/beta/

2.add sshd user
vi /etc/passwd
sshd:1274:20::/usr/people/sshd:/dev/null

3.install libz,PAM,tcp_wrappers,openssl , openssh

like following output:

Demo 35# inst

Default distribution to install from: /var/tmp/tardista000vs

For help on inst commands, type "help overview".


Inst 3.9 Main Menu

1. from [source ...] Specify location of software to be installed
2. open [source ...] Specify additional software locations
3. close [source ...] Close a software distribution location
4. list [keywords] [names] Display information about software subsystems
5. go Perform software installation and removal now
6. install [keywords] [names] Select subsystems to be installed
7. remove [keywords] [names] Select subsystems to be removed
8. keep [keywords] [names] Do not install or remove these subsystems
9. step [keywords] [names] Interactive mode for install/remove/keep
10. conflicts [choice ...] List or resolve installation conflicts
11. help [topic] Get help in general or on a specific word
12. view ... Go to the View Commands Menu
13. admin ... Go to the Administrative Commands Menu
14. quit Terminate software installation

Inst>; 1
Previous installation sites:

1 /var/tmp/tardista000vs
2 ./fw_tcp_wrappers-7.6-sgipl2.tardist
3 /var/tmp/tardista000S-
4 /tmp/fw_tripwire-1.2.tardist
5 /var/tmp/tardista000MR
6 /tmp/fw_netcat-1.10.tardist
7 /tools
8 /CDROM/dist
9 /CDROM/dist/dist6.5
10 none (no distribution, view installed products)
11 quit (no additional distributions, return to inst prompt)

Install software from: [/var/tmp/tardista000vs] ./fw_openssl-0.9.6i.tardist
Unpacking tardist file into temporary distribution directory /var/tmp/tardista0010O
Unpacking tardist file .. 0% 100% Done.
Reading product descriptions .. 0% 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13%
Reading /var/inst/hist
Reading product descriptions .. 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25%
Setting distribution to /var/tmp/tardista0010O
Reading product descriptions .. 50% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 96% 97% 98% 99% 100% Done.

Inst>; conf
There are conflicts which you may address now, or postpone:

fw_common.sw.security_fixes (1278987820) is incompatible with fw_tripwire.sw.tripwire (1235493520)
fw_common.sw.security_fixes (1278987820) is incompatible with fw_apache.sw.apache (1235918320)


If you have related upgrade products on another CD or other distribution,
you may choose to load it now.

Or, you can view these conflicts now, or postpone them until later in
this session. See the "delay_conflicts" preference for more information.

1. Address these conflicts now (show them)
2. Postpone these conflicts until later (hide them)
Please enter a choice [1]:

fw_common.sw.security_fixes (1278987820) is incompatible with
fw_tripwire.sw.tripwire (1235493520)
1a. Do not install fw_common.sw.security_fixes (1278987820)
1b. Remove fw_tripwire.sw.tripwire (1235493520)
1c. Open new distribution to resolve conflict

fw_common.sw.security_fixes (1278987820) is incompatible with
fw_apache.sw.apache (1235918320)
2a. Do not install fw_common.sw.security_fixes (1278987820)
2b. Remove fw_apache.sw.apache (1235918320)
2c. Open new distribution to resolve conflict


Resolve conflicts by typing "conflicts choice choice ..."
or try "help conflicts"


Inst>; conf 1a
No conflicts

Inst>; go
Reading fileset information .. 0% 8%
Pre-installation check .. 8% 9% 10% 11% 12% 13% 14% 15% 16%
Checking space requirements .. 16% 18% 20% 23% 24%
Pre-installation check completed
Installing/removing files .. 24%
Installing new versions of selected fw_openssl.man subsystems
Installing/removing files .. 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75%
Installing new versions of selected fw_openssl.sw subsystems
Installing/removing files .. 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92%
Installing new versions of selected fw_openssl.sw64 subsystems
Installing/removing files .. 93% 94%
Removing orphaned directories
Running exit-commands .. 94%
fw_openssl.man.relnotes: ( $rbase/usr/freeware/relnotes/shared/mkindex.sh )
Running exit-commands .. 99%
Checking dependencies .. 99% 100% Done.
Installations and removals were successful.
You may continue with installations or quit now.

Inst>; quit
The tardist distribution ./fw_openssl-0.9.6i.tardist has been unpacked as /var/tmp/tardista0010O.
Do you want to save this distribution for future installations,
or remove it?
1. Save this distribution
2. Remove this distribution
Please enter a choice [2]:
Requickstarting ELF files (see rqsall(1)) .. 0% 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 40% 55% 70% 85% 99% 100% Done.


4.Let sshd auto start with system
#chkconfig fw_sshd on

That's all,


Good luck everyone!
SGI

论坛徽章:
0
2 [报告]
发表于 2003-09-17 10:53 |只看该作者

IRIX版精华整理

好,支持,

论坛徽章:
0
3 [报告]
发表于 2003-09-18 13:01 |只看该作者

IRIX版精华整理

不错

论坛徽章:
0
4 [报告]
发表于 2003-11-30 02:05 |只看该作者

IRIX版精华整理

不錯

论坛徽章:
0
5 [报告]
发表于 2003-12-22 18:25 |只看该作者

IRIX版精华整理

不错到是不错,不过没有必要整理成这样吧。

论坛徽章:
0
6 [报告]
发表于 2004-02-27 10:55 |只看该作者

IRIX版精华整理

very thanks for your hard and good work!
wish success!

论坛徽章:
0
7 [报告]
发表于 2004-08-05 10:47 |只看该作者

IRIX版精华整理

我还需要学习啊

论坛徽章:
0
8 [报告]
发表于 2004-09-24 09:16 |只看该作者

IRIX版精华整理

版主辛苦!

论坛徽章:
0
9 [报告]
发表于 2004-12-05 19:00 |只看该作者

IRIX版精华整理

ding.....

论坛徽章:
0
10 [报告]
发表于 2007-02-26 14:10 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP