www.4cnotes.info

visit xdeem.com also

4cnotes.info

4cnotes.info for Free College Notes, Placement trainng

visit www.xdeem.com also

Thanks for ure visit

Thanks for visiting our site

visit xdeem.com also.

4cnotes.info

Thank u

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

WEB SERVER



AIM                                                                     
            To connect to apache server and make our machine as the host machine.
PROCEDURE
Step 1: Open the terminal.
Step 2: To check whether the server it is installed or not.         rpm -qa httpd
Step 3: If not installed to install the server using the command. Rpm –ivh httpd -*
Step 4: To configure the configuration file.   vi /etc/httpd/conf/httpd.conf
Step 4: To made the machine as host machine using the command.
Step 5: To modify the system configuration file.     vi /etc/sysconfig/network.
Step 6: To change the directory.     cd /var/www/html.
Step 7: To create the new html file.   vi index.html
Step 8: To start the web server service.    service httpd restart
Step 9: Go to the web browser and open the page.

RAID



AIM

                 To create a redundant array of inexpensive disk.
PROCEDURE
Step 1: Start the process by opening the terminal.
Step 2: List out all the disks available in the system using the command:
fdisk –l
Step 3: Make two partitions using the following command:
fdisk /dev/hdc
Step 4: Assign the raid hexa decimal code for the partitions.
Step 5: Again use the fdisk -l command to check whether the hexa decimal codes are assigned.
Step 6: Create the raid using the following command:
mdadm -C /dev/md0 -l 0 -n 2 /dev/hdc10 /dev/hdc11
Step 7: Format the disk using the command:
mkfs -t ext3 /dev/md0
Step 8: Mount the disk using the command:
mount /dev/md0 /mnt
Step 9: Use the following command to unmount the disk:
cd /mnt
Step10: Use the df command to view the disk space.
Step11: Make the copy of the data from one disk to another disk using the command:
cp -r /dev/hdc10 /dev/hdc11 /mnt
Step12: Unmount the disks and use the below command to stop the md0:
mdadm --stop /dev/md0
Step13: Finally remove md0 by using the following command:
mdadm --remove /dev/md0
Step14: Delete the created partitions using the fdisk /dev/hdc command .
Step15: Stop the process.

LOGICAL VOLUME MANAGER in Linux


AIM
                        To perform a Logical volume operations on the disk.


PROCEDURE

Step1: Start

Step2: Open a new terminal from system tools.

Step3: To display a menu.
·        fdisk /dev/hda
·        click n for new partition
·        click l for logical partition

Step4: To mention the size give +5 = 0 occupying 5 cylinders.

Step5: Again click n for new partition and l for logical partitions.