Java 2 Ada

Installation Ubuntu

Version 10 by Stephane Carrez

User creation


useradd -m username
usermod --groups admin username
usermod -s /bin/bash username

LVM setup

If /home is mounted on a device that we want to use for LVM.


cd /home && tar cf /tmp/bkp.tar.gz .
umount /home
cd /home && tar xf /tmp/bkp.tar.gz
jed /etc/fstab && remove /home mount
reboot

Setup:


sudo pvcreate /dev/md126
sudo vgcreate vg01 /dev/md126
sudo lvcreate -L 100G -Z n -n home vg01
sudo mkfs -t ext4 /dev/vg01/home
jed /etc/fstab
mount -a
cd /home && tar xf /tmp/bkp.tar.gz

Ubuntu post Installation

sudo apt-get install jed postfix openvpn apache2 postfix dovecot-core dovecot-pop3d
sudo apt-get install qemu-kvm virt-manager qemu virt-viewer
sudo apt-get install docker.io
sudo apt-get install mariadb-server postgresql sqlite
sudo apt-get install smartmontools lm-sensors daemon xauth
sudo apt-get install rspamd
sudo apt-get install imagemagick
sudo apt-get install bacula-fd
sudo apt-get install libmariadb3
sudo apt-get install net-tools

Uacme installation


  cd src
  git clone https://github.com/ndilieto/uacme
  cd uacme
  sudo apt-get install pkg-config
  sudo apt-get install libcurl4-openssl-dev
  sudo apt-get install libgnutls28-dev
  sudo apt-get install libssl-dev
  ./configure --with-openssl --disable-docs
  make
  sudo make install

Installation for Ada development

sudo apt-get install gnat gprbuild make gcc git
sudo apt-get install gcc gnat-9 autoconf make

AWA Build Installation


sudo apt-get install libsqlite3-dev sqlite3 mariadb-server mariadb-client curl autoconf unzip
sudo apt-get install libssl-dev libcurl4-openssl-dev

Jenkins Installation


sudo apt-get install openjdk-8-jre
sudo useradd -m jenkins
sudo usermod --shell /bin/bash jenkins

JSduck Installation

Javascript Documentation support: https://github.com/senchalabs/jsduck

sudo gem install jsduck