Skip to content

Commit

Permalink
ATSD update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-kravtsov committed Nov 3, 2017
1 parent b266d6e commit 0a40229
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
12 changes: 3 additions & 9 deletions vagrant_files/basic/axibase.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Installing Axibase
config.vm.provision "shell", inline: "apt-get -q -y install sysstat openssh-server cron telnet debconf libc6 passwd adduser iproute net-tools curl netcat-openbsd"
config.vm.provision "shell", inline: "echo 'deb http://archive.ubuntu.com/ubuntu/ vivid main universe' >> /etc/apt/sources.list"
config.vm.provision "shell", inline: "echo 'deb http://archive.ubuntu.com/ubuntu/ xenial main universe' >> /etc/apt/sources.list"
config.vm.provision "shell", inline: "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 26AEE425A57967CFB323846008796A6514F3CB79"
config.vm.provision "shell", inline: "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 40976EAF437D05B5 3B4FE6ACC0B21F32"
config.vm.provision "shell", inline: "apt-get update"
config.vm.provision "shell", inline: "apt-get --allow-unauthenticated -q -y install openjdk-6-jre-headless libjpeg8 openjdk-6-jre openjdk-6-jdk"
config.vm.provision "shell", inline: "apt-get --allow-unauthenticated -q -y install openjdk-8-jdk libjpeg8"
config.vm.provision "shell", inline: "useradd -m axibase" # the deb package postinstall script has an error prompting for pw does not work, this part is skipped if the axibase user exists


config.vm.provision "shell", inline: "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 26AEE425A57967CFB323846008796A6514F3CB79"
config.vm.provision "shell", inline: "apt-get -q -y install software-properties-common"
config.vm.provision "shell", inline: "add-apt-repository 'deb [arch=amd64] http://axibase.com/public/repository/deb/ ./'"
config.vm.provision "shell", inline: "apt-get update"
config.vm.provision "shell", inline: "apt-get -q -y install atsd"

# config.vm.provision "shell", inline: "wget http://axibase.com/public/atsd_ce_11467_amd64.deb"
# config.vm.provision "shell", inline: "dpkg -i atsd_ce_11467_amd64.deb"
config.vm.provision "shell", inline: "DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y atsd"

# config.vm.provision "shell", inline: "dpkg -i ~vagrant/files/atsd_ce_11554_amd64.deb"
# give axibase some time to run
config.vm.provision "shell", inline: "sleep 10"
# set admin user
Expand Down
3 changes: 2 additions & 1 deletion vagrant_files/vagrantconf_db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@

# 512mb is not enough for cassandra
# 4096mb is not enough for cassandra + blueflood
# 8096mb is not enough for druid (single)
# 8096mb is not enough for druid (single)
# 2048mb is a minimal requiered memory for ATSD

0 comments on commit 0a40229

Please sign in to comment.