Menu Close

Find hidden content in mounted directories

You have a VPS or a server where you mounted some folders from a NAS / SAN, where for example you syncronize content or backup critical files.

Sometimes, the mount can be lost for various problems like bad network or a restart of the NAS.

What happen if the NAS go down and your server/VPS tries to backup files to mounted directory? Easy, it copies them to LOCAL folder where you think that is mounted NAS folders.

The problem is that you’ll NEVER see that content, and your disk space is obviously reduced and you don’t understand why.

Is there a way to view and delete this hidden content? YES!

How To Install and Setup Spamassassin on Ubuntu 12.04

by DigitalOcean

About Spamassassin

Spamassassin is a free and open-source mail filter written in Perl that is used to identify spam using a wide range of heuristic tests on mail headers and body text. It will save your mailbox from much unwanted spam emails.

Prerequisites

Before installing Spamassassin, you need to install and setup a mail transfer agent such as Postfix on your virtual private server.

You can find instructions on that here

How to set filters in roundcube with Sieve

Ok, You have your fantastic mail server with roundcube as web client.

All work great but hey, wait a moment… how can i set a filter in roundcube?

Filtering emails in webclient (gmail, outlook etc) its a normal thing but in your mail server it’s not automatic, and you have to do a bit of work for have it in your roundcube.

This is a quick tutorial on how to configure all on Ubuntu 12.04 with postfix+dovecot+roundcube (I assume that you already installed them).

Let’s start:

How To Add and Delete Users on an Ubuntu 14.04 VPS

by digitalocean.com

Introduction

One of the most basic tasks to that you should know how to do on a fresh Linux server is add and remove users. When you create a new server, you are only given the root account by default.

While this gives you a lot of power and flexibility, it is also dangerous and can be destructive. It is almost always a better idea to add an additional, unprivileged user to do common tasks. You also should create additional accounts for any other users you may have on your system. Each user should have a different account.

You can still acquire administrator privileges when you need them through a mechanism called sudo. In this guide we will cover how to create user accounts, assign sudo privileges, and delete users.

View Live current mysql queries

For see from command line current execution of queries you can use:

$ mysqladmin -u bob -p -i 1 processlist

This will print the current queries on your screen every second.

  • -u The mysql user you want to execute the command as
  • -p Prompt for your password (so you don’t have to save it in a file or have the command appear in your command history)
  • i The interval in seconds.

If you want to see output like “SHOW FULL PROCESSLIST” you can attach “–verbose” to the command.

How to Install WinRAR 5.11.1 on Ubuntu 14.04 & Other Linux Ubuntu Derivatives

How to install WinRAR 5.11 on Ubuntu 14.04 (Linux) systems. Install WinRAR 5.11 on 32 bit Ubuntu 14.04 and install WinRAR 5.11 on 64 bit Ubuntu 14.04 system.

WinRAR is an archiving utility that completely supports RAR and ZIP archives and is able to unpack CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, Z archives.  The latest version of the WinRAR 5.11 comes with the following bug fixes and improvements: