Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Friday, January 6, 2012

Kurobox Restore

**** Procedure to restore iNAS *****

Dis-assemble the Kurobox and place a new SSD / SATA drive

Start the machine and wait until power LED blinks

Hit start button twice this will take the machine to EM mode

Telnet using root and FTP using operator / operator

Make partitions as desired and copy following files
* debianlenny-2.6.25.1-kuroHG-20100722.tgz
* devices.tar
* 2.6.31.1-ppc.tar.gz

There are available on iBackup

Uncompress the package and its done

Sunday, January 1, 2012

Setup a NFS server and client

HOWTO: Setup a NFS Server & Client
In this tutorial, outlines the steps involved in setting up a NFS server & client. Typically this will be used to mount shares on the network, could be user home directory when authenticating via LDAP or media server.

This guide assumes a Debian Server -hostname iNAS- is ready to be converted as a NFS server.

Setup NFS Server

1. Logon to iNAS using root
2. Install NFS server package
~# apt-get install nfs-kernel-server
3. Create shared directory
~# mkdir -p /share /share/pictures /share/music /share/movies
4. Export this directory on exports file, vi /etc/exports and add the following line
/media                *(rw,sync,no_subtree_check,no_root_squash)
5. Restart NFS Service
~# service nfs-kernel-server restart

Setup NFS Client


1. Install NFS client
~# apt-get install nfs-common
2. Add NFS mount on fstab; edit /etc/fstab and add following line
iNAS: /share           /media        nfs  defaults 0 0
3. Restart client machine to confirm auto-mount works or mount the /media directory
~# mount /media
4. Check if it worked using df command