Mar 1, 2004

             onlsbc1, �ͥåȥ���֡��ȥ����ƥ�θ�Ƥ
          			---  �ͥåȥ���֡��� #15
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               (http://www-online.kek.jp/~inoue/para-CAMAC/
                                   Work/SBC-Linux35.html)



                        �⥨�ͥ륮����®�︦�浡��
                            ��γ�Ҹ��ҳ˸����
                         ʪ��������饤�󥰥롼��
                                ��� ����

        ��Ū

	    SBC-Linux34.html�Ǥκ�Ȥˤ�ꡢ������¦�ΣϣӤ� Red Hat 9 �Ȥ���
	    ���饤�����¦�ΣϣӤ� Debian GNU/Linux 3.0 ��ư���ǥ������쥹��
	    ���ƥ���ۤ�����  �����Ǥϡ�SBC-Linux33.html�Ǥκ�ȤǺ�����������
	    �ե������������������ƹ������롣


        ����

        (1). �ǥ������쥹���饤������ѤΥե����륷���ƥ��ǧ
          (1-1).  /tftpboot�ǥ��쥯�ȥ겼�γ�ǧ
        (2). ���̥ե�����κ���
          (2-1).  onlpc03:/home/toyo�ǥ��쥯�ȥ겼�Υե�����


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


 (1). �ǥ������쥹���饤������ѤΥե����륷���ƥ��ǧ

	�ǥ������쥹���饤������ѤΥե����륷���ƥ�ϥ����ͥ��ޤ�ư��̥ե���
	��ˤ��Ƥ��������������Ƥ����С��桼���Ϥ��Υե������Ÿ����������ǡ�
	���饤�����¦�Υե����륷���ƥ�ι��ۤϺѤޤ��뤳�Ȥ��Ǥ��롣 ��ϡ�
	������¦�ι��ۤ�����Τߤ�Ԥ��С�CC/NET�ѤΥǥ������쥹�����ƥ������
	�뤳�Ȥ��Ǥ��롣

	�����Ǥϡ�SBC-Linux33.html�Ǥκ�ȤǺ�������diskless-toyodi.tar.gz ����
	�ե����������������ƺƹ������롣


   (1-1).  /tftpboot�ǥ��쥯�ȥ겼�γ�ǧ

[inoue@onlpc03 tftpboot]$ pwd
/tftpboot
[inoue@onlpc03 tftpboot]$ ls -l
��� 12
drwxr-xr-x    2 root     root         4096  2�� 26 15:34 130.87.153.10
drwxr-xr-x   15 root     root         4096  2�� 23 16:06 130.87.153.3
drwxr-xr-x    3 root     root         4096  5�� 20  2003 X86PC
[inoue@onlpc03 tftpboot]$ ls -l 130.87.153.3
��� 1996
-rw-r--r--    1 root     root       593097  1�� 13 09:03 System.map
drwxr-xr-x    2 root     root         4096 11�� 28 09:06 bin
-rw-r--r--    1 root     root      1371992  1�� 13 09:04 bzImage
drwxr-xr-x   10 root     root        24576  2�� 29 06:46 dev
drwxr-xr-x   71 root     root         4096  2�� 26 16:46 etc
drwxr-xr-x    3 root     root         4096  2�� 23 16:12 home
drwxr-xr-x    5 root     root         4096 11�� 28 09:06 lib
drwxr-xr-x    2 root     root         4096  1�� 19 10:10 mnt
drwxr-xr-x    2 root     root         4096 12�� 25 09:42 proc
drwx------    4 root     root         4096  2��  2 13:29 root
drwxr-xr-x    2 root     root         4096 11�� 28 09:06 sbin
drwxrwxrwt    6 root     root         4096  3��  1 13:33 tmp
drwxr-xr-x   14 root     root         4096  2��  9 13:51 usr
drwxr-xr-x   15 root     root         4096  2��  9 13:26 var
[inoue@onlpc03 tftpboot]$
[inoue@onlpc03 tftpboot]$ ls -l 130.87.153.3/home
��� 4
drwxr-sr-x   11 1001     1001         4096  3��  1 13:33 toyo
[inoue@onlpc03 tftpboot]$

