Q1. When You Install Apache, What Is The Default Web Port Used To Serve Web Pages To Public Viewers?
Most web servers run on port 80, and Apache defaults to port 80 when you install the software. You can use an alternative port, but this forces the user to type a port into the browser when they access the website. The other popular port for web applications is port 8080.
Q2. How We Will Check Free Space On Drive /dev/sda With Parted Command?
#parted /dev/sda
print.
Q3. What Are Lvm1 And Lvm2?
- LVM1 and LVM2 are the versions of LVM.
- LVM2 uses device mapper driver contained in 2.6 kernel version.
- LVM 1 was included in the 2.4 series kernels.
Q4. What Is Volume Group (vg)?
The Volume Group is the highest level abstraction used within the LVM. It gathers together a collection of Logical Volumes and Physical Volumes into one administrative unit.
Q5. What Are The Steps To Create Lvm?
Create physical volumes by “pvcreate” command :
#pvcreate /dev/sda2
Add physical volume to volume group by “vgcreate” command :
#vgcreate VLG0 /dev/sda2
Create logical volume from volume group by “lvcreate” command :
#lvcreate -L 1G -n LVM1 VLG0
Now create file system on /dev/sda2 partition by “mke2fs” command :
#mke2fs -j /dev/VLG0/LVM1
Q6. What Is The Total Number Of Primary Partitions You Can Have On One Drive In Linux Red Hat?
you can have four primary partitions in Linux. This includes Red Hat and any other operating system.
Q7. What Is Logical Extent (le)?
Each logical volume is split into chunks of data, known as logical extents. The extent size is the same for all logical volumes in the volume group.
Q8. What Is Red Hat Network?
Red Hat Network : A systems management platform providing lifecycle management of the operating system and applications.
- Installing and provisioning new systems.
- Updating systems.
- Managing configuration files.
- Monitoring performance.
Redeploying systems for a new purpose “Hosted” and “Satellite” deployment architectures.
Q9. What Is The Difference Between Lvm And Raid?
RAID provides redundancy but LVM doesn’t provide Redundancy.
Q10. How Do You Identify The Ip Address Assigned To The Box?
The ipconfig command tells you the IP for the computer.
Q11. Explain Lvm Snapshot?
LVM snapshots allow the administrator to create a new block device which presents an exact copy of a logical volume, frozen at some point in time.
Q12. What Are Some Commands That You Can Use To Create A New User To Your System?
There are three commands you can use to add a user. The three commands are useradd, adduser, and linuxconf.
Q13. What Is The Standard Directory Used To Store User Html Website Files?
First, you need to install Apache, and Apache sets a default directory for public HTML files. The standard directory is /var/www/html.
Q14. How Do You Identify Which Version Of Red Hat Is Installed On The Server?
Open a Red Had shell command line and type /etc/redhat-release to identify the release version for Red Hat.
Q15. What Command Is Used To Remove The Password Assigned To A Group?
gpasswd -r.
Q16. What Is The Meaning Of Red Hat?
Red Hat Enterprise Linux (RHEL) is a distribution of the Linux operating system developed for the business market. RHEL was formerly known as Red Hat Linux Advanced Server.
Q17. What Command Should You Use To Check The Number Of Files And Disk Space Used And Each User’s Defined Quotas?
repquota.
Q18. What Is Physical Extent (pe)?
Each physical volume is divided chunks of data, known as physical extents; these extents have the same size as the logical extents for the volume group.
Q19. What Are The Process States In Unix?
As a process executes it changes state according to its circumstances. Unix processes have the following states:
- Running : The process is either running or it is ready to run .
- Waiting : The process is waiting for an event or for a resource.
- Stopped : The process has been stopped, usually by receiving a signal.
- Zombie : The process is dead but have not been removed from the process table.
Q20. How Can You Rename A File In Red Hat Linux?
Open the Red Hat Linux shell command line and use the mv command. The mv command takes the path to the original file and the path to the newly named file in the parameters. If you don’t specify the parameters, the mv command will ask you for them.
Q21. How Do You Access Mysql On Red Hat?
Go to the shell prompt and type mysql. Linux looks up the information contained in /var/mysql/mysql.sock and connects to the port listed in the sock file. If the port is blocked or mysql isn’t installed on the system, Red Hat Linux returns an error.
Q22. What Are The Objectives Of Red Hat Linux?
A user who can use effectively employ Red HatEnterprise Linux to customize his or her operating environment as well as accomplish common commandline tasks and desktop productivity roles.
Q23. What Type Of Remote Software Can You Use To Encrypt Communication But Control Your Server?
SSH is a remote desktop software that lets you remotely control the Red Hat server using a command line but also encrypts the information across the Internet. SSH uses port 22, so you must open this port when you set up Red Hat.
Q24. What Is ‘inode’?
All UNIX files have its description stored in a structure called ‘inode’. The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode.
Q25. Tell Me The Steps To Remove The Swap File?
- Firstly disable the swap file by “swapoff” command.
- Remove Swap file entry from /etc/fstab file.
- Now remove the swap file by “rm” command.
Q26. What Is A Linux Server Used For?
A Linux server is a high-powered variant of the Linux open source operating system that’s designed to handle the more demanding needs of business applications such as network and system administration, database management and Web services.
Q27. What Is Lvm?
LVM stands for Logical Volume Manager. LVM, is a storage management solution that allows administrators to divide hard drive space into physical volumes (PV), which can then be combined into logical volume groups (VG), which are then divided into logical volumes (LV) on which the filesystem and mount point are created.
Q28. What Can You Type At A Command Line To Determine Which Shell You Are Using?
echo $SHELL.