• 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

error command ‘gcc’ failed with exit status 1 in Ubuntu

July 31, 2013 by Sharad Chhetri Leave a Comment

While installing the python module I got this error ,”error command ‘gcc’ failed with exit status 1 ” To solve this issue install python-dev package sudo apt-get install python-dev Now recheck,I hope the problem is solved now.

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

Show running process in postgresql

July 31, 2013 by Sharad Chhetri Leave a Comment

Show running process in postgres I mostly use the MySQL server and very much familiar with its commands and how it works. Today I was checking How to check the running process in Postgresql. In MySQL we use show processlist; command. In Postgresql,to show running process in postgres use below given command Step 1: Login […]

Filed Under: Articles Tagged With: postgres

Set group password,its use and check which group after newgrp command in linux

July 30, 2013 by Sharad Chhetri Leave a Comment

Set group password,its use and check which group after newgrp command in linux As per the title of my post it has 3 questions: (1) How to set group password in Linux ? (2) What is its use ? (3) How to know you are using which group after using command newgrp ? How to […]

Filed Under: Articles Tagged With: group password

How to set -m option as default in useradd command in linux

July 27, 2013 by Sharad Chhetri Leave a Comment

How to set -m option as default in useradd command in linux Using -m option with useradd command create the user’s home directory . In Debian and Ubuntu when we simply use useradd command without any option bydefault it do not create user’s home directory in /home whereas in CentOS and Red Hat when you […]

Filed Under: Articles Tagged With: useradd

ClamAV-clamd av-scanner FAILED: CODE(0x2286dd0)

July 23, 2013 by Sharad Chhetri 3 Comments

While working today on setting Amavisd-new,Clamav and spamassasin in Ubuntu 12.04 LTS,I got the below given error. Jul 23 12:20:47 mail postfix/qmgr[18020]: 0D1AF61F95: from=, size=739, nrcpt=1 (queue active) Jul 23 12:20:48 mail amavis[18032]: (18032-02) (!)run_av (ClamAV-clamd) FAILED – unexpected , output=”/var/lib/amavis/tmp/amavis-20130723T122047-18032-utKqe6rf/parts: lstat() failed: Permission denied. ERRORn” Jul 23 12:20:48 mail amavis[18032]: (18032-02) (!)ClamAV-clamd av-scanner FAILED: […]

Filed Under: Articles Tagged With: mail server

Set hostname and FQDN in Ubuntu without reboot

July 23, 2013 by Sharad Chhetri 10 Comments

Set hostname and FQDN in Ubuntu without reboot I will first start with definition of FQDN because many people have confusion over it. Hostname and FQDN both are little bit different.It is best to give the reference from wikipedia so that there should be no dispute. FQDN or Fully Qualified Domain Name: With reference form […]

Filed Under: Articles Tagged With: hostname

How to set DHCP offered ip address to particular ethernet in freebsd

July 21, 2013 by Sharad Chhetri Leave a Comment

In this post we will learn How to set DHCP offered ip address to particular ethernet in freebsd. I freshly installed the freebsd 9.0-RELEASE in Virtual box. I added two ethernet or NIC to virtual machine. After restart I found only my first ethernet has the ip address. The second ethernet does’not have any ip. […]

Filed Under: Articles, BSD, BSD troubleshooting Tagged With: freebsd

Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/

July 21, 2013 by Sharad Chhetri 1 Comment

Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/vim.tbz This was my first encounter with problem while working in freebsd after doing fresh install.I was trying to install vim in freebsd by using the command pkg_add -r vim I got this below given Error: Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/vim.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable […]

Filed Under: Articles, BSD troubleshooting Tagged With: freebsd

Setup Master Slave Chroot BIND DNS in CentOS 6 or Red Hat 6

July 20, 2013 by Sharad Chhetri 9 Comments

Setup Master Slave DNS in CentOS 6 or Red Hat 6 In this tutorial we will learn about how to setup Master Slave DNS in CentOS 6 or Red Hat 6. DNS is a big concept and the Internet World run on it.In this post I tried to write the how to as simple as […]

Filed Under: Articles, DNS Server Tagged With: DNS

Your data directory and files are probably accessible from the internet because the .htaccess file does not work owncloud

July 18, 2013 by Sharad Chhetri 2 Comments

While reinstalling the owncloud in Ubuntu I got this error message on screen when I hit the URL of owncloud – “Your data directory and files are probably accessible from the internet because the .htaccess file does not work”. To solve this issue. We have to only correct our apache configuration file. In owncloud.conf file […]

Filed Under: Articles, owncloud Tagged With: owncloud

create and delete user in Red Hat and CentOS

July 17, 2013 by Sharad Chhetri Leave a Comment

create and delete user examples in Red Hat and CentOS In this tutorial we will learn about creating and deleting the user in Red Hat and CentOS. In this post we will explore the useradd and userdel commands. Basic command to create user In Red Hat and CentOS,create a user and set password as per […]

Filed Under: Articles, Linux Admin Tagged With: user management

How to use email id of Gmail for sending nagios email alerts

July 16, 2013 by Sharad Chhetri 29 Comments

How to use email id of Gmail for sending nagios email alerts In this tutorial we will learn about how to use email id of Gmail for sending nagios email alerts. Requirement: (1): Create one email id of gmail for sending emails from nagios server eg. nagiosalerts@gmail.com (2): Using ssmtp package . As per man […]

Filed Under: Articles, Monitoring Server Tagged With: Nagios

How to find swap partition or file in linux

July 15, 2013 by Sharad Chhetri Leave a Comment

Swap space can be a dedicated swap partition , a swap file or a combination of swap partitions and swap files. In this article, we will learn to find swap partition or swap file in the Linux Operating System. Methods to find the swap partition / file The given below are the mostly used methods […]

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

Convert video file into gif file through command line in linux

July 10, 2013 by Sharad Chhetri 1 Comment

In this post, learn how to convert video file into gif file through command line in linux. For converting the video file into gif file there are many methods. We tried most of the methods. We used some software package like mplayer and image-magick. Image-magick has one issue that is related to memory allocation. With […]

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

create iso image of directory in linux

July 10, 2013 by Sharad Chhetri Leave a Comment

ISO file is known for archive file of optical disc like CD/DVD . ISO name has been taken from ISO 9660.The .iso file extention is mostly used for disc images. In Linux you can also create .iso image of directory.The method will help to take archive of desired directory in filesystem. It has one more […]

Filed Under: Articles Tagged With: iso file

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 22
  • Page 23
  • Page 24
  • Page 25
  • Page 26
  • 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