A sample init script

A sample init script i am using this to “service” manage zeppelin which is installed to “/opt/zeppelin-0.7.0-bin-all and the start command is /opt/zeppelin-0.7.0-bin-all/bin/zeppelin-daemon.sh start change to suit your situation. script below. #!/bin/sh # Available run levels:     2 3 4 5 # Stopped run levels:      0 1 6 dir=“/opt/zeppelin-0.7.0-bin-all” cmd=“/opt/zeppelin-0.7.0-bin-all/bin/zeppelin-daemon.sh start” user=“” …

How to install Gnome GUI on RHEL/Centos 7

Make sure your yum repositories is configured. then, install the following # yum groupinstall “GNOME Desktop” “Graphical Administration Tools” OR # yum groupinstall “Server with GUI” Next, you want to enable default runlevel as the graphical target (this would be /etc/inittab on Centos 6) by running the below # ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target And then …