Automatically Mount A USB Drive In Ubuntu Server

USB drives can be easily and automatically mounted on Ubuntu Server with the help of USBmount which is available from the Ubuntu and Debian repositories. Fortunately, USBmount requires little configuration in order to work. The following was tested in Debian 7 Wheezy and Ubuntu 13.04. Installation and Configuration Make sure you run apt-get update/upgrade before […]

Read More…

502 Bad Gateway – Nginx and PHP-FPM

Nginx 502 Bad Gateway cost me more time than the actual Ubuntu + PHP-FPM + MySQL installation I was working on. In my case the 502 Bad Gateway error on my installation was the result of a parameter mismatch between /etc/ningx/sites-available/default and /etc/php5/fpm/pool.d/www.conf. In order to solve the 502 Bad Gateway problem edit the Nginx […]

Read More…

Passwd: Authentication token manipulation error – Ubuntu

You probably encountered this error while trying to reset the password on a Ubuntu system. root@u13-04:~# passwd nyuser Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged This is the result of trying to work on a file system while mounted as read-only. The solution is a simple […]

Read More…

How to Print on an Envelope with LibreOffice

Printing on an envelope with LibreOffice is actually easy, the hardest part being handling the envelope after printing is done. Here’s what you will need: LibreOffice Writer Regular envelop(mine is a type #10) Printer(Mine is a Samsung laser printer) Obviously before starting the the tutorial insert the envelope on your printer paper tray, the position […]

Read More…

SSH Permission Denied (publickey)

Had a peculiar problem last week where the computer at home I use to pull backups from a remote VPS could not longer SSH into the remote system. user@deb7h:~$ ./vps-01-backup-www.sh Permission denied (publickey). rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9] After looking at […]

Read More…