-
RED HAT LINUX ESSENTIALS INTERVIEW QUESTIONS & ANSWERS
-
Answer :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.
-
Answer :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.
-
Answer :echo $SHELL.
-
Answer :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.
-
Answer :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.
-
Answer :gpasswd -r.
-
Answer :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.
-
Answer :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.
-
Answer :
- 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.
-
Answer :RAID provides redundancy but LVM doesn’t provide Redundancy.
-
Answer :repquota.
-
Answer :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.
- Answer :#parted /dev/sda
print. -
Answer :Create physical volumes by “pvcreate” command :#pvcreate /dev/sda2Add physical volume to volume group by “vgcreate” command :#vgcreate VLG0 /dev/sda2Create logical volume from volume group by “lvcreate” command :#lvcreate -L 1G -n LVM1 VLG0Now create file system on /dev/sda2 partition by “mke2fs” command :#mke2fs -j /dev/VLG0/LVM1
-
Answer :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.
-
Answer :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.
-
Answer :
- View the existing partition table.
- Add partitions from free space or additional hard drives.
- Change the size of existing partitions.
-
Answer :
- Firstly disable the swap file by “swapoff” command.
- Remove Swap file entry from /etc/fstab file.
- Now remove the swap file by “rm” command.
- Answer :The ipconfig command tells you the IP for the computer.
-
Answer :Open a Red Had shell command line and type /etc/redhat-release to identify the release version for Red Hat.
- Answer :Layer 7 is the layer responsible for application support including support for user passwords and file sharing.
-
Answer :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.
-
Answer :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.
-
Answer :First, you need to install Apache, and Apache sets a default directory for public HTML files. The standard directory is /var/www/html.
Question 25. What Type Of Remote Software Can You Use To Encrypt Communication But Control Your Server?
- Answer :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.
-
Answer :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.
- Answer :you can have four primary partitions in Linux. This includes Red Hat and any other operating system.
Apache Webserver (Level 2) Interview Questions
-
Answer :There are three commands you can use to add a user. The three commands are useradd, adduser, and linuxconf.
-
Answer :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. -
Answer :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.
Question 13. How We Will Check Free Space On Drive /dev/sda With Parted Command?
Question 19. How Do You Identify The Ip Address Assigned To The Box?
Question 21. Which Layer In The Osi Model Is Responsible For The User’s Application When Working With An Application Over The Network?
Question 27. What Is The Total Number Of Primary Partitions You Can Have On One Drive In Linux Red Hat?
No comments:
Post a Comment