Thursday, September 17, 2009

installation process

open source


Installing Ubuntu

Now that you have the Desktop CD, you'll need to reboot your computer to use Ubuntu.

Your computer's BIOS must be set to boot from CD first; otherwise, Windows will just load up again. To get into the BIOS settings, you usually have to press one of these keys during boot-up: Escape, F1, F2, F12, or Delete. Usually your computer will tell you which key to use.

Once your BIOS is configured to boot from CD first, if you have Ubuntu in the drive, you should see this screen. Select your language.


If you have at least 512 MB of RAM, you may want to select Try Ubuntu without any change to your computer, as it will allow you to do other things (check your email, browse the web) while you're installing Ubuntu.

If you have only 256 MB or 384 MB of RAM, you should select Install Ubuntu. This will give you the same installation screens you see below, but you won't have the rest of the Ubuntu live session running as well.

If you have less than 256 MB of RAM, you should use the Alternate CD to install Ubuntu, or do a barebones installation.


After that, you should see a progress bar as the CD prepares to launch the installer.


Click the Install on the desktop to begin the installation.


Answer the questions as best you can. Most of them should be self-explanatory.


By default, the installer will give you the option to install Ubuntu side by side with whatever operating system is currently on your computer. You can choose that if you want to set up a dual-boot, but as I stated before, the safest dual-boot is probably with Wubi, unless you know what you're doing (in which case you shouldn't be looking at this guide).

For simplicity's sake, you should select Use the entire disk. Or, if you don't want to erase your entire drive, click Quit and then boot back into Windows and set up a dual-boot using Wubi.

If you are concerned about ever having to reinstall Ubuntu, but you want to make sure your user settings and files are preserved, check out these details on creating a separate /home partition during this part of the installation.


More straightforward questions.


Wait for the installation to finish. This part generally takes 10 to 30 minutes, depending on the speed of your computer.


After the installation is done, you have the option to keep using your live session of Ubuntu or to reboot and start using the installed version of Ubuntu.


After you reboot, don't be alarmed if you see some text boot messages.


Just wait for Ubuntu to load.,,..

And then after you log in, your Ubuntu will be ready for you to use

installation process

Solaris installation

Step by step guide to Solaris installation Solaris installation poses a challenges to the new Solaris sysadmins who have never done the installation of Solaris before . Though the installation itself is simple and straight forward but doing it the first time comes with its own anxiety associated with unexplored and unknown things .

The idea of this article is to introduce you with the procedure and sequence of event Solaris installation to build enough confidence to finish the installation on your own.

1. Before you begin

For Solaris installation on standalone Sun machine you need the following besides sun cpu :

A) Sun Monitor and Sun Keyboard

OR

For carrying the installation through the serial port A of Sun (ttya)

Dumb Terminal or PC with serial port communication software like HyperTerminal

AND

A null modem cable ( Pin 2 & 3 crossed 5 common ground in 9 Pin to 9 pin ; Pin 7 is common ground in 25 Pin connector ) connecting sun's serial port A with PC serial port.

B) You will also require a IP address, netmask and a host name for your system.

2. Getting Started

Installation starts at OK> prompt & you can get to ok> using any of the following method :

1. by pressing Stop A key sequence on a Sun Keyboard.

2. typing #init 0 if your system boots up directly .

3. Pressing ctrl-break or shift-break on a pc keyboard if using pc as

console through serial port.

4. If auto-boot feature is enabled system directly boots up

and gives you a # prompt .You can disable auto-boot so next time it

stays at ok prompt for starting installation.

#/usr/platform/sun4u/bin/eeprom auto-boot?=false

reboot the system.

3. Starting the installation

Insert the installation media - OS CD in CD drive and type boot cdrom at ok> prompt .

Ok>boot cdrom

The first phase begins with system identification and gathers information about the system from the the user .System starts booting up and after initialization it asks for language and locale also terminal type in case of PC/terminal

