Skip to content

Instantly share code, notes, and snippets.

@trentster
Created September 16, 2014 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentster/a3d56d0b2608aec198e2 to your computer and use it in GitHub Desktop.
Save trentster/a3d56d0b2608aec198e2 to your computer and use it in GitHub Desktop.
Last login: Tue Sep 16 04:01:52 2014 from 10.1.1.144
_ __
__( = =- _ ,__. ,__.
(- - )__- -_ |__. . |__. .--.
( -= - ) - _) | | | | |
(_-= _( =- _=- ' ' ' `--'
-( - - _) Instance (leofs 1.1.3)
-=__(__ _-)- http://loefs.org
-=-
[root@leofs-new-fifo-devtest ~]# which su
/usr/bin/su
[root@leofs-new-fifo-devtest ~]# which sudo
/opt/local/bin/sudo
[root@leofs-new-fifo-devtest ~]# VERSION=dev
[root@leofs-new-fifo-devtest ~]# echo "http://release.project-fifo.net/pkg/${VERSION}/" >>/opt/local/etc/pkgin/repositories.conf
[root@leofs-new-fifo-devtest ~]# pkgin -fy up
reading local summary...
processing local summary...
updating database: 100%
pkg_summary.bz2 100% 1918KB 383.6KB/s 612.8KB/s 00:05
cleaning database from http://pkgsrc.joyent.com/packages/SmartOS/2014Q2/x86_64/All entries...
cleaning database from http://release.project-fifo.net/pkg/dev/ entries...
processing remote summary (http://pkgsrc.joyent.com/packages/SmartOS/2014Q2/x86_64/All)...
updating database: 100%
pkg_summary.bz2 100% 7542 7.4KB/s 7.4KB/s 00:00
processing remote summary (http://release.project-fifo.net/pkg/dev/)...
updating database: 100%
[root@leofs-new-fifo-devtest ~]# pkgin install nginx fifo-snarl fifo-sniffle fifo-howl fifo-wiggle fifo-jingles
calculating dependencies... done.
nothing to upgrade.
6 packages to be installed: nginx-1.6.0 fifo-snarl-0.6.1pre20140913T032049Z fifo-sniffle-0.6.1pre20140916T011608Z fifo-howl-0.6.1pre20140913T033218Z fifo-wiggle-0.6.1pre20140913T032829Z fifo-jingles-0.6.1pre20140915T024254Z (97M to download, 1195K to install)
proceed ? [Y/n] y
downloading packages...
nginx-1.6.0.tgz 100% 502KB 250.8KB/s 235.5KB/s 00:02
fifo-snarl-0.6.1pre20140913T032049Z.tgz 100% 25MB 721.9KB/s 292.9KB/s 00:35
fifo-sniffle-0.6.1pre20140916T011608Z.tgz 100% 25MB 763.4KB/s 286.1KB/s 00:34
fifo-howl-0.6.1pre20140913T033218Z.tgz 100% 23MB 754.2KB/s 293.9KB/s 00:31
fifo-wiggle-0.6.1pre20140913T032829Z.tgz 100% 22MB 756.7KB/s 783.1KB/s 00:30
fifo-jingles-0.6.1pre20140915T024254Z.tgz 100% 1159KB 193.2KB/s 161.9KB/s 00:06
installing packages...
installing nginx-1.6.0...
nginx-1.6.0: Creating group ``www''
nginx-1.6.0: Creating user ``www''
passwd: password information changed for www
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/fastcgi_params to /opt/local/etc/nginx/fastcgi_params
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/fastcgi.conf to /opt/local/etc/nginx/fastcgi.conf
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/koi-utf to /opt/local/etc/nginx/koi-utf
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/koi-win to /opt/local/etc/nginx/koi-win
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/mime.types to /opt/local/etc/nginx/mime.types
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/naxsi_core.rules to /opt/local/etc/nginx/naxsi_core.rules
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/nginx.conf to /opt/local/etc/nginx/nginx.conf
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/uwsgi_params to /opt/local/etc/nginx/uwsgi_params
nginx-1.6.0: copying /opt/local/share/examples/nginx/conf/win-utf to /opt/local/etc/nginx/win-utf
============================================================================
This package has SMF support. You may use svcadm(1M) to 'enable', 'disable'
or 'restart' services. To enable the instance(s) for this package, run:
/usr/sbin/svcadm enable svc:/pkgsrc/nginx:default
Use svcs(1) to check on service status. See smf(5) for more information.
============================================================================
===========================================================================
$NetBSD: MESSAGE,v 1.2 2013/02/18 20:32:09 imil Exp $
Consider adding something like following lines to /etc/newsyslog.conf:
/var/log/nginx/access.log www:www 640 7 * 24 Z /var/db/nginx/nginx.pid SIGUSR1
/var/log/nginx/error.log www:www 640 7 * 24 Z /var/db/nginx/nginx.pid SIGUSR1
===========================================================================
installing fifo-snarl-0.6.1pre20140913T032049Z...
This image version is not supported please use the base64 13.2.1 image or later.
installing fifo-sniffle-0.6.1pre20140916T011608Z...
This image version is not supported please use the base64 13.2.1 image.
installing fifo-howl-0.6.1pre20140913T033218Z...
This image version is not supported please use the base64 13.2.1 image or later.
installing fifo-wiggle-0.6.1pre20140913T032829Z...
This image version is not supported please use the base64 13.2.1 image.
installing fifo-jingles-0.6.1pre20140915T024254Z...
Creating certificates
Congratulations the FiFo Jingles IU is now installed on your server.
.------------------------------------------------------------------------------.
| This component itself has no executable components, it replies on a web |
| server to be executed. The package replies on nginx to fulfill this |
| dependecy. You will still have to configure the webserver. |
| |
| Please have a look at the configuraiton files: |
| |
| * /opt/local/fifo-jingles/dist/scripts/config.js |
| * Change the address of the wiggle server. |
| * Change the address of the howl server. |
| |
| Wiggle ui comes with example config files for the nginx web a server. |
| This file can be found in the folder: |
| /opt/local/fifo-jingles/config |
| Please either copy it to: |
| /opt/local/etc/nginx/nginx.conf |
| or merge it manually if you have an existing configuration. |
| |
| To copy the files into the right place do: |
| |
`------------------------------------------------------------------------------'
cp /opt/local/fifo-jingles/config/nginx.conf /opt/local/etc/nginx/nginx.conf
.------------------------------------------------------------------------------.
| |
| Note: nginx is not enabled by default - you need to do that manually. |
| |
| There is an automatic SSL certificate generated, please note that you might |
| need to change the settings for the certificates to work propperly, there is |
| a generation scriipt in /opt/local/fifo-jingles/config/autocert.sh to help |
| you. |
| |
`------------------------------------------------------------------------------'
pkg_install warnings: 0, errors: 4
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
updating database: 100%
marking nginx-1.6.0 as non auto-removable
marking fifo-jingles-0.6.1pre20140915T024254Z as non auto-removable
[root@leofs-new-fifo-devtest ~]# cp /opt/local/fifo-jingles/config/nginx.conf /opt/local/etc/nginx/nginx.conf
[root@leofs-new-fifo-devtest ~]# sniffle-admin init-leofs my.leo.host
-bash: sniffle-admin: command not found
[root@leofs-new-fifo-devtest ~]# svcadm enable epmd
[root@leofs-new-fifo-devtest ~]# svcadm enable snarl
svcadm: Pattern 'snarl' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# svcadm enable sniffle
svcadm: Pattern 'sniffle' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# svcadm enable howl
svcadm: Pattern 'howl' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# svcadm enable wiggle
svcadm: Pattern 'wiggle' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# svcadm enable nginx
[root@leofs-new-fifo-devtest ~]# svcadm enable epmd
[root@leofs-new-fifo-devtest ~]# svcadm enable snarl
svcadm: Pattern 'snarl' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# svcadm enable sniffle
svcadm: Pattern 'sniffle' doesn't match any instances
[root@leofs-new-fifo-devtest ~]# pkgin install nginx fifo-snarl fifo-sniffle fifo-howl fifo-wiggle fifo-jingles
calculating dependencies... done.
nothing to upgrade.
4 packages to be installed: fifo-snarl-0.6.1pre20140913T032049Z fifo-sniffle-0.6.1pre20140916T011608Z fifo-howl-0.6.1pre20140913T033218Z fifo-wiggle-0.6.1pre20140913T032829Z (0B to download, 0B to install)
proceed ? [Y/n] y
downloading packages...
installing packages...
installing fifo-snarl-0.6.1pre20140913T032049Z...
This image version is not supported please use the base64 13.2.1 image or later.
installing fifo-sniffle-0.6.1pre20140916T011608Z...
This image version is not supported please use the base64 13.2.1 image.
installing fifo-howl-0.6.1pre20140913T033218Z...
This image version is not supported please use the base64 13.2.1 image or later.
installing fifo-wiggle-0.6.1pre20140913T032829Z...
This image version is not supported please use the base64 13.2.1 image.
pkg_install warnings: 0, errors: 4
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
[root@leofs-new-fifo-devtest ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment