sconemad

technology, scones, nonsense

Loading...

Profiles

Twitter

GitHub

Launchpad

Subscribe to my RSS Feed

Admin

Install

Sconeserver aims to be simple to install, whether from a prebuilt package or building from source.

Packages

Sconeserver is split into multiple packages for installation, so you can just install the modules you need and not pull in dependencies for ones you don't need.

Package Description
sconeserver-base The base system and common modules
sconeserver-bluetooth Bluetooth module
sconeserver-dev Development files (only needed if you want to write your own modules)
sconeserver-location Location module
sconeserver-mysql MySQL database module
sconeserver-sconesite Sconesite CMS module plus image and rss modules
sconeserver-sqlite SQLite database module
sconeserver-ssl Secure Sockets Layer module using OpenSSL
sconeserver-testbuilder TestBuilder system

Packages for Ubuntu 12.10 (Precise) are available in the PPA ppa:wedge-i/sconeserver. For example, adding this PPA and installing the most common packages should be simply a matter of:

$ sudo apt-add-repository ppa:wedge-i/sconeserver
$ sudo apt-get update
$ sudo apt-get install sconeserver-base sconeserver-sconesite sconeserver-mysql sconeserver-sqlite

Building and installing from source

In addition to the obvious (C++ compiler and standard libraries), you will also need the following libraries, depending on which modules you intend to use:

Dependency Needed by
pcre - Perl Compatible Regular Expressions Base
OpenSSL - Transport layer security ssl
Libxml2 - XML parser sconesite
ImageMagick - Image manipulation image
MySQL client library - Database access mysql
SQLite - Database engine sqlite
BlueZ - Linux Bluetooth stack bluetooth
Libgps - GPS daemon client location

For example, on Ubuntu you can install all the required packages with the following command:

$ sudo apt-get install build-essential libpcre3-dev libssl-dev libxml2-dev libmagick++-dev libmysqlclient-dev libsqlite3-dev libbluetooth-dev libgps-dev

Assuming you have all the prerequisites, downloading, building and installing the latest version of sconeserver should be as simple as:

$ git clone https://github.com/sconemad/sconeserver.git
$ cd sconeserver
$ ./autogen.sh --prefix=$PREFIX
$ make
$ make check
$ sudo make install

Make sure the directory $PREFIX/lib is listed in /etc/ld.so.conf, if not, add it to the end, then run ldconfig (as root).

And that's it, sconeserver is installed and ready to run. You'll probably want to read the section on configuration first though.

Updated on 2013-11-05 14:18:41 +0000 | Requested on 2019-06-20 19:50:57 +0000