Archive for April, 2007

26.Click Next to proceed to the next item (Web hosting unlimited bandwidth)

Wednesday, April 25th, 2007

26.Click Next to proceed to the next item in the installation process. The Package Group Selection screen appears (see Figure 3-13). There aretwo different ways of selecting programs in the Fedora Core (and manyother Linux distribution) installer: by group or individually. You start bychoosing groups. For example, the first group is X Window System, whichyou can think of as the wireframe of your point and click interface. Thesecond is the GNOME Desktop, which is one form of paper mache thatcan be placed on top of the X Window System for a consistent look andfeel. Third is the KDE (K Desktop Environment), which is another versionof papier m che (see Chapter 6 for more on these and their differences). If you want access to both environments, be sure to click the box next toKDE to put a check in it. Next to each group that you have marked with a check (or that sselected by default), you see the word Details with an underline beneathit. If you click Details, a dialog box appears with two different lists ofpackages: Base and Optional. The Base items are always installed whenyou select this group of software. The Optional items are up to you. If you want to try everything available the first time around, you canscroll down to the bottom and select Everything (which in fact doesn tinstall everything,but mostly everything). Otherwise, play around andpick and choose. You can add more software later (see Chapter 12) ifyou realize you left something out. Figure 3-13: ThePackageGroupSelectionscreen. 58Part I:Getting Your Feet Wet
Note: In case you are looking for affordable webhost to host and run your web application check Vision cheap hosting services

22.Click Next to proceed to the next step (Zeus web server)

Wednesday, April 25th, 2007

22.Click Next to proceed to the next step in your installation. The Set Root Password screen appears. 23.In the Root Password screen, type the root (administrator) accountpassword into the Root Password field and then type the same pass- word in the Confirm field. You don t see the password when you type it just an asterisk for eachcharacter. The asterisks prevent unauthorized individuals from seeingthe password. If you mistype something in one of the boxes, you rewarned when you try to move on to the next step of the installation andhave the chance to re-enter the values. Don t forget your root password! You need it to do to do any administra- tion task on your Linux box. 24.After you ve entered your root password twice, click Next. The Package Installation Defaults screen appears. You can choose toinstall the current default list of packages or choose to customize the setof packages25.Choose the Install Default Software Packages option or the CustomizeSoftware Packages To Be Installed option. I recommend selecting the Customize option so that you can have morecontrol over what you put on your system. I assume that this option isthe one you selected. 57Chapter 3: Installing Fedora CoreIntroducing SELinuxSecurity-Enhanced Linux (SELinux) was devel- oped by the USA s NSA (National SecurityAgency, www.nsa.gov/selinux/) and givesyou more fine-grained control over everythingthat s happening on your system than the stan- dard user, group, and owner permissions usedby default in the Linux world. SELinux is not lim- ited to Fedora Core; it s available as an exten- sion in a growing number of Linux distributions. In general, solid computer security policiesinvolve giving people and programs only theamount of access that they strictly require, sothose who have a heavy need for limiting whatpeople and software can do because they rerunning mission-critical servers or are operat- ing in a realm that has a need for serious secu- rity measures find that SELinux lets them havefar more control of who can do what on theirsystem. For the average home or small businessuser s desktop system, SELinux can be overkill, though if you re looking to play with this tech- nology and become familiar with it for yourresume or other reasons, your home desktopcan be an ideal trial platform for such a purpose. Because SELinux is quite extensive, I only touchon it in Chapter 12, but I do give you enoughinformation to get you started.
Note: If you are looking for cheap webhost to host and run your apache application check Vision jboss web hosting services

Figure 3-12: The TimeZoneSelectionscreen. Figure 3-11: TheAdditionalLanguageSupportscreen. 56Part (Web hosting plans)

Tuesday, April 24th, 2007

Figure 3-12: The TimeZoneSelectionscreen. Figure 3-11: TheAdditionalLanguageSupportscreen. 56Part I:Getting Your Feet Wet
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision personal web hosting services

17.If you intend to use (Http web server) SELinux, determine whether

Tuesday, April 24th, 2007

17.If you intend to use SELinux, determine whether you want to actuallyactivate it or put it into a warning state; otherwise, under EnableSELinux, select Disabled and skip to Step 19. I highly recommend that if you do intend to play with SELinux, you fornow set it to Warn. This way, you can see what it does without it gettingin your way, which is a handy method of learning how it works. 18.If you didn t disable SELinux, select Active or Warn. I assume that you selected Warn for the remainder of this book. 19.Click Next to proceed to the next stage of your installation. The Additional Language Support screen appears, as shown in Figure 3-11. Your Linux system can support multiple languages at the same time. If youadd languages, be sure to set which you want for your default. 20.Select the languages for your Linux installation and click the Nextbutton to continue. The Time Zone Selection screen appears, as shown in Figure 3-12. If youdon t find the exact name of the city you re in, choose another city inyour same time zone that supports the same options, such as daylightsavings time. You can also click the UTC (Universal Time, Coordinated) Offset tab at the top of the screen and select your offset from UTC timeand whether you use daylight savings time. If your computer uses UTC, you can also choose this option. If it turns out that your computer is (or isn t) using UTC and you chosethe wrong way, you can change this value after you ve installed the com- puter, so don t sweat this setting too much. 21.Choose the time zone in which your Linux system resides. If you travel, set it to where you are now. You can change this settingwhenever you need to later. 55Chapter 3: Installing Fedora CoreFirewalls and youAnyone connected to the Internet, especiallyusing broadband(see Chapter 7 for more on thedifferent types of connections available; broad- band tends to be DSL and Cable), really shouldhave a firewall of some sort. You can purchasea firewall appliance (a special little box that youuse to connect to the Internet and then hook upyour other computer[s] to) or have a Linux boxdoing your firewalling for just itself, or even foryour whole home or business network. Although this is quite an extensive topic thatcan easily take an entire book of its own, I coversome of the basics in Chapter 7. In the mean- time, protect at least this machine with a fire- wall of its own.
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services

Web hosting e commerce - Firewallsprotect your system from unauthorized access and discovery.

Tuesday, April 24th, 2007

Firewallsprotect your system from unauthorized access and discovery. When you re connected to the Internet with a high-speed connection, your computer appears as one of the hundreds of thousands of other sys- tems on the Internet. I wish that I could tell you that there aren t tons ofnasty people and programs trying to break into your computer, but unfor- tunately, there s lots of them. A firewall is your first (but not only) protec- tive barrier against cyber-hoodlums, viruses, worms, and a host of otheritems that might try to skulk in through doors that should have been keptclosed; see the sidebar Firewalls and you for more information. 13.Unless you are 100-percent sure that this computer is safe from boththe Internet and other machines you may have on your home or officenetwork (keeping in mind that before viruses and worms, most busi- ness computer break-ins happened from inside rather than outside), leave Enable Firewall as your firewall setting. If you are absolutely determined to have your firewall off, select NoFirewall. I wish you luck! 14.Determine which of the available services you want to let throughyour firewall. I recommend enabling Remote Login (SSH) so that you can access thiscomputer remotely using the techniques discussed in Chapter 12. WhileI don t cover running your own Web server, if you intend to run one onthis computer, you ll also want to enable the Web Server (HTTP, HTTPS) entry; if you just want to browse the Web, you don t need to enable thisone, it s just if you want to run your own server on this computer. Thesame goes for FTP (which can be handy for moving files around) andSMTP. If you intend to run an FTP server or a mail server (SMTP), thenyou ll need to enable these. 15.Next to each item you want to enable, click in the box so that it has acheckmark in it. For my desktop machines, I tend to check the SSH and FTP entries. For how to use an FTP client to get files off of this machine later, seeChapter 8.16.Determine whether you want to use SELinux or not. SELinux (otherwise known as Security-Enhanced Linux) is explained ingreat geekly terms at http://people.redhat.com/kwade/fedora- docs/selinux-faq-en/. For those who aren t interested in readingthrough such a document until their eyes cross, I give you a summary inthe sidebar Introducing SELinux. Keep in mind that if you ve neverused Linux or another form of Unix, you may find it difficult enough tolearn your way through the usual user, group, and owner permissionsystem used to control file and directory access. You can turn onSELinux later (I go more into SELinux in Chapter 12) if you decide it stime to get to know it. 54Part I:Getting Your Feet Wet
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision shared web hosting services

Figure 3-10: The FirewallConfigura- tion screen. (Dedicated web hosting) Figure 3-9:

Monday, April 23rd, 2007

Figure 3-10: The FirewallConfigura- tion screen. Figure 3-9: TheNetworkConfigura- tion screen. 53Chapter 3: Installing Fedora Core07_
Note: If you are looking for cheap webhost to host and run your apache application check Vision apache web hosting services

Database web hosting - 10.After making any selections to the boot loader

Monday, April 23rd, 2007

