Tags » Ubuntu » Page 2

Backup with rsync

rsync can be used to copy files from one machine to other over network.I use rsync over ssh to take backup of my server files.ssh is configured with public key authentication so it does not ask for password everytime when rsync starts.I scheduled it as cron job so it runs every night.rsync does incremental copy so it saves time and network bandwidth. 141 more words


Restrict git push to master branch

Like other version control system git also provide hook facilities to perform customized task.hooks are basically scripts which can be written in shell, perl, python, ruby etc. 123 more words


FileZilla user add for accessing user define directory

FileZilla user add for accessing user define directory

Require new or existing user

step 1.  Make user defined directory i.e. if you want user access only /var/www directory. 22 more words


How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x

EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from Fedora team which provides 100% high quality add-on software packages for Linux distribution including RHEL, CentOS. 169 more words


9 Linux Commands & Codes To Be Wary Of

Linux shell/terminal commands are very powerful and just a simple command could lead to one deleting a folder, files or root folder, etc.

In some cases, Linux won’t even ask you for confirmation rather it will execute the command right away causing you to… 867 more words


Working with git branches

Create a git branch

git checkout -b branch-name

Push the branch to remote(git server)

git push origin branch-name

Show currently present branches

git branch -a…

29 more words

Install MongoDB on CentOS 6.x & Fedora


Let’s see Installation mongoDB on CentOS & Fedora. In this both OS required .rpm package.

Installion MongoDB

1. create yum repo file on /etc/yum.repos.d directory… 145 more words