the classical way to mount filelsystems automatically is to use fstab there is another method which is based on systemd [root@svn ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Wed Apr 26 17:25:59 2017 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/cl-root / xfs defaults 0 0 UUID=6e3708b2-09ea-43f3-b0f0-9b43a157b3b1 /boot xfs defaults 0 0 /dev/mapper/cl-swap swap swap defaults 0 0 [root@svn ~]# #description /boot - where you want to mount filesystem xfs - filesystem defaults ...
Tomcat Component are Catalina Coyote Jasper Cluster Catalina : Catalina is the name of the servlet container of Apache Tomcat since version 4.x. Tomcat implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP), which are important Java-based Web technologies. Tomcat's servlet container was redesigned as Catalina in Tomcat version 4.x. other components of the Tomcat engine are: Tomcat Jasper which converts the code portions within JavaServer Pages into servlets and pass them to Catalina to process. Tomcat Coyote which is an HTTP connector based on HTTP/1.1 specifications that receives and transmits web requests to the Tomcat engine by listening to a TCP/IP port and returns requests back to the requesting client. Coyote : The Coyote JK Connector element represents a Connector component that communicates with a web connector via the JK protocol (also known as the AJP protocol). This is used for cases where you wish to invisibly integ...
You can use the following commands to run as another user or as root user. #1: runuser command The runuser command run a shell with substitute user and group IDs. This command is useful only when run as the root user : Only session PAM hooks are run, and there is no password prompt. If run as a non-root user without privilege to set user ID, the command will fail as the binary is not setuid. As runuser doesn’t run auth and account PAM hooks, it runs with lower overhead than su. The syntax is: runuser -l userNameHere -c 'command' runuser -l userNameHere -c '/path/to/command arg1 arg2' For example, as a root user you may want to check shell resource limits for oracle user, enter: # runuser -l oracle -c 'ulimit -SHa' OR check nginx or lighttpd web server limitations: # runuser -l nginx -c 'ulimit -SHa' OR # runuser -l lighttpd -c 'ulimit -SHa' Sometime, a root user can not browse NFS mounted share due to permission (secur...
more command also used to show contents of the file
ReplyDelete