by Anjani Phuyal | May 26, 2014 | Mysql
http://sourceforge.net/projects/automysqlbackup/ mkdir automysqlbackup cd automysqlbackup wget http://sourceforge.net/projects/automysqlbackup/ tar -zxvf download ./install.sh mkdir /var/backup mkdir /var/backup/db vi /etc/automysqlbackup/myserver.conf...
by Anjani Phuyal | May 26, 2014 | Centos, Linux, ubuntu
http://www.cyberciti.biz/faq/howto-compress-expand-gz-files/ How do I extract a gz file? $ gunzip file.gz
by Anjani Phuyal | May 26, 2014 | AWS
Installing aws-cli ***sudo apt-get install -y python-pip ***sudo pip install awscli Add your Access Key ID and Secret Access Key to$HOME/.aws-config using this format: *** sudo vi $HOME/.aws-config ***************************************************** [default]...
by Anjani Phuyal | May 26, 2014 | Git, Linux, ubuntu
How to create a new git branch and push it? git checkout -b new_branch_name git push -u origin new_branch_name git config –global user.email “[email protected]” git config user.email “[email protected]” git commit –author...
by Anjani Phuyal | May 26, 2014 | Linux, ubuntu
root sudo gedit /etc/apt/sources.list and make sure that the universe component is included in the source lines. It should look like this deb http://http.us.debian.org/debian squeeze main universe After any changes you should run sudo apt-get update...