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
  • set and unset line number in file with vi editor
    Tips And Tricks

    set and unset line number in file with vi editor

    BySharad Chhetri November 18, 2013December 10, 2024

    In this tutorial we will learn, set and unset line number in file with vi editor. The same is applicable to vim editor also.(vim is advanced vi editor).vi editor is one of the famous and bydefault file editor in many linux distro. In vi editor you can use regex tricks. To set line number in…

    Read More set and unset line number in file with vi editorContinue

  • Reindex lucene search in owncloud 5.0.22
    Linux | owncloud

    Reindex lucene search in owncloud 5.0.22

    BySharad Chhetri November 15, 2013December 10, 2024

    In this post we will learn about how to reindex lucene search in Owncloud 5.0.22. While working in Owncloud 5.0.22 our requirement was to reindex the lucene search. Overview: When a user placed a cursor and type some keyword ,bydefault it creates a directory lucene_index (absolute path is /path/of/owncloud_installed_dir/data/username/lucene_index ) . On writing the keyword…

    Read More Reindex lucene search in owncloud 5.0.22Continue

  • How to rescan filesystem in owncloud 5
    Linux | owncloud

    How to rescan filesystem in owncloud 5

    BySharad Chhetri November 14, 2013December 10, 2024

    In this post we will know how to rescan file system in Owncloud 5.x version.While working in owncloud I got the application called rescan but it was not working and I got a blank page.After exploring more into owncloud I got two ways to rescan the file system. Owncloud Version: 5.0.22 Method 1: Using console.php…

    Read More How to rescan filesystem in owncloud 5Continue

  • How to rename table in mysql using command line
    mysql

    How to rename table in mysql using command line

    BySharad Chhetri November 12, 2013December 10, 2024

    In this post we will know how to rename table in mysql using command line. It is basic and important command for MySQL database administration. We are doing this practical in MySQL server version 5.5.29. Syntax: Replace the table_name and NEW_TABLE_NAME as per your requirement. ALTER TABLE table_name RENAME NEW_TABLE_NAME Example: See the below given…

    Read More How to rename table in mysql using command lineContinue

  • How to copy existing table in mysql
    mysql

    How to copy existing table in mysql

    BySharad Chhetri November 12, 2013December 10, 2024

    In this post we will learn about how to copy the existing table in mysql. The newly copied table does not have data means it will be blank but it has similar rows information from its parent table. After copying the table you have to insert the data by using INSERT command. Follow the given…

    Read More How to copy existing table in mysqlContinue

  • Easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia
    Linux | LinuxMint

    Easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia

    BySharad Chhetri November 2, 2013December 10, 2024

    In this post we will learn easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia. There are two ways to install any packages (1) Command line (2) Graphical (Using Software Manager) We mostly prefer to work in command line because it is faster as well as if there is any error it is…

    Read More Easy and quick installation of VirtualBox 4.2.10 in Linux Mint OliviaContinue

  • Quick installation of Google Chrome in Linux Mint 15 Olivia
    Linux

    Quick installation of Google Chrome in Linux Mint 15 Olivia

    BySharad Chhetri October 30, 2013December 10, 2024

    In this post we will learn about quick installation of Google Chrome in Linux Mint 15 Olivia. As we know the Linux Mint 15 distro is based on Ubuntu 13.04 , hence apt-get and dpkg command can be run. To install the Google Chrome by using command line ,follow the given below steps Step 1:…

    Read More Quick installation of Google Chrome in Linux Mint 15 OliviaContinue

  • How to install and configure HAProxy 1.4.24 in CentOS 6
    Linux | Loadbalancer

    How to install and configure HAProxy 1.4.24 in CentOS 6

    BySharad Chhetri October 28, 2013December 10, 2024

    In this topic we will learn how to install and configure HAProxy 1.4.24 in CentOS 6.HAproxy is widely used Open Source tcp/http based loadbalancer.And many renowned company also using the HAProxy.Here in this tutorial we will install the latest stable HAProxy version 1.4.24 in CentOS 6.4. We recommend to install latest stable version 1.4.24, read…

    Read More How to install and configure HAProxy 1.4.24 in CentOS 6Continue

  • Increase upload file size limit in php
    Apache

    Increase upload file size limit in php

    BySharad Chhetri October 27, 2013December 10, 2024

    In this post we will know about how to increase upload file size limit in php.ini . By Defualt in php.ini the upload file size limit is 2Mb.If your website require the user can upload more than 2Mb of file in website or blog,this can be done by editing php.ini file. In CentOS and Red…

    Read More Increase upload file size limit in phpContinue

  • How to configure static ip address through command line in Ubuntu
    Linux

    How to configure static ip address through command line in Ubuntu

    BySharad Chhetri October 27, 2013December 10, 2024

    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…

    Read More How to configure static ip address through command line in UbuntuContinue

  • how to mount NAS storage in owncloud to keep all users data
    Linux | owncloud

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

    BySharad Chhetri October 23, 2013December 10, 2024

    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…

    Read More how to mount NAS storage in owncloud to keep all users dataContinue

  • postgres database backup  script using database user password inside
    Linux | Tips And Tricks

    postgres database backup script using database user password inside

    BySharad Chhetri October 20, 2013December 10, 2024

    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:…

    Read More postgres database backup script using database user password insideContinue

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

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

    BySharad Chhetri October 18, 2013December 10, 2024

    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…

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

  • How to zip directory in linux explained with examples
    Linux | Tips And Tricks

    How to zip directory in linux explained with examples

    BySharad Chhetri October 18, 2013December 10, 2024

    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…

    Read More How to zip directory in linux explained with examplesContinue

  • How to enable logging of haproxy in rsyslog
    Linux

    How to enable logging of haproxy in rsyslog

    BySharad Chhetri October 16, 2013December 10, 2024

    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…

    Read More How to enable logging of haproxy in rsyslogContinue

Page navigation

Previous PagePrevious 1 … 23 24 25 26 27 … 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