linux

  1. bhawanisingh

    Scheduling cron job under Linux or UNIX

    Adding Jobs To cron Under Linux or UNIX: Using cron the Linux and UNIX users can run their scripts and commands at the specified time and date. Scripts can also be scheduled. Corn is the mostly preferred tool for running system admin jobs and it will always executed in the background. It...
  2. bhawanisingh

    Set Time, Date Timezone in Linux Command Line

    It's very important to set correct time and date in Linux.various things only depend on this time zone. It's not a matter that you are using Linux server or Linux to your personal computer.it's always important to set the correct time on the server or on the clock. Date Timezone in Linux from...
  3. bhawanisingh

    How to Enable SSH Login Notification on Linux CentOS server?

    Is your Linux server is used by multiple people on same time? If yes, then add an SSH login notification on your server so you come to know whenever and whom login. It will send you an email when someone login to your account. But for this its must that your server will be able to send an email...
  4. bhawanisingh

    On CentOS server : How to Start/Stop or restart Ngnix server?

    Ngnix which is also known as Engine-X, is an open source software for reverse proxying , load balancing, web serving, media streaming, caching and more. As it is already described that Nginx is used as load balancer and reverse proxy for servers like HTTP,HTTPS, UDP and TCP. As Nginx is a load...
  5. bhawanisingh

    How to change SSH port on CentOS Linux Server ?

    In need to secure your server you should avoid default port for SSH as it will increase the security level and decrease risk of vulnerability. We all know that default SSH port is 22, we should change it to something else but you should must take care before choosing a number that it is not in...
  6. bhawanisingh

    [RESOLVED] Error "Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

    This problem occurs when you run command "# mysql -u USER -p". It happens as MySQL is not running or installed on server. To rectify this we have first check whether MySQL is running or not. To check MySQL is Running or not type the following command: ---- # service mysqld status ---- You can...
  7. bhawanisingh

    [SOLVED] Error cPanel "Your IP address has changed. Please log in again".

    Error cPanel "Your IP address has changed. Please log in again" This error occurs when your IP address chnaged while you logged into your cPanel control panel. There must be two possibilities behind this error messgae. 1). Either, Your Internet Servive Provider (ISP) has a short DHCP lease...
  8. bhawanisingh

    How to install CentOS Web Control Panel on CentOS system ?

    CentOS Web Panel is a free web hosting control panel which facilitates you to easily manage servers. The latest version of CentOS Web Panel 0.9.8.6 was released on 19th April 2015. This control panel is full with various features that provide an ease to manage and operate server operations...
  9. bhawanisingh

    How to remove server signature from CentOS/RedHat Linux System

    Web Server signature is an information about the server and hosting operating system i.e. Apache version number and operating system info. By default configuration of Apache, any error page will show the full signature of the server (version number), that can be risky as it can be used by...
  10. bhawanisingh

    How to fix Nginx Error "413 Request Entity Too Large" ?

    Nginx Error 413 Request Entity Too Large : This error is a very common error in nginx, which normally comes when we requests more information than is limited by PHP and Nginx configurations. It occurs on stand alone nginx server, when nginx acts as a front end server for apache at back end...
  11. bhawanisingh

    How to add/change a user to a group in Linux operating system ?

    Changing the group of a user is quite easy and simple task, but it is not known to every user. In this topic we will tell you the commands through which not only you can add new user to a group but also change existing user's group too. The basic commands used are "useradd" and "usermod"...
  12. bhawanisingh

    How to check performance of linux system through command line ?

    To monitor and debug a Linux system performance is really a tough job for a system administrator in Linux. It's not quite easy for experts also to monitor and keep system up and running, But, there are many utilities through which monitoring your system becomes easy and reliable too. There are...
  13. bhawanisingh

    How to check CPU and Processor details on CentOS ?

    To display CPU information like number of CPUs, cores, threads, NUMA nodes, sockets, information about CPU caches, model, CPU family and stepping and their speed on Linux operating systems. We can get information about cpu using these commands lscpu, /proc/cpuinfo and lstopo (hwloc). These will...
  14. bhawanisingh

    How to check RHEL/CentOS kernel version ?

    Linux command check RHEL/CentOS kernel version : You can check CentOS kernel version through following command which works with all Linux distributions, such as Red Hat, CentOS, Debian, and Ubuntu. It also works on other UNIX-like operating systems such as HPUX, FreeBSD, OpenBSD, Solaris, etc...
  15. bhawanisingh

    How to check CentOS version in Linux ?

    There are several ways to get CentOS version information running on your system. Below given are examples through which you can get CentOS version. However, each one will not work for you but mostly works one of them. 1). You can check CentOS version through cat command (always works): ---- #...
  16. bhawanisingh

    Linux SCP command with examples.

    The scp command in Linux is used to transfer files between machines over a secure, encrypted connection. It is similar to rcp. The general syntax to transfer a local file to a remote system is as follows: ----- scp source_file_name username@destination_host:destination_folder ----- The...
  17. bhawanisingh

    Linux Free Command and it's usage

    Linux is one of the most popular open source operating system and comes with huge set of commands. To check the total available space of the physical memory and swap memory we can use “free” command utility in Linux. The Linux “free” command gives information about total used and available space...
  18. bhawanisingh

    Linux Mail command with examples

    Importance of emails these days are very well known for information transfer. It provide a fast and reliable way to transfer your message instantly and secured. There are many email providers which provides you an interface to send or receive mails. But, what if we need to send emails through...
  19. bhawanisingh

    Linux Find command and it's usage with example.

    Find Command in Linux : The Linux Find Command is used to search and locate list of files and directories in Linux File system. You can find files on behalf of users, permissions, groups, date, size, file type and other possible criterias. Examples of Find commands : 1. Find Files Using Name...
  20. bhawanisingh

    rsync Command in Linux

    rsync Command rsync means remote sync. rsync is a utility provided by linux to synchronize the files and folders from one location to another on same or remote server. rsync is basically used to perform backup task on Linux servers. Key features of rsync are : 1). Speed : the main and...
Top