Putty : Connect Linux Server from Windows Computer

Putty : Connect Linux Server from Windows Computer Here is video to show how to connect Linux server from Window   Putty is free tool to connect Linux server. You can down putty from below link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html  

Disable SELinux in Linux

selinux

SELinux  – Security-Enhanced Linux Linux is regarded as one of the most secure operating systems you can use today, that is because of its illustrious security implementation features. For starters, SELinux is described as a mandatory access control (MAC) security structure executed in the kernel. SELinux offers a means of enforcing some security policies which would otherwise not … Read more

Kill all instances of httpd

If a process is hanging in a bad state and it won’t go away even after sending it a SIGTERM, you can send it the SIGKILL (Signal number 9) signal, which is a forced shutdown of a process. Note that with SIGKILL the process will not have opportunity to clean up any system resources it … Read more

MySQL : Cheking MySQL replication status

mysql master - slave replication

Once replication has been started it should execute without requiring much regular administration. Depending on your replication environment, you will want to check the replication status of each slave periodically, daily, or even more frequently. Checking Replication Status: The most common task when managing a replication process is to ensure that replication is taking place … Read more

Apachetop – Web server Real time Traffic Monitor

apachetop Realtime http request monitor

Apachetop is very simple command line utility that you can use to monitor traffic real-time. It accomplishes this by parsing the apache logfiles and displaying meaningful output to the screen. How to install Apachetop yum -y install apachetop How this used to display the http request # apachetop -r 5 -T 30 This means apachetop will … Read more

Clear query cache without restarting server : MySQL

MySQL Cluster

Clear Memory Cache on Linux centos RESET QUERY CACHE will clear out the query cache, but needs RELOAD privileges. RESET QUERY CACHE; or FLUSH QUERY CACHE does NOT clear out the query cache, it simply defrags it leaving the cached query results in place. FLUSH QUERY CACHE;       [xyz-ihs snippet=”Discuss”]

Enable setup command in CentOS minimal install

setup utility

  Generally setup command is not used to install in centos minimal installation: Here is the step to install setup command in centos: # yum install setuptool -y # yum install system-config-network* -y # yum install system-config-firewall* -y # yum install system-config-securitylevel-tui -y # yum install system-config-keyboard -y # yum install ntsysv -y

ntp – installation and configuration

ntp server

You need to install the following packages: ntp : ntpd server which continuously adjusts system time and utilities used to query and configure the ntpd daemon. ntpdate : Utility to set the date and time via NTP. ntp-doc : NTP documentation Open the terminal or login over the ssh session. You must login as as … Read more

Changing a file’s Date Created and Last Modified attributes in linux

Linux yum

Easiest way – accessed modified will be the same: # touch -a -m -t 201512180130.09 fileName.txt Where: -a = accessed -m = modified -t = timestamp – use [[CC]YY]MMDDhhmm[.ss] time format If you wish to use NOW just drop the t and the timestamp You can add *.txt file to change the attributes of all … Read more