• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

AI, Linux, Cloud and DevOps

  • Home
  • Resources
    • Learn Linux
    • Articles
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • Facebook Page
  • Contact
  • Privacy Policy
  • About Me

Articles

Learn tar command and know about its precaution

July 10, 2013 by Sharad Chhetri Leave a Comment

Learn tar command and know about its precaution Tar(Tap Archive) command is used in Unix like operating system for archiving the files. Archive is a file which has number of files and these files can be extracted to its original format with the help of extraction programmes. These archived files are called tarballs. If you […]

Filed Under: Articles, Linux Commands Tagged With: linux command, tar

create noreply email id in postfixadmin mysql database

July 5, 2013 by Sharad Chhetri 4 Comments

create noreply email id in Virtual Domain and Users postfix mail server in postfixadmin’s mysql database I always prefer to go with Postfix mail server with mysql and dovecot. For postfix mysql as backend I generally use the postfixadmin. Postfixadmin is easy to configure whereas through web interface or command line you can manage the […]

Filed Under: Articles, MailServer Tagged With: postfix

configure: error: C++ compiler cannot create executables

July 5, 2013 by Sharad Chhetri Leave a Comment

configure: error: C++ compiler cannot create executables This kind of error generally comes when you are installing the package from source code. The source code have many C or C++ files which require C compiler. To solve this issue in CentOS and Red Hat ,run the below given command. Here we are using wildcard * […]

Filed Under: Articles, Tips And Tricks Tagged With: linux

NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file

July 4, 2013 by Sharad Chhetri Leave a Comment

NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file This is continue of my last post on how to change nagios frontend with vshell Nagios version : 3.x While configuring the vshell it might be possible you can get this warning message.The warning message occur when you run […]

Filed Under: Articles, Monitoring Server Tagged With: Nagios, vshell

check_openerp nagios plugin for openerp service

July 3, 2013 by Sharad Chhetri Leave a Comment

In this post, we will create a custom Nagios NRPE plugin to monitor openerp service. We have named it as check_openerp and it is written in bash script.

Filed Under: Articles, Monitoring Server Tagged With: Nagios

Use Linux Date Command As A Timezone Converter

July 2, 2013 by Sharad Chhetri Leave a Comment

Date command is not only use for setting and viewing the date and time of system but it can also be used to display current date and time running in some other country or can also display future date and time of other country. For this we must need the time zone information of the […]

Filed Under: Articles Tagged With: date

Learn Linux Date Command With Examples

July 2, 2013 by Sharad Chhetri Leave a Comment

In this post we will learn about how to set date and time as well as how to get date and time information with date command.Note: If you want to set date and time of system you must be login with superuser or root. Date command is one of the useful command in linux. At […]

Filed Under: Articles, Linux Commands, Tips And Tricks Tagged With: date, linux command

check_memory unable to read output Nagios nrpe

July 2, 2013 by Sharad Chhetri Leave a Comment

check_memory unable to read output Nagios nrpe While setting up the nagios Monitoring system in my new network.I decided to use check_memory plugin. I downloaded the plugin from exchange.nagios.com Here below one is given link. check_mem_avail While working I got this error from check_memory plugin “NRPE : unable to read output” . After debugging I […]

Filed Under: Articles, Monitoring Server Tagged With: Nagios

Change default editor of crontab in Ubuntu

July 1, 2013 by Sharad Chhetri Leave a Comment

Change default editor of crontab in Ubuntu When you first time open the crontab with command crontab -e it will ask you to set the default editor. In this tutorial we will see how to set default editor of crontab as well as how to change it to other default editor. I usually work with […]

Filed Under: Articles, Tips And Tricks Tagged With: crontab

how to deny root ssh access in linux server

June 30, 2013 by Sharad Chhetri Leave a Comment

how to deny root ssh access in linux server For security point of view we generally restrict root direct ssh access in server.But keep in mind you also must have user who can access the server other than root. So before doing this practical ,check if you have access to server with other user or […]

Filed Under: Articles, SSH Tagged With: ssh

send email after mysql backup through bash script in simple way

June 30, 2013 by Sharad Chhetri Leave a Comment

send email after mysql backup through bash script in simple way In Facebook group one of the user asked this question “how to send email after mysql backup through bash script”. If you know bash scripting a bit it is just a one liner. It can be write in more advanced form but here I […]

Filed Under: Articles, mysql, Tips And Tricks Tagged With: bash script, mysql

How to configure Nginx with Django in Ubuntu

June 28, 2013 by Sharad Chhetri Leave a Comment

Configure Nginx with Django

In this tutorial we will learn how to configure nginx with django project in Ubuntu. Here in this scenario I have already putted the Django Project code in /opt and before this I installed django from its source code. Actually in this scenario the code was developed in staging machine and I moved it to […]

Filed Under: Articles, Server Tagged With: django, nginx

Allow wget and yum in iptable

June 28, 2013 by Sharad Chhetri Leave a Comment

Allow wget in iptable Today when I was trying to do wget from my server I found it did not allow me to do it. Then I check with yum command also and found the error message “Couldn’t resolve host ‘some.domainname.com'”. It seems the iptables rule in Server is not allowing to wget and yum. […]

Filed Under: Articles, Tips And Tricks Tagged With: iptable

How To Protect From w00tw00t.at.blackhats.romanian.anti-sec

June 27, 2013 by Sharad Chhetri 4 Comments

We purchased some server in Digital Ocean and found the w00tw00t.at.blackhats.romanian.anti-sec attack. The same kind of attack we also found in our AWS EC2 servers. w00tw00t.at.blackhats.romanian.anti-sec is kind of script attack in which attacker try to find the loopholes in phpmyadmin and php with Apache and try to manipulate through URL.The same thing I found […]

Filed Under: Articles, Tips And Tricks Tagged With: Server attack

How to create a file with cat command

June 25, 2013 by Sharad Chhetri Leave a Comment

How to create a file with cat command Cat command has many use , in my earlier post I wrote about how to see line no. in file with cat command In this example I will guide how simply you can also create a file and write content in it. Steps to follow In this […]

Filed Under: Articles, Tips And Tricks Tagged With: cat

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 23
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • Interim pages omitted …
  • Page 33
  • Go to Next Page »

Primary Sidebar

Articles

  • Install n8n docker in Ubuntu for practicing
  • Bash Script: MySQL Database backup to AWS S3
  • Automate no touch Jenkins setup wizard on docker (jcac)
  • How to run and configure Jenkins in Docker container
  • Complete Guide: How to install Nagios Monitoring on AlmaLinux / Rocky Linux
  • Install KVM on Ubuntu 24.04 LTS ( Bash Script )
  • How to install GIMP 2.10 on Ubuntu / Debian
  • 5 ways to check Ubuntu version of system (commands and GUI)
  • How To Solve Forgot MySQL / MariaDB Root Password
  • Create Self Hosted Build Agent Docker Image for Azure DevOps

Copyright © 2026 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From India.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy