• Complain

Bryan J. Hong - Building a Server with FreeBSD 7

Here you can read online Bryan J. Hong - Building a Server with FreeBSD 7 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2008, publisher: No Starch Press, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Bryan J. Hong Building a Server with FreeBSD 7
  • Book:
    Building a Server with FreeBSD 7
  • Author:
  • Publisher:
    No Starch Press
  • Genre:
  • Year:
    2008
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Building a Server with FreeBSD 7: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Building a Server with FreeBSD 7" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The most difficult part of building a server with FreeBSD, the Unix-like operating system, is arguably software installation and configuration. Finding the software is easy enough; getting everything up and running is another thing entirely. The only option for many people has been to hire a consultant. Building a Server with FreeBSD 7 is for those of us who prefer to build our own server. If youre a small business owner looking for a reliable email server, a curious Windows administrator, or if you just want to put that old computer in the closet to work, youll learn how to get things up and running quickly. Then, once you have a working system, you can experiment, extend, and customize as you please. Youll learn how to install FreeBSD, then how to install popular server applications with the ports collection. Each package is treated as an independent module, so you can dip into the book at any point to install just the packages you need, when you need them. The book s modules cover topics like: Running common FreeBSD admin commands and tasks Managing the FreeBSD ports collection Installing third-party apps like Apache, Courier-IMAP, SpamAssassin, CUPS, Cyrus SASL, MediaWiki, and WordPress Setting up MySQL, NTP, ISC DHCP, ISC BIND DNS, PHP, OpenLDAP, OpenSSH, OpenSSL, and OpenVPN Building a Server with FreeBSD 7 will have you up and running fast, with minimum hassle. (Just be sure to send the money you save to the Unemployed Consultant Foundation.)

Bryan J. Hong: author's other books


Who wrote Building a Server with FreeBSD 7? Find out the surname, the name of the author of the book and a list of all author's works by series.

Building a Server with FreeBSD 7 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Building a Server with FreeBSD 7" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Index

[]
Apache HTTP Server
Index

[]
Index

[]
config.php
CUPS (Common Unix Printing System)
Cyrus SASL
Index

[]
debug.log
Index

[]
Index

[]
FreeBSD
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
maillog file
messages file
MySQL Server
Index

[]
Index

[]
OpenLDAP Server
Index

[]
PHP (PHP: Hypertext Preprocessor)
phpLDAPadmin
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
Index

[]
ACKNOWLEDGMENTS

Lindsay, thanks for being so patient while I did computer nerd stuff in the middle of the night. Rachael, maybe now I'll have time to put that wheel cap on your car. Michelle, thanks for leaving your plasma TV with me when you move to Hawaii?

I'd like to thank Bill Pollock, Elizabeth Campbell, Ellen Har, Patricia Witkin, Leigh Poehler, and Tyler Ortman of No Starch Press for all of their hard work and dedication. They did an amazing job of transforming what was once a pile of notes into a truly useful book. Special thanks to Riley Hoffman of No Starch Press for wearing so many hats. She did a phenomenal job; I am forever grateful. Thanks again, Bill, for all of your input and guidance.

Thanks to Dru Lavigne for providing her technical expertise and guidance. Your commitment to FreeBSD and open source software is a source of inspiration for me. Thanks to Michael Lucas for the words of wisdom and for writing one of the best FreeBSD books around.

I'd also like to thank Richard Bejtlich for reviewing the first incarnation of this book; his suggestions led to improvements to this edition. Thanks to Derek Yee of Octopod Studios for the clever cover graphics. Thanks to Joseph Koshy and the other members of the FreeBSD community who donate their time selflessly. Lastly, thanks to all of the open source developers who created the excellent software mentioned in this book. I hope this book brings more people to appreciate the work you do.

Bryan J. Hong

San Francisco, CA

February 29, 2008

B.3. ADDING A SECOND HARD DISK

This guide assumes that you have added a Parallel or Serial ATA hard drive to the system. If you'll be using a USB or SCSI hard drive, you may substitute all references to ad with da and proceed normally. We are going to assume that the hardware installation is correct and complete, and that you don't intend to keep any data that may be on the new hard drive. After booting with the new hard drive installed, log in as the superuser.

  1. To begin configuring the new drive, type sysinstall at the command prompt. You will be taken to the main menu. Scroll down to Configure and press [enter].

  2. Select Fdisk and press [enter]. A dialog asking you to select the drive will appear. Select the appropriate drive and press [enter] (the new drive will probably be the second in the list with a name like ad1 or ad2). A warning message may appear explaining that your drive geometry is incorrect. FreeBSD will automatically adjust this, so press [enter] to continue.

  3. You are now in the FDISK Partition Editor. Press A to automatically partition and then press W to write changes. A dialog will appear saying that this should only be performed on an existing installation and asking if you are sure you want to do this now. Confirm that you are modifying the correct physical drive by checking the upper left corner, where the disk name is displayed. If you are ready to erase the drive, select yes and press [enter]. A dialog asking if you want to install a boot manager will appear. Select none and press [enter]. The next dialog will say that the operation was successful. Press [enter]. Type Q to quit FDISK.

  4. You will be returned to the Select Drive menu. Select cancel to return to the configuration menu. Select exit by pressing X and then [enter]. You will be at the sysinstall Main Menu; press X again to exit (you need to exit sysinstall for the changes to take effect).

  5. You will be at the command prompt at this point. Restart sysinstall by typing sysinstall . Select Configure and press [enter]. Select Label and press [enter]. A dialog asking you to select the drive will appear. Select the appropriate drive and press [enter] (this will be the same drive you selected in step 2). The disk label editor will now appear. Press C to create a partition. A dialog will appear asking you to specify partition size. To use the whole drive, press [enter]. The next menu will ask you what type to create. Choose fs and press [enter]. The next prompt will ask you for a mount point (directory name). Type one of your choice ( /backup , for example; don't use the name of a directory that already exists because sysinstall will mount the new partition on top of it) and press [enter]. To finalize the changes, press W . The same dialog you saw in FDISK will appear. If you are ready, select yes and press [enter].

  6. Write down the partition name(s) and the corresponding mount name(s); you will need this information in the following steps. When you are ready to continue, press Q to quit the label editor. You will be returned to the select drive menu. Select cancel to return to the configuration menu. Scroll up to exit and press [enter]. Select exit install and press [enter]. Your newly configured drive should now be mounted and ready for use.

  7. The /etc/fstab file needs to be modified so that your new hard drive will mount each time the system starts. Open /etc/fstab :

    # ee /etc/fstab

    Add a new line and insert the partition name you wrote down in step 6. You'll need to precede the partition name with /dev/ . You'll also need to insert the mount name you used in step 6 under the mountpoint column. The remaining columns can be set to the values shown below:

    # Device Mountpoint FStype Options Dump Pass#/dev/ad0s1b none swap sw 0 0/dev/ad0s1a / ufs rw 1 1/dev/ad0s1e /tmp ufs rw 2 2/dev/ad0s1f /usr ufs rw 2 2/dev/ad0s1d /var ufs rw 2 2/dev/acd0 /cdrom cd9660 ro,noauto 0 0/dev/ad1s1d /backup ufs rw 2 2

    Save and exit. The new drive should now mount automatically at boot time.

Appendix C. MANAGING USER ACCOUNTS

This section is meant to give new administrators a brief look at adding, removing, and modifying users with FreeBSD. For more information, refer to the FreeBSD Handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html.

C.1. ADDING USERS

FreeBSD includes the adduser command, which calls an interactive script that makes adding users quite easy. We'll create a theoretical user named John Doe and give him shell or command-line access.

  1. After typing adduser at the command line, you will be prompted for a username. This is the login name; you can use any convention you like, but we are just using the first name in this example. Note that usernames are case sensitive, meaning john is not the same as John .

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Building a Server with FreeBSD 7»

Look at similar books to Building a Server with FreeBSD 7. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Building a Server with FreeBSD 7»

Discussion, reviews of the book Building a Server with FreeBSD 7 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.