Archive for September, 2007

Chapter 4 . Learning Basic (Web hosting solutions) Administration 167 4.

Saturday, September 15th, 2007

Chapter 4 . Learning Basic Administration 167 4. From the output, look for an indication that the new disk was found. For example, if it s a second IDE hard disk, you should see hdb: in the output. For a second SCSI drive, you should see sdb: instead. Be sure you identify the correct disk, or you will erase all the data from disks you probably want to keep! 5. Use the fdisk command to create partitions on the new disk. For example, if you are formatting the second IDE disk (hdb), you can type the following: # fdisk /dev/hdb Now you are in fdisk command mode, where you can use the fdisk singleletter command set to work with your partitions. If the disk had existing partitions on it, you can change or delete those partitions now. Or, you can simply reformat the whole disk to blow everything away. Use p to view all partitions and d to delete a partition. 6. To create a new partition, type the following: n 7. Choose an extended (e) or primary partition (p). To choose a primary partition, type the following: p 8. Type in the partition number. If you are creating the first partition (or for only one partition), type the number one: 1 Enter the first cylinder number (1 is the default). A range of cylinder numbers is displayed (for example, 1-4865 is the number of cylinders that appears for my 40GB hard drive). 9. To assign the new partition to begin at the first cylinder on the new hard disk, type the number 1. 10. Enter the last cylinder number. If you are using the entire hard disk, use the last cylinder number shown. Otherwise, choose the ending cylinder number or indicate how many megabytes the partition should have. 11. To create more partitions on the hard disk, repeat Steps 6 through 10 for each partition. 12. Type w to write changes to the hard disk and exit from the fdisk command. At this point, you should be back at the shell. 13. To create a file system on the new disk partition, use the mkfs command. By default, this command creates an ext2 file system, which is usable by Linux. However, in most cases you will want to use a journaling file system (such as ext3 or reiserfs). To create an ext3 file system on the first partition of the second hard disk, type the following: # mkfs -t ext3 /dev/hdb1 If you created multiple partitions, repeat this step for each partition (such as /dev/hdb2, /dev/hdb3, and so on).
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

166 Part II (Web hosting plans) . Running the Show Filesystem

Friday, September 14th, 2007

Chapter 4 . Learning Basic Administration 165 This

Friday, September 14th, 2007

164 Part II . Running the Show This (Fedora web server)

Thursday, September 13th, 2007

Apache web server tutorial - Chapter 4 . Learning Basic Administration 163 Mounting

Thursday, September 13th, 2007

Photo web hosting - 162 Part II . Running the Show .

Wednesday, September 12th, 2007

Chapter 4 . Learning Basic Administration 161 (Adelphia web hosting) drives

Wednesday, September 12th, 2007

Unlimited web hosting - 160 Part II . Running the Show Table

Tuesday, September 11th, 2007

Chapter 4 . Learning Basic Administration 159 Table (Affordable web hosting)

Tuesday, September 11th, 2007

Professional web hosting - 158 Part II . Running the Show stored.

Monday, September 10th, 2007