• 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

How to configure static ip address through command line in Ubuntu

October 27, 2013 by Sharad Chhetri Leave a Comment

In this tutorial we will learn simple steps to configure the static ip address in Ubuntu by using command line. It is always be a good practice to work on Linux or Unix system using command line.As a system admin we always prefer to work by using command line. Follow the given below steps to […]

Filed Under: Articles Tagged With: static IP, ubuntu

how to mount NAS storage in owncloud to keep all users data

October 23, 2013 by Sharad Chhetri 38 Comments

In this post I am sharing about how I mounted the NAS storage in owncloud to keep all users data in it. I checked the External Storage application of owncloud but here our requirement is we want to keep all data in NAS storage and user should not save anything in Owncloud Server’s disk. The […]

Filed Under: Articles, owncloud Tagged With: owncloud

postgres database backup script using database user password inside

October 20, 2013 by Sharad Chhetri 1 Comment

Postgresql is open source object-relational database system and it is also widely use likewise mysql database system. If you are familiar with mysql you must be aware that in single line you can pass the password of mysql user for eg. mysql -u root -p password. But in postgresql it is not like that. Solution: […]

Filed Under: Articles, Tips And Tricks Tagged With: database, postgresql

hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory

October 18, 2013 by Sharad Chhetri Leave a Comment

Few days back I did some changes in /etc/postfix/virtual file and restarted the postfix service.Today I saw some error in mail logs stating “hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory” I checked /etc/postfix/virtual.db about its existence by using command ls -l /etc/postfix/virtual.db and found it was not there. To resolve this […]

Filed Under: Articles Tagged With: postfix

How to zip directory in linux explained with examples

October 18, 2013 by Sharad Chhetri Leave a Comment

Zip is command in linux is used for compressing files and directory.In this post we will learn how to zip the directory or folder in linux. To compress directory use the below given format zip -r give-file-name.zip Directory-name example: root@tuxworld:/opt# ls -ld teamviewer8/ drwxr-xr-x 6 root root 4096 Oct 2 08:43 teamviewer8/ root@tuxworld:/opt# zip -r […]

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

How to enable logging of haproxy in rsyslog

October 16, 2013 by Sharad Chhetri 11 Comments

After installing the HAproxy 1.4 in CentOS 6.4 bydefault logging of haproxy was not enable.To enable the logging of HAProxy you have to enable it in rsyslog (In CentOS 6.4 minimal installation,rsyslog version 5.2 is shipped). To setup logging in HAproxy,follow the given below steps Step 1: In Global Section of haproxy.cfg put the value […]

Filed Under: Articles Tagged With: haproxy, loadbalancer, logging, rsyslog

how to set maintenance page for all except to your network

October 7, 2013 by Sharad Chhetri Leave a Comment

Today in this tutorial we will learn how to set maintenance page in PHP based website.In this example publicly the website will show maintenance page for all but the maintenance page will not be visible for your network. In other words,from your network you will see complete website (not maintenance page).The developer and system admin […]

Filed Under: Articles Tagged With: maintenance page

How to install whois client in CentOS and Red Hat

October 1, 2013 by Sharad Chhetri 7 Comments

Whois is a protocol which runs on port no. 43 and it is also act as query. Whois helps to get the information regarding internet resources like domain name and IP Address network blocks. Mostly it is widely used for getting information about domain like owner of domain name,its registrar,Date of expiry etc. Install whois […]

Filed Under: Articles Tagged With: CentOS, Red Hat, whois

Setup varnish cache server for wordpress site

September 30, 2013 by Sharad Chhetri Leave a Comment

In this turorial we will learn,how to configure Varnish 3.x vcl file for WordPress.We will setup varnish cache server for wordpress site.This will increase the page load speed of the site/blog.Recently I migrated my server to DigitalOcean.To migrate the server from web hosting to cloud server was not done first time,it was also done in […]

Filed Under: Articles, web accelerator Tagged With: varnish

Install and configure Varnish Cache server on CentOS/RHEL 6.x

September 25, 2013 by Sharad Chhetri 11 Comments

In this tutorial we will learn about,how to install and configure Varnish Cache server on CentOS/RHEL 6.x. We will install varnish 3.0 version in CentOS 6.x . I am writing this basic tutorial to setup your first varnish in server.Here we will use rpm packages for installation.The rpm packages are available as per your operating […]

Filed Under: Articles, web accelerator Tagged With: varnish, web accelerator

SCP file and directory in linux and Unix like operating system

September 23, 2013 by Sharad Chhetri Leave a Comment

SCP stands for secure copy.It is based upon SSH (Secure Shell) protocol.SCP is used for securely transferring the files between local and remote system. Note: If SSH service is not running or deny by firewall or IPTABLES of system then SCP will also not work. Syntax: scp SOURCE-FILE-LOCATION TARGET-LOCATION (1) SCP file from local to […]

Filed Under: Articles, SSH Tagged With: scp, ssh

run command in remote linux / unix system by using ssh

September 21, 2013 by Sharad Chhetri Leave a Comment

How to run command in remote linux / unix system by using ssh If you are working as a linux system admin, it is important to know how you can execute the command in remote linux or unix based operating system by using ssh.The method is very useful and you can also use it in […]

Filed Under: Articles, SSH Tagged With: ssh

Gitweb not displaying correctly apache MIME issue CentOS 6.4

September 19, 2013 by Sharad Chhetri Leave a Comment

While setting the new Git server with gitweb I saw this issue.Generally never seen before,here Gitweb page was not displaying correctly. You can see the below given screenshot: While debugging the issue,it is found that the problem was with MIME for css and javascript. To solve this issue ,I only approached to create a .htaccess […]

Filed Under: Articles Tagged With: gitweb

4 Linux commands to get number of lines in file

September 18, 2013 by Sharad Chhetri Leave a Comment

To know about how many lines exist in file is important for System Admin.There are sometimes very huge files which has lot of line numbers hence it is not advisable to open the file using cat command or any file editor like vi,vim,nano etc., because it takes lot of time to open it. Hence it […]

Filed Under: Articles Tagged With: bash

How to install jboss application Server in CentOS 6.x

September 11, 2013 by Sharad Chhetri 6 Comments

In this post we will learn how to install Wildfly which was earlier known as JBOSS Application Server. For Wildfly the main dependency is Java. In your system Java must be installed and Java environment variable should also be set. I have done this practical after doing minimal installation of CentOS 6.4 which is 64 […]

Filed Under: Articles Tagged With: jboss

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 19
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • 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