[inoue@onlpc03 tftpboot]$ cat /etc/exports
#
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#/tftpboot/130.87.153.3 130.87.0.0/255.255.252.0(rw,no_root_squash)
/tftpboot/130.87.153.3 130.87.153.3(rw,no_root_squash)
/tftpboot/130.87.153.10 130.87.153.10(rw,no_root_squash)

[inoue@onlpc03 tftpboot]$

[inoue@onlpc03 home]$ pwd
/tftpboot/130.87.153.3/home
[inoue@onlpc03 home]$ ls -l
��� 4
drwxr-sr-x   11 1001     1001         4096  3��  1 13:33 toyo
[inoue@onlpc03 home]$ ls -la toyo
��� 80
drwxr-sr-x   11 1001     1001         4096  3��  1 13:33 .
drwxr-xr-x    3 root     root         4096  2�� 23 16:12 ..
-rw-------    1 1001     1001            0  2�� 26 16:37 .ICEauthority
-rw-------    1 1001     1001            0  2�� 26 16:37 .Xauthority
-rw-------    1 1001     1001         2395  2�� 27 17:43 .bash_history
-rw-r--r--    1 1001     1001          817  2��  2 14:08 .bash_profile
-rw-r--r--    1 1001     1001         5205  2��  2 14:08 .bashrc
-rw-r--r--    1 1001     1001         1031  2�� 26 15:58 .gtkrc-kde
drwx--S---    4 1001     1001         4096  2��  2 15:20 .kde
-rw-------    1 1001     1001          154  2��  2 15:19 .kderc
drwxr-sr-x    3 1001     1001         4096  2��  2 15:20 .mcop
-rw-------    1 1001     1001           31  2�� 26 15:58 .mcoprc
-rw-r--r--    1 1001     1001            0  3��  1 09:57 .nexrc-m17n-canna
drwxr-sr-x    2 1001     1001         4096  2��  2 15:19 .qt
drwx--S---    2 1001     1001         4096  2�� 10 16:11 .ssh
-rw-r--r--    1 1001     1001            8  2�� 26 15:57 .wmrc
-rw-------    1 1001     1001         2219  2�� 26 16:37 .xsession-errors
drwx--S---    3 1001     1001         4096  2�� 26 16:37 Desktop
drwxr-xr-x    2 1001     1001         4096  1�� 29 15:21 camac
drwxr-xr-x    2 1001     1001         4096  1�� 28 16:01 check
drwxr-xr-x    4 1001     1001         4096  1�� 29 16:34 public_html
drwxr-xr-x    2 1001     1001         4096  1�� 29 15:29 remote-camac
[inoue@onlpc03 home]$

	/tftpboot/130.87.153.3/home/toyo�ǥ��쥯�ȥ�� .nexrc-m17n-canna�ե�����
	�����֤�����

	SBC-Linux33.html�Ǥκ�Ȼ���/tftpboot/130.87.153.3/home/toyo�ǥ��쥯�ȥ�
	���Υե�����������/tftpboot/130.87.153.3�ǥ��쥯�ȥ겼�Υե�����ϡ���
	�Ǥ�diskless-rootfs.tar.gz���̥ե�����Ȥ��ƺ������Ƥ��롣�����äơ�����
	�Ǥ�/tftpboot/130.87.153.3/home/toyo�ǥ��쥯�ȥ겼�Υե�����Τߤ򰵽�
	�ե�����˺�����ľ����

	������¦�ΣϣӤȥ��饤�����¦�ΣϣӤ��ۤʤäƤ�����Υǥ������쥹����
	�ƥ���Ѥ���ݤ����ˤȤ��ơ�/home/toyo�ǥ��쥯�ȥ�ϡ�/tftpboot/**.**.
	**.**/�ǥ��쥯�ȥ겼���֤����Ȥˤ��롣 �������뤳�Ȥǡ��Ķ�����ե�����
	�λȤ�����������¦�ȥ��饤�����¦�ȤǰۤʤäƤ����Ȥ��Ƥ⡢������򤱤�
	���Ȥ��Ǥ��롣

	
 (2). ���̥ե�����κ���

	/home/toyo�ǥ��쥯�ȥ겼�����ե�����ΰ��̥ե������������롣

	���̥ե�������������ˤ����äơ��ǥ������쥹���饤����ȤΥ����ƥ��
	����åȥ����󤷤Ƥ�����

