Jumaat, 8 April 2011

TUGASAN 5: My preffered os


INSTALLATION OF UBUNTU

1)      Download the Ubuntu ISO from http://www.ubuntu.com/getubuntu/download and save to your desktop.
2)      Burn the ISO image to a blank CD using Roxio CD creator or similar:


    3) Run the CD from “My Computer” – the CD should ask permission to run at which   
            point you’ll see this option screen:

           
4)      Now configure your installation using the simple settings options. You can specify the location of the Ubuntu installation on your Windows partition, the size of the Ubuntu installation, the Ubuntu flavour (Ubuntu, Kubuntu, Xubuntu, etc), your preferred language, and a username and password for the Ubuntu system.

5)      Format your USB stick with a FAT32 partition from Windows. You can get to the format dialogue by opening My Computer and right mouse clicking the removable drive icon. Click “Format” and follow the settings in the image below. You need a minimum 2gb USB stick.

6)      The new version of Ubuntu isn’t in the Distribution list supplied with UNetbootin yet, so use the downloaded Ubuntu ISO from earlier on. Add the ISO using the “Diskimage”, make sure your USB drive is selected below and click OK.
7)      The ISO transfers to the USB pretty quickly, so soon after you click OK you’ll see this screen:

8)       That’s it – when the installation process is complete, restart your computer and make sure it’s set up to boot from USB. On my HP Laptop, pressing F9 on the boot screen shows a boot order menu. Selecting “USB Hard Drive” follows a black screen, an Ubuntu logo, and finally, your new Ubuntu desktop appears.
9)       Click “install” on the live desktop (top left) :

10)  Choose your language in the welcome screen

11)  Choose your location

12)  Choose your keyboard layout

13)  Set up your disk partition. This is probably the most “technical” part of the installation., use the largest continuous free space for option works nicely:

14)  Choose your username and password:

15)  Migrate your Windows documents and settings

16)   You’re now ready to install your new Ubuntu installation

17)  When the installation has finished, restart your computer (you’ll be instructed to remove your cd rom or USB drive). You’re now ready to begin using Ubuntu! 


TUGASAN 3:FILE MANAGEMENT



File storage management
A file management system is that set of system software that provides
services to users and applications related to the use of files. Typically, the only
way that a user or application may access files is through the file management
system. This relieves the user or programmer of the necessity of developing
special purpose software for each application and provide the system with a
means of controlling its most important asset.[GROS86] suggests the following
objectives for file management system:
    To meet the data-management needs and requirements of the user, which
include storage of data and the ability to perform the operations listed
earlier
    To guarantee, the extent possible that the data in the file are valid.
    To optimize performance both from the system point of view in terms of overall throughput and from the user’s point of view in terms of response time
    To provide I/O support for a variety of types of storage device
    To minimize or eliminate the potential for lost or destroyed data
    To provide a standardized set of I/O interface routines
    To provide I/O support for multiple users in the case of multiple–user
Systems.

CONCEPT AND DESIGN
Computer can store information on several different storage media such as
magnetic disks, magnetic tapes and optical disks. So that the computer systems
will be convenient to use, the operating system provides a uniform logical view
of information storage. The operating system abstract from the physical
properties of its storage devices to define a logical storage unit, the file. File are
mapped, by the operating system, on to physical devices. This storage device are
usually non volatile, so the contents are persistent thru power failures and
systems reboots.

FILE DIRECTORY

a)      single directory

The simplest directory structure is the single-level directory. All files are
contained in the same directory, which is easy to support and understand. A
single level directory has significant limitation, however, when the number of
the file increases or when there is more than one user. Since all files are in the
same directory, they must have unique names. If we have two users who call
their data file test, then the unique name rule is violated.




b)two level directory

The major disadvantage to a single level directory is the confusion of files
names between different users. The standard solution is to create a separate
directory for each user.
In the two level directory structures, each user has her own user file
directory (UFD). Each UFD has a similar structure, but lists only the files of a
single user. When a user job starts or a user log in, the system master file
directory (MFD), is search. The master file directory is index by user name or
account number, and each entry point to the UFD for that user. When a user
refers to a particular file, only his own UFD is search. Thus different users may
have files with the same name, as long as all the file names within it UFD are
unique.

c) multilevel directory
Once we have seen how to view a two level directory as two-level tree, the
natural generalization is to extend the directory structure to a tree of a arbitrary
Masterheight. This generalization allows users to create their own subdirectories and to
organize their files accordingly. The MS-DOS system for instance is structured
as a tree. In fact a tree is the most common directory structure. The tree has a
root directory. Every files in the system has a unique path name. A path name is
the path from the root through all the sub directories to a specified file.

 Linking Block











FILE MAP


BLOCK INDEX