10.After making any selections to the boot loader configuration settings, click Next. The Network Configuration screen appears, as shown in Figure 3-9.11.If you re using a modem and don t have an Ethernet card in thissystem, you won t see this screen at all, so skip to Step 13. If you reusing Dynamic Host Configuration Protocol (DHCP) on your networkto set the computer s hostname, choose the Automatically Via DHCPoption. If you aren t using DHCP to define the hostname, choose theManually option and enter a hostname. First, make sure the eth0 checkbox is checked so that your computeractivates its networking when it boots. Then, if you re using DHCP, thissetup allows another service or system to set all the networking parame- ters for your computer so that it can communicate properly on a net- work or on the Internet. If you re connected to a high-speed Internetservice, such as DSL, your computer is probably configured to use DHCPfor all the settings except the hostname, which gives an identity to yourcomputer. If your computer is part of a company network, the DHCP services may provide the hostname in addition to the rest of the param- eters. Check with the network administrator or IT department for theappropriate information for your network. To manually set the hostname of your Linux system (rather than lettingthe DHCP server pick one for you), make sure that the Automatically ViaDHCP option is not selected and then configure the following: Type a name for your computer in the field to the right of theManually label.I recommend that you use only alphanumeric (letters and numbers) characters for the name of your computer. Sometimes, using other characters may interfere with an applica- tion and make it difficult to access your machine from a network. If you re not using DHCP for the other network settings, click theEdit button to the right of the Network Devices list. In the EditInterface eth0 window, remove the check next to Configure UsingDHCP. Enter values for the IP Address and netmask settings andclick OK. After you enter these two values, the remaining fieldsunder the Miscellaneous Settings label are enabled. If you don tknow what your IP address or netmask are supposed to be, askyour administrator. Enter values in the Gateway and DNS fields that are valid for yournetwork.If your network has more than one DNS server, you canenter up to three DNS server addresses. I cover DHCP and other IP-related information in more detail in Chapter 7.12.After you ve made all your selections and entered your data, click Next. The Firewall Configuration screen appears, as shown in Figure 3-10.52Part I:Getting Your Feet Wet
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision servlet hosting services

Web file server - Figure 3-8: The BootLoader Con- figurationscreen. 51Chapter 3:

Monday, April 23rd, 2007

Figure 3-8: The BootLoader Con- figurationscreen. 51Chapter 3: Installing Fedora CoreDefining partitions manuallyIf you choose to define partitions manually, you llbe using Red Hat s Disk Druid. Disk Druid enablesyou to delete existing partitions and add new par- titions. If you don t know how to use Disk Druid, Irecommend that you not proceed any further. Click Back to return to the Automatic Partitioningscreen and choose to review the automatic setupDisk Druid suggests instead of starting fromscratch. If you choose to Review and decide to changethings, there s some things you ll want to know. For example, there s something called a mountpoint,which is where a device (maybe the first partition on your first IDE hard drive, whichwould be /dev/hda1) attaches onto your filesys- tem(a particular directory in your directoryhierarchy). The start for your filesystem is the root directory, which is shown as /. You needto have a partition mounted as /, and you wantit to be as large as possible if you re not makingmany partitions. You also want a partitionmounted as /boot, but it can be small, maybe100MB. Finally, you want a partition aroundtwice the size of your memory that s assignedthe swap filesystem type, to act as your virtualmemory. (There s no mount point for swap, justa filesystem type). Otherwise, when it comes toFedora, you ll be sticking with ext3 as yourfilesystem type because it s the default. I getmore into these kinds of things in Chapter 10.07_
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision tomcat hosting services

9.Click Yes. If you re really nervous, check the (Disney web site)

Sunday, April 22nd, 2007

9.Click Yes. If you re really nervous, check the Review check box so that you candouble-check the partition assignments before the installer changes anything. The Boot Loader Configuration installation screen appears, as shown inFigure 3-8. The first option allows you to change the boot loader from the default ofGRUB to LILO or to choose no boot loader. Keep the default. The second option allows you to boot to other operating systems thanLinux. If you have other operating systems installed on non-Linux parti- tions, such as Windows, you can choose to boot to them. The third option enables you to configure a boot loader password foradded security. The last option allows you to select advanced boot loader options. In your list of boot options (Fedora, Windows, and so on), make sure thata checkmark appears in the box next to the option you want to boot intoby default when you don t manually make a selection from the menu. Figure 3-7: TheAutomaticPartitioningscreen. 50Part I:Getting Your Feet Wet
Note: If you are looking for cheap webhost to host and run your apache application check Vision jboss web hosting services

Anonymous web server - you can define your own partition(s) manually. Your

Sunday, April 22nd, 2007

you can define your own partition(s) manually. Your hard drive must con- tain at least one Linux partition to continue with the installation. I chooseto cover automatic partitioning in this book. If you really, really want topartition manually, see the nearby sidebar Defining partitions manually. 7.Choose Automatically Partition; then click Next. The Automatic Partitioning screen appears, as shown in Figure 3-7. Youcan choose to remove all Linux partitions on your system, remove allpartitions on your system, or keep all existing partitions and use freespace. You also have the option of marking a particular hard drive towork with. As I suggest in Chapter 2, be sure that you know which harddrive you want to work with! As a hint, the first hard drive in your com- puter is typically hda, the second is hdb, and the third is hdc. (Withsome kinds of hard drive technology, the first drive will be hde, thesecond hdf, and so on just count from the lowest to the highest.) Ifyou have SCSI drives, you see sda, sdb, and sdc instead. Be careful you lose all data in existing partitions when you choose toremove partitions. They won t be immediately changed, however notuntil the final installation screen. 8.Choose the Remove All Linux Partitions On This System option; thenclick Next. A Warning dialog box appears asking whether you want to remove thepartition(s). Figure 3-6: The DiskPartitioningSetupscreen. 49Chapter 3: Installing Fedora Core07_
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services