How to Install Fedora1.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 systemmkfs ("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 systemNow 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 namestep 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
SFTP configurationIts same procedure as we discussed in ssh.
1.Generate the key first
$ ssh-keygen -trsa
it will be create and stored in .ssh directory
2.copy the key to destination host.
$ ls -a
. .. authorized_keys id_rsa id_rsa.pub known_hosts
Here u need to copy the id_rsa.pub to destination host.
$ scp id_rsa.pub ram@172.1.00.00:~/.ssh/authorized_keys
ram@172.1.00.00's password:
id_rsa.pub 100% |*****************************| 233 00:00
3.do sftp to which host u need to do
$ sftp 172.1.00.00
Connecting to 172.1.00.00...
sftp>
You can do ftp with scure way now.
SSH configuration for one host to other host in UNIX.1.Generate the key from which host to need to do for ssh
$ ssh-keygen -trsa
it will be create and stoerd in .ssh directory
2.copy the key to distination host.
$ ls -a
. .. authorized_keys id_rsa id_rsa.pub known_hosts
Here u need to copy the id_rsa.pub to destination host.
$ scp id_rsa.pub ram@111.11.1.1:~/.ssh/authorized_keys
ram@111.11.1.1's password:
id_rsa.pub 100% |*****************************| 233 00:00
3.Once successfully copied, do the ssh it wont ask any password
[ram@bc .ssh]$ ssh 111.11.1.1
Wel Come To Dax Server
[ram@dax ~]$
Note: Before do this configuration make sure that the username for both host are same.
How to start ftp service. Linux is configured to run the Telnet and FTP server, but by default, these services are not enabled.
Configure FTP and starting the deamons. Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.
[root@rak tmp]# /etc/init.d/vsftpd start
[root@rak tmp]# /etc/init.d/vsftpd stop
(or)
[root@rak tmp]# /etc/init.d/vsftpd restart
[root@rak ~]# pgrep httpd (it will be tell the port number which is enabled for ftp)
Change the Run Level in Linux OS.-Open in vi mode /etc/inittab file
-change the Runlevel 5 to 3 and save it.
-Runlevel 5 means enabled for Graphic mode.