vps centos check cpu and memery usage

For memery use: free -m You will see an output like this: total       used       free     shared    buffers     cached Mem:           512        462         49          0         46…

Creating links to files and directories in unix centos vps

Creating a link to a directory It is often useful to change to another directory without typing its full pathname: symbolic links provide a useful shortcut to do this. A symbolic link differs from a hard link. It is a small file that contains a reference (by name) to a directory or file that already exists. Unlike normal…

add tomcat to auto start in centos VPS

This article assumes that you have already installed the Apache Tomcat Server on your Linux Centos machine. If you need help with your with Apache Tomcat Setup then please click on the Link below.   Step 1: Create a file named tomcat6 in your /etc/init.d directory $ cd /etc/init.d $ gedit tomcat6  If this file…

open MySQL in CentOs and auto start

* To start mysql server: /etc/init.d/mysqld start * To stop mysql server: /etc/init.d/mysqld stop * To restart mysql server /etc/init.d/mysqld restart Tip: Redhat Linux also supports service command, which can be use to start, restart, stop any service: # service mysqld start # service mysqld stop # service mysqld restart To make it auto start:…