root@onlsbc1:/home/toyo# shutdown -h now
root@onlsbc1:/home/toyo#
Broadcast message from root (pts/0) (Mon Mar  1 14:20:13 2004):

The system is going down for system halt NOW!
			:
			:
Power down


   (2-1).  onlpc03:/home/toyo�ǥ��쥯�ȥ겼�Υե�����

	������¦�� /tftpboot/130.87.153.3/home �ǥ��쥯�ȥ겼�򰵽̥ե������
	���롣

[root@onlpc03 home]# mount onlpara:/home2/onlpara-wrk /mnt
[root@onlpc03 home]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdb2             22801684   6398216  15245184  30% /
none                    192292         0    192292   0% /dev/shm
onlpara:/home2/onlpara-wrk
                      22659860   5351572  16157232  25% /mnt
[root@onlpc03 home]# ls -l /mnt/root/diskless
��� 342688
-rw-r--r--    1 nfsnobody nfsnobody 350241216  2�� 12 09:31 diskless-rootfs.tar.
gz
-rw-r--r--    1 nfsnobody nfsnobody   296777  2�� 12 09:47 diskless-toyodi.tar.g
z
-rw-r--r--    1 nfsnobody nfsnobody      479  2�� 10 15:57 file1
-rw-r-----    1 nfsnobody nfsnobody      388  2�� 10 15:57 file2
-rw-r--r--    1 nfsnobody nfsnobody     1166  2�� 10 15:56 file3
-rw-r-----    1 nfsnobody nfsnobody      755  2�� 10 15:56 file4
[root@onlpc03 home]#

[root@onlpc03 home]# pwd
/tftpboot/130.87.153.3/home
[root@onlpc03 home]# ls -l
��� 4
drwxr-sr-x   11 1001     1001         4096  3��  1 13:33 toyo
[root@onlpc03 home]# tar cf /mnt/root/diskless/diskless-toyodi-Mar12004.tar toyo
[root@onlpc03 home]#

[root@onlpc03 diskless]# pwd
/mnt/root/diskless
[root@onlpc03 diskless]# ls -l d*
-rw-r--r--    1 nfsnobody nfsnobody 350241216  2�� 12 09:31 diskless-rootfs.tar.
gz
-rw-r--r--    1 nfsnobody nfsnobody  1361920  3��  1 14:33 diskless-toyodi-Mar12
004.tar
-rw-r--r--    1 nfsnobody nfsnobody   296777  2�� 12 09:47 diskless-toyodi.tar.g
z
[root@onlpc03 diskless]# 
[root@onlpc03 diskless]# gzip diskless-toyodi-Mar12004.tar
[root@onlpc03 diskless]# ls -l d*
-rw-r--r--    1 nfsnobody nfsnobody 350241216  2�� 12 09:31 diskless-rootfs.tar.
gz
-rw-r--r--    1 nfsnobody nfsnobody   298435  3��  1 14:33 diskless-toyodi-Mar12
004.tar.gz
-rw-r--r--    1 nfsnobody nfsnobody   296777  2�� 12 09:47 diskless-toyodi.tar.g
z
[root@onlpc03 diskless]#

	CC/NET�Υǥ������쥹���饤������Ѱ��̥ե����������˺����Ǥ�����

[root@onlpc03 diskless]# scp diskless-toyodi-Mar12004.tar.gz inoue@onlgw:/home/i
noue/public_html/Parallel-CAMAC/kits
inoue@onlgw's password:
diskless-toyodi-Mar1 100% |*****************************|   291 KB    00:00
[root@onlpc03 diskless]# scp diskless-toyodi.tar.gz inoue@onlgw:/home/inoue/public_html/Parallel-CAMAC/ki
ts
inoue@onlgw's password:
diskless-toyodi.tar. 100% |*****************************|   289 KB    00:00
[root@onlpc03 diskless]# scp diskless-rootfs.tar.gz inoue@onlgw:/home/inoue/public_html/Parallel-CAMAC/ki
ts
inoue@onlgw's password:
diskless-rootfs.tar. 100% |*****************************|   334 MB    01:46
[root@onlpc03 diskless]#

---xxxx