Posts

What is SELinux in Red Hat

What is SELinux in Red Hat SELinux stands for Security enhance linux, selinux is an additional layer of security in Linux operating system. SELinux is use to protect the data of system services, therefore never disable or configure SELinux into permissive mode. SELinux is a set of rule that it is use to secure the Linux operating system processes, directories, files and ports. SELinux have a security lable on process, files and ports that is called SELinux context. The context are user, role, type and sensitivity. Lets take an example of context, for example the web server "apache". The context end with _t, in linux web server (apache) SELinux context is httpd_t and linux web server apache files and directories available in /var/www/html that context is httpd_sys_content_t. The linux web server (apache) port SElinux type context is httpd_port_t. For Linux web server (apache), selinux have a policy rule to allow file and directories with context in /var/www/html. if file and d...

Top Command in Linux

Image
What is Top Command in Linux Definition: Top command is use for to monitor the processes in Linux operating system, actually top is a task manager similar to windows operating system. Top is most useful system administrative command to monitor the process. The top command is use to view the real time process of the system. Their are different version of top in different operating system.Top in Unix version was written by William LeFebvre since 1984, in Linux top is procps-ng group of tools that was written by Roger Binns, in solaris top is prstat program and in windows top is a task manager. By the use of top command in Linux Operating System user's can view the real time process PID, USER, PR, NI, VIRT, RES, SHR, %CPU, %MEM, TIME and Command , detail information of each are mention below. PID: PID is a process id of each running task. The task may be audit, snmp and etc. USER: User is shows the all users that is owner or custodian of the running process. PR: PR is the priority ...

How to Install and Configure Cups Print Server on Centos 7

Image
Installation and Configuration of CUPS Print Server on CentOS 7/Red Hat 7 CUPS stands for common unix printing system.CUPS allow a operating system (LINUX OS) to act as a print server due to its modular printing system. CUPS is a open source printing system that is develop by Apply Inc for macOS, Linux OS and UNIX OS. CUPS support local and network printers due to use of Internet Printing Protocol (IPP). In Linux operating system CUPS is also use as a centralized printing system means other computer on a network use CUPS host as a Print Server, in other words you can say that the computers on a local network that connect to the CUPS host for printing can send a print jobs to the printer on a network by the use of CUPS host. In Linux CUPS Print Server can send a print job to shared printer, network printer and local printer (Printer is directly connect to the CUPS Print Server). LINUX CUPS (Common Unix Printing System) Print Server is providing below mentions options for printing as...

How to Install and Configure NFS Server on CentOS 7

Image
Installation and Configuration of NFS Server on CentOS Linux 7/Red Hat Linux 7/Oracle Linux 7 NFS stands for Network File System. In Linux the purpose of NFS server is to access files and directories from Linux server to Linux client machine, actually NFS is a distributed file system protocol that use for to share files and directories with in a network. NFS protocol is initially develop by Sun Microsystems in 1984. Currently the major versions of NFS Server are using NFSv3, NFSv4 and NFSv4.1. NFS protocol provide a better file sharing, better security and better performance (caching). By the use of NFS server you can share files and directories to multiple client machines that reduces the storage cost of local disk. In NFS server you can set the permissions on share folder for read and write (rw), read only (ro) and etc. In CentOS Linux 7/Red Hat Linux 7/ Oracle Linux 7 NFSv4 protocol is use that is a stateful distributed file system protocol. Server Configuration: To install NFS pack...

How to Configure ISCSI Drive from SAN on Linux

Image
Configure iSCSI Drive from SAN on Linux iSCSI stands for internet small computer system interface. iSCSI is a transport layer protocol that uses initiators to send commands to target storage devices on remote sites. The storage targets can be on SAN, NAS, Tape devices and etc.  Here we are using software based iSCSI initiator that is less expansive then  Host base adapter that is a hardware device. With the help of iSCSI we can setup centralized storage. iSCSI is use standard Ethernet, it is not require expansive switches and cards that require to run on Fiber Channel Networks.  The Performance of iSCSI is depend upon the technologies for example 10 GbE, Mulitpathing I/O, Jumbo Frames and Data center bridging. Here we are configuring iSCSI Drive from SAN (Storage Area Network) on Linux (RedHat 7, CentOS 7, Oracle Linux 7 and etc). First configure the IP address on Linux machine (RedHat 7, CentOS 7, Oracle Linux 7 and etc) of same LAN (Local Area Network) as same network o...