Skip to content
sharadchhetri
  • Home
  • Linux Commands
  • ResourcesExpand
    • Learn Linux
  • My Projects & WorkExpand
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • AboutExpand
    • Privacy Policy
    • Contact
sharadchhetri
  • How to setup varnish to do not cache particular url
    web accelerator

    How to setup varnish to do not cache particular url

    BySharad Chhetri October 9, 2013December 10, 2024

    In this example I am sharing about my own VPS which is hosted in DigitalOcean. In my last post I already written about how to setup varnish to do not cache specific url but it was the case of single URL. Now in this example we have address like http://example.come and http://www.example.com . In given…

    Read More How to setup varnish to do not cache particular urlContinue

  • Do not show line haveing particular keyword by grep command
    Tips And Tricks

    Do not show line haveing particular keyword by grep command

    BySharad Chhetri October 9, 2013December 10, 2024

    Do not show line haveing particular keyword by grep command Generally we use grep command to get the lines which has particular line in a file.There is one more option in grep by which you will not get the lines in output which has some specific keyword or keywords. To do not get lines in…

    Read More Do not show line haveing particular keyword by grep commandContinue

  • how to set maintenance page for all except to your network
    Linux

    how to set maintenance page for all except to your network

    BySharad Chhetri October 7, 2013December 10, 2024

    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…

    Read More how to set maintenance page for all except to your networkContinue

  • How to setup Varnish to do not cache particular url specific domain
    web accelerator

    How to setup Varnish to do not cache particular url specific domain

    BySharad Chhetri October 3, 2013December 10, 2024

    This is again with my post I come back to share how I setup a Varnish in sharadchhetri.com network which is hosted in DigitalOcean but this time scenario is different, we do not want a particular URL or domain name should be cached by Varnish. In this real scenario I have taken our own URL…

    Read More How to setup Varnish to do not cache particular url specific domainContinue

  • How to install whois client in CentOS and Red Hat
    Linux

    How to install whois client in CentOS and Red Hat

    BySharad Chhetri October 1, 2013December 10, 2024

    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…

    Read More How to install whois client in CentOS and Red HatContinue

  • Setup varnish cache server for wordpress site
    Linux | web accelerator

    Setup varnish cache server for wordpress site

    BySharad Chhetri September 30, 2013December 10, 2024

    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…

    Read More Setup varnish cache server for wordpress siteContinue

  • How to hide php version information in header
    Tips And Tricks

    How to hide php version information in header

    BySharad Chhetri September 30, 2013December 10, 2024

    While migrating from godaddy account to new server which is hosted in DigitalOcean,I checked the header by using command curl -I https://sharadchhetri.com . In output of command ,I found PHP version was given.For security point of view I want to hide or disable this information. For this you have to do small change in php.ini…

    Read More How to hide php version information in headerContinue

  • Install and configure Varnish Cache server on CentOS/RHEL 6.x
    Linux | web accelerator

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

    BySharad Chhetri September 25, 2013December 10, 2024

    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…

    Read More Install and configure Varnish Cache server on CentOS/RHEL 6.xContinue

  • SCP file and directory in linux and Unix like operating system
    Linux | SSH

    SCP file and directory in linux and Unix like operating system

    BySharad Chhetri September 23, 2013December 10, 2024

    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…

    Read More SCP file and directory in linux and Unix like operating systemContinue

  • run command in remote linux / unix system by using ssh
    Linux | SSH

    run command in remote linux / unix system by using ssh

    BySharad Chhetri September 21, 2013December 10, 2024

    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…

    Read More run command in remote linux / unix system by using sshContinue

  • Gitweb not displaying correctly apache MIME issue CentOS 6.4
    Linux

    Gitweb not displaying correctly apache MIME issue CentOS 6.4

    BySharad Chhetri September 19, 2013December 10, 2024

    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…

    Read More Gitweb not displaying correctly apache MIME issue CentOS 6.4Continue

  • 4 Linux commands to get number of lines in file
    Linux

    4 Linux commands to get number of lines in file

    BySharad Chhetri September 18, 2013December 10, 2024

    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…

    Read More 4 Linux commands to get number of lines in fileContinue

  • How to install jboss application Server in CentOS 6.x
    Linux

    How to install jboss application Server in CentOS 6.x

    BySharad Chhetri September 11, 2013December 10, 2024

    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…

    Read More How to install jboss application Server in CentOS 6.xContinue

  • list files and directories by 4 commands in linux
    Linux

    list files and directories by 4 commands in linux

    BySharad Chhetri September 9, 2013December 10, 2024

    When I started learning linux ,for listing files and directory I firsts learnt the command ls. ls command is widely in linux and Unix like operating system.It is a system command which by default shipped with operating system.Today I am sharing the 4 commands by which you can list file and directories.On other hand you…

    Read More list files and directories by 4 commands in linuxContinue

  • MySQL backup bash script
    Linux

    MySQL backup bash script

    BySharad Chhetri September 6, 2013December 10, 2024

    This is a simple mysql backup script.The script can be used manually as well as in crontab. Edit the below given script and provide the information required in the script. The script will take the backup in .sql format later it will compress the .sql file and in end send the mail about the status…

    Read More MySQL backup bash scriptContinue

Page navigation

Previous PagePrevious 1 … 24 25 26 27 28 … 39 Next PageNext

Tags

apache automation awk aws bash script cat CentOS centos 7 debian devops docker freebsd ftp ghost git grep jenkins kvm linux linux command MariaDB Server mysql Nagios nginx Octopress owncloud Owncloud 6 php postfix postgres python Red Hat rpm sed ssh swap tips troubleshooting ubuntu user management vagrant varnish virtualbox vsftp wordpress
  • About Me
  • Contact
  • Learn Linux
  • My Wordpress plugins
  • Privacy Policy
  • Search
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

© 2025 sharadchhetri.com

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