Unix Administration
Tuesday, January 29, 2008
 
How to Install Fedora

1.If you have already installed fedora mean , You need to uninstal that.
2.Using windows OS, u can remove the file which had occipied by fedora os.
3.for that,
select mycomputer ->left click ->select manage -> select disk management ->
Remove linux file system spaces.
4.Insert the fedora 6.0 cd.
For that u need to reboot and press f8 + select DVD ROM
It will take time for loading ata-piix driver
5.select options.
6.Select custom layout option.
Inside u have to partition for below path
/root -1000MB
/boot -1000MB
/home -1000MB
/swap -1000MB
/usr -5000MB
/opt -1000MB
7.select DHCP option
8.Give the root password
9.Select sofware which u want.
make sure that all tha packages are selected for perticular software.
10.select the webserver and samba also
11.then It will take one hour to install all the software and packages using command rpm --verify mysql
13.After get over.reboot the system.

The fedora login page should come if the insatallation has completed successfully.

Note: If not come check all the software installed or not.
check the packages allso.

Partitioning and Formatting Second Hard Drive - (ext3)

Partioining have to do after the system reboot.
This is for collect the free space and configure.

First, you will need to run the fdisk command in order to partition the disk. For this example, I only want to create one ext3 partition. Here is an example session:

1)For HP system ---> lv
For sun OS ---> NEWFS

For fedora issue the command
fdisk /dev/hda

2)select p to print the partitioned space
it will be listed in cylinder wise

dev/hda1 1 255
dev/hda2 .. ...
dev/hda7 4718 5099

3)if i want to partition for free space into hda8
select the command n
give the first cylinder . to 51000
+MB to 34000MB (remaining space)
save and exit

4)Issue command partprobe(reboot the system after partition)

creating ext3 File system
mkfs ("make a filesystem") is the standard Unix command for formatting a disk partition with a specific filesystem. The basic syntax is:

mkfs.ext3 /dev/hdsa8


The ext3 or third extended filesystem is a journalled file system that is commonly used by the GNU/Linux operating system. It is the default file system for many popular Linux distributions.


Mounting the file system
Now that the new hard drive is partition and formated, the last step is to mount the new drive. For this example, I will be mounting the new hard drive on the directory /hda8.

if u want u can make one directory freespace

mkdir fressspace

mount /fev/hda /fressapace/

if u do unmount /fressspace/ then the space will add into none folder.

at the end of the section u have to add the fresspace to /etc/fstab/
add the fressapce at end and like

/dev/hda8/ /fressapce/ ext3 defaults 1 2

save and reboot the system reboot -f

How to change the HOST name

step 1.

vi /etc/host
Add at end of line
IP Address domainname.domain.com domainname

step 2.
vi /et/sysconfig/network
Add at end of line
HOSTNAME=domainname.domain.com

step 3.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Add at the end of line
HOSTNAME=domainname
 
Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Name:

5 Words to sum up - Internet, Photography,Reading,Friends, Technology

Archives
January 2008 / June 2008 / September 2008 / November 2008 / January 2009 /


Powered by Blogger

Subscribe to
Posts [Atom]