Skip to content

Focusing on FreeBSD

Menu

Host multiple web sites securely with nginx, PHP-FPM and MySQL 8 on FreeBSD 12

October 31, 2020
| No Comments
| FreeBSD, MySQL, nginx, php-fpm

This article focuses on providing security and isolation on a FreeBSD 12 web server hosting numerous websites. We use php-fpm and nginx to host each website in isolation by running it under its own user process instead of all websites running under the same process, which is much more common. The problem with the more […]

Read More »

Posted in <a href="https://securityf2.com/category/freebsd/" rel="category tag">FreeBSD</a>, <a href="https://securityf2.com/category/mysql/" rel="category tag">MySQL</a>, <a href="https://securityf2.com/category/nginx/" rel="category tag">nginx</a>, <a href="https://securityf2.com/category/php-fpm/" rel="category tag">php-fpm</a> Leave a comment

Configure postfix on FreeBSD to use Gmail as an SMTP relay

August 22, 2018
| No Comments
| FreeBSD, general sys admin

I wanted postfix on my server to send mail through Gmail so messages don’t get market as spam. Rather than setup all the interesting mail security options on my server and within my mail domain, I’d rather leave all that to the experts at Google. The best article I found on the subject shows exactly […]

Read More »

Posted in <a href="https://securityf2.com/category/freebsd/" rel="category tag">FreeBSD</a>, <a href="https://securityf2.com/category/general-sys-admin/" rel="category tag">general sys admin</a> Leave a comment

Using iSCSI block storage and ZFS on FreeBSD with Oracle Cloud Infrastructure (OCI)

June 6, 2018
| 3 Comments
| FreeBSD, OCI

Use cloud block storage on OCI (Oracle Cloud Infrastructure) with FreeBSD, just like it’s done on Linux and Windows compute instances, and optionally leverage ZFS for simple management, cloning, encryption, redundancy, and more. Disclaimer: at the time of writing, I work for Oracle. I wrote this article for fun on my free time. FreeBSD isn’t […]

Read More »

Posted in <a href="https://securityf2.com/category/freebsd/" rel="category tag">FreeBSD</a>, <a href="https://securityf2.com/category/oci/" rel="category tag">OCI</a> 3 Comments

Simple pf configuration for jails in FreeBSD

June 6, 2018
| No Comments
| FreeBSD

This is just an example configuration for pf on FreeBSD with two or more jails. We require private jail networking using NAT and RDR (redirect). Some of the lines below wrap on smaller screens so I’ve included extra spaces between the rdr entries to make them easier to read: ext_if=”em0″ sshd_port=”45678″ web=”192.168.0.1″ db=”192.168.0.2″ scrub in […]

Read More »

Posted in <a href="https://securityf2.com/category/freebsd/" rel="category tag">FreeBSD</a> Leave a comment

Create a custom image for OCI-Classic on macOS

July 11, 2017
| 2 Comments
| FreeBSD

This short article describes how to create a custom image for a server that can be deployed as a “private image” on OCI Classic (formerly known as OPC, or Oracle Public Cloud). This is not really security-related but may still be helpful for someone. The first step is to use Oracle’s free VirtualBox virtualization app […]

Read More »

Posted in <a href="https://securityf2.com/category/freebsd/" rel="category tag">FreeBSD</a> 2 Comments

Why FreeBSD is a great secure server

October 25, 2016
| No Comments
| Uncategorized

It’s important to keep computer systems updated and this process should be as simple as possible to stay safe and secure. A server that runs web applications should be simple to build, easy to patch, update and upgrade, and it should have a great manual. Then being able to monitor problems remotely and be alerted […]

Read More »

Posted in <a href="https://securityf2.com/category/uncategorized/" rel="category tag">Uncategorized</a> Leave a comment

WordPress SFTP into FreeBSD jail

September 20, 2016
| No Comments
| Uncategorized

The purpose of this article is to make it easy for WordPress and its 3rd party SFTP plugin to work on a FreeBSD host where the website and web server daemon runs within a jail, but the sshd daemon runs on the host thereby causing problems that prevent the WordPress SFTP plugin from working properly. In […]

Read More »

Posted in <a href="https://securityf2.com/category/uncategorized/" rel="category tag">Uncategorized</a> Leave a comment

Kelly’s MySQL quick tutorial

September 20, 2016
| No Comments
| MySQL

You don’t need tools like MySQLAdmin when basic tasks like creating and deleting databases, adding users and adjusting permissions can easily be done from the command line. I run these commands on a FreeBSD system and is likely the same on Linux, Windows, and other systems. Basic tasks Log into mysql: #mysql –u root –p […]

Read More »

Posted in <a href="https://securityf2.com/category/mysql/" rel="category tag">MySQL</a> Leave a comment

Recent Posts

  • Host multiple web sites securely with nginx, PHP-FPM and MySQL 8 on FreeBSD 12
  • Configure postfix on FreeBSD to use Gmail as an SMTP relay
  • Using iSCSI block storage and ZFS on FreeBSD with Oracle Cloud Infrastructure (OCI)
  • Simple pf configuration for jails in FreeBSD
  • Create a custom image for OCI-Classic on macOS

Recent Comments

  • procrastinator on Using iSCSI block storage and ZFS on FreeBSD with Oracle Cloud Infrastructure (OCI)
  • kel on Using iSCSI block storage and ZFS on FreeBSD with Oracle Cloud Infrastructure (OCI)
  • Aw on Using iSCSI block storage and ZFS on FreeBSD with Oracle Cloud Infrastructure (OCI)
  • Kelly Martin on Create a custom image for OCI-Classic on macOS
  • Harry on Create a custom image for OCI-Classic on macOS

Archives

  • October 2020
  • August 2018
  • June 2018
  • July 2017
  • October 2016
  • September 2016

Categories

  • FreeBSD
  • general sys admin
  • MySQL
  • nginx
  • OCI
  • php-fpm
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2021. Powered by WordPress