Command Line, Linux




How to install cacti on Debian 7

Installing cacti on Debian 7 is very easy. Issue an apt-get install cacti apt-get install cacti Then follow the prompts for mysql root password and cacti db password (which it creates). Then go to http://localhost/cacti Click next and confirm a few options. Login with admin/admin It will …



Install Jenkins on Debian 7

Here's how I installed Jenkins on Debian 7. \$ wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - \$ sudo echo 'deb http://pkg.jenkins-ci.org/debian binary/' >> /etc/apt/sources.list \$ sudo apt-get update \$ sudo apt-get install jenkins



Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable

I was setting up a webserver on Debian 7 but ran in to a dependency issue for nginx. It said I needed libssl0.9.8. Well I had libssl1.0.x which left me wondering was it in compatible. Yes it is. I needed to download the deb and install …



How to checkout a remote branch in git

In order to avoid conflicts when checking out a branch from a remote repo you need to check it out directly. git fetch origin git branch -f remote\_branch\_name origin/remote\_branch\_name git checkout remote\_branch name git checkout -b production origin/production Simple.



How to get logitech m705 working in linux mint

I am using a new laptop, ASUS Zenbook, running linux mint cinnamon. My preferred mouse is a logitech m705 for use on the go. I needed to get it working since it wasn't out of the box. There's several ways to get the unifying receiver working. The easiest for me …



Using xargs to parallel a process in the command line

Most of us have multiple CPUs in our personal machines. I would also hope that your servers do too. If you're running an intensive command line process, running them in parallel will speed it up by paralleling the process. Say you need to find a string in all of your …