Getting started Zabbix on Ubuntu Server 16.04

Install Ubuntu Server 16.04 with SSH server Install LAMP sudo apt-get install apache2 sudo apt-get install mysql-server mysql-client sudo apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi  php7.0 libapache2-mod-php7.0 php-bcmath php-mbstring php7.0-xml fping libiksemel3 libltdl7 libmysqlclient20 libodbc1 libopenipmi0 libssh2-1 Install Zabbix Check http://repo.zabbix.com/zabbix for latest packages. This one is for 3.0.4-1. wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix/zabbix-server-mysql_3.0.4-1+xenial_amd64.deb sudo dpkg -i zabbix-server-mysql_3.0.4-1+xenial_amd64.deb … Read more

Install VMWare tools on Linux (Ubuntu)

You should ALWAYS install VMWare tools on VMware virtual machines, even Ubnut/ Linux servers without a GUI. Start by selecting Install VMWare tools in the vSphere web client, select Mount to verify                       Open a console through the web client or an SSH session to … Read more

QNAP backup to external drive

I’ve been happy with my QNAP TS-1679U for a while now, but suddenly had trouble backing up to an external drive. After som troubleshooting, I discovered that the behavior for external storage devices changed in firmware 4.1 (http://docs.qnap.com/nas/4.1/Home/en/index.html?external_storage.htm). Quote: Note: Starting QTS 4.1, labeling is supported for external USB devices. To edit the label of … Read more

Allow user to sudo

If you want a user to actually be able to change something, you should add to multiple groups: AS root: adduser ‘username’ adm adduser ‘username’ sudo adduser ‘username’ lpadmin adduser ‘username’ sambashare Or existing sudoer use sudo first: sudo adduser ‘username’ adm sudo adduser ‘username’ sudo sudo adduser ‘username’ lpadmin sudo adduser ‘username’ sambashare

List partition and fix NTFS – Ubuntu

For list of disks, use sudo fdisk -l or list partitons in GParted (select disk in the top right corner) When using GParted to resize a disk  you might get a message that the volume isn’t clean. To fox this use sudo ntfsfix /dev/<your partition> , for example sudo ntfsfix /dev/sda1 ntfsfix comes from package … Read more

Timed out sending notification of target device…

PlugPlayManager Event id 257: Timed out sending notification of target device change to window of “C:\WINDOWS\Explorer.EXE” If you see a lot of these messages, typically every 2 minutes then check to see if you have any administrator users which are disconnected (through RDP). Cause is most likely that the server tries to poll a client … Read more

Windows could not parse or process unattend answer file (c:\windows\panther\unattend.xml) for pass [specialize]

Got this error during setup of Windows Deployment Services on Windows 2008 R2. I used a standard boot.wim and install.wim file for the install. After doing som backtracking I found out that I had misconfigured a setting for the automatic naming of the machine name in the domain. I had used NN-%username-%# in the WDS … Read more