Installation Process Mandriva Linux

If you like your new environment, you can install it on your system. This is very easy.

Start installation





Click on the install icon on desktop. Installation process starts.






System partitions




You will be asked then to choose the way you want to manage disk space to install Mandriva Linux on your system. You can either choose an automatic way which is easier if you are not used to. You can also choose custom way which will allow you to manage all your partitions as you want.





Before rebooting your system

After installation on your hard disk, you will be asked to clean your new system. In order to support as many languages and hardwares as possible, Mandriva Linux One CD provides many of drivers and languages packages. You can clean this and get more space available. Validate that step.






Remove the One CD from the reader and reboot.


Reboot and configure Mandriva Linux

Each time you will boot your system, you will get a boot menu. It will allow you for example to choose either Mandriva Linux or Windows.
















Finally last steps will ask you to configure Mandriva Linux: keyboard, timezone, network connection, users creation.

Solaris installation
Step by step guide to Solaris installation

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 any

Installation 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.











Install Windows 2000 Server

Step #1: Plan your installation

When you run the Windows 2000 Server Setup program, you must provide information about how to install and configure the operating system. Thorough planning can make your installation of W2K more efficient by helping you to avoid potential problems during installation. An understanding of the configuration options will also help to ensure that you have properly configured your system.




I won't go into that part right now but here are some of the most important things you should take into consideration when planning for your Windows Server 2000 installation:


















  • Check System Requirements














  • Check Hardware and Software Compatibility














  • Determine Disk Partitioning Options














  • Choose the Appropriate File System: FAT, FAT32, NTFS














  • Decide on a Workgroup or Domain Installation














  • Complete a Pre-Installation Checklist











  • After you made sure you can go on, start the installation process.










    Step #2: Beginning the installation process










    You can install Windows 2000 Server in several methods - all are valid and good, it all depends upon your needs and your limitations.














  • Manual installations usually come in 3 flavors:














  • Boot from CD - No existing partition is required.














  • Boot from the 4 Setup Boot Disks, then insert the CD - No existing partition is required.

  • Boot from an MS-DOS startup floppy, go to the command prompt, create a 4GB FAT32 partition with FDISK, reboot, format the C partition you've created, then go to the CD drive, go into the I386 folder, and run the WINNT.EXE command.

  • Run an already installed OS, such as Windows NT 4.0 Server. From within NT 4.0 go to the I386 folder in the W2K installation CD and run the WINNT32.EXE command.

  • If you want to upgrade a desktop OS such as Windows 98 into Windows 2000 Professional you can follow the same procedure as above (You cannot upgrade Windows 98 into W2K Server).

  • There are other non-manual installation methods, such as using an unattended file along with a uniqueness database file, using Sysprep, using RIS or even running unattended installations from within the CD itself, but we won't go into that right now.

    It doesn't matter how you run the setup process, but the moment it runs - all setup methods look alike.

    Step #3: The text-based portion of the Setup program

    The setup process begins loading a blue-looking text screen (not GUI). In that phase you will be asked to accept the EULA and choose a partition on which to install W2K, and if that partition is new, you'll be asked to format it by using either FAT, FAT32 or NTFS.


    1. Start the computer from the CD.


    2. You can press F6 if you need to install additional SCSI adapters or other mass-storage devices. If you do you will be asked to supply a floppy disk with the drivers and you CANNOT browse it (or a CD for that matter). Make sure you have one handy.


    3. Setup will load all the needed files and drivers.

    4. Select To Setup W2K Now. If you want, and if you have a previous installation of the OS, you can try to fix it by pressing R. If not, just press ENTER.

    5. In case your server is a new one, or it is using a new hard disk that hasn't been partitioned yet, you'll get a warning message. Read it, and if you want to continue, press C.

    6. Read and accept the licensing agreement and press F8 if you accept it.


    7. Select or create the partition on which you will install W2K. Depending upon your existing disk configuration choose one of the following:



    • If the hard disk is not yet partitioned, you can create and size the partition on which you will install Windows 2000. Press C.

    • If the hard disk is new and you want to create a partition that will span the entire hard disk's size - press Enter.

    Other optionsL


    • If the hard disk is already partitioned, but has enough unpartitioned disk space, you can create an additional partition in the unpartitioned space.




    • If the hard disk already has a partition that is large enough, you can install Windows 2000 on that partition. If the partition has an existing operating system, you will overwrite that operating system if you accept the default installation path. However, files other than the operating system files, such as program files and data files, will not be overwritten.



    • If the hard disk has an existing partition, you can delete it to create more unpartitioned space for the new partition. Deleting an existing partition erases all data on that partition.



    If you select a new partition during Setup, create and size only the partition on which you will install Windows 2000. After installation, use Disk Management to partition the remaining space on the hard disk.


    8. Select a file system for the installation partition. After you create the partition on which you will install W2K, you can use Setup to select the file system with which to format the partition. W2K supports the NTFS file system in addition to the file allocation table (FAT) and FAT32 file systems. Windows Server 2003, Windows XP Professional, Windows 2000, and Windows NT are the only Microsoft operating systems that you can use to gain access to data on a local hard disk that is formatted with NTFS. If you plan to gain access to files that are on a local W2K partition with the Microsoft Windows 95 or Windows 98 operating systems, you should format the partition with a FAT or FAT32 file system. We will use NTFS.


    9. Setup will then begin copying necessary files from the installation point (CD, local I386 or network share).


    10. Note: If you began the installation process from an MS-DOS floppy, make sure you have and run SMARTDRV from the floppy, otherwise the copying process will probably last more than an hour, perhaps even more. With SMARTDRV (or if setup was run by booting from CD) the copying will probably last a few minutes, no more than 5 max.


    11. The computer will restart in graphical mode, and the installation will continue.


    Step #4: The GUI-based portion of the Setup program









    The setup process reboots and loads a GUI mode phase.










    It will then begin to load device drivers based upon what it finds on your computer. You don't need to do anything at this stage.










    If your computer stops responding during this phase (the progress bar is stuck almost half-way, and there is no disk activity) - shut down your computer and begin removing hardware such as PCI and ISA cards. If it works for you then later try to figure out how to make that specific piece of hardware work (it's probably not in the HCL).


















    1. Click Customize to change regional settings, if necessary.


















    • Current System Locale - Affects how programs display dates, times, currency, and numbers. Choose the locale that matches your location, for example, French (Canada).









    • Current Keyboard Layout - Accommodates the special characters and symbols used in different languages. Your keyboard layout determines which characters appear when you press keys on the keyboard.










    If you don't need to make any changes just press Next.










    If you do need to make changes press Customize and add your System Locale etc.










    Note for Hebrew users: In W2K it is NOT SAFE to install Hebrew language support at this phase!!! Trust me, do it later. If you don't listen to me, good chances are that you'll get ???? fonts in some Office applications such as Outlook and others.










    Read the Install Hebrew on Windows 2000 page for more info.


















    1. Type your name and organization.









    2. Type the product key.









    3. Enter the appropriate license type and number of purchased licenses.









    4. Type the computer name and a password for the local Administrator account. The local Administrator account resides in the SAM of the computer, not in Active Directory. If you will be installing in a domain, you need either a pre-assigned computer name for which a domain account has been created, or the right to create a computer account within the domain.









    5. Choose which components to install or remove from the system.









    6. Select the date, time, and time zone settings.









    7. Setup will now install the networking components.










    After a few seconds you will receive the Networking Settings window. BTW, if you have a NIC that is not in the HCL (see the What's the HCL? page) and W2K cannot detect it, or if you don't have a NIC at all, setup will skip this step and you will immediately go to the final phase of the setup process.










    Press Next to accept the Typical settings option if you have one of the following situations:


















    • You have a functional DHCP on your network.









    • You have a computer running Internet Connection Sharing (ICS).









    • You're in a workgroup environment and do not plan to have any other servers or Active Directory at all, and all other workgroup members are configured in the same manner.










    Otherwise select Custom Settings and press Next to customize your network settings.










    9. Highlight the TCP/IP selection and press Properties.










    In the General tab enter the required information. You must specify the IP address of the computer, and if you don't know what the Subnet Mask entry should be - you can simply place your mouse pointer over the empty area in the Subnet Mask box and click it. The OS will automatically select the value it thinks is good for the IP address you provided.










    10. In the Workgroup or Domain window enter the name of your workgroup or domain.


















    • A workgroup is a small group of computers on a network that enables users to work together and does not support centralized administration.









    • A domain is a logical grouping of computers on a network that has a central security database for storing security information. Centralized security and administration are important for computers in a domain because they enable an administrator to easily manage computers that are geographically distant from each other. A domain is administered as a unit with common rules and procedures. Each domain has a unique name, and each computer within a domain has a unique name.










    If you're a stand-alone computer, or if you don't know what to enter, or if you don't have the sufficient rights to join a domain - leave the default entry selected and press Next.










    If you want to join a domain (NT 4.0 domain of W2K/2003 Active Directory domain) enter the domain's name in the "Yes, make this computer a member of the following domain" box.










    To successfully join a domain you need the following:


















    • The person performing the installation must have a user account in Active Directory. This account does not need to be the domain Administrator account.










    and


















    • The computer must have an existing computer account in the Active Directory database of the domain that the computer is joining, and the computer must be named exactly as its domain account is named.










    or


















    • The person performing the installation must have appropriate permission to create a domain account for the computer during installation.










    Also, you need to have connectivity to the domain's domain controllers (only to the PDC if on an NT 4.0 domain) and a fully functional DNS server (only in AD domains). Read the Joining a Domain in Windows XP Pro and Requirements when Joining a Domain pages for more on this issue.










    Note: Providing a wrong username or password will cause this phase to fail.










    11. Next the setup process will finish copying files and configuring the setup. You do not need to do anything.










    Enter the Active Directory domain name (in the form of xxx.yyy, for example: DPETRI.NET) or the NetBIOS name of the NT 4.0 domain (in the form of xxx, for example: DPETRI). Press Next.










    Note: If you provide a wrong domain name or do not have the correct connectivity to the domain's DNS server you will get an error message.










    A username/password window will appear. Enter the name and password of the domain's administrator (or your own if you're the administrator on the target domain).










    12. After the copying and configuring phase is finished, if Windows Server 2003 finds that you have a badly configured screen resolution it will advise you to change it and ask you if you see the new settings right.










    13. Setup finishes and displays the finish window. Unfortunately, you must press Finish in order to reboot..










    14. Windows 2000 reboots and you should get the CTRL-ALT-DEL window.










    15. That's it! you're done!

    Install Windows XP

    Part 1: Begin the installation

    1.

    Insert the Windows XP CD into your computer and restart your computer.

    2.

    If prompted to start from the CD, press SPACEBAR. If you miss the prompt (it only appears for a few seconds), restart your computer to try again.

    3.

    Windows XP Setup begins. During this portion of setup, your mouse will not work, so you must use the keyboard. On the Welcome to Setup page, press ENTER.

    4.

    On the Windows XP Licensing Agreement page, read the licensing agreement. Press the PAGE DOWN key to scroll to the bottom of the agreement. Then press F8.

    5.

    This page enables you to select the hard disk drive on which Windows XP will be installed. Once you complete this step, all data on your hard disk drive will be removed and cannot be recovered. It is extremely important that you have a recent backup copy of your files before continuing. When you have a backup copy, press D, and then press L when prompted. This deletes your existing data.

    6.

    Press ENTER to select Unpartitioned space, which appears by default.

    7.

    Press ENTER again to select Format the partition using the NTFS file system, which appears by default.

    8.

    Windows XP erases your hard disk drive using a process called formatting and then copies the setup files. You can leave your computer and return in 20 to 30 minutes.

    Part 2: Continue the installation

    9.

    Windows XP restarts and then continues with the installation process. From this point forward, you can use your mouse. Eventually, the Regional and Language Options page appears. Click Next to accept the default settings. If you are multilingual or prefer a language other than English, you can change language settings after setup is complete.

    10.

    On the Personalize Your Software page, type your name and your organization name. Some programs use this information to automatically fill in your name when required. Then, click Next.

    11.

    On the Your Product Key page, type your product key as it appears on your Windows XP CD case. The product key is unique for every Windows XP installation. Then, click Next.

    12.

    On the Computer Name and Administrator Password page, in the Computer name box, type a name that uniquely identifies your computer in your house, such as FAMILYROOM or TOMS. You cannot use spaces or punctuation. If you connect your computer to a network, you will use this computer name to find shared files and printers. Type a strong password that you can remember in the Administrator password box, and then retype it in the Confirm password box. Write the password down and store it in a secure place. Click Next.

    13.

    On the Date and Time Settings page, set your computer’s clock. Then, click the Time Zone down arrow, and select your time zone. Click Next.

    14.

    Windows XP will spend about a minute configuring your computer. On the Networking Settings page, click Next.

    15.

    On the Workgroup or Computer Domain page, click Next.

    Part 3: Complete the installation

    16.

    Windows XP will spend 20 or 30 minutes configuring your computer and will automatically restart when finished. When the Display Settings dialog appears, click OK.

    17.

    When the Monitor Settings dialog box appears, click OK.

    18.

    The final stage of setup begins. On the Welcome to Microsoft Windows page, click Next.

    19.

    On the Help protect your PC page, click Help protect my PC by turning on Automatic Updates now. Then, click Next.

    20.

    Windows XP will then check if you are connected to the Internet:

    • If you are connected to the Internet, select the choice that describes your network connection on the Will this computer connect to the Internet directly, or through a network? page. If you’re not sure, accept the default selection, and click Next.
    • If you use dial-up Internet access, or if Windows XP cannot connect to the Internet, you can connect to the Internet after setup is complete. On the How will this computer connect to the Internet? page, click Skip.

    21.

    Windows XP Setup displays the Ready to activate Windows? page. If you are connected to the Internet, click Yes, and then click Next. If you are not yet connected to the Internet, click No, click Next, and then skip to step 24. After setup is complete, Windows XP will automatically remind you to activate and register your copy of Windows XP.

    22.

    On the Ready to register with Microsoft? page, click Yes, and then click Next.

    23.

    On the Collecting Registration Information page, complete the form. Then, click Next.

    24.

    On the Who will use this computer? page, type the name of each person who will use the computer. You can use first names only, nicknames, or full names. Then click Next. To add users after setup is complete or to specify a password to keep your account private, read Create and customize user accounts.

    25.

    On the Thank you! page, click Finish.

    Resource allocation graph

    Resource allocation graph


    • Deadlock can be described through a resource allocation graph.

    • The RAG consists of a set of vertices P={P1,P2 ,…,Pn} of processes and R={R1,R2,…,Rm} of resources.

    • A directed edge from a processes to a resource, Pi->Rj, implies that Pihas requested Rj.

    • A directed edge from a resource to a process, Rj->Pi, implies that Rjhas been allocated by Pi.

    • If the graph has no cycles, deadlock cannot exist. If the graphhas a cycle, deadlock may exist.
    (a) The vertices of our graph are processes, represented by circles,





    (b)resources, represented by squares, which may have a number of “dots” inside to indicatemultiple equivalent instances of a resource





    (c) Edges from a process to a resource indicate a request by that process for an instance of that re-source.(d) arc (rj,pi) means process i has resource j





    (e)Edges from a resource to a process indicate that the resource has been granted to that process.

    Resource Allocation Graph

    Resource Allocation Graph

    > If the graph does not contain a cycle,then no deadlock exists

    > If the graph does not contain a knot,then a deadlock does not exist

    > If there is a cycle:

    >> If there is only one instance per resource type then there is a deadlock.




    >> If there is more than one instance for some resource type, there may or may not be a deadlock.



    > There are no cycles in this graph, so we are sure that there is no deadlock. There are two unfulfilledrequests, P1’s request for R1, and P2’s request for R3, but we are sure things can continue. SinceP3 isn’t waiting for anything, it will eventually release R3. P2 can then do its thing, allowing it torelease R1, which allows P1 to do its thing. But what if P3 requests an instance of R2?


    Resource Allocation Graph With A Deadlock


    > If the graph does contain a cycle,then a deadlock does exist

    > If the graph does contain a knot (and acycle), then a deadlock does exist

    > A cycle is a necessary and sufficient condition for deadlock.

    > Deadlock! P3 cannot continue until it acquires an R2. But we know that P2 can’t continue until itgets an R3, which isn’t going to happen until P3 can go. But P1 is waiting for an R1, which isn’tavailable until P2 can go... We have a problem. No process can continue.





    Resource Allocation Graph With A Cycle But No Deadlock


    > If there is a cycle in the graph, and each resource has more than one instance, there may or may not be deadlock. (A cycle may be broken if some process outside the cycle has a resource instance that can break the cycle.)

    > Here, there is a cycle, but P2 and P4 are not waiting for anything. That means that eventually theywill free their resources, and the other processes can get what they need.If there is a single instance of each resource, a cycle in the resource allocation graph means wehave deadlock. When there are multiple instances, it only means there is a possibility of deadlock.






    Unsafe State In Resource-Allocation Graph





    > There is no deadlock yet, since there’s a chance that P1 will not need R2 before completing,thereby freeing up R1 for P2. But the state is not safe, since we cannot guarantee a safe sequence.It’s possible that P1 will need R2 before it releases R1, and deadlock would follow.

    > An unsafe state does not guarantee deadlock, as even if no such sequence exists, it’s possible thatone or more processes will not request the maximum allocation of a resource. So a process couldcomplete and free resources, but maybe not.






    Resource-Allocation Graph For Deadlock Avoidance

    > Here, P1 has been granted R1 and has a claim edge indicating that it may also need R2. P2 iscurrently requesting R1 and also may need R2.This is a safe state, as P1, P2 is a safe sequence.

    • Deadlock Characterization

    Deadlock can arise if four conditions hold simultaneously:

    > Mutual exclusion: only one process at a time can use a resource

    > Hold and wait: a process holding at least one resource is waiting to acquire additional resources held by other processes

    > No preemption: a resource can be released only voluntarily bythe process holding it, after that process has completed its task

    > Circular wait: there exists a set {P0, P1, …, Pn, P0} of waiting processes such that

    – P0 is waiting for a resource that is held by P1,

    – P1 is waiting for a resource that is held by P2,

    – …,

    – Pn–1 is waiting for a resource that is held by Pn,

    – and Pn is waiting for a resource that is held by P0.