Select your locale and DEC VT100 terminal type for terminal selection

Further installation through the terminal require response to the

selections through ESC and function keys and space bar which are

mentioned on the installation screen.

On the next screens, you are to identify the system as networked or non-networked, and set the default time zone and date/time. After this following host information is required :

A) A host name for the system

B) Whether the system is networked if yes you will have to

provide the IP address & netmask of this machine.

Next you will be asked to select the name services

Name services

[ ] NIS+

[ ] NIS

[ ] DNS

[X ] None

Select the service if you have complete details like domain names etc or select none to configure after installation.

You have to select a distribution type from among the choices choices

4. OS distribution & Disk configuration

After identification is complete the installation process proceeds on to the OS and disk configuration and need your input for these settings. Selection depends on role of your machine

Typical space requirement for Solaris 7 is given here.

[ ] Entire Distribution plus OEM support 64-bit 1242.00 MB (F4 to Customize

[X] Entire Distribution 64-bit .....…...….1215.00 MB

[ ] Developer System Support 64-bit.... 1154.00 MB

[ ] End User System Support 64-bit .….. 765.00 MB

[ ] Core System Support .............. .334.00 MB

  • Entire distribution with OEM has all software with some third party software
  • Entire distribution has all software without third party software .
  • Developer system has run time libraries for C software etc.
  • End user has X windows and CDE environment .
  • Core system is without X windows softwares etc.

If you are not sure select entire distribution.

You will be presented with choice to select the boot disk among the disks present in the system ,unless you have reasons select the c0t0d0 at boot disk.[ X ] c0t0d0 (17269 MB) boot disk 17269 MB

[ ] c0t1d0 (17269 MB) 17269 MB

overlap partition represents entire disk and is slice s2 of the disk.

If any of the disk contain a preexisting partition you will be given a choice to preserve the partition .

Next the current layout is given ( if existing ) and you are asked to select between Automatic and Custom layout of disk partitions.

  • Automatic layout make a single partition of entire boot disk .
  • Customize option gives and option to create the partitions and select the sizes .

Things to keep in mind while doing interactive or custom installation

  • Additional space is required in /var & /home if server is to handle mail and printing as mail and print files are formed in /var & if the user home directories are to be located on /home partition

A sample partition table may look like following . File system/Mount point Disk/Slice Size

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

/ c0t0d0s0 300 MB

swap c0t0d0s1 2000 MB

overlap c0t0d0s2 17269 MB

/usr c0t0d0s3 2000 MB

/opt c0t0d0s4 1000 MB

/var c0t0d0s5 1000 MB> The swap partition size depends on the size of RAM in the system if you are not sure of its size keep it double the RAM or more than RAM in the system.

> If you are not sure of individual partition sizes of / , /usr /opt & /var make one partition as / and keep its size sufficiently higher than the distribution size you have selected in earlier steps . Always keep in mind the future software that you might have to install like compilers applications etc and log files that will be generated and accumulate in /var directory or partition.

After you have specified the partition sizes it gives summary and error if anyInstallation Option: Initial

Boot Device: c0t0d0s0

Client Services: None

Software: Solaris 2.7, Entire Distribution

File System and Disk Layout:

/ c0t0d0s0 300 MB

swap c0t0d0s1 2000 MB

/usr c0t0d0s3 2000 MB

/opt c0t0d0s4 1000 MB

/var c0t0d0s5 1000 MB

one more question is asked about rebooting

[X] Auto Reboot

[ ] Manual Reboot

Afterwards it starts configuring disk making partitions and installing software indicating the progress in a table .MBytes Installed: 700.66

MBytes Remaining: 0.00

Installing:

0 20 40 60 80 100 After the installation is complete it customizes system files , devices ,logs , installs patches which are there in OS CD for that release. You can install recommended latest patches later

System then reboots or ask you to reboot depending upon the choice selected earlier .

5. After Installation

After rebooting it asks for new root passed and comes to console prompt where you can login as root install patches ,additional softwares , make user etc. etc.

installation process

Windows OS

wINDOWS 9x INSTALLATION guide

I've discovered that many people don't really have a "Good" way of installing Windows 95, Windows 95 release 2, or Windows 98. Here's my attempt to rectify that situation! Interestingly, the basic process is pretty much the same for all versions. I will refer to all these packages as Windows 9x. Individual details I'll mention when appropriate.

These instructions assume a CD-ROM on the installation machine.

But I don't HAVE a CD-ROM

Get one. I won't help you if you don't have a CD-ROM on a Windows 95 machine. CD-ROMs are very cheap now, and my time is not.

Step 1: Start from a clean computer.

Don't do upgrades. After a few experiences, I won't waste my time trying to fix a Windows Upgrade. It works sometimes. Perhaps even often. However, nowhere near enough to be worth subjecting yourself to the problems. And, even if it works initially, all the garbage from older versions of Windows will often give you nightmares some day.

But I only have the UPGRADE version of Windows 9x!!

Yes. I'm sorry. Microsoft, in their infinite monop..er..wisdom has decided to only sell Windows 95 as an Upgrade to consumers. You would think they had learned this doesn't work properly with Windows 95. The good news is the Upgrade versions only ask you to PROVE that you have the old version, you don't have to INSTALL the old version of the software. Windows 95 Upgrade will ask you to insert Disk 1. I understand the Windows 98 upgrade does something else, not sure what, but I understand it is more unpleasant. Oh, well.

Now, inspite of the official ban against selling full OEM versions to end users, many, many small computer stores will HAPPILY sell you a copy of Windows 9x OEM. I will not name any names. But if you see a small hole-in-the-wall computer store, odds are they will sell it to you. Forget the big places, though.

Another reason to avoid the Windows 95 upgrade: It is only available in the origional release. This means if you want anything cool from Release 2 (OSR2 as some people call it, Release B as others call it), you HAVE to go through less than legitimate channels. There is no way to get Win95r2 legimiately other than to buy a computer with it (and then you can only use it on that one computer...)

Update: It *is* possible to buy a "legitmate" copy of Windows 98 full release, box and all. 'Bout time.

The computer should have NO \WINDOWS directory on it. IF you might have some data lost in an upgrade, you could Rename the \WINDOWS directory to some other name, if you so desire.

But, I don't WANT to wipe my system out!

You like what you have? Then don't upgrade! Keep it! Or, don't come whining to me about the results.

Step 2: Boot machine from floppy, prepare hard disk, get CD-ROM running

Windows 95 r2 and Windows 98 include a boot floppy.
Windows 98: The Windows 98 boot floppy includes several popular CD-ROM drivers, including some SCSI controllers and a driver which appears to work with most IDE CD-ROMs.
Update: It is possible to boot off the Windows 98 CD-ROM. To my surprise, the boot disk and the boot image on the CD-ROM are different. Go figure. However, either source works pretty well.
Windows 95r2: The boot disk doesn't include any CD-ROM drivers...you will have to make a copy of this disk (DISKCOPY) on another computer, and provide your own CD-ROM driver for your own CD-ROM.
Windows 95: If you are using Windows 95 release 1, you will have to provide your own boot disk. "Good" news: Since Win95 only supports FAT16, you can use your old DOS boot disks for this.

Boot off the floppy. If this disk has CD-ROM support, you may wish to hit to keep from loading it -- we won't use it on this boot
If appropriate, FDISK the drive, create your partition, make it "active"
Windows 95r2 & 98: If you run FDISK and have a hard disk bigger than 512M, you will be asked if you want to use FAT32. I recommend yes, do use FAT32. I have *never* come across an application which doesn't work with FAT32, only a couple utilities that normal people would be better off without. If your primary purpose is games and recreation, this may not apply -- games are more picky than business apps. FAT32 lets you use larger hard disks as one partition, and stores data much more efficiently than FAT16 does.
After FDISKing the drive, you need to reboot the machine, booting off a disk with CD-ROM support.

Format the hard disk, using
FORMAT C:/S
This not only formats the hard disk, but puts a system on it so it can be booted.

I have been told that I should say here DON'T REBOOT YOUR SYSTEM YET! (Hi, K.O.B.! 8-)

Step 3: Copy the installation files

Go to drive C:, and create a directory called C:\WINDOWS\OPTIONS\CABS. Note, this has to be done in three steps, you just can't make all three nested directories.
Commands for the DOS command line challenged: You type the stuff in lower case and Italics
A:\>C:
C:\>md windows
C:\>cd windows
C:\WINDOWS>md options
C:\WINDOWS>cd options
C:\WINDOWS\OPTIONS>md cabs
C:\WINDOWS\OPTIONS>cd cabs
C:\WINDOWS\OPTIONS\CABS>

Or, if you really know what you are doing, try this. Note: Some careful use of the F3 key will do wonderous things here...
A:\>C:
C:\>md windows
C:\>md windows\options
C:\>md windows\options\cabs
C:\>cd windows\options\cabs

Excuse me, that's one convoluted directory path! Where did you come up with that brain dead location?

No arguments...it is a pain to type. However, somehow, it became a standard location to put these files. You can put them anywhere, but if someone who knows Windows sits down in front of your machine, they will probably think to look in this location. On more than one occation, I didn't notice that someone put them in a DIFFERENT location. Most OEMs use this location. If you wish to be a free thinker, I would suggest, rather than messing with this, try a REAL operating system, such as Linux or OS/2

Copy the contents of the WIN95 directory on the CD-ROM to this directory.
C:\WINDOWS\OPTIONS\CABS>copy d:\win95\*.*
Or, if loading Windows 98,
C:\WINDOWS\OPTIONS\CABS>copy d:\win98\*.*

When this is done, eject the floppy (or CD) and reboot your computer.

Step 4: Run SETUP

At this point you machine should be booted from the hard disk. No device drivers of any kind should be loaded. There should be NO CONFIG.SYS or AUTOEXEC.BAT file. This is a clean boot. You don't want Windows to mess up and try to keep anything you have already loaded. This particular re-boot is very critical -- if you booted off the floppy, Windows Setup will assume you will continue to boot from the floppy, and funny things will happen later.

After the machine has rebooted, go back to the C:\WINDOWS\OPTIONS\CABS directory and type SETUP.
C:\>cd \windows\options\cabs
C:\WINDOWS\OPTIONS\CABS>setup

At this point, the Windows 9x startup program will start.

Windows 95, both releases: The first complication is when SCANDISK runs, the first part of the setup process. It will complain that the system does not have HIMEM.SYS loaded, and thus can't run. This is quite O.K., as your hard disk has just been wiped out, and if something corrupted the hard disk so far, you have hardware problems. Tell the system to continue anyway. Windows 98 doesn't seem to have this problem, interestingly. If you have a very small hard disk, you may not see this message.

There are a few other points of interest. Setup *may* will ask if your system has a CD-ROM, a Network card and/or a sound card. General rule: Don't select ANY of these, even if you DO have any of those devices.

WHY?

Windows 95 was developed in 1994. At that time, many or perhaps even most CD-ROMs were propriatary, not IDE or SCSI. Many odd sound cards existed, as did many odd network cards. By checking any of those options, you are telling Windows to do a more complete scan for these devices. This not only slows down this step, it also GREATLY increases the chances the system will hang by "probing" for one device and crashing another device, and thus your computer.
If you have an IDE or SCSI CD-ROM, it will be found anyway.
If you have a Plug-and-Play sound card or network card that is supported by Windows, it will be found anyway.
If you have a device NOT supported by Windows, Plug-and-Play or not, checking these boxes won't help.
In short, in setting up a modern machine, checking these boxes will only hurt, not help. IF you are using an old propiatary CD-ROM (i.e., Teac, Soundblaster 2x, Mitsumi 1x, etc.), you might gain by checking the CD-ROM box. If the system locks, hey, I warned you.

At one point, Setup will ask you where you wish to install Windows. NOTE it wants to put it in C:\WINDOWS.000. This is bad. Choose "Other Directory", and change it to C:\WINDOWS. Windows will protest and complain, that's o.k., tell it to do it anyway.
WARNING: Make sure you delete the period! In theory, "C:\WINDOWS" and "C:\WINDOWS." (see the period?) are the same location, although some programs will go absolutely bonkers if you leave that period in there. Ask me, I know.

Let the install complete, and reboot as needed.

Step 5: Cleanup

Whaddya mean cleanup? Aren't we done??

Nope. If *all* your hardware is recognized by Windows 9x directly, you are done, but that is pretty rare.

Go to the System Control Pannel. Look under Device Manager. You will very possibly see a yellow question mark labled "Other Devices". This is where Windows 9x Setup filed all things it noticed but didn't recognize. These devices are known, but no drivers were loaded. Usually there is a semi-descripive title, such as "PCI Ethernet card" or "SCSI Adapter". You may see some devices labled "Unknown device" -- save these for last. Or ignore them. I haven't figured out why some main boards put those up -- sometimes, they may be USB ports, other times, they are bizzare functions on otherwise plug-and-play cards (One of the many variations of the Soundblaster 16 board leaves two mystery "Other Devices" at I/O address 100 and 101 which can be ignored)

There are two things you can do here: 1) pick the device, and click "Change driver". Insert the disk or CD-ROM, and point the system to the drive and the proper driver. Option 2) Delete the device, and let Windows notice it on the reboot, and install the drivers then.

