Install Maraschino in a Jail

Status
Not open for further replies.

Pandora

Dabbler
Joined
Dec 19, 2014
Messages
20
Hi

Does anybody have a guide, how to install maraschino in a jail? I don't want to use the plugin, as I'd like to install several things in the same jail.

I tried to use the debian installation guide as a reference, see http://www.maraschinoproject.com/installation, but sadly without success.
This is what I did:
Code:
pkg update
pkg upgrade
pkg install python
git clone https://github.com/mrkipling/maraschino.git /usr/local/maraschino
cp /usr/local/maraschino/initd /etc/rc.d/maraschino
cp /usr/local/maraschino/default /etc/defaults/maraschino
open /etc/defaults/maraschino and change APP_PATH to /usr/local/maraschino
chmod a+x /etc/rc.d/maraschino
echo 'maraschino_enable="YES"' >> /etc/rc.conf


And I get ".: cannot open /lib/lsb/init-functions: No such file or directory" when trying to start the service.

Any advice would be great :)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You are probably better off going to the Maraschino forums or IRC and asking how to install it in a FreeBSD jail. That's a better place for support on installing the software. ;)
 

Pandora

Dabbler
Joined
Dec 19, 2014
Messages
20
I finally figured a way out. Here you go:

Code:
open your jails shell
pkg update
pkg upgrade
pkg install python
git clone https://github.com/mrkipling/maraschino.git /usr/local/maraschino
Go to /etc/rc.d and upload the file "maraschino" (see attached zip)
cp /usr/local/maraschino/default /etc/defaults/maraschino
chmod a+x /etc/rc.d/maraschino
echo 'maraschino_enable="YES"' >> /etc/rc.conf
open and edit /etc/defaults/maraschino and change APP_PATH to /usr/local/maraschino
pkg_add -r py27-sqlite3
Done! You can now open maraschino at http://[jail_ip]:7000


Source: "maraschino" file: https://github.com/Mar2zz/LaSi/blob/master/FreeBSD/Maraschino/maraschino

You can also use the maraschino file directly from git of course, but don't forget to change the values to:
Code:
: ${maraschino_enable:="YES"}
: ${maraschino_user:="root"}
: ${maraschino_dir:="/usr/local/maraschino"}
 

Attachments

  • maraschino.zip
    972 bytes · Views: 255
Last edited:
Status
Not open for further replies.
Top