Table of Contents
Chapter 1 has already covered all you need to get the Ambience system
running. This chapter is for those users who wish to explore the
tighter platform integration possibilities of running as a Linux
service and want the file layout to follow established directory
structures - for example /var/log
for log files.
Ensure that you have unzip installed on your system as the installer is supplied as a zip file. To install unzip, run:
apt-get install unzip
either as root, or using sudo.
unzip ElixirAmbience-Debian-3.5.0.zipThe deb file is extracted.
dpkg -i elx-ambience_3.5-1_all.debAmbience is now installed.
ambience
service. Run service ambience start
ps aux | grep ambienceThe output should be similar to:
xxx@systemadmin-Lenovo-G570:~$ ps aux | grep ambience xxx 5845 0.0 0.0 13644 952 pts/4 S+ 08:36 0:00 grep --color=auto ambience elixir 13497 0.4 5.4 3515832 439928 ? Sl Mar17 8:50 /usr/bin/java -Delixir.home=/opt/elixir/ElixirAmbience -Djetty.home=/opt/elixir/ElixirAmbience/jetty -Dlogback.configurationFile=/etc/elixir/logback.xml -Delx.stub.out=/var/log/elixir/ambience.txt -Dvisualvm.display.name=Ambience -jar elx-stub.jar org.eclipse.jetty.start.Main
update-rc.d ambience defaultseither as root, or using sudo.
http://<hostname>:8080
to access the Ambience page.After completing the deployment to the Linux platform, you will find that the default file locations have changed as follows:
The /etc/elixir
directory contains the configuration files for Ambience.
The log files are stored in the /var/log/elixir
directory.