SwiftBBS is BBS with Swift, MySQL and PerfectLib on Linux (Ubuntu 15.10)
$ sudo apt-get install -y imagemagick
$ git clone https://github.com/groovelab/SwiftBBS.git
$ cd SwiftBBS
$ git submodule init
$ git submodule update
$ git submodule foreach 'git pull origin master'
ref. PerfectLib README or gist
$ sudo apt-get -y install libssl-dev libevent-dev libsqlite3-dev make make-guile
$ cd Perfect/PerfectLib
$ sudo make
$ sudo make install
$ ll /usr/local/lib/*Perfect*
/usr/local/lib/PerfectLib.so -> (your_home)/SwiftBBS/Perfect/PerfectLib/PerfectLib.so
/usr/local/lib/PerfectLib.swiftdoc -> (your_home)/SwiftBBS/Perfect/PerfectLib/PerfectLib.swiftdoc
/usr/local/lib/PerfectLib.swiftmodule -> (your_home)/SwiftBBS/Perfect/PerfectLib/PerfectLib.swiftmodule
$ cd ../../
You can run SwiftBBS on PerfectServerHttp or Apache2(mod_perfect)
ref. PerfectServer README or gist
$ cd Perfect/PerfectServer
$ sudo make
$ sudo ln -sf "$(pwd)/perfectserverfcgi" /usr/local/bin/
$ ll /usr/local/bin/perfect*
/usr/local/bin/perfectserverfcgi -> (your_home)/SwiftBBS/Perfect/PerfectServer/perfectserverfcgi
$ cd ../../
ref. MySQL Connector README or gist
$ sudo apt-get -y install mysql-server libmysqlclient-dev
$ cd Perfect/Connectors/MySQL
$ sudo make
$ sudo ln -sf "$(pwd)/MySQL.so" /usr/local/lib/
$ sudo ln -sf "$(pwd)/MySQL.swiftmodule" /usr/local/lib/
create database
$ mysql -u root
mysql> CREATE DATABASE SwiftBBS DEFAULT CHARACTER SET utf8mb4;
$ cd SwiftBBS
$ sudo make
$ sudo make install
$ cd ../
if need, configure database setting
$ vi SwiftBBS\ Server/Config.swift
$ SwiftBBS/SwiftBBS\ Server/perfectServerFcgi.sh start
$ sudo apt-get install nginx
$ sudo vi /etc/nginx/sites-available/default
$ sudo service nginx start
See /etc/nginx/sites-available/default
you must change $perfect_root
and $root
like below
set $perfect_root "(your_home)/SwiftBBS/SwiftBBS/SwiftBBS Server";
set $root "${perfect_root}/webroot";
access http://your.domain.com/