A Step By Step Guide On How To Install ProFTPD On FreeBSD
Getting ProFTPD to run on FreeBSD is quite simple and can be done in a few steps. Now before you start you will need to consider this. ProFTPD does not use “Virtual Users” like it’s sister PureFTPD. That means you need to have a “Real User Account” in your master password file on your system for each ftp account. Unlike PureFTPD which is able to use it’s own user database. Also worth mentioning is the fact the ProFTPD has not been translated to all languages which may cause some strange behavior truncating files with international characters.
- cd /usr/ports/ftp/proftpd && make install clean BATCH=yes
Once done we need to adjust the configuration slightly to our needs. The configuration file for Proftp is located here /usr/local/etc/proftpd.conf
Change the Server Name. Please note this will have no effect if you are using “ServerIdent Off” So find this line …
In this tutorial, user Matei Cezar shows us how to get the FAMP stack set up on FreeBSD. FAMP stands for FreeBSD, Apache HTTP server, MariaDB, and PHP. Follow the link below for the full set of instructions.
This guide will describe how to install and configure FBAMP in FreeBSD operating system, which is similar to a LAMP stack on Linux. FBAMP is an acronym which stands for a collection of software based on FreeBSD OS, Apache HTTP server, the most popular open-source web server in internet, MariaDB relational database management system (RDBMS), a fork of MySQL database engine, and PHP server-side.
- A fresh installation of FreeBSD
- FreeBSD Initial Configurations
- Direct console access or SSH in case of a remote connection to FreeBSD.
- A static IP Address configured on a Network Interface.
Step 1: Install Apache on FreeBSD …
HowtoForge shows us how to get a MySQL server set up with phpMyAdmin on FreeBSD. Installing an Apache server is also documented in the process. Follow the link below for the full set of instructions.
MySQL is a free and open source relational management system. It stores data in tabular format. It is the most popular way of storing the data into the database. phpMyAdmin is also a free and open source application used to administrate a MySQL server instance through a rich graphical user interface. phpMyAdmin is written in PHP. To install phpMyAdmin, we will also need to install a web server with PHP on FreeBSD.
In this tutorial, we will install MySQL with phpMyAdmin along with Apache web server with PHP 5.6.
- Minimal FreeBSD 11 server.
- Root privileges. This guide is written as the root user, if you are logged in as sudo user, run sudo -i.
Update Base System
Before installing any package it is recommended that you update the packages and repository using the following command…
User spacemonkey shows us how to get a FreeBSD web server set up on Raspberry Pi. Follow the link below for the full set of instructions.
The purpose of this guide is to provide step by step instructions on how to set up a system consisting of a Raspberry Pi credit card-sized computer, running the FreeBSD operating system and the nginx web server. The server is meant to operate “headless” (i.e. without a display or keyboard) and run at relatively low power (approximately 2 to 4 Watts). This guide assumes that the reader has some minimal familiarity with a Linux/Unix/BSD-like environment.
NOTE: Due to Raspberry Pi’s relatively low power CPU, some of the steps described below (e.g. compiling software) will take a few hours. Patience is a virtue :)
Aside from patience, you’ll need the following hardware:
– Raspberry Pi
– Power supply for the Raspberry Pi
– USB keyboard
– Display (with HDMI or Composite video connector)
– SD Card (recommended minimum size 4 GB)
– Ethernet cable
– A BSD or Linux PC with an SD card slot
1. Booting FreeBSD on the Raspberry Pi …
User Johnson D shows us how to get OpenCart set up on FreeBSD 11 via the FAMP stack. OpenCart is an open-source shopping cart solution. Follow the link below for the full set of instructions. Note that FAMP is required.
The installation of OpenCart is FreeBSD is pretty straight forward. The following article can be used as a procedure to do a basic install of OpenCart on FreeBSD. This is tested on FreeBSD 11.
For installing OpenCart on FreeBSD, we need to have a FAMP stack. Check this article to install FAMP stack.
Install the ‘opencart’ package. This also installs the dependencies required.pkg install opencart
Once the package and its dependencies are installed, edit the file /usr/local/etc/apache24/and make the following changes.
This tutorial by user 0r0 will show us how to get qutebrowser set up on TrueOS or FreeBSD. Qutebrowser is a minimal GUI browser that focuses on keyboard. Follow the link below for the full set of instructions.
qutebrowser (http://qutebrowser.org/3) is a lightweight browser with vim-like keybindings and userscript support. Before I discovered it, I found most other browsers that I tried to be bloated, slow, or poorly maintained and out-of-date. Now I rarely use any other browser.
Unfortunately, qutebrowser is not (yet) in the FreeBSD ports tree. I worked out how to install it, and thought I would share my notes here in case they are of use to someone else. If you want to try qutebrowser before going through the steps below, there are binary packages available for OpenBSD, OSX, Windows and many flavors of Linux (see https://github.com/qutebrowser/qutebrowser/blob/master/INSTALL.asciidoc1).
As noted below there are a couple of steps that take a while, but they can be unattended (ie, you can be doing something else). Overall it’s fairly easy once you know the steps. qutebrowser can run with with either a webkit or (not yet fully-featured) webengine backend, but because the latter requires PyQt5 5.7 or higher, these steps will give you a webkit-only browser until that FreeBSD port is upgraded.
Google-Go object storage server Minio is an open source alternative to Amazon Web Services. Minio offers object storage and supports FreeBSD, and is compatible with existing Amazon Web Service S3 tools. Read more at the link below.
There’s a new object storage server that has been introduced as an open source alternative to Amazon S3 and other API-compatible services.
Minio, written in Go and available under the Apache license, allows unstructured data (up to 5TB per object) to be stored on a pool of drives of your choosing. Included in the box are protections against data loss and an event-notification system that can be used to build AWS Lambda-like functionality.
Simple and sturdy wins the race
A guiding principle of the service is to keep things simple, because “only simple things scale,” Minio says. The standalone binary for Minio’s 64-bit Windows server is 23.5MB; the client is 10MB. It can run on a single node or can gang together pools of drives across a cluster of machines. The service runs on a variety of OS platforms: Linux, MacOS, Microsoft Windows, FreeBSD, and—in theory—any other platform that supports the Go runtime.
Minio can be accessed using the program’s own command-line utility or any Amazon S3-compatible CLI or SDK. The documentation for Minio outlines various recipes for using the server in conjunction with other services or clients. Those running FreeNAS, a FreeBSD-based storage system that supports ZFS, can run Minio directly on FreeNAS by way of the FreeBSD version of the server.
In this tutorial, FreeBSD Security Officer Colin Percival shows us how to set up IPv6 on FreeBSD/EC2 and provides some tips to help simplify the process. Visit the link below to read his full blog.
A few hours ago Amazon announced that they had rolled out IPv6 support in EC2 to 15 regions — everywhere except the Beijing region, apparently. This seems as good a time as any to write about using IPv6 in EC2 on FreeBSD instances.
First, the good news: Future FreeBSD releases will support IPv6 “out of the box” on EC2. I committed changes to HEAD last week, and merged them to the stable/11 branch moments ago, to have FreeBSD automatically use whatever IPv6 addresses EC2 makes available to it.
Next, the annoying news: To get IPv6 support in EC2 from existing FreeBSD releases (10.3, 11.0) you’ll need to run a few simple commands. I consider this unfortunate but inevitable: While Amazon has been unusually helpful recently, there’s nothing they could have done to get support for their IPv6 networking configuration into FreeBSD a year before they launched it.
To enable IPv6 support in an existing FreeBSD EC2 instance, you’ll need to do three things: …
Nokogiri is a an HTML, SAX, XML, and Reader parser available on multiple open-source operating systems. Nokogiri also allows you to search document with XPath or CSS3 selectors. You can find out how to download it at the link below.
As of Nokogiri 1.6,
libxsltsource code is bundled with Nokogiri, and compiled at gem-install-time. The instructions in this document should work for all versions 1.6.4 and later.
(If you need support for installing earlier versions of Nokogiri, you may want to take a look at the git history for this document.)
Get Nokogiri here: http://www.nokogiri.org/tutorials/installing_nokogiri.html#freebsd
This tutorial by usershows us how to set up ownCloud, an open-source cloud platform ideal for those who prefer having cloud storage on their own network, along with Nginx and OpenSSL, web server and security protocol, on FreeBSD 11. Follow the link below for the full set of instructions.
OwnCloud is a PHP and MySQL based free and open source file sharing application platform which allows us to create our very own cloud storage platform. The OwnCloud server which is a free edition is released under GNU AGPLv3 license whereas the Enterprise edition is under OwnCloud Commercial license. It is a client-server architectural software in which, the files are stored on the server whereas the clients are used to access and share the files. The client for OwnCloud is available for every platform making it easy to manage and access the files from every devices. FreeBSD is a free and open source Unix-like operating system based on BSD systems. Unlike Linux, FreeBSD is developed as an entire operating system from kernel, device drivers to the userland utilities whereas linux is a kernel with device drivers. Nginx is a free and open source web server which is popular for its speed and ability of balancing server loads and caching. It is one of the most popular web server and proxy server used in large numbers of servers.
Currently while writing this article, the latest release of OwnCloud is 9.1.1 so, we’ll be performing its setup on our freshly installed FreeBSD 11 server.