Ivan Tomica

Category: Blog

Total 118 Posts

Enable PHP mail() in FreeBSD

On FreeBSD 11 sendmail is not enabled by default. Also by default, php configuration (php.ini) has sendmail binary configured for sending email so using mail() within your PHP application may not work. To resolve that you need to enable sendmail which you can do with: # sysrc sendmail_enable=”YES” sendmail_enable: NO

Continue Reading

FreeBSD jails – localhost IP

So, app was connecting from jail’s public IP to the MySQL and that didn’t worked since I had user created like: USER@localhost Instead of: USER@% or USER@JAILIP And that got me confused badly. I would like to thank Mark for clarification.

Portscan with netcat

Recently I had to discover custom SSH port on the server so I needed to come up with a somewhat quick way to check for open ports on the server. To do that simplest and prettiest solution I’ve found was using netcat utility. As you can see by looking at

Continue Reading

FreeBSD – Assign IPv6 address to a jail

In previous article I’ve explained how to add IPv6 to your server, now it’s time to show you how to assign IPv6 address to Jail running on your IPv6 host. I’m using ezjail at this moment to manage my Jails. If you’re like me you can use following command to

Continue Reading

Configuring IPv6 on FreeBSD on Hetzner

This article will be one of the few to come in the near future. I’m in the process of switching my VPS servers from various VPS providers to dedicate box I’ve leased at Hetzner. Up until now I’ve mostly used CentOS on my server systems but it is time to

Continue Reading

How to set up ZFS on CentOS 7

Recently I have started thinking about backups on my personal web server (on which this blog is hosted on). Simplest solution I have come up with is to just mount additional drive to the server, format it as ZFS, sync stuff to it and then just snapshot that drive. This

Continue Reading

Owncloud client on Fedora 25

If you were fast on a trigger and upgraded to Fedora 25 as soon as it was available and you use Owncloud client for your syncing needs you may found yourself that Owncloud client doesn’t start. You may have also noticed an that it causes an error while trying to

Continue Reading

updown.io – simple monitoring service

Are you in search for an simple monitoring service that will provide you with status updates for your service and don’t want to pay in gold for it? You also don’t want to maintain your own server with services like Icinga or Nagios? Search no more, here’s updown.io, simple, easy

Continue Reading