Note that if you try to install video, sound or network card drivers before doing this, you will probably fail. Why? Because the "resources" used by the cards in question are already in use by these "Other Devices". You can't load two devices using the same resources, therefore you can't load the drivers before you remove them from "Other Devices".

Once this is done, if you are snug on disk space, you can delete *.EXE, *.BIN, and basicly everything but *.CAB from the C:\WINDOWS\OPTIONS\CABS

Why?

Well, those files won't be used again, unless you need to reinstall Windows, of course. And, of course, if you DO have to re-install Windows, you will need to copy those files back, so I don't recommend deleting them unless you run snug on space.

You want to leave the *.CAB files so the system can find the files every time you add or remove something. Yes, this means you have a copy of absolutely everything on your hard disk, and two copies of the things you are actually using. Microsoft efficiency.

INSTALLATION PROCESS

Windows NT

1. Welcome to Microsoft's Windows NT Install step by step using the Windows NT Setup disks. This will give you an idea on how to do this when and if the time arises for you to either reinstall the operating system, install for the first time or upgrade your present operating system.

  • Well for this I will show you the install for Microsoft Windows NT 4.0. Now follow the following steps.
    1.Insert your Windows NT 4.0 CD and Disk 1 of your 3 NT Workstation setup disks
    2.Once this is done boot up system.


  • The following "Hardware Configuration" will appear and Windows NT will detect your hardware configuration.
  • Soon you will be prompted to Insert NT setup disk 2, does this and hit enter.
  • Now the "Welcome to Setup" menu will appear, press "ENTER" to start Install.
  • You will be now prompted to search for mass storage devices (CD-Rom in most cases), press enter to continue or "S" if you have a SCSI device.

  • Now insert disk 3 of your Win NT Workstation setup.
  • Windows has found a CD-Rom. Press enter to continue. If you have SCSI devices you will have to hit "S" to specify.
  • Now the NT License agreement, Click on page down until you get to the bottom
  • Now the "Components" menu. The standard setting that NT now picks should be ok, make changes if needed else hit "ENTER" to continue.

  • Win NT has now detected your hard drive. This, if it has been setup before will have to be deleted if you are looking to install a Fresh operating system. Press "D" to delete the partition that is highlighted.

    ****MAKE SURE YOU HAVE BACKED UP BEFORE DELETING ANYTHING****

  • You are now given your last chance to not delete a partition. To continue Press "ENTER"

  • Actually there is another last chance, which appears in the next menu. Press "L" and the contents of that drive/partition are gone.

  • Now the partition menu appears, Press C to create a partition..
  • You will now be asked size of Hard drive, default is Max space on your hard drive.

  • As we are going to use FAT16 you will set up the drive to any size below 2048mb. Click enter when happy with size.

  • The partition is setup. We recommend that you leave any remaining space until later, when in windows, otherwise you can setup the remaining space by following the steps we just did for the main drive.

  • You will now be asked how you wish the drive to be formated, we recommend FAT for most users, for more security use NTFS.

  • Setup will now format your Hard drive partition

  • You will now be asked where you wish NT to be installed, unless doing a parallel install leave the default and hit "ENTER"
  • The next page will now appear, we advise that you let setup run the tests, hit "ENTER" to continue.
  • Be patient while it examines your system.

  • Setup will then copy files

  • Part of setup is now complete. You will now remove any floppy disks or CD's in the drives and hit "ENTER" to reboot your system

  • Hit enter to continue from the startup menu.
  • You will now be prompted for the NT CD again, please insert and when drive is ready click "OK"
  • NT will copy more files....
  • Then when the "Windows NT Setup" screen appears click "NEXT" to continue....

  • Now your setup options, for normal users select typical and for laptop users select portable, then click next
  • Now fill in your name and organization, click on next to continue...
  • Now enter your certificate of Authenticity, click enter to continue
  • Now your OEM number which is your CERTIFICATE of AUTHENTICITY which located on your Windows NT manual.

  • And now enter the name by which you wish the computer to be known, click on enter to

continue...

  • And now the all important Admin password, enter it and then enter it again to confirm it, make sure you don't forget it or you'll not get into windows. Or you could leave it blank, then you will not need it for entering windows.
  • Click next to continue.
    Windows NT will now prompt you to make Emergency Repair Disk. It is up to you if you wish to create these, make your selection and click next.
  • Leave the "NT Components" at default, click next to continue.

  • Now NT Network, click next to continue...
  • The "NT Network" menu shall appear, we recommend you select "do not connect" option and hit next, you are best setting up networks when NT is installed.
  • Now Click on finish to continue
  • Now select your time zone, click apply and close when finished.

  • Now your display adapter, don't install until you get into windows, so click on "OK" and then "OK" again.

  • NT will then continue to copy files and finally completed, click on "RESTART COMPUTER" to continue, remove any CD and floppy disks first.

  • After rebooting you will arrive at the login screen, press "CTRL" and "ALT" and "DELETE" to enter password section

  • Now enter your password and press "ENTER", if you didn't set one just press "ENTER"

  • At last the desktop.... NT Installed, you can now start configuring and installing drivers for personal use in the control panel

    The End

Thursday, August 27, 2009

RESOURCE ALLOCATION GRAPH

  • P1 is holding an instance of R2 and requeas instance os R1
  • P2 is holding an instance of R1
  • P3 is holding an instance of R1 and instance of R2
  • P4 is holding instance of R2


  • P1 is holding instance of R2 and request instance of R2 and requeast of R1
  • P2 is holding instance of R1 and R2 then requeat of instance of R3
  • P3 is holding instance of R3 and request instance of R2






















RESOURCE ALLOCATION GRAPH

  • V is partitioned into two types:

P={P1,P2,...Pn} , the set in consisteing of all the processes in the system.
R={R1,R2,...Rm}, the set consisting of all resources types in the system.
  • request edge - directed edge P1-->Rj
  • assisnment edge - directed edge Rj-->Pi
V is partitioned into two types: