Creating a BASH init startup script

Create a simple bash init script, and pass the arguments to stop or start a process. In this example we will use the init script to control tcpdump. Pre-Requisites: Create, and apply permissions. $ touch /etc/init.d/tcpmonitor $ chmod +x

Secure Passwordless SSH using Keys

A quick post on how to setup passwordless ssh access between linux hosts. When generating a key pair, it provides you with a public and a private key. You can place the public key on any server, and then it

Find Command in Linux

Post on the find command in Linux. Find files modified in the last 7 days: find /opt/ -mtime +7 Finding Files: find /opt/ -type f -name "abc*" Finding Directories: find /opt/ -type d -name "abc*" Find

Setup Ruby on Rails for CentOS

Ruby on Rails, or simply Rails, is a web application framework written in Ruby. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages. Lets get started with our setup:

Close You've successfully subscribed to Sysadmins.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.
Close Success! Your billing info is updated.
Close Billing info update failed.