Home / How To / How to install Attendize on FreeBSD 12

How to install Attendize on FreeBSD 12

Attendize is an open source vendor and event management platform and is everything you need for a successful event. Attendize has a wide range of functions designed to make arrangements as easy as possible.

List of features:

  • Beautiful mobile-friendly event pages.
  • Easy Attendance Management – Refunds, Messages, etc.
  • Data Export – Participants List to XLS, CSV, etc.
  • Generate a printable attendee list.
  • Ability to manage unlimited organizers / events.
  • Manage multiple organizers.
  • Real Time Event Statistics.
  • Customizable event pages.
  • Support for multiple currencies.
  • Quick and easy checkout process.
  • Customizable tickets – with QR codes, organizer logos etc.
  • Completely noticeable – Have your logos on tickets, etc. .
  • Affiliate tracking – tracking sales volume / number of visits generated, etc.
  • Widget Support – Embed Ticket Sales Widget into Existing Websites / WordPress Blogs.
  • Social sharing.
  • Support for multiple payment gateways – Stripe and PayPal out of the box. Other payment gateways can be added.
  • Support for offline payments.
  • Refunds – Partial Refund and Full Refund.
  • Ability to add a service charge to tickets.
  • Messages – e.g. Send an e-mail to all participants with an X ticket.
  • The event organizer publication page.
  • Ability to ask customized questions during checkout.
  • Browser-based QR code scanner for door handling.

This tutorial shows you the steps to install Attendize on FreeBSD 12.

  • A server running FreeBSD 12.
  • A user who does not have root with sudo privileges.


  • Nginx
  • MariaDB
  • PHP version 7.1.3 or higher with the following additions: (OpenSSL, PDO, Mbstring, Tokenizer, Fileinfo, GD)

Introductory steps


  uname -ro 
# FreeBSD 12.1-RELEASE

Update your operating system packages (software). This is an important first step as it ensures that you have the latest updates and security fixes for your operating system's standard software package.

  freebsd-update fetch install 
pkg update && pkg upgrade -y

Install some important packages necessary for the basic administration of FreeBSD 12 operating system.

  pkg install -y sudo vim unzip curl wget bash socat git 

Create a new user account with your username, we will use johndoe .

# Username: johndoe
# Full name: John Doe
# Uid (Leave blank by default):
# Login group [johndoe]:
# Login group is johndoe. Invite johndoe to other groups? []: wheels
# Login class [default]:
# Shell (sh csh tcsh nology) [sh]: bash
# Home directory [/home/johndoe]:
# Home directory permissions (Leave blank by default) :
# Use password-based authentication? [yes]:
# Use an empty password? (yes / no) [no]:
# Use a random password? (yes / no) [no]:
# Enter password: your_secure_password
# Re-enter password: your_secure_password
# Unlock account after creation? [no]:
# OK? (yes / no): yes
# Add another user? (yes / no): no
# Goodbye!

Run visudo command and division % Wheel ALL = (ALL) ALL line, to allow members of the wheel group to execute all commands.


# Uncomment by removing hash (#) sign
% wheel ALL = (ALL) ALL

Now switch to your recently created user with su command.

  su - johndoe 

NOTE: Replace johndoe with your username.

Set the time zone.

  sudo tzsetup 

Step 1 – Install PHP

Install PHP, as well as necessary PHP extensions.

  sudo pkg install -y php72 php72-mbstring php72-tokenizer php72-pdo php72-pdo_mysql php72-openssl php72-hash php72-json php72-phar php72-filter php72-zlib php72-dom php72-xml php72-xml php72-xml php72 xmlreader php72-pecl-imagick php72-curl php72-session php72-ctype php72-iconv php72-g simplexml php72-zip php72-filter r php72-tokenizer php72-calendar php72-fileinfo php72-intl php72-mysqli php72-phs php72-pdo_pgsql 

Check the PHP version.

  php --version 
# PHP 7.2.17 (cli) (built: April 13, 2019 1:13:32 AM) (NTS)
# Copyright (c) 1997-2018 PHP group
# Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies [19659040] Soft-link php.ini production to php.ini .

  sudo ln -s /usr/local/etc/php.ini-production / usr / local /etc/php.ini tu 1919909040 Reactivate and start PHP-FPM.     

  sudo sysrc php_fpm_enable = yes 
sudo service php-fpm start

Step 2 - Install MariaDB and create a database

Install MariaDB.

  sudo pkg install -y mariadb102-client mariadb102 server 

Check the MariaDB version.

  mysql - version 
# mysql Ver 15.1 Distrib 10.2.22-MariaDB, for FreeBSD12.0 (amd64) using readline 5.1

Start and activate le MariaDB.

  sudo sysrc mysql_enable = "yes" 
sudo service mysql server startup

Run mysql_secure_installation to improve the security of your MariaDB installation.

  sudo mysql_secure_sure 19659040] Log in to MariaDB as a root user. 

Source link