Install MySQL 8 on FreeBSD

MySQL MariaDB

To install MySQL 8 on FreeBSD 13, run

Enable start on boot

Start MySQL server

By default MySQL root user have no password set. You can login with the command

See FreeBSD […]

Read More…

Install rsync in freebsd from source

On the server, i want to install rsync have no ports as it was older version FreeBSD 5.4 and is not supported, so install rsync from source. http://www.samba.org/ftp/rsync/

After install, you need to run rehash command

See FreeBSD […]

Read More…

Installing Software with FreeBSD ports

FreeBSD ports allows installing software from source. Updating Index Before you can use ports, you need to fetch index. To do this, run

Find Software To find software, use

Install a Software To install a software, for example node.js, run

[…]

Read More…

Installing Software in FreeBSD with pkg

pkg command is used to install software in FreeBSD. To update package repo, run

Example

To install postfix mail server, run

To auto start postfix, you need to run

You can also add postfix_enable=”YES” to /etc/rc.conf manually.

Finding Software To find package that provides a software, you can run

[…]

Read More…